Using the EDP Port
6-5
Inquiry Commands (Requesting Status/Data)
Inquiry Commands instruct the selected CW-80 to transmit weight data or
the status of various current parameter values. When you enter this type of
EDP command, the CW-80 will respond.
All available inquiry commands, response formats, and related syntax
parameters are described in Table 6-2.
Table 6-2.
INQUIRY COMMANDS (REQUESTING STATUS)
“XS”
(XMIT STATUS COMMAND)
“RT”
(RECALL TARE COMMAND
“XTG”
(XMIT TARGET COMMAND)
“XO”
(XMIT OVER COMMAND)
“XU”
(XMIT UNDER COMMAND)
“XT”
(XMIT TARE COMMAND)
“X”
(XMIT DATA COMMAND)
“XW”
(XMIT WEIGHT DATA COMMAND)
“XC”
(XMIT CURRENT TOLERANCE STATUS)
“XTA”
(XMIT ALL TARES COMMAND)
“XTGA”
(XMIT ALL TARGETS COMMAND)
“XOA”
(XMIT ALL OVERS COMMAND)
“XUA”
(XMIT ALL UNDERS COMMAND)
“XS” (XMIT STATUS COMMAND)
The “XS” command requests the CW-80 to transmit the current status.
CW-80 Response Format:
[STX][G/N][T][L/K/O/Z/G][M/S][O][O/A/U][EOL]
Where:
[STX]
is the one-ASCII character (02 Hex) for Start of Text.
[G/N]
is the one-character indication of current weight display
mode, G for Gross Weight, N for Net Weight.
[T]
is the one-character indication of whether the scale is at or
above a 1% of full scale threshold. A “T” for greater than or
equal to 1% of full scale, and a space for less than 1% of full
scale will be inserted at this position in the status response.
[L/K/O/Z/G]
is the one-character indication of the current displayed unit
of measure:
K
for kilograms
G
for grams
L
for pounds
O
for ounces
Z
for pounds and ounces
continued...
Command Format Key:
[ ] represents a separate field
of information.
“ ” represents literals which
will appear as shown.