Download Chapter 7 Communications

Transcript
Chapter 7
Communications
7-4-3 Loop-back Test (Function Code: 08 Hex)
H Settings and Response
• The DSR message from the Master is returned as a response. The Inverter does not retrieve or process this data.
• The DSR message or normal response for loop-back test use is divided into 8-byte blocks as shown
below. Any data can be set as test data 1 or 2 provided that the number of data items remains changed.
• This command is used for checking the status of communications or for dummy communications without detecting any communications time-over.
D DSR Message
Byte No.
1
2
3
4
5
6
7
8
Data
Slave address
Function code (08 Hex)
Test data 1
Test data 2
CRC-16 check
D Response
Normal
Byte No.
1
2
3
4
5
6
7
8
Data
Slave address
Function code (08 Hex)
Test data 1
Test data 2
CRC-16 check
Error
Byte No.
1
2
3
4
5
Data
Slave address
Function code (88 Hex)
Error code
CRC-16 check
Note When an error occurs, the MSB of the function code will be set to 1.
7-18