Scales Technical Reference
Based on the manufacturer's specifications, Geobank Mobile accepts data in the following formats.
Adam Technology PGL series
Geobank Mobile expects the output to be in a block of data, i.e. in the following mult-line format:
line 1 = Date
line 2 = Time
line 3 = Blank
line 4 = ID number
line 5 = Blank
line 6 = Result
line 7 = Blank
line 8 = Blank
The result line contains the all the weight/count information which is in the form:
PREFIX: value
PREFIX can be one of the following:
- Net:
- Gross:
- Tare:
- Unit wt:
- Count:
- Ref. wt:
- Percent:
- Low:
- High:
The result line could something like the following:
Net: 123.456g
Adam Technology Highland series
For the Highland series scale, the format expected by Geobank Mobile depends on the output format configured on the scale. Geobank Mobile expects the following for each format:
Format 1 (Print or Automatic mode)
GS 151.0 g
No. 01
Total 151.0 g
The first line can start with GS (gross weight) or NT (net weight). The third line we read as the total weight and the second line value is ignored, it is only used to match the format type by looking for the prefix (No.).
Format 1 (Continuous mode)
ST,GS+ 173.8 g
ST indicates if the reading is stable (ST) or unstable (US). The second prefix will indicate if it is Gross (GS) or Net (NT) weight.
Format 2
+ 173.8 g
The prefix can be + or -. Also, a piece count can be shown instead, in the following format:
+ 125PCS
Massa-K Scales
For the Massa-K scales we use the protocol-3. Exchange rate 4800 baud.
The information that is received by the protocol is a 10-byte message:
The 1st and 10th bytes are start and stop. D0-D7 - are the 8-byte data.
Data is transmitted at the end of the weighing process by two repeated packages. Each package contains 5 bytes:
- The 1st and 2nd bytes are the start codes of the package that stores values 55H and AAH accordingly.
- The 3rd and 4th bytes are 2-byte value of the weight in grammes, in binary notation (4th is a senior byte).
- The 5th byte: 00H - plus, 80H - minus.
This means that the protocol always returns one value. Usually, this is a net weight.
The driver is included in the Windows 10 installation.
The documentation and the driver for older Windows versions is available on the manufacturer web-site: https://massa.ru/products/smk_a21_ruw/