Pavone Systems DAT 200 Technical Manual page 26

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

Advertisement

FIELDS DESCRIPTION
The double quotes enclose constant characters (observe upper and lower case); the <and> symbols
contain variable numeric fields.
STX (start of text) = 0x02h,
ETX (end of text) = 0x03h,
EOT (end of transmission) = 0x04h,
ACK (acknoledgment) = 0x06h,
NAK (No acknoledgment) = 0x15h.
<Addr> = Serial communication address + 0x80h (i.e., address 2: <Addr> = 0x82h (130 decimal
number)).
<status> = character encoded as per the following table (bit = 1 if condition TRUE)
Bit 7
Bit 6
0
0
<gross>, <net>, <peak> = field consisting of 8 ASCII characters with the weight value justified on the
right (no leading zeros, with possible decimal point and negative sign).
Under conditions of overload, the weight field assumes the value: "^^^^^^^^".
Under conditions of underload, the weight field assumes the value: "_ _ _ _ _ _ _ _".
In reading error conditions, the weight field assumes the value: " O-L ".
Bit 7
Bit 6
Bit 5
0
0
<csum> = checksum of the string data. It is calculated performing the exclusive OR (XOR) of all cha-
racters from STX (or from <ind>) to ETX excluded the latter; the result of the XOR is decomposed into 2
characters 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).
Page 24
Bit 5
Bit 4
Tare en-
1
1
Bit 4
Bit 3
1
1
0
Bit 3
Bit 2
Bit 1
Zero
Stable
tered
band
weight
Bit 2
Bit 1
0
not used
Bit 0
Zero cen-
ter
Bit 0
not used

Advertisement

Table of Contents
loading

Table of Contents