Section 5
MODBUS I/O
24
MODBUS I/O
iPAK2 can be operated via MODBUS instead of using the discrete inputs and outputs.
Both MODBUS TCP/IP (Ethernet) and MODBUS RTU (RS485) protocols are supported.
Write the inputs
using MODBUS function 16
Read the outputs
using MODBUS function 3
MODBUS access types
Write inputs
Type
Value
Description
Function code
UINT
16
Write multiple registers
Read offset
UINT
0
Read length
UINT
0
Write offset
UINT
16#8000 (= 32768)
Write length
UINT
2
Read outputs
Type
Value
Description
Function code
UINT
3
Read holding registers
Read offset
UINT
16#9000 (= 36864)
Read length
UINT
24
Write offset
UINT
0
Write length
UINT
0