Serial Communications, cont’d

TPS150 Switching and Transmission System • Serial Communications4-12

When the system is in Pass-Through mode [CC98], commands and responses are
sent between the transmitter and receiver. If the system is not in Pass-Through
mode, all of the receiver responses to the transmitter’s button commands are
buffered until you return the system to pass-through mode, at which time the
buffered responses are sent back to the controlling device. In this way, the
controller can track the activity that has occurred.
After you are finished programming the transmitter, always terminate the session
by sending an address packet to another unit with a different address. This
prevents the transmitter from responding to commands meant for another unit.
Transmitter responses
When a command is valid, the transmitter performs the command and sends the
following response:
[R0{address}{echo of the command sent}]
When a command is invalid, either because the command is not recognized or it
contains invalid parameters, the transmitter sends the following response:
[R1{address}{echo of the command sent}]
Using the command/response table
The command/response table begins on page 4-14. The command set is case
sensitive and commands must be entered as shown. The table below shows the
hexadecimal equivalent of each ASCII command.
ASCII to HEX Conversion Table
Space
Symbols, defined below, are used throughout the command/response table to
represent variables in the command/response fields. Command and response
examples are shown throughout the table.
Symbols
= Carriage return/line feed
= Space
X1
= Address number 00 – 97
00 addresses all units, but individual units do not respond.
97 is the factory-installed default for the transmitter.
Transmitter address + 1 is defined as the device connected to the receiver’s RS-232 port.
The very first command that you send to the transmitter must be the connect, [CC
X1
], command, where
X1
is the transmitter’s address. The transmitter will not accept other commands or respond until it has
been addressed.
The very last command that you send to the transmitter should be the connect, [CC
X1
], command, where
X1
is a different address. This prevents the transmitter from accepting and responding to commands
meant for other devices.