User manual WTS Ver.1.16
Seite 34 von 52
12 FAST CONTINUOUS TRANSMISSION PROTOCOL
This protocol allows for automatic weight reception via a serial connection at high update
frequencies. Up to 80 strings per second are transmitted (with a minimum transmission rate
of 9600 baud).
Following communication modes available (see paragraph SERIAL COMMUNICATION
SETTING):
:
communication compatible with TX RS485 instruments;
:
communication compatible with TD RS485 instruments.
- If
is set, the following string is transmitted to PC/PLC: xxxxxxCRLF
where: xxxxxx = 6 ASCII characters for gross weight (48
÷
57 ASCII).
CR = 1 character of back to start (13 ASCII).
LF = 1 character of new line (10 ASCII).
In case of negative weight, the first character on the left acquires the value « - » (minus sign -
ASCII 45).
In case of error or alarm, the 6 weight characters are replaced by the messages found
in the table of the ALARMS.
- If
is set, the following string is transmitted to PC/PLC:
&TzzzzzzPzzzzzz\ckckCR
where:
& = 1 initial string character (38 ASCII).
T = 1 character of gross weight identification.
P = 1 character of gross weight identification
zzzzzz = 6 characters of gross weight (48
÷
57 ASCII).
\ = 1 character of separation (92 ASCII).
ckck = 2 ASCII control characters calculated considering that the characters between
& and \ are excluded. The control value is obtained by carrying out the XOR (or
exclusive) operation for the 8 bit ASCII codes of the characters considered. A
character expressed in hexadecimal is thus obtained, with 2 digits which may acquire
values from “0” to “9” and from “A” to “F”. “ckck” is the ASCII code of the two
hexadecimal digits.
CR = 1 character for 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 error or alarm, the 6 gross weight characters are replaced by the messages
found in the table of the ALARMS.
FAST TRANSMISSION VIA EXTERNAL CONTACT: it’s possible to transmit the weight, just
once, even closing an input for no more than a second (see paragraphs OUTPUTS AND
INPUTS CONFIGURATION and SERIAL COMMUNICATION SETTING).