CTL208CM Control Panel Module • Serial Communications

CTL208CM Control Panel Module • Serial Communications

Serial Communications, cont’d
Control panel module responses
When a command is valid, the module 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 contains invalid parameters, the module sends
the following response:
[R1 {address} {echo of the command sent}]
Using the command/response table
The command/response table begins on page 4-13. Upper or
lower case letters are acceptable in the command field. The
table below shows the hexadecimal equivalent of each ASCII
command.
ASCII to HEX Conversion Table
Space
Symbols, defined starting on page 4-11, are used throughout the
table to represent variables in the command/response fields.
Command and response examples are shown throughout the
table.
Symbols
= Line feed
X1
= Address number 00 - 98 (00 addresses all units but individual units do
not respond, 97 is the factory-installed default).
The very first command that you send to the control panel module
must be the connect, [CC
X1
], command, where
X1
is the module’s
address. The control panel module will not accept other
commands or respond until it has been addressed.
The very last command that you send to the control panel module
should be the connect, [CC
X1
], command, where
X1
is a different
address. This prevents the control panel module from accepting
and responding to commands for other devices.
X2
= Button number and string (primary or secondary) (figure 4-8)
Buttons 1 and 5 are closest to the top of the CTL208. Orient the
CTL208 so that the text on the rear of the unit is right-side up to
determine the top of the module.

4-10 4-11

X3
= ASCII button code Up to 128 alphanumeric characters.
If you need to use the bracket delimiters in a stored
ASCII command, you need to use the insert
brackets feature. Under this feature, one character
replaces the left bracket ( [ ) and another character
replaces the right bracket ( ] ). The default values
are a single quote mark ( ‘ ) in place of the left
bracket and a double quote ( “ ) in place of the right
bracket. The CTL208 replaces the characters with
the bracket delimiters in the stored ASCII or hex
command string.
X4
= Bracket position 1 = left bracket, 2 = right bracket.

Figure 4-8 — Button numbers

5
6
7
8
1
Button
number Button
number
2
3
4
X2
s must be 2-digit numbers.
X2
#Button/string
X2
#Button/string
01 = 1/primary 11 = 1/secondary
02 = 2/primary 12 = 2/secondary
03 = 3/primary 13 = 3/secondary
04 = 4/primary 14 = 4/secondary
05 = 5/primary 15 = 5/secondary
06 = 6/primary 16 = 6/secondary
07 = 7/primary 17 = 7/secondary
08 = 8/primary 18 = 8/secondary