Chapter 4 Parameters|
LRC CHK 1
LRC CHK 0
END 1
END 0
RTU mode:
Command message:
ADR
CMD
Data starting
address
Number of data
(Word)
Number of data
(Byte)
The first
data
The second
data
CRC CHK LOW
CRC CHK HIGH
3.4 CHK (check sum)
ASCII mode:
LRC (Longitudinal Redundancy Check) is calculated by summing up, module 256, the
values of the bytes from ADR1 to last data character then calculating the hexadecimal
representation of the 2's complement negation of the sum.
For example, reading 1 word from address 0401H of the AC drive with address 01H.
4-78
'9'
'A'
CR
LF
Response message:
01H
ADR
10H
CMD 1
05H
Data starting
00H
address
00H
Number of data
02H
(Word)
04
CRC CHK LOW
13H
CRC CHK HIGH
88H
0FH
A0H
4DH
D9H
STX
ADR 1
ADR 0
CMD 1
CMD 0
Data starting address
Error response message
01H
ADR
10H
CMD 1
05H
Error
00H
CRC CHK LOW
00H
CRC CHK HIGH
02H
41H
04H
':'
'0'
'1'
'0'
'3'
'0'
'4'
'0'
'1'
Revision July 2008, EG03, SW V1.06
01H
90H
02H
CDH
C1H