GW |
Get long weight |
GW |
Command Group: Weight | Access: | Network interfaces: | ||
R | CANopen | |||
MODbus | ||||
GW - Get long weight | PROFIbus |
|
|
GW Get the “long” weight values - returns the current net, gross and status values.
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+00100+01100010F. The first two sections of the return string comprise the net weight and gross weight results, followed by two hexadecimal characters, which represent two bitmapped 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.
The format is:
Field | Contents | size |
W | Leading response char | 1 |
+/- | net weight sign | 1 |
<num> | net weight value | 5 |
+/- | gross weight sign | 1 |
<num> | gross weight value | 5 |
<hex digit> | First bitmapped value | 1 |
<hex digit> | second bitmapped value | 1 |
<hex digits> | Checksum | 2 |
The bitmapped characters are:
First Bitmap (LDU68) | First Bitmap (LDU69) | First Bitmap (DAS72) | First Bitmap (LDU78) | Second bitmap |
1 Not Used 2 Not Used 4 Output 0 active 8 Output 1 active |
1 Not Used 2 Not Used 4 Not Used 8 Not Used |
1 Not Used 2 Output 1 active 4 Output 2 active 8 Output 3 active |
1 Input 0 active 2 Input 1 active 4 Output 0 active 8 Output 1 active |
1 No motion 2 Zero action performed 4 Tare active 8 Not Used |
The checksum is derived as follows:
To support multirange scales the format described above actual range and decimal point may be shown as well controlled by the Output Format command OF.