Specifications

In Router mode, set the COM port of your Master RipEX to Modbus (Mode of Connected device). To
translate Modbus addresses to RipEX format and vice versa either use a mask (if RipEX addresses
mirror the Modbus ones) or table. A table must be used if there are several Modbus slaves behind a
single RipEX (RS485 or both COM1 and COM2). For more information refer to on-line help or chapter
XX of the manual.
In addition, set Modbus to Slave on all remote units. If you intend to broadcast in Modbus, set the re-
quired parameters. For more information refer to on-line help or chapter XX of the manual.
8.1.1. Modbus RTU with multiple Masters
RS232
ModbusRTU
RS232
ModbusRTU
M
M
RS232
ModbusRTU
S
RS232
ModbusRTU
S
S
RS232
ModbusRTU
S
RS485
ModbusRTU
S
Fig. 8.2: Modbus RTU with multiple Masters
RipEX allows for several Masters to operate at the same time and to communicate with the same
Slaves. Router mode is presumed in this design. RipEX settings remain the same as above. Each
Slave responds directly to the Master unit which queries it – i.e. if Master A issues a query to a Slave,
the response is sent exclusively to Master A. If a single Slave is queried by two Masters at once,
queries are resolved one by one. Query from the second Master is queued inside RipEX until it receives
a response from Slave RTU on its serial interface or until 500 ms timeout has passed.
8.2. Modbus TCP
A standard simple network with a single Master and several Slaves running Modbus TCP. A TCP/IP
connection is established and maintained between Master PLC and Slave RTU across the entire radio
network.
In Bridge mode, no special setup is required. RipEX operates as an intelligent Bridge. For more inform-
ation refer to on-line help or chapter XX of the manual.
In Router mode, routing must be set up in the radio network. Communication between the IP address
of the Modbus Master and IP addresses of all Modbus Slaves is necessary. Remember to set Modbus
TCP/RTU and Terminal Servers (under Settings/Ethernet) to Off.
RipEX Application notes – © RACOM s.r.o.44
Modbus TCP/RTU