6-8
CW-80 Checkweigher Installation/Service Manual
.
Table 6-2. (continued)
INQUIRY COMMANDS (REQUESTING STATUS)
Where:
[STX]
is the one ASCII character (02 Hex) for Start of Text.
[“O”]
is ASCII literal text (4F Hex).
[nnn]
is three ASCII character for the ID number.
Example: [nnn] would be “025” for the 25th ID register.
[“:”]
is ASCII literal text (3A Hex).
[POL]
is the polarity or sign of the Over value.
space (20 Hex) for positive values.
“-”
(2D Hex) for negative values.
[DATA]
is a seven-character field with (including) decimal
point for Over 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 one–two 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. See XTG command for full
details.
[EOL]
is either [CR] or [CR][LF], depending on serial port setting
for End of Line Termination.
“XU” (XMIT UNDER COMMAND)
This sequence requests the CW-80 to transmit the current Under value
associated with the current ID number.
Response Format:
[STX][“U”][nnn][“:”][POL][DATA][SP][UNITS][EOL]
Where:
[STX]
is the one-ASCII character (02 Hex) for Start of Text.
[“U”]
is ASCII literal text (55 Hex).
[nnn]
is the three-ASCII character for the ID number.
Example: [nnn] would be “025” for the 25th ID register.
continued...
Command Format Key:
[ ] represents a separate field
of information.
“ ” represents literals which
will appear as shown.