
Chapter 4 Parameters
(8 , E , 1 :
Start | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | Even Stop | |
bit | parity bit | |||||||||
|
|
|
|
|
|
|
|
(8, O, 1:
Start | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | Odd | Stop | |
bit | parity | bit | |||||||||
|
|
|
|
|
|
|
|
8-bit character
11-bit character frame
3.Communication Protocol
3.1Communication Data Frame:
ASCII mode:
STX | Start character ‘:’ (3AH) | |
|
| |
ADR 1 | Communication address: | |
ADR 0 | ||
CMD 1 | Command code: | |
| ||
CMD 0 | ||
DATA | Contents of data: | |
……. | N X | |
| n<=25, maximum of 50 ASCII codes | |
DATA 0 | ||
| ||
LRC CHK 1 | LRC check sum: | |
LRC CHK 0 | ||
|
| |
END 1 | End characters: | |
END 0 | END1= CR (0DH), END0= LF(0AH) | |
RTU mode: |
| |
|
| |
START | A silent interval of more than 10 ms | |
|
| |
ADR | Communication address: | |
CMD | Command code: | |
DATA | Contents of data: | |
| N X | |
……. | ||
DATA 0 |
| |
CRC CHK Low | CRC check sum: | |
CRC CHK High | ||
END | A silent interval of more than 10 ms |
Revision July 2008, EG03, SW V1.06 |