Instructions

Basic Operation 27
Doc: HMSI-27-314, Rev. 3.10Anybus Communicator EtherNet/IP / Modbus-TCP User Manual
2.5.5 Anybus Addressing Mode
Supported Function Codes
The following function codes can be used in this mode:
Coil & Register Map
The input and output data areas are mapped to coils and registers as follows:
Note 1: The table above applies to all function codes.
Note 2: Coils are mapped MSB first, i.e. coil 0 corresponds to bit 15 of register 0.
Modbus Function Function Code Associated with Area(s) No. of I/Os or Data Points per Command
Read Coil 1 Input and Output Data Area
(0x000... 0x3FF)
1 - 2000 bits
Read Input Discretes 2 1 - 2000 bits
Read Holding Registers 3 1 - 125 registers
Read Input Registers 4 1 - 125 registers
Write Coil 5 Output Data Area (0x200...
0x3FF)
1 bit
Write Single Register 6 1 register
Force Multiple Coils 15 1 - 800 bits
Force Multiple Registers 16 1 - 100 registers
Mask Write Register 22 1 register
Read/Write Registers 23 Input and Output Data Area
(0x000... 0x3FF)
125 registers read/100 registers write
Register # Coil # Memory Location in ABC Area Comments
1 1... 16 0x000... 0x001 Input Data area -
2 17... 32 0x002... 0x003
3 33... 48 0x004... 0x005
4 49... 64 0x006... 0x007
... ... ...
255 4065... 4080 0x1FC... 0x1FD
256 4081... 4096 0x1FE... 0x1FF
257
...
1024
4097... 4112
...
16369... 16384
- - (reserved)
1025 16385... 16400 0x200... 0x201 Output Data area -
1026 16401... 16416 0x202... 0x203
1027 16417... 16432 0x204... 0x205
1028 16433... 16448 0x206... 0x207
... ... ...
1279 20449... 20464 0x3FC... 0x3FD
1280 20465... 20480 0x3FE... 0x3FF