Examples Of Messages For Commands/Responses - YASKAWA CIPR-CR70A Series Technical Manual

Ac drive for cranes 200/400 v class: 0.4 to 110/315 kw
Table of Contents

Advertisement

5 Network Communications
Description
Initial value (FFFF(Hex.))
Address 02 (Hex.)
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 the Description of Holding Register
Uses function code 03 (Hex.) to read the contents of a maximum of 16 holding registers.
Figure 5.9 shows example messages when the drive reads status signal from the drive of slave 2, the error
contents, fault contents, and frequency references.
Figure 5.9 Message Example When Reading the Contents of Holding Register
Loopback Test
The loopback test uses function code 08 (Hex.) and returns the command message as a response message. This
test checks communication between the master and slave. The test code and data can use desired values.
Figure 5.10 shows examples of messages given out when the loopback test is done with the drive of slave 1.
290
Calculation
Overflow
1111 1111 1111 1111
Function code 03 (Hex.)
0000 0010
XOR w result
1111 1111 1111 1101
Shift 1
0111 1111 1111 1110
1
XOR w A001 (Hex.)
1010 0000 0000 0001
XOR result
1101 1111 1111 1111
Shift 2
0110 1111 1111 1111
1
XOR w A001 (Hex.)
1010 0000 0000 0001
XOR result
1100 1111 1111 1110
Shift 3
0110 0111 1111 1111
0
Shift 4
0011 0011 1111 1111
1
XOR w A001 (Hex.)
1010 0000 0000 0001
XOR result
1001 0011 1111 1110
Shift 5
0100 1001 1111 1111
0
Shift 6
0010 0100 1111 1111
1
XOR w A001 (Hex.)
1010 0000 0000 0001
XOR result
1000 0100 1111 1110
Shift 7
0100 0010 0111 1111
0
XOR w A001 (Hex.)
0010 0001 0011 1111
1
XOR result
1010 0000 0000 0001
Shift 8
XOR w A001 (Hex.)
1000 0001 0011 1110
XOR result
CRC-16
Figure 5.8 CRC-16 Calculation Example
YASKAWA ELECTRIC SIEP C710617 19A YASKAWA AC Drive CR700 Technical Manual
Description
Calculation
0000 0011
1000 0001 0011 1101
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
(Lower)
Continue from here with next data.
Overflow
1
1
0
1
0
1
1
1
4
0
(Upper)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cr700

Table of Contents