Fieldbus control with the embedded fieldbus 301
Function codes
Supported function codes for the holding 4xxxx register are:
Note:
In the Modbus data message, register 4xxxx is addressed as xxxx -1. For
example register 40002 is addressed as 0001.
Exception codes
Exception codes are serial communication responses from the drive. The drive
supports the standard Modbus exception codes listed in the following table.
Code
Hex
(dec)
Function name
Additional information
03
(03)
Read 4X Register Reads the binary contents of registers (4X references) in a slave
device.
06
(06)
Preset single 4X
register
Presets a value into a single register (4X reference). When
broadcast, the function presets the same register reference in all
attached slaves.
10
(16)
Preset multiple 4X
registers
Presets values into a sequence of registers (4X references). When
broadcast, the function presets the same register references in all
attached slaves.
17
(23)
Read/Write 4X
registers
Performs a combination of one read operation and one write
operation (function codes 03 and 10) in a single Modbus
transaction. Write operation is performed before the read
operation.
Code Name
Description
01
Illegal Function
Unsupported command
02
Illegal Data Address Address does not exist or is read/write protected.
03
Illegal Data Value
Incorrect value for the drive:
• Value is outside minimum or maximum limits.
• Parameter is read-only.
• Message is too long.
• Parameter write is not allowed when start is active.
• Parameter write is not allowed when factory macro is
selected.
Aotewell Ltd
www.aotewell.com
Industry Automation
HongKong|UK|China
+86-755-8660-6182