Extron electronic TPS150 Serial Commands, Communication protocols, Command and response structure

Models: TPS150

1 54
Download 54 pages 58.58 Kb
Page 39
Image 39
Serial Commands

Serial Commands

Communication protocols

The transmitter’s and receiver’s serial ports (figure 4-16) are factory-configured to 9600 baud, no parity, no flow control, half-duplex mode. If you change the transmitter’s serial protocols, communications between the computer and the transmitter are lost until the computer is updated to match the new transmitter settings.

TPS150

Connected

 

 

 

RS-232

Function

 

 

pin

device pin

5

1

1

Not used

 

 

2

RX

Receive data

 

 

3

TX

Transmit data

9

6

4

Not used

Female

5

Gnd

Signal ground

 

 

6

Not used

 

 

7

Not used

 

 

8

Not used

 

 

9

Not used

 

 

Figure 4-16 — Remote port pin assignments for the TPT150 and TPR150

The communications protocols of the receiver should match the protocols of the device to be controlled.

Command and response structure

Valid commands consist of a leading delimiter, one or more characters in a command code, and an ending delimiter. The transmitter’s response to an RS-232 command also consists of a leading delimiter, a command code, and an ending delimiter.

The transmitter’s leading delimiter code is always a left bracket ( [ ). The ending delimiter code is always a right bracket ( ] ).

Example: [CPp@] — where “[“ is the leading delimiter, “CPp@” is the command (reset the transmitter’s serial port to default values), and “]” is the ending delimiter.

Addressing the transmitter

The transmitter must be addressed before it will accept and respond to commands. The address packet ([CC##], where ## is the 2-digit address) routes setup information to a particular unit on a network and enables command responses. Once the transmitter is addressed, it can accept an unlimited number of commands. If a different unit is addressed, the TPT150 ignores subsequent commands until it is addressed again.

The factory-installed default address is 97, but this number can be changed. The transmitter can also take commands after receiving a broadcast address of 00, but it does not send responses. Broadcast is for multiple units in a network configuration in half duplex mode.

By definition, the display device connected to the receiver’s RS-232 port is assigned an address that is one larger than the transmitter’s (for example, 98 to the transmitter’s default 97). If you address the display, the transmitter passes the commands received directly through to the receiver’s RS-232 port, allowing you to control the display. The transmitter also passes responses on the receiver’s RS-232 port back to its own serial port.

TPS150 Switching and Transmission System • Serial Communications 4-11

Page 39
Image 39
Extron electronic TPS150 manual Serial Commands, Communication protocols, Command and response structure