FC300
Chapter 6 RS485 Communication protocol
}
return crc_result= crc_result&0xff <<8 | crc_result>>8 ;
//exchange CRC16 check and high & low byte
}
6.7 Modbus Communication Control Examples
Start 1# inverter forward:
Request: 0x01 0x06 0x80 0x000x01 0x00CRCH CRCL
Response: 0x01 0x06 0x80 0x000x01 0x00CRCH CRCL
Notes: 0x8000: virtual terminal low 16
0x0100: Set the virtual terminal bit8=1
CRCH = A1; CRCL = 9A.
01 06 80 00 01 00 A1 9A
forward command is valid.
Start 1# inverter reverse:
Request: 0x01 0x06 0x80 0x000x02 0x00CRCH CRCL
Response: 0x01 0x06 0x80 0x000x02 0x00CRCH CRCL
Notes: 0x0200: Set the virtual terminal bit9=1,reversal command is valid.
CRCH = A1; CRCL = 6A
1# Inverter stopping:
Request: 0x01 0x06 0x80 0x000x00 0x00CRCH CRCL
Response: 0x01 0x06 0x80 0x000x00 0x00CRCH CRCL
Notes: 0x0000: Set the virtual terminal bit8=bit9=0, forward and reversal command is invalid.
CRCH = A0; CRCL = 0A
01 06 80 00 00 00 A0 0A
1# Inverter rotating speed is set as50.0Hz
Request: 0x01 0x06 0x00 0x1e0x01 0xf4CRCH CRCL
Response: 0x01 0x06 0x00 0x1e0x01 0xf4CRCH CRCL
Notes: 0x001e: decimal 30, represents P030(First frequency)
0x01f4: decimal 500, inverter inside unit is 0.1Hz, scilicet 50.0Hz.
CRCH = E9; CRCL = DB
38HZ: 01 06 00 1E 01 7C E9 BD
Read 1# inverter output frequency, inverter responds that output frequency is 50.0Hz
Request: 0x01 0x03 0x81 0x020x00 0x010x0d 0xf6
Response: 0x01 0x03 0x020x01 0xf40xb8 0x53
Notes: 0x8102: Output frequency
0x0001: Read a word
0x02: Return two bytes
0x01f4 Decimal 500 inverter inside unit is 0.1Hz scilicet 50.0Hz
45
    "