Service manual

METTLER TOLEDO
DIVA Service Manual 44
6.1.4.2 Command Descriptions
ASCII Commands
(* MUST BE UPPERCASE CHARACTERS ONLY.)
*ASCII
Command
From Host
Scale Response
Description
W
STX 0WW.WW
C
R
STX WW.WWW
C
R
STX 0WW.WWN
C
R
STX WW.WWWN
C
R
STX?status byte
C
R
Instructs scale to send weight data. (W=Weight Digit 0-9). The scale will respond
as follows according to setup and status:
Gross Weight Pounds.
Gross Weight KG.
Net Weight Pounds. ASCII N added after weight.
Net Weight KG. ASCII N added after weight.
Status byte is sent if scale is in motion, or is net/gross weight is negative or over
capacity. Table “Scale Status Byte Bit Definitions” to determine status byte
results.
Z
STX?status byte
C
R
Zero scale command. On the next A/D reading, zero will be captured if the weight
is stable, within capture range, and no tare is taken (gross weight mode.)
T
C
R
STX?status byte
C
R
Tare item on platter command. The scale must be at gross zero before placing
the item on the platter. Tare will be taken if weight is stable and non-zero. After
150 millisecond delay, the scale will respond with a status byte. (NOTE: Tare
must be enabled in calibration mode or scale will not respond.).
TWWWWW
C
R
STX?status byte
C
R
Digital Tare Command. Known tare value can be sent to scale and must be
transmitted as five digits. The scale assumes a decimal point of WWW.WW LB,
or WW.WWW KG.
(Note: Tare must be enabled in calibration mode or scale will not respond.)
C
STX?status byte
C
R
Clear Tare Command (ignored if weight is not stable.) Scale status byte is sent
after 150 ms delay.
A
STX
C
R
Initiate Confidence Test Command.
STXCR is sent indicating command was
received.
B
STX?status byte
C
R
Send Confidence Test Results Command.
A
must be sent prior to the Send
Result command B. Results of the test are contained in a status byte. Use Table
“Scale Confidence Test Byte Bit Definitions” to determine test results. If all tests
passed, the ASCII @ character will be returned.
If a confidence test results in an
error, the scale will not respond to the “W”, “H”, or “Z” command until the error
condition is cleared. A confidence test error will also cause the scale weighing
operation to halt until the error condition is cleared.
E
STXE
C
R
Start Echo Mode Serial Port Test Command. Scale will respond with an E
indicating command received. Characters except F will be echoed back to the
host.
F
STXF
End Echo Mode Command. The scale will respond with an ASCII F indicating the
command was received.