MTXM2M exhibirá en SPS IPC Drives Nuremberg Nov-25-27

MTXM2M will be present at SPS IPC Drives Nuremberg Nov 25-27

Discover our new M2M-IoT solutions at SPS IPC-Drives exhibition, Nuremberg Nov 25-27th 2014. Pabillion 10, Stand 639

MTXM2M exhibirá en SPS IPC Drives Nuremberg Nov-25-27We invite you to our demostrations and presentations of latests MTXM2M products at SPS IPC-Drives exhibition. Our portofolio has been increased from our Java embedded programmability modems to our new Linux core MTX-Gateway which gives unlimited possibles M2M scenarios like remote control, telemetry, mesh network, fleet management, metering and many others. We’ve added radio frecuency cards -Bluetooth, Wifi, Zigbee, WMbus, GPS/GSNSS-  but also wired CAN, USB OTG, 1 wire or RS232/RS485 Mbus ports to connect and control any external devices without anything else.

Please meet our MTXM2M engineer and sales to realize your IoT application is easy and possible.

We will be present at

  • Pabillion 10
  • Stand 639

Example 2. Reading of an electric and PLC meter via GSM and GPRS using a double gateway

Details of the example scenario:

  • The current scenario has a modem with two series ports. One is connected to an electric meter and the other to a PLC.
  • When there is no GPRS connection in the modem, nor a GSM call established by the operator, the modem must act as a Series-Series gateway; that is, all the data that arrives to the modem from the PLC must be redirected to the electric meter and vice versa.
  • There must exist the possibility of setting up two GPRS-Series Gateways working in parallel. One will provide access to the electric meter to carry out regular readings, whilst the other must be able to allow access to the Modbus records in the PLC.
  • Additionally, the energy provider (Endesa, Iberdrola, etc.) will make a daily GSM call to carry out a reading of the meter. This call must take priority, freezing all GPRS connections until it has ended.

Proposed solutions with MTX-65i and MTX-Tunnel

  1. When there is no GPRS connection from the office, to the modem, or the PLC and there is no established GSM call from the energy provider, the modem acts as a transparent Series-Series gateway; that is, resending the data from the PLC directly to the meter and vice versa.
  2. When a GPRS connection is made with the modem, the Series-Series gateway between the PLC and the meter is interrupted and gives way to the transparent GPRS-RS232 gateway between the office and the meter in order to be able to read the meter.
  3. If you require so, two simultaneous GPRS-RS232/485 gateways can be made from the office to the devices – one to access the meter and the other to access the PLC – by taking advantage of the two series ports that the MTX-65i has. Obviously, the Series-Series gateway between the PLC and the meter remains interrupted.
  4. When we have two simultaneous GPRS-RS232/485 gateways, a GSM call from the energy provider can still gain access, and the MTX-Tunnel will be able to manage it. In this case, the GPRS-RS232/485 gateways are frozen, giving priority to the GSM call from the provider.
  5. Once the call from the energy provider to read the meter is finished, the GPRS-RS232/485 gateways that were previously established from the office, be it to read the meter in real time, to access the PLC, or both, are reestablished.
  6. Then, once again, when there are no GSM calls or established GPRS connections to access the meter or the PLC, MTX-Tunnel restores the transparent Series-Series gateways between the PLC and the electric meter.

Configuration files for the MTX-Tunnel for the proposed solution:

This configuration is what must be inputted in the configuration file of the modem to be able to carry out the application described in the scenario.

 

 COMM_baudrate: 9600 Speed of the series communication port with the PLC
 COMM_bitsperchar: 8 Number of data bits
 COMM_autorts: off No flow control
 COMM_autocts: off No flow control
 COMM_stopbits: 1 Configure 1 stop bit
 COMM_parity: none No parity bit
 
 COMM2_baudrate: 9600 Speed of the series communication port with the PLC
 COMM2_bitsperchar: 8 Number of data bits
 COMM2_autorts: off No flow control
 COMM2_autocts: off No flow control
 COMM2_stopbits: 1 Configure 1 stop bit
 COMM2_parity: none No parity bit
 GPRS_apn: movistar.es APN GPRS provided by the GSM operator
 GPRS_login: MOVISTAR Login GPRS provided by the GSM operator
 GPRS_password: MOVISTAR GPRS password provided by the GSM operator
 GPRS_timeout: 0 The modem will be permanently connected
 
MTX_mode: server GPRS connection in server mode
 MTX_model: MTX65i Modem model
 MTX_ping: 35 Ping frequency to supervise the connection
 MTX_pingIP: 8.8.8.8 IP (for example) of Google so the Ping can be carried out
 MTX_radioBand: europe GSM band in Europe
 MTX_rssiLevel: 10 Red LED shown when network coverage is poor
MTX_portAux: gateway Sets up the Series-Series gateway between the modem’s series ports when there are no external GPRS or GSM connections
 
TCP_port:20010  TCP port to establish the GPRS-Series Gateway
 Firewall_enabled: off Firewall deactivated
 
CSD_enabled: on Allows GSM calls to be received from the energy provider (Endesa, Iberdrola, etc.)

 

 

Example 1. Relay control via SMS

In this example, we can see how to configure MTX-Tunnel to control four relays via SMS messages. Relays that can be used include those to turn lights on or off, boilers, etc.

Details of the example scenario:

  • Four relays need to be controlled by SMS to turn streetlights on or off in a remote location
  • When sending an SMS with the text ONx or OFFx (where x is 1, 2, 3 or 4), the purpose is so that the relays of every streetlight are either enabled or disabled. In order to do this, it is necessary to create an ALIAS text string in the modem.
  • Only the 100 phone numbers, starting with 6662746X,allowed by the company should be able to send an SMS.
  • We want to access the relays and also activate the WEBSERVER on MTX-Tunnel via SMS (sending an SMS with an “on” string or using a missed call). WebServer is only activated for 10 minute sessions which are long enough to perform maintenance tasks such as accessing relays from a PC browser or changing any other MTX-Tunnel configuration settings.

Proposed solution using MTX-IND and MTX-Tunnel.

Configuration files for the MTX-65i and MTX-Tunnel for the proposed solution:

This configuration is what must be inputted in the configuration file of the modem to be able to carry out the implementation described in the scenario.

Relay control via SMS

With this configuration, we set up an ALIAS. A full explanation can be found in the MTX-Tunnel manual, but in summary they basically serve to do the following: the MTX-Tunnel is capable of carrying out AT commands via SMS. To commute a relay, we can send an AT command, for example “AT^SSIO=0,0”, if we wish to change Relay1. Obviously, it is difficult to type (and remember) using a mobile phone, so MTX-Tunnel allows an ALIAS to be used. This means that we can define code so that when MTX-Tunnel receives a SMS with that code, the AT command associated with that code is executed. In the example shown, the ALIAS “ON1” will execute the AT command “AT^SSIO=0,0”, and therefore sending an SMS with the text “ON1” is sufficient to change the relay.

Basic example 1. Basic Serial GPRS tunnel (TCP server mode)

Details of the example scenario:

  • There are 3 RS232 remote devices, configured as 115200, 8, N, 1 and hardware flow control. We need to control and monitor them from a central server PC with an Internet connection.
  • Access to the devices must be available at any time. Therefore, the modem connected to the remote devices must be permanently connected to GPRS waiting for a connection from the remote PC. The modems are configured to wait for an input connection request via the TCP port 20010.
  • We will use fixed IP address network operator SIM cards.

Proposed solution using MTX-65i and MTX-Tunnel.

Configuration files for the MTX-IND and MTX-Tunnel for the proposed solution:

This configuration is what must be inputted in the configuration file of the modem to be able to carry out the implementation described in the scenario.

Basic Serial GPRS tunnel (TCP server mode)