EM100-F User Manual
0084293
Page 45 of 93
5.6.6. GW Get Data String (Net, Gross & Status)
Issuing the ‘GW’ command, which has no parameters, will return the net weight, the gross weight,
the status and the checksum values, all combined into one single string in the format:
W+000100+001100010F
The first two sections of the return string comprise the net weight and gross weight results, followed
by two hexadecimal characters, which represent two bit-mapped status indicators. The last two
hexadecimal characters represent the checksum, which is the inverse of the sum of all the ASCII
values of the string, not including the checksum characters.
Character
signifies the
GW
excluding
decimal
point.
Weight
excluding
decimal
point.
Nibble
Status
Nibble
The check sum is the complement value of the sum of all ASCII values within the data string without
the check sum itself.
(example)
Net Value: +000100dec. (no decimal point)
Gross Value: +001100dec. (no decimal point)
Status bit 1: 5hex. (Not Used).
Status bit 2: 1hex.
Checksum: 09hex.