Serial Communication Protocols - Pavone Systems DAT 200 Technical Manual

Serial and profinet/ethernet ip weighing indicator/transmitter
Table of Contents

Advertisement

CONTINUOUS, AUTOMATIC AND MANUAL TRANSMISSION PROTOCOL
These protocols have been programmed into their programming menu.
The string transmitted is as follows:
STX
<state>
Where
STX (start of text) = 0x02h
ETX (end of text) = 0x03h
EOT (end of transmission) = 0x04.
<state> = character encoded as per the following table (bit = 1 if condition TRUE)
Bit 7
Bit 6
0
0
<weight> = field consisting of 8 ASCII characters with the weight value justified on the right. (without
leading zeros, with possible decimal point and negative sign).
The weight value transmitted can be the net weight, the gross weight or the peak value based on the
selection of the transmitted data (MODE parameter) in the setting menu of the serial communication
ports (see relevant paragraph).
Under conditions of overload, the weight field assumes the value: "^^^^^^^^".
Under conditions of underload (negative weight greater than 99999), the weight field assumes the
value: "_ _ _ _ _ _ _ _".
In reading error conditions, the weight field assumes the value: " O-L ".
<csum> = checksum of the string data. It is calculated by performing the exclusive OR (XOR) of all
characters from STX (or from <ind>) to ETX excluded the latter; the result of the XOR is decomposed
into 2 characters by considering separately the upper 4 bits (first character) and lower 4 bits (second
character); the 2 characters obtained are then ASCII encoded (example: XOR = 5Dh; <csum> = "5Dh"
namely 35h and 44h).
In the case of continuous communication protocol, the given string is transmitted at a frequency of 10
Hz, regardless of the weight filter selected.
In the case of automatic and manual communication protocols, between 2 consecutive weight transmis-
sions, they must undergo a corresponding change to the value set in DELTA parameter, in the setup
menu of weighing parameters (see relevant paragraph).
Page 22

SERIAL COMMUNICATION PROTOCOLS

<weight>
ETX
Bit 5
Bit 4
1
1
entered
<chksum>
EOT
Bit 3
Bit 2
Bit 1
Tare
Zero
Stable
band
weight
Bit 0
Zero
center

Advertisement

Table of Contents
loading

Table of Contents