Appendix B RS-232 Commands
B-19
format
This command reports the current reply termination format as shown below:
Send: "format"
Receive: "format 00"
Code Reply Termination
00 <CR>
01 0x80 xxxx <CR>
where xxxx = the sum of all characters in the message
set format
dd
dd = | 00 | 01 |
This command sets the reply termination format. The example below sets the reply
termination format to checksum.
Send: "format 01"
Receive: "format 01 ok"
"sum 0570"
Code Reply Termination
00 <CR>
01 <nl>sum xxxx<CR>
where xxxx = 4 hexadecimal digits that represent the sum of all the characters in the
message
flags
This reports 8 hexadecimal digits (or flags) that represent the status of the AGC circuit,
pressure and temperature compensation status, gas units, gas mode, and alarms. To
decode the flags, each hexadecimal digit is converted to binary as shown in the figure
below. It is the binary digits that define the status of each parameter. In the example
below, the instrument is reporting that the AGC circuit is on, that the instrument is in the
span gas mode, and that the CO high concentration alarm is activated.
Send: "flags"
Receive: "flags 80028000"