Using the EDP Port
6-7
Command Format Key:
[ ] represents a separate field
of information.
“ ” represents literals which
will appear as shown.
Table 6-2. (continued)
INQUIRY COMMANDS (REQUESTING STATUS)
[nnn]
is the 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 Target value
space (20 Hex) for positive values.
“-”
(2D Hex) for negative values.
[DATA]
is a seven-character field with (including) decimal
point for Target value data. Data is right justified,
with leading zeros padded left with spaces (20 Hex).
[LBDATA]
is a one–three character field (dependent on scale
capacity) with (including) decimal point for Target
value data when used in lb and oz mode. Data is
right justified, with leading zeros padded left with
spaces (20 Hex).
[OZDATA]
is a two–five character field (dependent on scale
capacity) with (including) decimal point for Target
value data when used in lb and oz mode. 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 [LBDATA] and
[OZDATA] above).
[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 current Over value associated
with the current ID number.
Response Format:
[STX][“O”][nnn][“:”][POL][DATA][SP][UNITS][EOL]
continued...