EGW1-IA3-MB-DF1 – Modbus TCP a DF1 User’s Manual
Exemys
www.exemys.com
Rev. 1
17
Input and outputs modules connected to the PLC do not require any further configuration in the EGW1-
MB-DF1. In order to access the modules, the end user will have to issue appropriate Modbus requests,
thus the protocol converter will translate them into DF1 commands which can be understood by the PLC.
The mapping between Modbus and DF1 protocol for Input/Output modules is straightforward. It is
summarized in the following rules:
Input modules can be read through Inputs Status or Input Register.
Output modules can be read through Coil Status or Holding Register.
Each Holding Register or Input Register is associated to one word (16 bits). Thus, each word
contained in a module is assigned to one Modbus location, either Holding Register or Input
Register (generically, one “Register” location).
Each Coil Status or Input Status is associated to one bit. Thus, each bit contained in a module is
assigned to one Modbus location, either Coil Status o a Input Status (generically, one “Status”
location).
The multiple coils write command only allows a write to a single coil.
Modules with less than one word use one complete Modbus “Register”.
Requests to “Register” locations up to address 64 are assumed to be requests for the modules.
Requests to “Status” locations up to address 1024 are assumed to be requests for the modules.
The modules will be addressed as shown in the following table, according to the rules above.
For example:
To read output 20 in module 2, ask for Coil Status 00021.
To read word 3 in module 3, ask for Input Register 30004
The device can handle up to 8 simultaneous Modbus TCP connections.
4.2
TCP to serial – Transparent mode
In this mode the EGW1-IA3-MB-DF1 will work a serial server in “server” mode. It will wait for an
incoming TCP connection and will send all the received data to the RS232 port and vice versa.
This mode will use port 10000.
While in transparent mode the EGW1-IA3-MB-DF1
will stop working as Modbus TCP to DF1
converter.
Module
Coil Status
Input Status
Holding Register
Input Register
1
10001-10016
30001-30001
2
00001-00032
40001-40002
3
10017-10080
30002-30005
4
00033-00064
40003-40004