TECHNICAL SUPPORT: 1.800.283.5936 (USA) OR 1.801.974.3760
APPENDIX E • SERIAL COMMANDS
92
General Binary Command Form Description
The XAP 800 product accepts serial commands through the RS-232 serial port. The commands are then
channeled along the Expansion Bus network to all interconnected XAP 800 products. The commands provide
the same control as the LCD menu structure, plus many other additional controls.
The RS-232 Serial Port Protocol is 9,600, 19,200, 38,400 (default), or 57,600, baud; 8 bits, 1 stop bit, no parity.
The XAP 800 accepts the commands outlined in the Command table. The binary command structure is
defined in Hexadecimal. The structure of serial commands is as follows:<Header><Argument 1>[ARGUMENT
N] – in binary format without characters or spaces.
Word 0 (32 bits) Word 1 (32 bits) Word 2 (32 bits)
Command Type Port
Flags Type ID Device ID Command ID Word Count Check Sum
0x50 16 bits 8 bits 8 bits 8 bits 16 bits 16 bits 16 bits
The port bits are arranged as follows:
Bit Port
15 (msb) Serial (RS-232)
14 Expansion Bus
13 Front Panel
12 Command Execution
11 Wall Unit
10 GPIO
9 – 1 Reserved (must be zero)
0 (lsb) Reserved (must be zero)
The flag bits are arranged as follows:
Bit Port
7 (msb) Response
6 Query
5 Absolute
4 - 1 Reserved (must be zero)
0 (lsb) Reserved (must be zero)
When the Response bit is set, the unit will return a response only to the port that generated the command
unless that port is the serial port, in which case no response is sent at all.