Modbus Functions
5. MODBUS FUNCTIONS
Controller's parameters can be read or modified via Modbus functions.
Parameters are grouped based on their function.
Not all addresses are used; unused addresses are not shown.
5.1. SUPPORTED FUNCTION CODES
HI510
and
HI520
support following standard Modbus function codes:
5.2. EXCEPTION CODES
Standard Modbus exception codes are returned by the controller for an unsuccessful programming request
using function code:
Code Name
01
Illegal function
02
Illegal data address
03
Illegal data value
04
Server device failure
Decimal
Hex
1
0x01
2
0x02
0x03
3
4
0x04
5
0x05
6
0x06
15
0x0F
16
0x10
43
0x2B
Description
Received function code can not be executed as an action
Received data address can not be accessed
Value contained in data field is out of range or not allowed
An error occurred while attempting to perform requested action
Function Name
Read Coil
Read Input
Read Holding Register
Read Input Register
Write Single Coil
Write Single Holding Register
Write Multiple Coils
Write Multiple Holding Registers
Read Device ID
16