43
5.2 Supported function coses and exception codes
Function code Explain
03
Read Holding Registers
Number of continuous read registers per pass ≤20
06 Write Single Register
16
Write multiple registers
Number of continuous read registers per pass ≤20
Exception code specification
Exception
code
MODBUS name Remarks
01 illegal function code
Function code not supported by wired
controller
02 illegal data address
The address sent in query or setting is
undefined in the wired controller
03 illegal data values
The set parameter is an illegal value,
which exceeds the reasonable set range
If 138 address of Modbus control switch is not written as "1", all but 138
addresses can not be written.