- 31 -
ASCII BIDIRECTIONAL PROTOCOL
The instrument replies to the requests sent from a PC/PLC.
It is possible to set a waiting time for the instrument before it transmits a response (see
parameter in the SERIAL COMMUNICATION SETTINGS section).
Following communication modes availables (see section SERIAL COMMUNICATION SETTINGS):
- : communication compatible with instruments series W60000, WL60 Base, WT60 Base,
TLA600 Base
- : communication compatible with TD RS485 instruments
Captions:
$ ................... Beginning of a request string (36 ASCII)
& or && ........ Beginning of a response string (38 ASCII)
aa ................ 2 characters of instrument address (48
57 ASCII)
! ................... 1 character to indicate the correct reception (33 ASCII)
? ................... 1 character to indicate a reception error (63 ASCII)
# ................... 1 character to indicate an error in the command execution (23 ASCII)
ckck: .......... 2 ASCII characters of Check-Sum (for further information, see section
CHECK-SUM CALCULATION)
CR ................ 1 character for string end (13 ASCII)
\ ................... 1 character of separation (92 ASCII)
1. READING WEIGHT OR PEAK (IF PRESENT) FROM PC
The PC transmits the ASCII string: $aajckckCR
where: j = t .............. to read gross weight
j = n ............. to read net weight
j = p ........ to read the gross weight peak if the parameter is set as ; if,
instead, the parameter is set on the gross weight will be
read. To read the points, set the parameter equal to 50000
Possible instrument responses:
- correct reception: &aaxxxxxxj\ckckCR
- incorrect reception: &&aa?\ckckCR
- In case of peak not configured: &aa#CR
where: xxxxxx ...... 6 characters of the required weight value
Notes: in case of negative weight, the first character from the left of the weight characters takes on
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.