YASKAWA P1000 Technical Manual page 517

Models: 200 v class: 3/4 to 175 hp nd 400 v class: 3/4 to 1000 hp nd 600 v class: 1 to 250 hp nd
Hide thumbs Also See for P1000:
Table of Contents

Advertisement

The example in
Table C.4
result D140H.
Note:
This example does not show the calculation for a complete MEMOBUS/Modbus command. Normally data would follow in the calculation.
Description
Initial Value (FFFFH)
Address 02H
XOR w initial value
Shift 1
XOR w A001H
XOR result
Shift 2
XOR w A001H
XOR result
Shift 3
Shift 4
XOR w A001H
XOR result
Shift 5
Shift 6
XOR w A001H
XOR result
Shift 7
Shift 8
XOR w A001H
XOR result
Perform operations with next data (function code)
n
Response Data
Perform a CRC-16 calculation on the response message data as described above as a validation check. The result should match
the CRC-16 checksum received within the response message.
YASKAWA SIEP YAIP1U 01C AC Drive - P1000 Technical Manual
shows the CRC-16 calculation of the slave address 02H and the function code 03H, yielding the
Table C.4 CRC-16 Checksum Calculation Example
Calculation
Overflow
1111 1111 1111 1111
0000 0000 0000 0010
1111 1111 1111 1101
0111 1111 1111 1110
1010 0000 0000 0001
1101 1111 1111 1111
0110 1111 1111 1111
1010 0000 0000 0001
1100 1111 1111 1110
0110 0111 1111 1111
0011 0011 1111 1111
1010 0000 0000 0001
1001 0011 1111 1110
0100 1001 1111 1111
0010 0100 1111 1111
1010 0000 0000 0001
1000 0100 1111 1110
0100 0010 0111 1111
0010 0001 0011 1111
1010 0000 0000 0001
1000 0001 0011 1110
Description
Function Code 03H
XOR w result
Shift 1
1
XOR w A001H
XOR result
Shift 2
1
XOR w A001H
XOR result
Shift 3
0
Shift 4
1
XOR w A001H
XOR result
Shift 5
0
Shift 6
1
XOR w A001H
XOR result
Shift 7
0
XOR w A001H
1
XOR result
Shift 8
XOR w A001H
XOR result
CRC-16
Continue from here with next data.
C.7 Message Format
Calculation
Overflow
0000 0000 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
4 0
(Lower) (Upper)
1
1
0
1
0
1
1
1
C
517

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents