![background image](http://html.mh-extra.com/html/titan/mtx-router-titan/mtx-router-titan_user-manual_1119693156.webp)
Matrix
Electrónica
–
MTX
‐
Router
‐
Titan
User
Manual
‐
Rel3.00.3.09
Page
156
http://www.mtxm2m.com
Subject
to
changes
without
prior
notice
Example Scenario 2.8
Configuration to send to a webserver the Modbus readings of 5 Modbus RS485 devices, as well as
providing Internet access to an Ethernet network analyzer.
Details of the example scenario:
We have five electric meters with Modbus RTU protocol. These meters have a series of
variables/registers (for example, current consumption and average consumption) in its internal
memory which should be periodically read and sent to a webserver.
The router should request this data from the meter every 15 minutes. The registers to be read
for the current consumption is register 20, and the average consumption is register 21.
The router should send the value of registers to a webserver via HTTP GET using a JSON
object after each reading, but it must be able to store up to 1000 readings in its flash memory
in case of GPRS communication failure. These will be send upon restoration of the service.
For each meter, a JSON string will be sent where the meter that is read will be indicated with
an identifier (the Modbus address).
Finally, the router should provide Internet access to a network analyzer with an Ethernet
interface. The IP address of the analyzer is 192.168.1.1. The router must also map the TCP
port 8080 to the TCP port 80 to be able to remotely access it.
The router will use a SIM card with a dynamic IP address. Therefore, the IP address must be
send each time it is changed to the webserver.
Solution:
MTX-Router-Titan-3G-mini
MTX-Router-
Titan-3G-mini
3G
Ethernet
Remote Access to a device with an Ethernet port
ADSL
Network analyzer with an
Ethernet port
RS485
RS485
RS485
RS485
RS485
Modbus
meter
Modbus
meter
Modbus
meter
Modbus
meter
Modbus
meter
Remote Access to RTU RS485 Modbus meters