User`s manual
MGate MB3000 User’s Manual Configuring the Modbus Gateway
4-11
You will need to modify the virtual ID range for each port on the MGate. Since there are no slaves
on Port 2 or 4, their ranges can be set to anything that does not conflict with other ranges. The
following settings would achieve the desired result:
Connection Virtual Slave ID Range Slave ID Offset
Port 1 10 to 19 -8
Port 2 246 to 246 0
Port 3 20 to 22 -12
Port 4 247 to 247 0
You will also need to add the IP addresses of the TCP slaves to the ID table. The following
settings would achieve the desired result:
IP Address Virtual Slave ID Range Slave ID Offset
192.168.3.125 2 to 7 0
192.168.3.111 1 0
After you set up the ID table as shown, any requests to IDs between 10 and 19 will be routed to
Port 1 on the MGate, and requests to IDs between 20 and 22 will be routed to Port 3. The ASCII
masters at Ports 2 and 4 will be able to use IDs 1 to 7 to send requests to the TCP slaves at
192.168.3.125 and 192.168.3.111.
Customize Modbus Settings
The Modbus tab is where certain adjustments can be made to fine tune the communication
between different Modbus networks. You can configure Initial Delay, Modbus TCP Exception,
Slave Channel, and Response Time-out.
Modbus Settings
Parameter Value
Initial Delay
Numeric
Modbus TCP Exception
Enable or Disable
Slave Channel
Radio button
Response Time-out
Numeric
Initial Delay
Some Modbus slaves may take more time to boot up than other devices. For certain environments,
this may cause the entire system to suffer from repeated exceptions during the initial boot-up. You
can force the MGate to wait after booting up before sending the first request with the “Initial
Delay” setting.