Using the EDP Port
6-17
Table 6-3. (continued)
ID REFERENCE COMMANDS
“XTG” (XMIT TARGET COMMAND)
This sequence requests the CW-80 to Transmit the Target value associated with
the ID number located in the Location character field. It does not make this
Target value the current Target value. It is simply used for inspection. The
CW-80 responds with the following format:
Response Format:
[STX][“G”][nnn][“:”][POL][DATA][SP][UNITS][EOL]
Where:
[STX]
is the 1 ASCII character (02 Hex) for Start of Text.
[“G”]
is ASCII literal text (47 Hex).
[nnn]
is the 3-ASCII character for the ID number.
ex.[nnn] would be “025” for the 25th ID register.
[“:”]
is ASCII literal text (3A Hex).
[POL]
is the polarity or sign of the Target value:
space (20 Hex) for positive values.
“-” (2D Hex) for negative values.
[DATA]
is a 7-character field with (including) decimal point for
Target value data. Data is right justified, with leading zeros
padded left with spaces (20 Hex).
[SP]
is the ASCII character for space (20 Hex).
[UNITS]
is the 1 – 2 character indication of the current unit of
measure:
kg
for kilograms
g
for grams
lb
for pounds
oz
for ounces
lb/oz use special format
[EOL]
is either [CR] or [CR][LF], depending on serial port setting
for End of Line Termination.
“XO” (XMIT OVER COMMAND)
This sequence requests the CW-80 to Transmit the Over value associated with
the ID number located in the Location character field. It does not make this
Over value the current Over value. It is simply used for inspection. The CW-80
responds with the following format:
Response Format:
[STX][“O”][nnn][“:”][POL][DATA][SP][UNITS][EOL]
Command Format Key:
[ ] represents a separate field
of information.
“ ” represents literals which
will appear as shown.
continued...