Receiving Protocol - LAUMAS W100RIP Manual

Weight repeater
Table of Contents

Advertisement

The following string is received from the transmitting instrument:
&NxxxxxxLyyyyyy\ckckCR
where: & = 1 character of string start (38 ASCII).
N = 1 character of net weight identification (78 ASCII).
xxxxxx = 6 characters of net weight or PEAK if present (48  57 ASCII).
L = 1 character of gross weight identification (76 ASCII).
yyyyyy = 6 characters of gross weight (48  57 ASCII).
\ = 1 character of separation (92 ASCII).
ckck = 2 ASCII checksum characters calculated considering the characters between
"&"and "\"excluded. The checksum value is obtained from the calculation of XOR
(exclusive or) of the 8-bit ASCII codes of the characters considered. This obtains a
character expressed in hexadecimals with two digits that can have the values from "0" to "9"
and from "A" to "F". "ckck" is the ASCII code of the two hexadecimal digits.
CR = 1 character of string end (13 ASCII).
In case of negative weight, the first character on the left acquires the value "–" (minus sign - ASCII 45).
In case of weight value is under -99999, the minus sign ("-") is sent alternated with the most
significant figure.
In case of error or alarm, the 6 characters of the gross weight are substituted by an error
message (see section ALARMS on transmitting instrument manual).

RECEIVING PROTOCOL

- 16 -

Advertisement

Table of Contents
loading

Table of Contents