63
RTU Mode:
Each 8-bit data consists of two 4-bit hexadecimal characters. For example: 64H.
Structure of characters:
11-bit character frame (used for 8-bit character) (explained in following examples)
Communication data structure
Communication data form frame:
ASC
Ⅱ
M ode:
STX
Starting characters(3AH)
ADR1
Communication address:
8-bit address consists of 2 ASC
Ⅱ
codes.
ADR0
CMD1
Command code
8-bit address consists of 2 ASC
Ⅱ
codes.
CMD2
DATA(n-1)
Data:
N ×8-bit data consists of 2n ASC
Ⅱ
codes.
N
≤25, 50 A S C Ⅱco des at m ost.
……
DATA 0
LRC CHK 1
Longitudinal Redundancy Check
8-bit LRC consists of 2 ASC
Ⅱ
codes.
LRC CHK 0
END 1
END character:
END1=CR(0DH); END2=LF(0AH)
END 0
(
8
,
N, 2:parameter9-04=1 or 6
)
(
8
,
O, 1:parameter9-04=4 or 8
)