Table of Contents

Advertisement

Matrix Electrónica   –   MTX‐Router‐Titan 

User manual.

Models:
MTX-Router-Titan-3G-mini
MTX-Router-Titan-3G-mini-GPS
MTX-Router-Titan-4G-mini-GPS
MTX-Router-Titan-mini
MTX-Router-Titan-3G
MTX-Router-Titan-3G-GPS
MTX-Router-Titan-3G-WC25
MTX-Router-Titan-4G-GPS
MTX-Router-Titan (only Eth & Wifi)
http://www.mtxm2m.com  
 
Subject to changes without prior notice 
 
 
(only Eth & Wifi)
User Manual  ‐  Rel3.00.3.09 
Page 1 

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MTX-Router-Titan-3G-mini and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Titan MTX-Router-Titan-3G-mini

  • Page 1: User Manual

    Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  User manual. Models: MTX-Router-Titan-3G-mini MTX-Router-Titan-3G-mini-GPS MTX-Router-Titan-4G-mini-GPS MTX-Router-Titan-mini (only Eth & Wifi) MTX-Router-Titan-3G MTX-Router-Titan-3G-GPS MTX-Router-Titan-3G-WC25 MTX-Router-Titan-4G-GPS MTX-Router-Titan (only Eth & Wifi) http://www.mtxm2m.com   Page 1    Subject to changes without prior notice   ...
  • Page 2 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  Example scenario of how the TITAN routers can be used: Internet Access for Temperature Wi-Fi enabled DynDNS Data (JSON) Server devices Database MTX-Router- Titan-3G-mini ETHERNET ADSL IP Camera Internal Relay control via Relay SMS and status Weather station...
  • Page 3 This technical description contains important information for start up and use of the MTX-Router-Titan devices. Read it carefully before you start working with Titan router devices. The warranty will be void should damage occur due to non-compliance with these instructions for use. We cannot accept any responsibility for consequential loss.
  • Page 4: Table Of Contents

    Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  Contents 1.‐ Introduction  .............................. 8  2.‐ FAQs.  Basic Concepts........................... 9  3.‐ Step‐by‐step configuration.  ........................ 14  4.‐ Configuration  .............................. 15  4.1‐ WAN ................................. 15  4.1.1‐ WAN >> Status............................ 15  4.1.2‐ WAN >> Basic Settings........................... 16  4.1.3‐ WAN >> Basic Settings >> Utils ...................... 18  4.1.4‐ WAN >> Keep Online .......................... 21  4.2‐ LAN ................................ 22  4.2.1‐ LAN >> Basic Settings .......................... 22  4.2.2‐ LAN >> DHCP Server .......................... 23  4.3‐ Wi‐Fi ................................. 24  4.3.1‐ Wifi >> Basic Settings .......................... 24  4.3.2‐ Wi‐Fi >> DHCP Server .......................... 26  4.4‐ Firewall .............................. 27  4.4.1 ‐ Firewall >> NAT  ............................. 27  4.4.2 ‐ Firewall >> Authorized IPs ........................ 29  4.5‐ Serial Settings >> Serial portX ........................ 31  4.6‐ External Devices ............................ 35  4.6.1‐ External Devices >> Logger configuration  ..................... 35  4.6.2‐ External Devices  >> Temperature Sensor .................... 38  4.6.3‐ External Devices >> Distance Sensor  ..................... 41  4.6.4‐ External Devices >> Modbus RTU / TCP .................... 44 ...
  • Page 5 4.7.4‐ Other >> AT Command  .......................... 62  4.7.5‐ Other >> SMS Control.......................... 63  4.7.6‐ Other >> Periodic autoreset  ........................ 65  4.7.7‐ Other >> Custom Skin  .......................... 67  4.7.8‐ Other >> Custom LED .......................... 68  4.7.9‐ Other >> Time Server (NTP) ........................ 69  4.7.10‐ Other >> Remote console. ........................ 70  4.7.11‐ Other >> Passwords. ........................... 71  4.7.12‐ Other >> User Permissions.  ......................... 72  4.7.13‐ Other >> Backup / Examples. ...................... 73  5.7.14‐ Other >> Digital Input X  ........................ 75  4.7.15‐ Other >> Jamming Detection ...................... 78  4.7.16‐ Other >> Titan Scripts  .......................... 81  4.7.17‐ Other >> Modbus TCP Slave  ........................ 95  4.7.18‐ Other >> Email Configuration  ...................... 100  4.7.19‐ Other >> SNMP  .......................... 102  4.7.20‐ Other >> Movement detector  ...................... 105  http://www.mtxm2m.com   Page 5    Subject to changes without prior notice   ...
  • Page 6 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  4.8.1‐ VPN >> OpenVPN Server ........................ 107  4.8.2‐ VPN >> OpenVPN Client ........................ 109  5.‐ AT Commands ............................ 111  6.‐ Plugins .............................. 117  6.1.‐ Plugin “No‐Nat”  ............................. 118  6.1.‐ Plugin “Watchdog” .......................... 121  Annex 1   Basic Example Scenarios & Configurations  .................. 123  Example Scenario  1.1  Configuration to provide a PLC device with an Ethernet port with access to the Internet    .................................... 124 Example Scenario  1.2  Configuration to provide Internet access and remotely connect an IP camera with an    Ethernet port. ................................ 126 Example Scenario 1.3  Configuration to provide Internet access to a device with an Ethernet port and to several    devices with Wi‐Fi connectivity. .......................... 129 Example Scenario  1.4  Configuration to provide a PLC device with an Ethernet port with Internet access. Wi‐Fi    devices will be able to access the Ethernet device but Internet access for the Wi‐Fi devices will be blocked. .. 133 Annex 2   Advanced Example Scenarios and Configurations  ................. 136  Example Scenario 2.1  Configuration to provide Internet access to a device with an Ethernet port which we want    to access remotely. Uses a SIM card with a dynamic IP address along with the DynDNS or No‐IP service. .. 137 Example Scenario  2.2  Configuration to be able to access a serial device with a 3G‐RS232 gateway whilst Internet    access is given to a device with an Ethernet port. .................... 140 Example Scenario  2.3  Configuration to provide Internet access to a device with an Ethernet port. Another serial    device will be connected to the router via an RS232 port in order to send SMS messages via AT commands. ... 143   Example Scenario 2.4  Configuration to remotely access a USB device via Internet using a 3G router. .... 146 Example Scenario 2.5  Configuration to provide remote access to a device with an Ethernet port as well as to ...
  • Page 7 Iberdrola, Endesa, etc.) as well as via Internet using an existing ADSL router, giving priority to the GSM data call    from the company. .............................. 158 Example Scenario 2.11  Example of how Titan Scripts are used. Updating registers in a Modbus device according  to the Modbus registers in a different device. Sending SMS and changing the Titan’s relays according to the    values in these registers............................ 166 Example Scenario  2.12  Example of an alarm after detecting Jamming (GSM inhibitor). Remote control of an IP  camera via GPRS. Changing a relay and making a warning call when possible Jamming is detected. Sending SMS    alerts when an open gate is detected.  ........................ 170 Example Scenario  2.13  Autonomous reading of Modbus registers and automatic sending to two web platforms.    HTTP GET will be used to send the registers to one platform, and to the other we will send the data via FTP  .. 176 Annex A  General description of Hardware connections ................ 183    General Description of Hardware .......................... 184   A.1.‐ Quick guide to the MTX‐Router‐Titan‐3G module connections .............. 184   A.2.‐ Quick guide to the MTX‐Router‐Titan‐3G‐mini module connections  ............ 187 Annex B  Generic emulation software for virtual serial ports.  .............. 190    Emulation software for serial ports: VSPE   Quick quide to the emulation software for serial ports.  .... 191 Annex C  Release notes of firmware versions. .................... 195  http://www.mtxm2m.com   Page 7    Subject to changes without prior notice   ...
  • Page 8: Introduction

      User Manual  ‐  Rel3.00.3.09  1.- Introduction Titan devices are 2G/3G/4G routers with advanced Gateway capacities. As well as the classic router capacities, these devices can create 3G-RS232/485 gateways, control USB devices remotely, execute SMS commands (to check coverage, change relays, etc.) accept GSM data (CSD) calls to access devices such as electricity meters, read TCP or RTU modbus devices remotely, send temperature, distance data to the cloud, and many more possibilities.
  • Page 9: Faqs. Basic Concepts

    If you still have doubts after reading the previous list of benefits, we recommend that you read the following FAQs where everything you need to know about the main characteristics of the MTX- Router-Titan-3G and MTX-Router-Titan-3G-mini devices is explained in a detailed manner. ...
  • Page 10 GSM data (CSD) call for Metering applications. Is it possible? Yes, but with restrictions. The MTX-Router-Titan must force itself to work in 2G mode. In this way, it can carry out the normal functions of the router at the same time that it manages a CSD calls that is received without problem.
  • Page 11 It works in a similar way. The MTX-Router-Titan-3G device can read waveflows (pulse counters for electricity or water meters for metering applications) and send them to the Cloud. Several utilities have been incorporated to check the RF link level in the MTX-Router-Titan- 3G device’s web configuration environment.
  • Page 12 (high or low) or distance (longer or shorter).  If we talk about a timetable, does this mean that the MTX-Router-Titan-3G and MTX-Router-Titan-3G-mini have a real time clock? Yes, they do. It is synchronized using NTP via Internet. In the current version (1.01), UTC time is used.
  • Page 13   User Manual  ‐  Rel3.00.3.09   Finally, can MTX-Router-Titan-3G and MTX-Router-Titan-3G-mini devices carry out all the previous simultaneously? Yes, they can. For example, 3G-RS232 gateways can run alongside a 3G-USB gateway whilst allowing a device to connect to the Internet using its Ethernet connection, or giving Wi-Fi connectivity to PDAs, whilst using DynDNS, timed relays, or sending to the Cloud readings from water meters obtained by RF868MHz, etc.
  • Page 14: Step-By-Step Configuration

    Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  3.- Step-by-step configuration. As previously mentioned, the configuration of the MTX-Router-Titan-3G and MTX-Router-Titan- 3G-mini devices is done using a web environment.  What is needed? A PC with a web browser (Chrome, IExplorer, Firefox, …) and Ethernet port.
  • Page 15: Configuration

    Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  4.- Configuration 4.1- WAN The WAN section refers to everything related to the 2G/3G route configuration, from the connection status, network configuration parameters and supervision of the connection. 4.1.1- WAN >> Status This screen shows the general status of the router.
  • Page 16: 2- Wan >> Basic Settings

    SIM card such as the APN, login and password. Your network provider should provide you with these.  Enabled WAN: select this to allow the MTX-Router-Titan to activate the 2G/3G device.  Session Time: indicates the time in minutes that the 2G/3G connection should be active.
  • Page 17 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  Additional Notes. - Once the configuration is finished, click “SAVE CONFIG” to save the changes. Remember that the router should be restarted for the changes to take effect. http://www.mtxm2m.com   Page 17    Subject to changes without prior notice   ...
  • Page 18: 3- Wan >> Basic Settings >> Utils

    Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  4.1.3- WAN >> Basic Settings >> Utils The utilities that you can find at the bottom of the “WAN > Basic Settings” screen allow you to select the main and secondary GSM operators when using a Global SIM card. (A Global SIM card allows you to connect to several network operators that are available.
  • Page 19 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  With Strong Scanning, 3G connectivity is lost during the process and therefore we recommend using the Ethernet interface to carry this out. Because of this, “Strong Scanning” has two buttons – “start process from Ethernet” and “Start process from 3G”.
  • Page 20 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  third network operator also fails, the router will try to connect to a GSM network   automatically. If we select the “Automatic” option instead of “Main and Backups”, the router will try to select the operator in the order that is stablished in the SIM card’s internal tables. Except for in locations prone to connectivity problems, we recommend you use the “Automatic”...
  • Page 21: 4- Wan >> Keep Online

    On this screen we can configure a PING to ensure the router’s connectivity. If the PING fails on three occasions, the 2G/3G connection will be reset. We recommend the use of this characteristic.  Enabled: activate this option to allow the MTX-Router-Titan to periodically send a PING to check the connectivity. ...
  • Page 22: Lan

    Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  4.2- LAN The “LAN” configuration section refers to the Ethernet configuration. 4.2.1- LAN >> Basic Settings This section allows you to configure the basic network parameters for an Ethernet connection.  Static IP: a static IP address will be assigned.
  • Page 23: 2- Lan >> Dhcp Server

    Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  4.2.2- LAN >> DHCP Server This section shows you how to enable and configure the DHCP server assigned to the router’s Ethernet interface.  Enabled: if activated, the DHCP server of the Ethernet interface is activated. ...
  • Page 24: Wi-Fi

    Wifi mode: This parameter allows you to select either “Wifi Access Point” or “Wifi Client” as the work mode. “Wifi Access Point” is recommended if you wish to use the Titan router to provide Internet access to Wi-Fi enabled devices using 3G. “Wifi Client” is recommended if you wish to use an existing Wi-Fi infrastructure (for example, the company’s ADSL/Cable...
  • Page 25 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  Additional Notes. - Once the configuration is finished, click “SAVE CONFIG” to save the changes. Remember that the router should be restarted for the changes to take effect. http://www.mtxm2m.com   Page 25    Subject to changes without prior notice   ...
  • Page 26: 2- Wi-Fi >> Dhcp Server

    Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  4.3.2- Wi-Fi >> DHCP Server In this section we see how to enable and configure the DHCP server assigned to the router’s Wi-Fi interface.  Enabled: if selected, the DHCP server belonging to the Ethernet interface will be activated.
  • Page 27: Firewall

    For example, if there is an IP camera connected to the MTX-Router- Titan-3G’s Ethernet port and you wish to have access from an outside computer, you should configure this section appropriately. You can create up to 10 rules.
  • Page 28 - Also remember that to create a NAT correctly: 1.- The LAN IP address of the device to be controlled should be within the network range of the LAN IP address of the MTX-Router-Titan-3G device or the MTX-Router- Titan-3G-mini device.
  • Page 29: Firewall >> Authorized Ips

    IP addresses or only authorized IP addresses. For example, if you only want those Ethernet or Wi-Fi devices that are connected to the Titan router to be able to send data to the server, this would restrict unauthorized use for any other activity (Internet browsing, etc.).
  • Page 30 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  Additional Notes. - Once the configuration is finished, click “SAVE CONFIG” to save the changes. Remember that the router should be restarted for the changes to take effect. - The IP restrictions are only for 3G connections. Wi-Fi access remains protected by the WPA2 password.
  • Page 31: Serial Settings >> Serial Portx

    The MTX-Router-Titan-3G and MTX-Router-Titan-3G-mini devices have several serial ports and a USB port. Using these, we can create serial/3G, USB/3G or serial/CSD gateways to remotely control serial devices. The number of RS232 or RS485 serial ports will depend on the MTX-Router-Titan model used. ...
  • Page 32 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  Router-Titan-3G or MTX-Router-Titan-3G-mini device is listening in a specific TCP port for a connection to create the gateway.  TCP Local Port: the TCP port waiting for the Serial-3G/2G gateway.  TCP Temporal client RS232: Select this option if you want to activate a temporary socket (lasting 1 minute) when it is not in TCP Server mode, the IP/Serial gateway is not established and data is being received via the serial port.
  • Page 33 If you have any doubts, get in touch with us at gsmsupport@matrix.es. It is only possible to configure a serial port in the MTX-Router-Titan-3G or MTX-Router-Titan- 3G-mini device with the mode “Function: Direct”. This option (Direct, Internal Modem) is not supported for 3G models with GPS or 4G models.
  • Page 34 - The serial ports of the type TTL refer to an internal serial port belonging to the MTX- Router-Titan-3G device for special communication cards (RF868MHz, GPS, etc.); i.e. it is not an external serial port of the MTX-Router-Titan-3G or MTX-Router-Titan-3G-mini device.
  • Page 35: External Devices

    RTU devices, Radio Sensors (Wavenis) etc.). 4.6.1- External Devices >> Logger configuration If we need the Titan device to collect data from external devices (Modbus devices, temperature sensors, distance sensors, pulse counters, alarms, relay status, etc.) in order to send them to an external server (belonging to you), first we must configure the internal Logger, that is, how to collect the data and where from, and how to send them.
  • Page 36 The password of the FTP server account that allows you to write.  FTP File Period: The frequency with which you want the Titan to send the data files to the server (every day, every hour, every minute, etc.)  ...
  • Page 37 - When HTTP GET mode is used to send the data, it is sent to the server as it is received. If there is no GSM coverage or problems occur with the sending of data (for example, the remote server fails), the Titan device will store the data in its internal memory and send it when communications are restored.
  • Page 38: 2- External Devices >> Temperature Sensor

    User Manual  ‐  Rel3.00.3.09  4.6.2- External Devices >> Temperature Sensor The MTX-Router-Titan-3G and MTX-Router-Titan-3G-mini devices are prepared to manage the MTX- Temp-RS232 temperature gauge. For example, you can send the temperature periodically to a web platform, send an SMS alert when the temperature is above or below a pre-determined level, or even change a relay when the temperature is outside a particular margin (Other >>...
  • Page 39 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  Additional Notes. - Once the configuration is finished, click “SAVE CONFIG” to save the changes. Remember that the router should be restarted for the changes to take effect. - The hysteresis that the MTX devices use is 1 degree. For example, if you configure 50ºC to be a high temperature, the alarm will be activated when the temperature reaches 50ºC.
  • Page 40 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  the logger’s ID field (External Devices > Logger configuration) TEMP: temperature ALTH: alarm due to high temperature (0=no, 1=yes) ALTL: alarm due to low temperature (0=no, 1=yes) http://www.mtxm2m.com   Page 40    Subject to changes without prior notice   ...
  • Page 41: 3- External Devices >> Distance Sensor

    Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  4.6.3- External Devices >> Distance Sensor The MTX-Router-Titan-3G and MTX-Router-Titan-3G-mini devices are prepared to manage a Maxbotix distance sensor with an RS232 output (get in touch with us at gsmsupport@matrix.es if you have doubts regarding the appropriate model). For example, you can send the measured distance...
  • Page 42 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  Additional Notes. - Once the configuration is finished, click “SAVE CONFIG” to save the changes. Remember that the router should be restarted for the changes to take effect. - Sample format of the JSON string sent: {“IMEI”:”358884050088207”,”TS”:”25/12/2014 17:40:09”,”TYPE”:”DIST”,...
  • Page 43 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  ALDH: alarm due to long distance (0=no, 1=yes) ALDL: alarm due to short distance (0=no, 1=yes) http://www.mtxm2m.com   Page 43    Subject to changes without prior notice   ...
  • Page 44: 4- External Devices >> Modbus Rtu / Tcp

    User Manual  ‐  Rel3.00.3.09  4.6.4- External Devices >> Modbus RTU / TCP The MTX-Router-Titan-3G and MTX-Router-Titan-3G-mini devices are prepared to read, store and send registers from Modbus RTU devices. You can program a periodic reading of up to 10 Modbus devices, choosing the registers to be read, and the later sending of the readings to a webserver via a JSON object.
  • Page 45 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09    Additional Notes. - Once the configuration is finished, click “SAVE CONFIG” to save the changes. Remember that the router should be restarted for the changes to take effect. - If you wish to create a new Modbus RTU device, you must complete the form data and click “SAVE DEVICE”.
  • Page 46: 1- External Devices >> Modbus Rtu / Tcp >> Modbus To Snmp Gateway

     Registers for Traps: In this field several Modbus registers can be specified, separated by semi-colon. If there is a change in the value of one of these registers, the Titan router will send a TRAP.  Message for Traps: Message to be sent in the generated TRAP.
  • Page 47: 5- External Devices >> Wavenis

    Wavenis devices up to 1km away (in direct vision), or up to 16km away using up to 3 boosters. When using the Titan-mini model to read Waveflows, a Waveport (USB or RS232) device is required.
  • Page 48: 3- External Devices > Wavenis > Wavetherm

    This field allows you to read the RSSI between the Wavenis communication concentrator (Titan router) and a remote device. If boosters are used, the RSSI should be indicated at the end. For example, if we wish to read a Wavenis device using boosters 3 and 5, by specifying the value ‘010203040506;3;5’, the RSSI between booster 5...
  • Page 49 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09   Generic Read Battery Counter: This field allows you to obtain an estimation of the remaining battery life. http://www.mtxm2m.com   Page 49    Subject to changes without prior notice   ...
  • Page 50 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09            http://www.mtxm2m.com   Page 50    Subject to changes without prior notice   ...
  • Page 51: 6- External Devices >> Gps Receiver

    Output redirection: This option allows NMEA position frames to be redirected through one of the RS232, RS485 serial ports or the USB port of the Titan device. In this way, GPS can be used by an additional serial port device.
  • Page 52 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  Additional Notes. Once the configuration is complete, press the “SAVE CONFIG” button to save the changes. Remember that the router should be reset in order for the changes to take effect.   http://www.mtxm2m.com   Page 52    Subject to changes without prior notice   ...
  • Page 53: 7- External Devices >> Generic Serial Device

    (temperature/humidity sensors, serial alarms, etc.).  Enabled: Activate this option if you wish to connect a serial device with the Titan router acting as a datalogger. ...
  • Page 54 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  Additional Notes. Once the configuration is complete, press the “SAVE CONFIG” button to save the changes. Remember that the router should be reset in order for the changes to take effect. http://www.mtxm2m.com   Page 54    Subject to changes without prior notice   ...
  • Page 55: 1- Other >> Dyndns

    User Manual  ‐  Rel3.00.3.09  4.7.1- Other >> DynDns The MTX-Router-Titan-3G and MTX-Router-Titan-3G-mini are compatible with the DynDNS service and the No-IP service. If you do not have a SIM card with fixed IP address and you wish to use the external services of DynDNS or No-IP, you can configure them in this section.
  • Page 56: 2- Other >> Private Dyndns

    Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  4.7.2- Other >> Private DynDns The DynDNS service allows the router’s current IP address to be sent to your server in the event that you use a SIM card with a dynamic IP address. The sending of the IP address can be done via HTTP GET (JSON) or through the sending of a specific string via socket to a configurable TCP port.
  • Page 57 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  - Once the configuration is finished, click “SAVE CONFIG” to save the changes. Remember that the router should be restarted for the changes to take effect. - Sample format of the JSON string sent: {“IMEI”:”358884050088207”,”TYPE”:,”DNS”,”P”:”1234”,”IP”:”200.1.2.3”,”RSSI”:25} Where: TYPE: type of string. In this case DNS.
  • Page 58: 3- Other >> Relayx

    User Manual  ‐  Rel3.00.3.09  4.7.3- Other >> RelayX The MTX-Router-Titan-3G and MTX-Router-Titan-3G-mini devices contain relays. These relays can be changed manually via a web console, Telnet, and SMS, as well as via temporization or according to a measured temperature or distance. The different configurations are applied to each relay independently;...
  • Page 59 Movement Detection > Seconds: Time (in seconds) during which the relay will be active after detecting movement.  GPS Area: Activate this option if you wish to change the relay when the Titan router is located within a GPS area defined in the section “External Devices > GPS Receiver”. ...
  • Page 60 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  Additional Notes. - Once the configuration is finished, click “SAVE CONFIG” to save the changes. Remember that the router should be restarted for the changes to take effect. - Sample format of the JSON string sent: {"IMEI":"354740050367237”,"TS":"17/02/2014 19:02:46",”TYPE”:”RELAY”, "P":"1234","ID":1,"VAL":0,"WHY”,”AT”,WHYH”,””}...
  • Page 61 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  Logger’s ID field (External Devices > Logger configuration) relay ID (0 or 1) WHY: reason why the relay has been changed “SCHE1” > relay changed because of Schedule 1 “SCHE2” > relay changed because of Schedule 2 “TEMP”...
  • Page 62: 4- Other >> At Command

    Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  4.7.4- Other >> AT Command In this section it is possible to send an AT command directly to the router’s internal modem. For example, it could be interesting to check the network coverage, identify the telephone cells in the area, etc.
  • Page 63: 5- Other >> Sms Control

    Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  4.7.5- Other >> SMS Control This section allows you to configure the router control via SMS or a missed call. For example, you can configure it so that the router connects to 3G after receiving an SMS, or you can specify the telephone numbers authorized for this.
  • Page 64 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  Additional Notes. - Once the configuration is finished, click “SAVE CONFIG” to save the changes. Remember that the router should be restarted for the changes to take effect. Consult the Application Note ALIAS SMS for further information and examples.
  • Page 65: 6- Other >> Periodic Autoreset

    Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  4.7.6- Other >> Periodic autoreset In this section you can configure a programmed autoreset of the router.  Autoreset not enabled: activate this option if you do not want the router to reset automatically.  Autoreset every X hours: activate this option if you want the router to reset itself every X hours.
  • Page 66 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  Additional Notes. - Once the configuration is finished, click “SAVE CONFIG” to save the changes. Remember that the router should be restarted for the changes to take effect. http://www.mtxm2m.com   Page 66    Subject to changes without prior notice   ...
  • Page 67: 7- Other >> Custom Skin

    Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  4.7.7- Other >> Custom Skin The router’s software allows you to configure the router with your own logos in the header of the web configuration, as well as using customized titles and footers. This allows you to give a personalized feel to the product.
  • Page 68: 8- Other >> Custom Led

      User Manual  ‐  Rel3.00.3.09  4.7.8- Other >> Custom LED Both the MTX-Router-Titan-3G and MTX-Router-Titan-3G-mini devices have a red LED which can be configured. In this section you can specify how it is to be used according to your needs.  Not used: the LED will always be switched off, without use.
  • Page 69: 9- Other >> Time Server (Ntp)

    Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  4.7.9- Other >> Time Server (NTP) The router has a real time clock that allows time to be kept in the event of a loss of power. This clock may periodically require synchronization with time servers via NTP protocol.
  • Page 70: 10- Other >> Remote Console

    Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  4.7.10- Other >> Remote console. If at any time you need to carry out a special operation on the router via a Telnet-type connection, you can do so using this section. With this special connection you can send an SMS, change the router’s configuration, change a relay, etc.
  • Page 71: 11- Other >> Passwords

    Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  4.7.11- Other >> Passwords. There are two usernames that can be used to access the router’s configuration. The username “admin”, from which you will have access to the entire configuration, and “user” from which you will have access to only the selected configurations (useful for when the router is personalized you’re your logos).
  • Page 72: 12- Other >> User Permissions

    Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  4.7.12- Other >> User Permissions. In this section you can configure the permissions for the users that use the “user” account. The configuration options that are not selected will not appear in the left-hand menu for the “user” account.
  • Page 73: 13- Other >> Backup / Examples

    Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  4.7.13- Other >> Backup / Examples. You can create a complete security copy of the router’s configuration from this menu. You can save the configuration in a file and in the router whenever needed. It also allows you to load the user manuals quickly and easily.
  • Page 74 - You can also restore the router to its factory settings using a micro-switch located on the router. Procedure for the MTX-Router-Titan-3G-mini device Open the SIM card compartment where you will see eight micro-switches. Make sure the router is switched off and place micro-switch 8 to the ON position and turn the router on. One minute after it starts-up, the red LED will flash to indicate that the factory settings have been restored.
  • Page 75: 14- Other >> Digital Input X

    User Manual  ‐  Rel3.00.3.09  5.7.14- Other >> Digital Input X This option is only available for those Titan-mini devices that contain 1 digital input by default (customized versions with 2 digital inputs can be ordered). The digital input allows you to make a phone call to a cell phone or to send an SMS alert upon detection of changes in the input.
  • Page 76 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  Additional Notes. - Once the configuration is finished, click “SAVE CONFIG” to save the changes. Remember that the router should be restarted for the changes to take effect. - Sample format of the JSON string sent when the Logger option is chosen: {"IMEI":"354740050367237”,"TS":"17/02/2014 19:02:46",”TYPE”:”DINPUT”,...
  • Page 77 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  Where: IMEI: the router’s ID number. Unique for each device. time stamp DD:MM:YYYY HH:MM:SS TYPE: data type. In this case digital input Logger ID field (External Devices > Logger configuration) VAL: 1: activated / 0: deactivated 1: digital input 1 / 2: digital input 2 COUNT: if configured as a pulse counter, this value returns the number of pulses counted.
  • Page 78: 15- Other >> Jamming Detection

    This option is not available for 4G models. If suspect jamming is detected, the Titan routers can do three things: change a relay for a specific period of time that can be configured (for example to connect a light/sound signal), make a GSM call or send an SMS alert.
  • Page 79 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  Additional Notes. - Once the configuration is finished, click “SAVE CONFIG” to save the changes. Remember that the router should be restarted for the changes to take effect. - Sample format of the JSON string sent when the Logger option is chosen: {"IMEI":"354740050367237”,"TS":"17/02/2014 19:02:46",”TYPE”:”JAMM”,...
  • Page 80 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  TYPE: data type. In this case digital input Logger ID field (External Devices > Logger configuration) VAL: 1: activated / 0: deactivated http://www.mtxm2m.com   Page 80    Subject to changes without prior notice   ...
  • Page 81: 16- Other >> Titan Scripts

    For example, you can create a script so that whenever a Modbus register in device A has a specific value, the Titan writes a different value in a Modbus register in device B. Or, you can send an SMS; change a relay, etc. when a Modbus register in device A has a specific value.
  • Page 82 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  The Titan routers allow you to input up to 10 different scripts. The 10 possible scripts have the same structure, each with three text boxes, as shown below: IF field  ACTION 1 field  ACTION 2 field  The first text box (IF) indicates the condition; that is, the Titan device will evaluate the logical expression contained here.
  • Page 83 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  Below you can see the commands that are currently supported, giving you an idea of what you can do with them. That said, the best way to understand the workings of each of them is by reading the examples in this section of the manual.
  • Page 84 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09     modbusRegister:  address of the Modbus device register to be written     registerValue:    value to be written in the register    commandWrite:  OPTIONAL PARAMETER. The Modbus writing  commands 3 or 4 can be used. If not indicated, the Modbus command 3 will  be used.     Examples:    MW[1,10,100]      Writes the value “100” in register 10 of the Modbus device with address 1,  using the Modbus writing command 3.   MW[1,10,100,4]      Writes the value “100” in register 10 of the Modbus device with address 1,  using the Modbus writing command 4.  MW[192.168.1.20:502,10,100]      Writes the value “100” in reegister 10 of the Modbus TCP device with IP  address 192.168.1.20 and TCP port 502 using the Modbus writing command  3.  MW[1,10,100,4]      Writes the value “100” in reegister 10 of the Modbus TCP device with IP  address 192.168.1.20 and TCP port 502 using the Modbus writing command  4. ...
  • Page 85 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09     idRelay:   possible values:   1 (Relay 1), 2 (Relay 2)     relayValue:  possible values:   0 (relay not activated),  1 (relay activated)  Examples:    SR[1,1]      Activates relay 1 of the Titan device  SR[2,0]      Deactivates relay 2 of the Titan device.        “SEND SMS” command Syntax:    SS[telephoneNumber, message]  Description:  Sends an SNS to a specific telephone number.  Parameters:     telephoneNumber:   Telephone number where the SMS is to be sent to.      message:  message to be sent  Example:    SS[666123456,Alarm activated]  ...
  • Page 86 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  Parameters:          emailDestination: email address of the recipient  subject: email subject  Example:    SS[alarmas@gmail.com,Alarm activated]  Sends an email to the email address alarmas@gmail.com with the subject  “Alarm activated”      “PAUSE” command Syntax:    PA[seconds]  Description:  Makes a pause in the management of the Titan scripts.  Parameters:     seconds:   length (in seconds) of the pause  Example:    PA[5]      Creates a 5 second pause.  Comando “DATE” Syntax:    DA[]  Description: ...
  • Page 87   Syntax of the “Titan Scripts” The “Titan Scripts” syntax is very similar to that of Java. In each condition’s “IF” field, we must specify a sentence that has a result of TRUE or FALSE, so that ACTION1 is executed if the IF condition is TRUE, and ACTION2 is executed if the IF condition is FALSE.
  • Page 88 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  - Edge execution (default mode): In this case the action MW[1,10,MR[2,3]] is executed just once upon the condition MR[2,2]>=18; i.e. once Action1 has been executed, it will not be executed again until the condition MR[2,2]>=18 is false, and then when the condition is true. This is useful when the user wants to send SMS message alerts or email alerts as this avoids continuous repeated messages.
  • Page 89 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  Examples of “Titan Scripts” The best way to understand how “Titan Scripts” work is by looking at examples. Below you  can see a selection of examples to assist you.     EXAMPLE 1:          If [register 10 of the Modbus device with the address 1] is greater than 100 Write [the value “1” in register 20 of the Modbus device with address 2] Otherwise Write [the value “0”...
  • Page 90 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09    EXAMPLE 3:          If [register 5 of the Modbus device with the address 1 has the value “1”] OR [register 6 of the Modbus device with address 1] is greater than 10 Write [in register 7 of the Modbus device with address 1 the current value of register...
  • Page 91 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09    EXAMPLE 5:          If [register 15 of the Modbus device with address 1] is greater than or equal to 100 Activate Titan device’s Relay 1 Otherwise Deactivate Relay 1 on the Titan device      EXAMPLE 6:         ...
  • Page 92   If [register 10 of the Modbus device with address 1] is equal to 1 Send an SMS with the text “new alarm detected” to the telephone number 666123456 AND AFTER Activate the Titan device’s internal Relay 1 Otherwise http://www.mtxm2m.com  ...
  • Page 93     If [register 15 of the Modbus device with address 1] is greater than 10 [Activate the Titan device’s internal Relay 1] AND AFTER [pause for 5 seconds] AND AFTER [Deactivate the Titan device’s internal Relay 1] EXAMPLE 11:   ...
  • Page 94 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  EXAMPLE 12:          If [register 4 in Modbus device with address 1] is greater than 10 Send an email with the text “New alarm detected. Value [value read from register 4 of the Modbus device with address 1]” to the email jgallego@matrix.es  ...
  • Page 95: 17- Other >> Modbus Tcp Slave

    4.7.17- Other >> Modbus TCP Slave   The Titan routers can be configured to ask as a Modbus TCP slave device. For example, using Modbus TCP protocol, it is possible to change the internal relays remotely (via 3G, Ethernet or Wi-Fi) as well as consulting their statuses, the status of the digital input and sending/receiving SMS messages or sending emails via Modbus TCP.
  • Page 96 AT commands via Modbus TCP protocol Another interesting characteristic of the Titan routes is the option to execute AT commands via Modbus protocol. For example, if you have a PLC acting as a Master Modbus TCP, you can send an...
  • Page 97 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09    Register ID Value Description Size of response to command   4.- Finally, we must read the 28 registers where the response is contained (register 500 onwards).   Register ID Value Description [space] http://www.mtxm2m.com   Page 97    Subject to changes without prior notice ...
  • Page 98 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09    For this AT command the relevant registers are 515 and 516, which indicate a network coverage of Remember that in order to use this characteristic to send SMS messages, the AT command is   AT^MTXTUNNEL=SMS,phone,message, as previously outlined in this guide Procedure for receiving SMS messages  ...
  • Page 99 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09                              http://www.mtxm2m.com   Page 99    Subject to changes without prior notice   ...
  • Page 100: 18- Other >> Email Configuration

    4.7.18- Other >> Email Configuration   Titan routers are able to send email notifications. They also allow emails to be sent using AT commands. For example, if you have a PLC and wish to send an SMS or email, you can send an AT command to the MTX-Router-Titan-3G device to do it.
  • Page 101 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  Once the configuration is complete, press the “SAVE CONFIG” button to save the changes. Remember that the router should be reset in order for the changes to take effect. Remember that if you use a Gmail SMTP server, you may have to activate certain configurations in your account in order to be able to send emails from an IOT device.
  • Page 102: 19- Other >> Snmp

    User Manual  ‐  Rel3.00.3.09  4.7.19- Other >> SNMP   Titan routers include SNMP protocol for firmware versions 1.11 or later. Via SNMP you can carry out SET and GET operations from standard SNMP applications.  Enabled: Select this box if you wish to activate the Titan router’s SNMP service ...
  • Page 103 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  Additional Notes. Once the configuration is complete, press the “SAVE CONFIG” button to save the changes. Remember that the router should be reset in order for the changes to take effect. On the previous screen you can see a link with the text “Click here for download MIB”.
  • Page 104 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  AN8‐Router‐Titan‐Modbus‐to‐SNMP‐Gateway.pdf    AN10‐Router‐Titan‐sending‐SMS‐Emails‐Traps‐with‐ModbusTCP.pdf  http://www.mtxm2m.com   Page 104    Subject to changes without prior notice   ...
  • Page 105: 20- Other >> Movement Detector

    User Manual  ‐  Rel3.00.3.09  4.7.20- Other >> Movement detector   The Titan-mini routers contain a movement detection system that allows you to send SMS alarms, make telephone calls or change a relay upon detecting movement.  Accelerometer mode: This option activates the movement detection system with different sensitivity modes.
  • Page 106 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  Once the configuration is complete, press the “SAVE CONFIG” button to save the changes. Remember that the router should be reset in order for the changes to take effect. http://www.mtxm2m.com   Page 106    Subject to changes without prior notice   ...
  • Page 107: 1- Vpn >> Openvpn Server

    User Manual  ‐  Rel3.00.3.09  4.8.1- VPN >> OpenVPN Server The Titan and Titan-mini routers can act as an OpenVPN server. By using a VPN service, all devices connected to the router’s Ethernet bus or the IP-RS232/485/USB gateways can be securely accessed from the othe rend of the VPN network. A VPN service is also useful to avoid problems generated from the use of proxies, firewalls, etc.
  • Page 108 Necessary files for OpenVPN:  In order to be able to use the MTX-Router-Titan devices as an OpenVPN server, you will need to create and update the following files: ca.crt (certificate of authenticity), server.crt (server certificate), server.key (server private key) and dh1024.pem (Diffie Hellman parameters).
  • Page 109: 2- Vpn >> Openvpn Client

    User Manual  ‐  Rel3.00.3.09  4.8.2- VPN >> OpenVPN Client The Titan and Titan-mini routers can act as an OpenVPN client. By using a VPN service, all devices connected to the router’s Ethernet bus or the IP-RS232/485/USB gateways can be securely accessed from the othe rend of the VPN network. A VPN service is also useful to avoid problems generated from the use of proxies, firewalls, etc.
  • Page 110 Necessary files for OpenVPN:  In order to be able to use the MTX-Router-Titan devices as an OpenVPN client, you will need to create and update the following files: ca.crt (certificate of authenticity), client.crt (server certificate) and client.key (server private key).
  • Page 111: At Commands

    The Titan and Titan-mini routers include an internal Siemens/Gemalto modem. For 3G Titan models, this is the EH5/6/8 model, and for 4G versions of Titan it is the PLS8 model. The router’s firmware allows AT commands to be sent directly to the internal modem via several interfaces:...
  • Page 112 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09   AT^MTXTUNNEL=SETRELAY,2,1 Action: Activates relay 2 (not available in Titan-mini versions)  AT^MTXTUNNEL=SETRELAY,2,1 Action: Activates relay 2 (not available in Titan-mini versions)    AT^MTXTUNNEL=GETTEMPERATURE Action: Returns the current temperature when the MTX-Temp-RS232 external device (temperature sensor) is connected ...
  • Page 113  AT^MTXTUNNEL=COMMAND,timeout,command Action: This command allows you to carry out special commands in the Titan router. The commands currently available are “ping” and “traceroute”. A timeout (in seconds) can be specified as well as the command to be executed.  ...
  • Page 114 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09                   AT^MTXTUNNEL=GETMODBUS,ModbusAdd;FirstRegisterAdd;numWords;command Action: Returns the Modbus registers of a device where: ModbusAdd: Modbus device address (1, … , 255) or IP address:port FirstRegisterAdd: address of the first register to be read (0, … , 65535) numWords: number of Modbus registers to read (1, …...
  • Page 115 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09     AT^MTXTUNNEL=SETMODBUS,ModbusAdd;FirstRegisterAdd;command;data1;da ta2; …dataX Action: Establishes the Modbus registers of a device where: ModbusAdd: Modbus device address (1, … , 255) or IP address:port FirstRegisterAdd: address of the first register to be read (0, … , 65535) command: Modbus write command (6 or 16) data1,…,dataX: values of the Modbus registers to be written...
  • Page 116 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09     AT^MTXTUNNEL=GETGSMLOCATION Action: Returns information of the telephony cell used. Can be useful as it obtains an approximate GPS position.   For the remaining standard commands, please consult the Siemens/Gemalto AT command manual for information regarding the format and functionality of each command containted in the EHS6 module.
  • Page 117: Plugins

    Depending on the size of the project, this could be included as a plugin for free. Given that the plugins are independent utilities, when a copy of the Titan configuration is created, it is not necessary for the plugin section to be replicated http://www.mtxm2m.com  ...
  • Page 118: Plugin "No-Nat

    Sentido del establecimiento de RS232 de envío de info. la conexión TCP/IP. However, your GSM operator does not allow this as it blocks all incoming connections to modems. What you can do with the Titan router is the following: RS232 MTXTunnel MTX-ROUTER-...
  • Page 119 000002” and “A-000003” respectively. Each of them must connect to the TCP port 40000 in the Titan router. On the other hand, the PC must connect to the Titan’s IP address (for example the local Ethernet address 192.168.1.2) when it wishes to connect to the MTX-Tunnel 1 modem, as well as the corresponding TCP port.
  • Page 120   User Manual  ‐  Rel3.00.3.09  Once connected to a socket, the data sent by the PC will be received by the Titan an then reset by the corresponding socket to the MTX-Tunnel to which we wish to connect. Once this data reaches the MTX-Tunnel device, it will be resent by the serial port http://www.mtxm2m.com  ...
  • Page 121: Plugin "Watchdog

    PLC, analyzer, meterological stations, etc. The Watchdog plugin allows a periodic ping to be configured This will be sent by one of the Titan router’s interfaces (usually Ethernet, but it could also be Wi-Fi or 3G). If the ping fails X times (where...
  • Page 122 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  http://www.mtxm2m.com   Page 122    Subject to changes without prior notice   ...
  • Page 123: Annex 1   Basic Example Scenarios & Configurations

    Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  Annex 1 Basic Example Scenarios & Configurations http://www.mtxm2m.com   Page 123    Subject to changes without prior notice   ...
  • Page 124: Ethernet Port

    We need to be able to access the router’s configuration remotely in the standard TCP port 80.  SIM cards with fixed IP address are used. Solution: MTX-Router-Titan-3G-mini router Internet Connectivity via 3G using an ETH port on the device Ethernet MTX-Router-Titan-3G-mini...
  • Page 125 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09    http://www.mtxm2m.com   Page 125    Subject to changes without prior notice   ...
  • Page 126: Example Scenario  1.2  Configuration To Provide Internet Access And Remotely Connect An Ip Camera With An Ethernet Port

    Therefore, only the IP addresses 200.1.2.3 and 200.1.2.4, corresponding to the central offices, will be able to access the IP camera.  SIM cards with fixed IP address will be used. Solution: MTX-Router-Titan-3G-mini router Remote Access to an IP camera via 3G Ethernet ADSL MTX-Router-Titan-3G-mini...
  • Page 127 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  3.- In order to access the TCP port 80 belonging to the camera, we need to create an NAT. In other words, we need to redirect traffic that arrives in the router’s TCP80 port to the internal IP address and TCP port belonging to the camera;...
  • Page 128 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  http://www.mtxm2m.com   Page 128    Subject to changes without prior notice   ...
  • Page 129: Example Scenario 1.3  Configuration To Provide Internet Access To A Device With An Ethernet Port And To Several Devices With Wi‐Fi Connectivity

    SMS. Via this IP we will be able to access the router’s configuration at any time. Solution: MTX-Router-Titan-3G-mini router Obtain IP via SMS 80.1.2.3 Internet Connectivity via 3G using an ETH port on the device...
  • Page 130 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  1.- After the configuration is loaded in your router, you can access the router’s configuration with the default username and password: “admin” and “admin”, and the IP address“192.168.1.2” 2.- Check the configuration in the menus “Wan>Basic Settings”, “Wifi>Basic Settings”, “Wifi>DHCP Server”, “Other>Sms Control”.
  • Page 131 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09                                                        http://www.mtxm2m.com   Page 131    Subject to changes without prior notice   ...
  • Page 132 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09                            http://www.mtxm2m.com   Page 132    Subject to changes without prior notice   ...
  • Page 133: Example Scenario  1.4  Configuration To Provide A Plc Device With An Ethernet Port With Internet Access. Wi‐Fi Devices Will Be Able To Access The Ethernet Device But Internet Access For The Wi‐Fi Devices Will Be Blocked

    Ethernet device which is connected to the router for maintenance tasks, although Internet accesss must also be blocked for these. Only the Ethernet device should have Internet access. Solution: MTX-Router-Titan-3G-mini router Internet connectivity via 3G using an ETH port on the device Ethernet MTX-Router-...
  • Page 134 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  Details. 1.- After the configuration is loaded in your router, you can access the router’s configuration with the default username and password: “admin” and “admin”, and the IP address“192.168.1.2” 2.- Check the configuration in the menus “Wan>Basic Settings”, “Wifi>Basic Settings”, “Wifi>DHCP Server”.
  • Page 135 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09                                http://www.mtxm2m.com   Page 135    Subject to changes without prior notice   ...
  • Page 136: Annex 2   Advanced Example Scenarios And Configurations

    Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09    Annex 2 Advanced Example Scenarios and Configurations http://www.mtxm2m.com   Page 136    Subject to changes without prior notice   ...
  • Page 137: Example Scenario 2.1  Configuration To Provide Internet Access To A Device With An Ethernet Port Which We Want To Access Remotely. Uses A Sim Card With A Dynamic Ip Address Along With The Dyndns Or No‐Ip Service

    We want to be able to remotely access the device. SIM cards with a dynamic IP address will be used, therefore we will use the DynDNS or No-IP services. Solution; MTX-Router-Titan-3G-mini router Sending the IP to DynDNS each time it changes...
  • Page 138 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  Details. 1.- After the configuration is loaded in your router, you can access the router’s configuration with the default username and password: “admin” and “admin”, and the IP address“192.168.1.2” 2.- Check the configuration in the menus “Wan>Basic Settings”,”Firewall>Nat”, “Other>DynDNS”.
  • Page 139 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09                                                http://www.mtxm2m.com   Page 139    Subject to changes without prior notice   ...
  • Page 140: Example Scenario  2.2  Configuration To Be Able To Access A Serial Device With A 3G‐Rs232 Gateway Whilst Internet Access Is Given To A Device With An Ethernet Port

    The router will be listening in the TCP port 20010 to create a transparent 3G-RS232 gateway and to be able to remotely access the device via the serial port RS232 with the configuration 115200,8,N,1. Solution: MTX-Router-Titan-3G-mini Internet Connectivity via 3G Ethernet ADSL...
  • Page 141 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  Details. 1.- After the configuration is loaded in your router, you can access the router’s configuration with the default username and password: “admin” and “admin”, and the IP address“192.168.1.2” 2.- Check the configuration in the menus “Wan>Basic Settings”, “LAN>DHCP”, “Serial Settings>Serial Port 1”.
  • Page 142 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  http://www.mtxm2m.com   Page 142    Subject to changes without prior notice   ...
  • Page 143: Another Device

    Another device, in this case with an RS232 serial port, will be connected to the router’s RS232 port. This device will manage a series of alarms and must be able to send them via SMS using standard AT commands from any GSM modem. Solution: MTX-Router-Titan-3G-mini Sending SMS AT Commands to send SMS RS232...
  • Page 144 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  Details. 1.- After the configuration is loaded in your router, you can access the router’s configuration with the default username and password: “admin” and “admin”, and the IP address“192.168.1.2” 2.- Check the configuration in the menus “Wan>Basic Settings”, “LAN>DHCP”, “Serial Settings>Serial Port 1”.
  • Page 145 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  http://www.mtxm2m.com   Page 145    Subject to changes without prior notice   ...
  • Page 146: Example Scenario 2.4  Configuration To Remotely Access A Usb Device Via Internet Using A 3G Router

    For simplicity, a SIM card with fixed IP address will be used in this example, although the IP address can be obtained via SMS, or you can use a missed call as seen in previous examples. Solution: MTX-Router-Titan-3G-mini Access to a USB device via Internet Weather station / ADSL...
  • Page 147 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  5.- If you use the MTX-Router-Titan-3G-mini device, you will likely need to use a miniUSB-USB adaptor. 6.- Remember that the USB device must be connected to the router before the MTX router is connected to a power source. The MTX router will not detect the USB device correctly if it is connected after the power supply.
  • Page 148 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  http://www.mtxm2m.com   Page 148    Subject to changes without prior notice   ...
  • Page 149: Example Scenario 2.5  Configuration To Provide Remote Access To A Device With An Ethernet Port As Well As To Change A Relay Via Sms To Activate/Deactivate The Power Supply Of A Third Device

    Finally, we need to be able to carry out a reset of the external device’s power supply without needing to send two SMSs. For this, we will send the text “RESET” which will deactivate the relay for three seconds. Solution: MTX-Router-Titan-3G-mini Remote Access to a device with an Ethernet port ADSL Ethernet...
  • Page 150 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  http://www.mtxm2m.com   Page 150    Subject to changes without prior notice   ...
  • Page 151 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  http://www.mtxm2m.com   Page 151    Subject to changes without prior notice   ...
  • Page 152: Changing The Router's Internal Relay According To A Given Timetable Or Sms In Order To Activate/Deactivate Another Device

     The modem’s internal relay should be programmed to activate itself at certain times of the day, as well as being activated via webserver and SMS. Solution: MTX-Router-Titan-3G-mini + MTX-Temp-RS232 sensor Temperature Data (JSON) Server Database Remote Access to an IP camera via 3G...
  • Page 153 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  Configuration example ready for use: You can easily load the example from the router’s web configuration environment from the menu “Other>Backup / Examples”. Details. 1.- After the configuration is loaded in your router, you can access the router’s configuration with the default username and password: “admin”...
  • Page 154: Light Via A Relay. Additionally, We Need To Provide Internet Access To Wi-Fi Enabled Tablets

      User Manual  ‐  Rel3.00.3.09  Example Scenario 2.7 Configuration of the Titan device to periodically send data from a distance sensor to a Web server, as well as planning to send SMS alerts according to the distance measured and activating a warning  ...
  • Page 155 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  Configuration example ready for use: You can easily load the example from the router’s web configuration environment from the menu “Other>Backup / Examples”. Details. 1.- After the configuration is loaded in your router, you can access the router’s configuration with the default username and password: “admin”...
  • Page 156: 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

    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 Remote Access to a device with an Ethernet port ADSL Ethernet...
  • Page 157 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  Configuration example ready for use: You can easily load the example from the router’s web configuration environment from the menu “Other>Backup / Examples”. Details. 1.- After the configuration is loaded in your router, you can access the router’s configuration with the default username and password: “admin”...
  • Page 158: From The Company

    GSM call can be attended to. Once the GSM call is terminated by the energy provider, the Ethernet connection must be restored. Solution: MTX-Router-Titan-3G-mini Access to the meter via a Access to the meter via Internet, taking advantage of an...
  • Page 159 4.- Since we want to use an existing ADSL router, we must create an NAT (mapped from at least one TCP port) from the ADSL router to the MTX-Router-Titan-3G-mini. In this example case, the MTX-Router-Titan-3G-mini is listening out to create an IP-RS232 gateway in the TCP20010 port. A NAT should be created (in the ADSL router’s configuration menus) from the ADSL router’s...
  • Page 160 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09                                                                    http://www.mtxm2m.com   Page 160    Subject to changes without prior notice ...
  • Page 161 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09    http://www.mtxm2m.com   Page 161    Subject to changes without prior notice   ...
  • Page 162 GSM (CSD) data call. When the operator access the data, the GPRS connection will be suspended until the call is terminated. Solution : MTX-Router-Titan-3G router Access to the meter via a GSM call Access to the meter via Internet using GPRS...
  • Page 163 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  Configuration example ready for use: You can easily load the example from the router’s web configuration environment from the menu “Other>Backup / Examples”. Details. 1.- After loading the configuration on your router, you can access the router’s configuration with the default username and password: “admin”...
  • Page 164 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09                                                                    http://www.mtxm2m.com   Page 164    Subject to changes without prior notice ...
  • Page 165 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09                                              http://www.mtxm2m.com   Page 165    Subject to changes without prior notice   ...
  • Page 166: Values In These Registers

      User Manual  ‐  Rel3.00.3.09  Example Scenario 2.11 Example of how Titan Scripts are used. Updating registers in a Modbus device according to the Modbus registers in a different device. Sending SMS and changing the Titan’s relays according to   the values in these registers.
  • Page 167 1.- After loading the configuration on your router, you can access the router’s configuration with the default username and password: “admin” and “admin” and the IP address “192.168.1.2” 2.- Check the configuration in the menus “Wan>Basic Settings”, “LAN>Basic Settings”, “Serial Settings>Serial Port 1”, “Other>Titan Scripts”    ...
  • Page 168 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09                                                                    http://www.mtxm2m.com   Page 168    Subject to changes without prior notice ...
  • Page 169 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09                                                                  Details (2) http://www.mtxm2m.com   Page 169   ...
  • Page 170 If true: send an SMS to the telephone 666274646 with the text “alert value: [the current value of register 2 in the device with address 2]” AND actívate the Titan device’s relay 1. If false: desactivate the Titan device’s relay 1.
  • Page 171 The router should supervise a gate and if opened, an SMS alert must be sent to the numbers 666123456 and 666123457  We will also use the router to take daily readings of an RS485 electricity meter (configuration 9600bps, 8N1) via a transparent GPRS/RS485 gateway. Solution : MTX-Router-Titan-3G-mini router       ADSL  ...
  • Page 172 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09                                                                    http://www.mtxm2m.com   Page 172    Subject to changes without prior notice ...
  • Page 173 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09                                                                    http://www.mtxm2m.com   Page 173    Subject to changes without prior notice ...
  • Page 174 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09                                                                    http://www.mtxm2m.com   Page 174    Subject to changes without prior notice ...
  • Page 175 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09                                                                  http://www.mtxm2m.com   Page 175    Subject to changes without prior notice   ...
  • Page 176: Example Scenario  2.13  Autonomous Reading Of Modbus Registers And Automatic Sending To Two Web Platforms Http Get Will Be Used To Send The Registers To One Platform, And To The Other We Will Send The Data Via Ftp

    Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  Example Scenario 2.13 Autonomous reading of Modbus registers and automatic sending to two web platforms. HTTP GET   will be used to send the registers to one platform, and to the other we will send the data via FTP Details of the example scenario: ...
  • Page 177 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  Configuration example ready for use: You can easily load the example from the router’s web configuration environment from the menu “Other>Backup / Examples”. Details. 1.- After loading the configuration on your router, you can access the router’s configuration with the  ...
  • Page 178 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09                                                                    http://www.mtxm2m.com   Page 178    Subject to changes without prior notice ...
  • Page 179 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09                                                                    http://www.mtxm2m.com   Page 179    Subject to changes without prior notice ...
  • Page 180     The responses read and collected by the Titan device and then sent to a Web platform (in this example, the test platform www.metering.es) will have the following format, as shown in the “External Modbus RTU” section of this manual.
  • Page 181 Details (3). For firmware versions up to 1.07, Titan routers can read data types UNSIGNED WORD (2 bytes). For versions 1.08 or later, they can also read data types DOUBLE WORD (4 bytes), FLOAT (4 bytes), COIL (1 bit) and INPUTS (1 bit).
  • Page 182 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  If we wish to read registers 1, 2 and 3 from device @1 (SlaveWORD), registers 2, 4 and 6 from device @2 (SlaveDWORD), and registers 2, 4 and 6 from device @3 (SlaveFLOAT), as well as 10...
  • Page 183: Annex A  General Description Of Hardware Connections

    Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09      Annex A General description of Hardware connections http://www.mtxm2m.com   Page 183    Subject to changes without prior notice   ...
  • Page 184: General Description Of Hardware

    General Description of Hardware A.1.- Quick guide to the MTX-Router-Titan-3G module connections Introduction: Below you will see a basic connection diagram showing the MTX-Router-Titan-3G device’s connection terminals. Note that you can power the router with both alternating voltage (90-  ...
  • Page 185 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  (*1) The COM1 port can be configured as an RS232 or RS485 port. By default it is configured as an RS232 port. To change this to an RS485 port, you must: 1. Place switches 1 and 2 to the ON position from DIP Switch SW2 (see last diagram) 2.
  • Page 186 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  General features  Interfaces   3G router    Ethernet 10/100 BaseT RJ45   Internal Wi‐Fi b/g/n (AP support)  o UMTS/HSPA+ : Five‐Band   USB 2.0 (compatible with FTDI and ACM USB devices)  800/850/900/1900/2100MHz   HD‐Dsub15 (also available as plug‐In type terminal block):  o GSM/GPRS/EDGE: : Quad band  850/900/1800/1900MHz  o 2x RS232 (2‐wire)   3G connectivity supervisor to maintain connection  o 1x RS232 (4‐wire) / RS485   always active  o 1x 1‐Wire BUS   IP65 enclosure  o Out 3.3V, 5V, 24V   DHCP server (for Ethernet and WiFi interfaces)   Relay  with plug‐in type terminal blocks:   Internal GPS (optional) ...
  • Page 187: A.2.- Quick Guide To The Mtx-Router-Titan-3G-Mini Module Connections

    A.2.- Quick guide to the MTX-Router-Titan-3G-mini module connections Introduction: Below you will see a basic connection diagram showing the MTX-Router-Titan-3G device’s connection terminals. VCC can have a value between 7 and 50Vdc. The power supply must allow consumption peaks of 1.5A.
  • Page 188 (*3) The Titan mini device has a digital input that is shared with the RX pin belonging to the COM2 port. As a result, if you wish to use the digital input, you cannot use the COM2 port, and vice versa.
  • Page 189 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  General features  Interfaces   3G router    Ethernet 10/100 BaseT (RJ45 connector)   Internal Wi‐Fi b/g/n (AP support) (SMA F RP connector)  o UMTS/HSPA+ : Five‐Band   USB 2.0 (compatible with FTDI and ACM USB devices)  800/850/900/1900/2100MHz  o GSM/GPRS/EDGE: : Quad band  (micro AB connector)   HD‐Dsub15 female connector  850/900/1800/1900MHz   3G connectivity supervisor to maintain connection  o 2x RS232 (2‐wire)  always active  o 1x RS232 (4‐wire) / RS485    Internal GPS  o 1x Digital input    DHCP server (for Ethernet and WiFi interfaces)  o 1x Relay  (1A)   NAT / IP Firewall  o 1x 1‐Wire BUS ...
  • Page 190: Annex B  Generic Emulation Software For Virtual Serial Ports

    Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09    Annex B Generic emulation software for virtual serial ports.   http://www.mtxm2m.com   Page 190    Subject to changes without prior notice   ...
  • Page 191: Emulation Software For Serial Ports: Vspe   Quick Quide To The Emulation Software For Serial Ports

    Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  Emulation software for serial ports: VSPE Quick quide to the emulation software for serial ports. Introduction: One of the most used software nowadays to emulate serial ports is VSPE. It is a free piece of software for 32 bit Windows Operating Systems and a pay service for 64 bit platforms.
  • Page 192 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  2.- Select the option “Connector”         3.- Select the number of the virtual COM that we want to use. For example, COM10                    4.- Click Finish. The virtual COM that has been created will appear in the list.
  • Page 193 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09  5.- Return to the menu: Device > Create                 6.- Select the option TCPClient from the drop-down menu.                 7.- On the following screen, we indicate the remote IP address of our MTX device. We can input a numeric IP (if we use a SIM with fixed IP address, or because we have obtained the current IP address via SMS or missed call), or a DNS (if we use the DynDNS service).
  • Page 194 Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09                      7.- Now we have the COM10 port connected to our MTX device. 8.- The last step is to access our control application and select the COM10 port as the communication port.
  • Page 195: Annex C  Release Notes Of Firmware Versions

    Matrix Electrónica   –   MTX‐Router‐Titan    User Manual  ‐  Rel3.00.3.09      Annex C Release notes of firmware versions. http://www.mtxm2m.com   Page 195    Subject to changes without prior notice   ...
  • Page 196 - GSM data calls (CSD) can be received for GSM/RS232-485 gateways with preference over IP. V1.06 - Digital input added to control the alarm for the Titan mini device. - The option of RS485, as well as RS232, for serial port 1 is added.
  • Page 197 V1.11 - Improvements in the periodic autoreset - SNMP protocol incorporated - Possibility of creating a second digital input in the MTX-Router-Titan-3G-mini device - Added characteristic of a pulse counter for metering applications. V1.12 - OpenVPN service in client and server mode incorporated - “Wifi Client”...
  • Page 198 - Improvements in Titan Scripts (new commands). V2.02 - New MTX-Router-Titan models (only ETH and Wi-Fi), as well as new MTX-Router-Titan-mini models (only ETH and Wi-Fi); i.e. new devices without the GSM communication module. - Improvements in Titan Scripts, supporting Modbus TCP.
  • Page 199 USB ports to be collected, stored and sent (via HTTP or FTP). V3.00.3.03 - For greater security, the 3G/4G module (depending on the version of the Titan router) is reset after each start up by cutting the internal power supply. In this way, there is a complete guarantee that the GSM network will be reached after restarting.
  • Page 200 - New funcionality for GPS enabled Titan routers, through which it is possible to open a socket to obtain NMEA frames via the Titan router as well as via the serial port. The GPS NMEA frames are updated every second.

Table of Contents