07 Descriptions of Parameter Settings | REG2000
7-17
(Data format 7, O, 1)
Odd
parity
Start
bit
0
1
2
3
4
5
6
Stop
bit
7-data bits
10-bits character frame
11-bit character frame (For RTU)
(Data format 8, N, 2)
Start
bit
0
1
2
3
4
5
6
Stop
bit
8-data bits
11-bits character frame
Stop
bit
7
(Data format 8, E, 1)
Start
bit
0
1
2
3
4
5
6
Stop
bit
8-data bits
11-bits character frame
7
Even
parity
(Data format 8, O, 1)
Start
bit
0
1
2
3
4
5
6
Stop
bit
8-data bits
11-bits character frame
7
Odd
parity
3. Communication data structure
Data format frame
ASCII mode:
STX
Start character = ‘:’ (3AH)
Address Hi
Communication address:
one 8-bit address consists of 2 ASCII codes
Address Lo
Function Hi
Function code:
one 8-bit function code consists of 2 ASCII codes
Function Lo
DATA (n-1)
Contents of data:
N x 8-bit data consists of 2n ASCII codes
N
≤
16, maximum of 32 ASCII codes (20 sets of data)
…….
DATA 0
LRC CHK Hi
LRC checksum:
one 8-bit checksum consists of 2 ASCII codes
LRC CHK Lo
END Hi
End characters:
END Hi = CR (0DH), END Lo = LF(0AH)
END Lo