GW

Get long weight

GW


Command Group: Weight

Access:

Network interfaces:

R

CANopen

MODbus

GW - Get long weight

PROFIbus


Synopsis:
CommandResponse
GetGWW<Value>
Valid forMin. valueMax. value
141.181    
141.184    
141.185    
143.181    
143.184    
143.185    
151.181    
152.181    
162.181    
179.181    
181.181    
64.181    
64.184    
68.181    
68.183    
69.181    
72.181    
72.184    
78.183    



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:

FieldContentssize
WLeading response char1
+/-net weight sign1
<num>net weight value5
+/-gross weight sign1
<num>gross weight value5
<hex digit>First bitmapped value1
<hex digit>second bitmapped value1
<hex digits>Checksum2

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:

  1. Add the ASCII values (in hex) of all the 15 characters in the string
  2. Invert the hexadecimal value
  3. Add one to the value
  4. Use only the last two digits
  5. Convert the hexadecimal value to characters

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.

See also DP, GG, GN, GT. GS, SW, OF.