SERIALPROTOCOL

Sets the protocol to be used by a serial port

Platform: OEM729, PwrPak7

On some OEM7 receiver cards, selected ports can support either RS-232 or RS‑422 signaling protocol. The default protocol is RS-232. The SERIALPROTOCOL command is used to select the protocol (RS-232 or RS‑422) supported on the port.

RS-422/RS-232 selection is available only on COM1 of the OEM729 or COM1 and COM2 on the PwrPak7.

Message ID: 1444

Abbreviated ASCII Syntax:

SERIALPROTOCOL port protocol

ASCII Example:

SERIALPROTOCOL COM1 RS422

Field

Field Type

ASCII Value

Binary Value

Description

Format

Binary Bytes

Binary Offset

1

Command header

-

-

SERIALPROTOCOL header

This field contains the command name for abbreviated ASCII or the message header for ASCII (see page 1) or Binary (see page 1).

-

H

0

2

port

See Table: Ports Supporting RS-422

Select the COM port on which the protocol is being set.

The port that can be entered depends on the hardware platform being used.

Enum

4

H

3

protocol

RS232

0

Set the port to use RS-232 protocol

Enum

4

H+4

RS422

1

Set the port to use RS-422 protocol

After switching a COM port from RS-232 to RS-422, send a carriage return (CR) on the newly configured port to flush the buffer prior to sending new commands on the port.

Ports Supporting RS-422

OEM7 Receiver Type

Allowable Ports

Binary Value

OEM719

None

 

OEM729

COM1

1

OEM7600

None

 

OEM7700

None

 

OEM7720

None

 

PwrPak7

COM1

1

COM2

2