ioPAC 8020 Rugged Remote I/O
Using Modbus/TCP
B-4
Address (000XX): 24 23 22 21 20 19 18 17 - - - - - - 26 25
Response message format for function code 08:
The normal responses return the station address, function code, start address, and requested number of coil
forced.
Command Body
Station
Address
Function
Code
Start Address
High Byte
Start Address
Low Byte
Requested Number of
Coil High Byte
Requested Number of
Coil Low Byte
Example: 01 0F 00 11 00 0A
Function Code 16 (10 hex)
Presets values into a sequence of holding registers.
Request message format for function code 16:
Command Body
Station
Address
Function
Code
Start
Address
High Byte
Start Address
Low Byte
Requested Number
of Register High
Byte
Requested Number
of Register Low
Byte
Byte
Count
Data
Example: Preset constant #1 (address 40009) to 100.0 in ADAM-6000 module.
01 10 00 09 00 02 04 42 C8 00 00
Response message format for function code 08:
The normal responses return the station address, function code, start address, and requested number of
registers preset.
Command Body
Station
Address
Function
Code
Start Address
High Byte
Start Address
Low Byte
Requested Number of
Coil High Byte
Requested Number of
Coil Low Byte
Example: 01 10 00 09 00 02
NOTE
1.
Command’s station Address = 0x00, or =0x01, or =0xFF will direct to Ethernet I/O itself, and will not be
routed to chained 485 device.
2.
For detailled Modbus register mapping, you can refer the export Modbus Map file from Modular ioAdmin.