CDE360 Vector Control AC Drive Chapter 8 Communication Protocol
Communication Command Code
1. Communication read function code: 03H
Function code: 03H, read N word ( Max value is 50 )
Example: The slave address is 01H, start address is 2302H, read number is 2 word, the structure
of the frame as following:
Master request frame:
ADR
(
Slave address
)
01 H
CMD
(
Function code
)
03 H
Register ID high
23 H
Register ID low
02 H
Register number high
00 H
Register number low
02 H
CRC low
6E H
CRC high
4F H
Slave response frame:
ADR
(
Slave address
)
01 H
CMD
(
Function code
)
03 H
Byte number
04 H
Register 0x2302H comment high byte
00 H
Register 0x2302H comment low byte
00 H
Register 0x2303H comment high byte
00 H
Register 0x2303H comment low byte
01 H
CRC low byte
3B H
CRC high byte
F3 H
Error response frame:
ADR
(
Slave address
)
01 H
Error code(CMD+0x80)
83 H
Exception code
02 H: Invalid address
03 H: Read number over range
04 H:
Parameter can’t be read
05 H: Frame length error
CRC low byte
LCRC H
CRC high byte
HCRC H