EasyManua.ls Logo

YASKAWA GA800 Series - Examples of Messages for Commands;Responses

YASKAWA GA800 Series
1016 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Network Communications
6
6.3 MEMOBUS/Modbus Communications
YASKAWA SIEPC71061737B GA800 Drive Technical Reference 277
1. Make sure that the start value is FFFF (Hex.).
2. Calculate the FFFF (Hex.) start value and the XOR of the slave address (exclusive OR).
3. Move the step 2 results one column to the right. Do this shift until the carry bit is 1.
4. When the carry bit is 1, calculate XOR via the result from the above step 3 and A001 (Hex.).
5. Do steps 3 and 4 until the 8th shift to the right.
6. Use the result of step 5 to calculate the XOR and the data of the following messages (function code, register
address, data). Do steps 3 to 5 until the last data, then calculate.
7. The result of the last right shift or the value of the last XOR calculation is the result for CRC-16.
Figure 6.8 lists examples of the CRC-16 calculation of slave address 02 (Hex.) and function code 03 (Hex.). The
calculated results of CRC-16 for this section is D140 (Hex.).
Note:
The calculation example only gives information about some error checks with CRC-16. The drive will do the same error checks for the next
data.
Figure 6.8 CRC-16 Calculation Example
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 6.9 shows example messages when the drive reads status signal from the drive of slave 2, the error contents,
fault contents, and frequency references.

Table of Contents

Other manuals for YASKAWA GA800 Series

Related product manuals