Chapter 4
Explanation of Functions
4-131
(iv) Error check code
The Modbus-RTU protocol uses the cyclic redundancy check (CRC) as the error check method.
The CRC code is the 16-bit data generated for a data block that has an arbitrary data length (in units of 8 bits).
A generative polynomial for CRC-16 (X
16
+ X
15
+ X
2
+ 1) is used to generate the CRC code.
Example of CRC-16 calculation
CRC
*1
= FFFFh
CRC-16
operation
Is the target
data found?
Set the XOR of CRC*1 data and
target data in CRC*1
Does any
bit remain after 8-bit
shifting?
Shift CRC*1 to the left by 1 bit
Is the
bit put out of
CRC*1 "1"?
Replace the Hi and Lo bytes
of CRC*1 with each other
End
Set the XOR of CRC*1 data
and A001h in CRC*1
Yes
No
No
Yes
Yes
No
Hi
Lo
CRC register (2 bytes)
CRC
*1
The target data is shifted by 1 byte.
(v) Time required for communication
After the inverter receives a query, the inverter waits for the sum of the silent interval (corresponding to the
transmission of 3.5 characters) and the communication wait time (C078) before sending a response.
After receiving a response from the inverter, the master system must wait for the silent interval (corresponding to
the transmission of 3.5 characters) or longer before sending the next query to the inverter.
(vi) Normal response
Normal responsse is depending on the recieved query, refer to “(3) Explanation of function codes”
Summary of Contents for SJ700D-004L
Page 16: ...Contents Appendix Appendix A 1 Index Index Index 1 ...
Page 44: ...Chapter 2 Installation and Wiring 2 23 Memo ...
Page 70: ...Chapter 3 Operation 3 25 Memo ...
Page 248: ...Chapter 5 Error Codes 5 11 Memo ...
Page 256: ...Chapter6 Maintenance and Inspection 6 7 Memo ...