Examples Of Messages For Commands/Responses - YASKAWA CR700 Technical Manual

Hide thumbs Also See for CR700:
Table of Contents

Advertisement

Description
XOR w initial value
Shift 1
XOR w A001 (Hex.)
XOR result
Shift 2
XOR w A001 (Hex.)
XOR result
Shift 3
Shift 4
XOR w A001 (Hex.)
XOR result
Shift 5
Shift 6
XOR w A001 (Hex.)
XOR result
Shift 7
Shift 8
XOR w A001 (Hex.)
XOR result
Perform operations with next data (function code)
Response Data
The drive does the CRC-16 calculation for the response message and makes sure that the data does not have
errors. Make sure that the calculated value is the same value as the CRC-16 in the response message.

Examples of Messages for Commands/Responses

The items in this section are examples of messages for commands/responses.
Read Multiple Holding Registers
Uses function code 03 (Hex.) to read the contents of a maximum of 16 holding registers.
Table 5.6
shows example messages when the drive reads status signal from the drive of slave 2, the error contents,
fault contents, and frequency references.
Table 5.6 Message Example When Reading the Contents of Holding Register
Byte
Command Message
0
Slave address
1
Function code
2
Starting No.
3
4
Data Qty
5
6
CRC-16
7
8
YASKAWA SIEPC71061723A YASKAWA AC Drive CR700 Technical Manual
Calculation
Overflow
1111 1111 1111 1101
0111 1111 1111 1110
1
1010 0000 0000 0001
-
1101 1111 1111 1111
-
0110 1111 1111 1111
1
1010 0000 0000 0001
-
1100 1111 1111 1110
-
0110 0111 1111 1111
0
0011 0011 1111 1111
1
1010 0000 0000 0001
-
1001 0011 1111 1110
-
0100 1001 1111 1111
0
0010 0100 1111 1111
1
1010 0000 0000 0001
-
1000 0100 1111 1110
-
0100 0010 0111 1111
0
0010 0001 0011 1111
1
1010 0000 0000 0001
-
1000 0001 0011 1110
-
Setting Data
Response Message (Normal)
(Hex.)
02
03
Upper
00
Lower
20
First storage
register
Upper
00
Lower
04
Next storage
register
Upper
45
Lower
F0
Next storage
register
-
5.3 MEMOBUS/Modbus Communications
Description
Shift 1
XOR w A001 (Hex.)
XOR result
Shift 2
XOR w A001 (Hex.)
XOR result
Shift 3
Shift 4
XOR w A001 (Hex.)
XOR result
Shift 5
Shift 6
XOR w A001 (Hex.)
XOR result
Shift 7
XOR w A001 (Hex.)
XOR result
Shift 8
XOR w A001 (Hex.)
XOR result
CRC-16
Continue from here with next data.
Setting Data
(Hex.)
Slave address
02
Function code
03
Data Qty
08
Upper
00
Lower
65
Upper
00
Lower
00
Upper
00
Lower
00
Calculation
Overflow
0100 0000 1001 1110
1010 0000 0000 0001
1110 0000 1001 1111
0111 0000 0100 1111
1010 0000 0000 0001
1101 0000 0100 1110
0110 1000 0010 0111
0011 0100 0001 0011
1010 0000 0000 0001
1001 0100 0001 0010
0100 1010 0000 1001
0010 0101 0000 0100
1010 0000 0000 0001
1000 0101 0000 0101
0100 0010 1000 0010
1010 0000 0000 0001
1110 0010 1000 0011
0111 0001 0100 0001
1010 0000 0000 0001
1101 0001 0100 0000
1101 0001 0100 0000
D 1 4 0
(Lower) (Upper)
Setting Data
Response Message (Fault)
(Hex.)
Slave address
Function code
Error code
Upper
CRC-16
Lower
-
-
-
-
1
-
-
1
-
-
0
1
-
-
0
1
-
-
1
-
-
1
-
-
-
-
5
02
83
03
F1
31
307

Advertisement

Table of Contents
loading

Table of Contents