EasyManua.ls Logo

Tunaylar Load Line 2 - Serial Communication Protocol; Continuous Data Transmission Protocol

Tunaylar Load Line 2
55 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
35
8. SERIAL COMMUNICATION PROTOCOL
8.1. Continuous Data Transmit:
Each package has 21 bytes and starts with Chr(2) and ends up with Chr(13).
Serial data
baud rate is adjustable between 300, 600, 1200, 2400, 4800, 9600, 19200, 38400. Data
length is 8 bits and there is no parity . Data will be sent only after standstill condition is
reached. Order of bytes in each package is as follows:
SB: Start Byte (1 Byte)
Chr (2)
A: Status Word (1 Byte)
A.0: Always 1
A.1: 1 for Net
A.2: 1 for Preset Tare
A.3: 1 for Zero
A.4: Not used
A.5: Always 1
A.6: 1 for Negative
A.7: Not Used
B: Status Word 2 (1 Byte)
B.0: Always 1
B.1: 1 for manual print
B.2: Always 0
B.3: Always 0
B.4: Always 1
B.5: Always 1
B.6: Always 0
B.7: Always 0
C: Status Word 3 (1 Byte)
C=0: If there is no decimal point
C=1: If there is 1 character after point
C=2: If there are 2 characters after point
C=3: If there are 3 characters after point
C=4: If there are 4 characters after point
SP: Space (1 Byte)
WEIGHT 1: Displayed Weight Value (6 Byte)
SB CH B C WEIGHT 1
WEIGHT 2
A CK ST SP SP
B6 B5 B4 B2 B1 B0
MSB LSB
KM.LL2E.002