Tunnel – Modbus TCP/Modbus RTU 2G/3G/4G gateway.

¿Buscas alguna otra cosa?

Scenario details:

  • We need to monitor remote ModBus RTU devices with the RS485 port from a central Server which has a software application to control ModBus TCP. MTX-Tunnel will create a ModBus TCP/ModBus RTU GPRS gateway
  • ModBus remote devices need to be available at all times, so the modem connected to those devices is permanently connected to the GPRS waiting for incoming requests in the standard ModBus TCP port number 502
  • SIM cards provisioned with fixed IP addressing will be used, but we could also use dynamic IP addresses and DynDNS or our own DNS server in the same way

Solution: MTX-Tunnel firmware + MTX-Java-IoT/MTX-Java-T/MTX-Java-T2

Config.txt configuration file:

Configuration Observations
COMM_baudrate: 9600
COMM_bitsperchar: 8
COMM_autocts: off
COMM_autorts: off
COMM_stopbits: 1
COMM_parity: none

GPRS_apn: internetestatico.movistar.es
GPRS_login: MOVISTAR
GPRS_password: MOVISTAR
GPRS_timeout: 0

MTX_PIN: 0000
MTX_model: 199801436
MTX_mode: server
MTX_urc: off
MTX_gatewayModBus: on
MTX_invertedCom: on

TCP_port: 502
FIREWALL_enabled: off
Serial port baud rate
8 bit data
No flow control
No flow control
1 stop bit
No parity
GPRS APN from your network operator
GPRS Login
GPRS Password
MTX-Tunnel is always GPRS connected
If SIM card has no PIN security, use 0000 value
MTX-Terminal modem model used
TCP server mode
URC messages will not be sent
ModBus TCP – ModBus RTU gateway enabled
Main port (for GPRS-Serial gateway)
TCP port used. Standard ModBus
Any incoming connection form any IP is allowed