1 | 02H(XON) | begin |
2 | A~Z | address serial number |
3 | A~B | order A: Handshaking |
|
| order B: Read the displayed weight |
|
| |
|
| |
4 | Transmitting the corresponding data according to the instruction | |
… | Transmitting the corresponding data according to the instruction | |
Transmitting the corresponding data according to the instruction | ||
n | Transmitting the corresponding data according to the instruction | |
n+1 | XOR verifying | high 4 bits |
n+2 | XOR verifying | low 4 bits |
n+3 | 03H (X0FF) | end |
XOR=2 ⊕ 3
Hereunder is the content of 4~n during indicator transmitting:
Order A | No data | Each frame is composed of 6 sets of dutum |
Order B | Present weight, format: | Each frame is composed of 16 sets of dutum |
| a: sign (+ or |
|
| b: weight value(8 bits) |
|
| : (from up to down) |
|
| g |
|
| h: decimal digits from |
|
| right to left (0~4) |
|
Remarks: high/low 4 bits confirmation via XOR verifying: If XOR and high/low 4 bit ≤9, add 30h
to become ASCⅡ, and then sent out. For example: When XOR verifying high 4 bits=6, add 30h, then become 6 in ASCⅡ and sent out. If XOR and high/low 4 bits ≥9, add 9, then become ASCⅡ to be sent out. For example: When XOR verifying high 4 bits=B, add 37h, then become 42h, i.e., B of ASCⅡ to be sent out.
3). Mode transmitting
During weighing mode, press <<Comm.>> <<Accumulation Display>><<Mode Transmitting>> key to transmit the weight data list of the present category. Every batch weight data is transmitted first through the format below:
Sect | Length (byte) | Definition | Description |
1 | 1 | Beginning sign | 02H |
2 | 1 | Transmitting head | A~Z, representing indicator address |
3 | 1 | Gross/net weight | net weight= “N”/gross weight = “G” |
4 | 4 | Category//number | xxx + Space key |
6 | 11 | Date | 2004y04m05d |
7 | 9 | Time | 08h15m20s |
8 | 10 | Weight | ASCII character string |
9 | 3 | Unit | space + t/kg/g/mg |
10 | 1 | Enter key | 0DH |
11 | 2 | Verifying sum | 1 byte (in hex) verifying sum in 2 bytes ASCII |