Research Concepts RC2000A User Manual
Page 68

68
RC2000A Dual Axis Antenna Controller
Appendix E
Communications Protocol
If the remote$mode$enable$flag is FALSE and a valid command
arrives via the serial port, the offline reply is sent to the
host. Here is the format of the offline reply...
byte 0 : ACK
byte 1 : A where A is the RC2000 address
byte 2 : 'CC' the command code of the message
which triggered this reply.
byte 3 : 'F' Ascii 'F', for offline.
byte 4 : ETX
byte 5 : 'chksum' the checksum. The checksum
character is simply the bit-by-
bit exclusive OR of all
characters in the message
starting with the STX character
thru the ETX character. */
/* RC 2000 UNRECOGNIZED COMMANDS - NAK REPLY **
If an unrecognized command arrives (one whose command code is
either unknown or whose length is not compatible with the given
command code, but which has the correct address and checksum), a
NAK reply is sent to the host. The format of the NAK reply is ...
byte 0 : NAK
byte 1 : A where A is the RC2000 address
byte 2 : 'CC' the command code of the
unrecognized message.
byte 3 : ETX
byte 4 : checksum */
/* DEVICE TYPE QUERY COMMAND **
The SA Bus specifications requires that command character 30h must
trigger the return of the six character device type string. The
message format for this query will be ...
byte 0 : STX
byte 1 : A where A is the RC2000 address
byte 2 : 30h 30 hex - the device type query
command code
byte 3 : ETX
byte 4 : checksum
The reply to this query will consist of 11 bytes ...
byte 0 : ACK
byte 1 : A where A is the RC2000 address
Research Concepts, Inc. • 5420 Martindale Road • Shawnee, Kansas • 66218-9680 • USA www.researchconcepts.com