Veikong VFD500 Series User Manual page 146

High performance vector and torque control frequency inverter
Hide thumbs Also See for VFD500 Series:
Table of Contents

Advertisement

VFD500 high performance vector control frequency inverter user manual Appendix A Modbus communication protocol
an abnormal response to inform the master of the actual situation.
Abnormal response command code = normal response command code + 0x80,
Abnormal code value and meaning as shown in the following table
Error
code
Invalid command code/error
0x01
function code
Error data address/Illegal
0x02
register address
0x03
wrong frame format
0x04
Data is out of range
0x05
Reading request refuse
A.5 CRC check
CRC(Cyclical Redundancy Check)use RTU frame,The message includes an error detection
field based on the CRC method. The CRC field examines the contents of the entire message. The CRC
field is two bytes containing a binary value of 16 bits. It is calculated by the transmission equipment and
added to the message. The receiving device recalculates the CRC of the received message and
compares it with the value in the received CRC field, If the two CRC values are not equal, there is an
error in the transmission. There is a lot of information on the Internet about CRC checking it is not
elaborated hereabout CRC check code generation algorithm,
A.6 Register address distribution
The register address of VFD500 is 16-bit data, the upper 8 bits represent the function code group
number, the lower 8 bits represent the group number, the upper 8 bits are sent before. The 32-bit
register occupies two adjacent addresses, the even address stores the lower 16 bits, and the next
address (odd address) of the even address stores the upper 16 bits.
In the register write operation, in order to avoid frequent damage caused by memory EEPROM
write, using the highest bit of the register address indicates whether it save as EEPROM, the highest
bit to be 1 indicates to save in EEPROM, 0 means save only in RAM. In other words, if you want to
write the register value which is saved after power-off, you should add 0x8000 to the original register
address.
VFD500 register address as follows:
Address space
0x0000
~
(Function
code
space)
Name
The function code received by the slave is outside the
configured range
Slave station receives the data address is not allowed
address
the number of registers being Read and write is out of
range
When writing multiple registers, the number of bytes in
the PDU is not equal to the number of registers
Length of frame is not correct
CRC verifying not passed
The data received by the slave exceeds the
corresponding register minimum to maximum range
Operate to read-only register write
Operate to read-only register write in running status
Rule: The upper 8 digits of the hexadecimal number indicate the group
number (0 to 99), and the lower 8 digits indicate the serial number within
0x6363
the group (0 to 99).
address
Example 1: Function code 27.10 (drive status word 1), which
The hexadecimal address is: 0x1B0A (0x1B = 27, 0x0A = 10),
- 144-
Description
Description

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents