Modbus/TCP & Modbus RTU Function Codes
Function Code 04 - Read Input Registers
32 HC900 Process Controller Communications User Guide Revision 13
April 2017
4.6 Function Code 04 - Read Input Registers
Description
Function code 04(3X references) provides read access to Analog Input modules positioned in any Rack or
Slot. All values are in IEEE 32-bit floating point format.
For HC900 CPUs and Scanners with firmware version 2.3 and earlier, each Rack is allocated space for a
maximum of 16 Slots and each Slot assumes Modules with a maximum of 8 Channels, which consumes 16
Modbus Register addresses. See Table 4-9.
For HC900 CPUs and Scanners with firmware version 2.4 and higher, each Rack is allocated space for a
maximum of 16 Slots and each Slot assumes Modules with a maximum of 16 Channels, which consumes 32
Modbus Register addresses. See Table 4-10.
In Table 4-9 and Table 4-10 the register addressing is 1-based while the hex addressing is 0-based.
Table 4-9 HC900 AI Address Mapping supported by Function Code 04 (v2.3)
Table 4-10 HC900 AI Address Mapping supported by Function Code 04 (v2.4 and higher)