Chapter Nine: RS-232 Communications General Information
257
RS-232 Command Message Format
@ Command
Category
Command
Number
Parameter Data
(one of the following)
Checksum
Optional
Byte 1 Byte 2 : up to 20 data
bytes
CR
Byte 1 Byte 2
?CR
CR
Description
@ The “@” character is always the first character in a message
2 ASCII Bytes These two bytes represent the Command Category
1 ASCII Byte This byte represents the Command Number
1 ASCII Byte
This is the Parameter Byte
it may be one of the following:
Channel Number (1 through 4, 5 for dual channel 1, or 6 for dual channel 2)
Alarm (A through D)
Recipe Number (1 through 4)
Data
This can be variable length ASCII data up to 20 bytes
For data input, use a colon (:) followed by the data, terminated with CR
For a data request, use a question mark (?) followed by CR
For no data, use a carriage return (CR) by itself
2 Byte Checksum
This is optional
Note:
To use the optional checksum bytes, you must set the
number of data bits to 8. The initial number of data bits is 7.
Table 54: RS-232 Command Message Format
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com