User manual

105G Wireless Gateway User Manual
Elpro_man_105g_1.18.doc Page 118
2 Read Input discretes 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
7 Read exception status 1 - -
15 Force multiple coils 2 OUT Bit
16 Force multiple registers 0 OUT Word
22 Mask write register 2 OUT Word
23 Read/Write registers 2 IN/OUT Word
Supported Exception Codes:
Exception
Code
Name Description
01 Illegal function The module does not support the function code in the query
02 Illegal data
address
The data address received in the query is outside the
initialized memory area
03 Illegal data value The data in the request is illegal
Modbus/TCP Addressing
The IN and OUT areas of the Ethernet interface are addressed under Modbus/TCP according to
the tables below. Since Modbus uses a 16-bit format, “Word (16-bit) Address Mode” will be
automatically applied whenever the “Modbus/TCP” checkbox is checked. If Ethernet/IP is also
enabled, the “Disable I/O Instance” option must be selected for each fieldbus mapping to which
Modbus/TCP Addressing is to apply.
IN Area Modbus TCP Addresses (105G Write Locations 0 – 1023*)
Modbus Bit Address IN
Area
Location
Modbus
Word
Address
Bit 15 Bit 14 Bit 13 --- Bit 2 Bit 1 Bit 0
0
1 1 2 3 --- 14 15 16
1
2 17 18 19 --- 30 31 32
---
--- --- --- --- --- --- --- ---
1022
1023 16353 16354 16355 --- 16382 16383 16384
1023
1024 16369 16370 16371 --- 16382 16383 16384