XK3190-A12(E)
Communication mode as follows:
(1)At normal weighing mode, every group of data consists of 15 bytes as below:
1
st
byte: „W‟
2
nd
byte: „G‟ (when the weighing result is gross weight)
„N‟ (when the weighing result is net weight)
3
rd
-9
th
byte: Weighing result including the decimal point
When there is no decimal point, the 9
th
bit is blank (0x20)
When the weight is negative, the 3rd bit is the negative sign (0x2d)
10
th
and 11
th
byte: Unit k g (0x6B, 0x67)
12
th
byte: the 4 high bits of checksum
13
th
byte: the 4 low bits of checksum
14
th
byte: 0x0d
15
th
byte: 0x0a
Note:
The checksum is from 1
st
byte to 11
th
byte
If 4 high bits or 4 low bits of checksum is≤9, add 30h and transmit in ASCII code.
For example, if the 4 high bits checksum is 6, then we add 30h, and transmit 36h in ASCII code “6”.
If the checksum>9, then add 37h, and transmit in ASCII code. For example, if the 4 high bits checksum is B,
then we add 37h, and transmit 42h in ASCII code “B”.
For example, if the weight is 4.139 Kg, the transmission format is as follow:
ASCII: W G 0 0 4 . 1 3 9 k g 3 D
Hex: 57 47 30 30 34 2E 31 33 39 6B 67 33 44 0D 0A
(2)When the scale is overloaded (G.W>Max+9e), the indicator will send “ OL23” in 15 bytes as follow:
1
st
to 9
th
byte: Blank (0x20)
10
th
byte: „O‟ (0x4f)
11
th
byte: „L‟ (0x4c)
12
th
byte: the 4 high bits of checksum (0x32)
13
th
byte: the 4 low bits of checksum (0x33)
14
th
byte: 0x0d
15
th
byte: 0x0a
(3)When the weight is less than -20d, the indictor will send “ L023” in 15 bytes as follow:
1
st
to 9
th
byte: Blank (0x20)
10
th
byte: „L‟ (0x4c)
11
th
byte: „O‟ (0x4f)
12
th
byte: the 4 high bits of checksum (0x32)