Chapter 5
Modbus/TCP 5-1
© 2005 HMS Industrial Networks
AB7665 User manual
Modbus/TCP Interface
The Anybus-X supports Modbus/TCP commands. The implementation of the
Modbus/TCP server is done according to the Modbus/TCP specification 1.0. All
commands according to class 0 and class 1 are implemented and a subset of the
class 2 commands.
The module can handle 8 simultaneous connections.
Supported Commands
The following Modbus/TCP commands are supported by the Anybus-X.
Function Code
Function Name
Class
Affects
Address Method
1
Read Coils
1
IN/OUT
Bit
2
Read Input Discrete
1
IN/OUT
Bit
3
Read Multiple Registers
0
IN/OUT
Word
4
Read Input Registers
1
IN/OUT
Word
5
Write Coil
1
OUT
Bit
6
Write Single Register
1
OUT
Word
15
Force Multiple Coils
2
OUT
Bit
16
Force Multiple Registers
0
OUT
Word
22
Mask Write Registers
2
OUT
23
Read/Write Registers
2
IN/OUT
Table 5-1 Modbus Commands