RACOM s.r.o. | Mirova 1283 | 592 31 Nove Mesto na Morave | Czech Republic
Tel.: +420 722 937 522 | E -mail: racom@racom.eu
.
M!DGE2
GPRS/UMTS/HSPA+/LTE
router
.
fw 4.2.x.x
6/11/2019
version 1.2
Table of Contents
Important Notice .................................................................................................................................. 5
Getting started ..................................................................................................................................... 6
A. Glossary ...................................................................................................................................... 184
Index ................................................................................................................................................ 186
B. Revision History .......................................................................................................................... 189
Although every precaution has been taken in preparing this information, RACOM assumes no liability
for errors and omissions, or any damages resulting from the use of this information. This document or
the equipment may be modified without notice, in the interests of improving the product.
Trademark
All trademarks and product names are the property of their respective owners.
Important Notice
• Due to the nature of wireless communications, transmission and reception of data can never be
guaranteed. Data may be delayed, corrupted (i.e. have errors), or be totally lost. Significant delays
or losses of data are rare when wireless devices such as the M!DGE are used in an appropriate
manner within a well‐constructed network. M!DGE should not be used in situations where failure to
transmit or receive data could result in damage of any kind to the user or any other party, including
but not limited to personal injury, death, or loss of property. RACOM accepts no liability for damages
of any kind resulting from delays or errors in data transmitted or received using M!DGE, or for the
failure of M!DGE to transmit or receive such data.
• Under no circumstances is RACOM or any other company or person responsible for incidental, accidental or related damage arising as a result of the use of this product. RACOM does not provide the
user with any form of guarantee containing assurance of the suitability and fit for purpose.
• RACOM products are not developed, designed or tested for use in applications which may directly
affect health and/or life functions of humans or animals, nor to be a component of similarly important
systems, and RACOM does not provide any guarantee when company products are used in such
applications.
M!DGE Wireless Router will only operate reliably over the cellular network if there is a strong signal.
For many applications a flexible stub antenna would be suitable but in some circumstances it may be
necessary to use a remote antenna with an extension cable to allow the antenna itself to be positioned
so as to provide the best possible signal reception.
1. Install the SIM card
Insert a SIM card into the SIM socket. Make sure the SIM is enabled for data transmission.
2. Connect and fit the cellular antenna
If needed, contact RACOM for suitable antennas and other details.
3. Connect the LAN cable
Connect one M!DGE Ethernet port to your computer using an Ethernet cat.5 cable.
4. Connect the power supply
Connect the power supply wires to the M!DGE screw terminals, ensuring correct polarity. Switch
on the power supply.
5. Setting of IP address of the connected computer
By default the DHCP server is enabled, thus you can allow the Dynamic Host Configuration Protocol
(DHCP) on your computer to lease an IP address from the M!DGE. Wait approximately 20 seconds
until your computer has received the parameters (IP address, subnet mask, default gateway, DNS
server).
As an alternative you can configure a static IP address on your PC (e.g. 192.168.1.2/24) so that it
is operating in the same subnet as the M!DGE. The M!DGE default IP address for the first Ethernet
interface is 192.168.1.1, the subnet mask is 255.255.255.0.
6. Start setting up using a web browser
Open a web browser such as Internet Explorer or Firefox. In the address field of the web browser,
enter default IP address of M!DGE (i.e. http://192.168.1.1); initial screen will appear. Follow the instructions and use the M!DGE Web Manager to configure the device.
Fig. 1: Cellular router M!DGE
Note
M!DGE can be safely turned off by unplugging the power supply.
Although M!DGE wireless routers have been specifically designed for SCADA and telemetry, they are
well suited to a variety of wireless applications. M!DGE HW and SW are ready to maintain reliable and
secure connections from a virtually unlimited number of remote locations to a central server. Both
standard Ethernet/IP and serial interfaces are available. Moreover, a digital input and a digital output
can be used for direct monitoring and control of application devices; the second DI and DO are available
using an extension module.
M!DGE versatility is further enhanced by four independent Ethernet ports. These can be configured to
either support independent LANs (e.g. LAN and WAN settings), or simply connect up to four devices
within one LAN (effectively replacing an Eth switch). M!DGE software is based on proven components,
including an Embedded Linux operating system and standard TCP/IP communication protocols.
Thanks to the compact size and versatility of M!DGE, wireless routers prove indispensable in many
SCADA and telemetry, as well as POS, ATM, lottery and security/surveillance applications.
M!DGE together with RACOM RipEX radio router offers an unrivalled solution for combining cellular
and UHF/VHF licensed radios in a single network.
1.2. Key features
Mobile Interface Parameters
• Mobile Connection options: LTE, HSPA+, HSDPA, HSUPA, UMTS, EDGE, GPRS and GSM
EN 62368-1:2014Safety / Health
EN 62311:2008
EN 55032:2015EMC
EN 55035:2017
EN 61000-6-2:2016
EN 61000-6-3:2007+A1:2011+AC:2012
EN 301 489-1 V2.1.1
EN 301 489-3 V2.1.1
EN 301 489-7 V1.3.1
EN 301 489-17 V3.2.0
EN 301 489-24 V1.5.1
EN 301 489-52 V1.1.1
EN 300 328 V2.1.1RF Spectrum
EN 301 511 V9.0.2
EN 301 908-1 V11.1.1
EN 301 908-2 V11.1.1
EN 301 908-13 V11.1.1
○ SDK
○ NTP Server
○ DHCP Server
○ DNS Server
○ Dynamic DNS Client
○ E-mail Client
○ Notification via E-mail and SMS
○ SMS Client
○ SSH/Telnet Server
○ SNMP Agent
○ Web Server
○ Redundancy
○ Modbus TCP
○ Discovery
○ Terminal server
○ LXC containers
•
System Administration (Section 7.7, “SYSTEM”)
○ Configuration via Web Manager
○ Configuration via Command Line Interface (CLI) accessible via Secure Shell (SSH) and telnet
○ Batch configuration with text files
○ User administration
○ Troubleshooting tools
○ Over the air software update
○ Licensing (extra features)
○ Keys and certificates (HTTPS, SSH, OpenVPN, ...)
○ Legal Notice
SCADA equipment with an Ethernet protocol behaves as standard Ethernet equipment from a communications perspective. Thus the communication goes transparently through the cellular network. The
implementation requires heightened caution to IP addressing and routing. NAPT functionality should
be used frequently.
3.2. Serial SCADA protocols
A SCADA serial protocol typically uses simple 8 or 16 bit addressing. The mobile network address
scheme is an IP network, where range is defined by the service provider (sometimes including individual
addresses, even in the case of a private APN). Consequently, a mechanism of translation between
SCADA and the IP addresses is required. To make matters worse, IP addresses may be assigned to
GPRS (EDGE, UMTS, etc.) devices dynamically upon each connection.
Please read application note "M!DGE/MG102i - Serial SCADA Protocols"1which describes how to efficiently solve this problem using RACOM routers.
3.3. Network center
In every network, the center plays a key role and has to be designed according to customer's requirements. Several possible solutions are described in the application note "M!DGE/MG102i - Typical us-
age"2.
3.4. VPN tunnels
Customer data security arriving through the mobile network is often very important. Private APN is the
basic security requirement, but not safe enough for such applications.
VPN tunnels solution is closely connected with the center and is also described in application note
The M!DGE router is equipped with two antenna connectors. The ANT connector serves as a main
antenna connection, the AUX connector is auxiliary and serves for better communication with BTS
(diversity).
The M!DGE router is equipped with two MicroSIM (3FF) cards slots which are placed under a SIM card
cover. Use PH0 screw driver for its opening. If using only one SIM card, use holder one.
The SIM card holder has a locking mechanism - for opening pull the front part of the holder down and
then you can open it. After inserting of SIM card (cropped edge left, connectors down), close the
holder and lock it.
Important
Power off the rourter before inserting the SIM card.
4.2.5. Screw terminal
Screw terminal plug type Stelvio Kontek CPF5/15 or MRT3P/15V01 can be used.
Fig. 4.5: Screw terminal
Screw terminal plug types:
Phoenix Contact 1847204 (MC 1.5/10-STF-3.5) for 10 pins plug and
Phoenix Contact 1847181 (MC 1.5/ 8-STF-3.5) for 8 pins plug (or equivalent).
This EXT plug is delivered only for units equipped with internal extension module.
Tab. 4.5: Screw terminal pin assignment
signalpin descriptionpin
Power input plus: 12–24 VDC (−20% +20 %) = 9.6–28.8 VDC12-24 VDC +1
Power input minus – internally connected with casing12-24 VDC -2
RS-232 GND (non-isolated)RS232 GND3
RS-232 RxD (non-isolated)RS232 RxD4
RS-232 TxD (non-isolated)RS232 TxD5
Digital input - Negative signal input (isolated to GND)DI -6
Digital input - Positive signal input (isolated to GND)DI +7
Digital Output isolated, Relay contact normally openDO NO8
Digital Output isolated, Relay commonDO COM9
Digital Output isolated, Relay contact normally closedDO NC10
Tab. 4.6: Digital input levels
0 to 3 VDClogical level 0
9 to 32 VDClogical level 1
Note: Negative input voltage is not recognised.
Tab. 4.7: Digital output parameters
1 AMaximal continuous current
32 VDCMaximal switching voltage
32 WMaximal switching capacity
Tab. 4.8: Voltage Polarity connector misconnection Risks
[1] - If the applied voltage is > 15 V, damage is likely
[2] - If the relay is closed (normally open), the relay is damaged when current > 5 A
[3] - If the relay is closed (normally closed), the relay is damaged when current > 5 A
[4] - If the applied voltage is > 40 V, input circuit damage is likely
4.2.6. Reset button
The Reset button is placed close to the USB connector. Use a blunt tool
no more than 1 mm in diameter (e.g. a paper clip) to press the button.
The reset button has two functions:
• Reboot the system
○ Press at least 3 seconds to release a system reboot.
○ The reboot is indicated with the red blinking STAT LED.
+
Nde [4]
−+DI2+15
• Factory reset
○ Press at least 10 seconds to release a factory reset.
○ The start of the factory reset is confirmed by all LEDs lighting up
GREEN for a second.
• Recovery procedure
○ Press at least 15 seconds to release a recovery procedure.
○ The start of the recovery procedure is confirmed by all LEDs lighting up RED for a second.
Note
Contact our technical support (support@racom.eu) for recovery procedure details and required
files.
The following table describes the default M!DGE status indicators.
Tab. 4.9: M!DGE interfaces and status indicators
STAT
WANHotlink connection is being establishedblinking
LAN
VPNVPN connection is being establishedgreen blinking
on / off / blinkingEXT
SYS
Device busy device is in startup, software- or configuration updategreen blinking
Device is readygreen on
Hotlink is disabledoff
Hotlink connection is upon
ETH: enabled as LAN and link status is upgreen
No ETH LAN-connection is upoff
VPN connection is upgreen on
VPN connection downoff
EXT LED indicates the state of the extension interfaces.
Hint: Cellular (WWAN) signal strength can be indicated (green =
excellent, orange = medium, red = weak).
Shows the overall system state. This could be derived from health
indicators such as:
- all services up and running
- overall throughput is normal
- CPU load is normal
- the supervisor
- User application (state set by user in SDK or LXC)
FunctionStateDescription
System operation state: normalgreen on
System operation state: warning or in a transitiongreen blinking
System operation state: emergency, watchdog, failurered on
Relay outputs
Limiting continuous current 1 A
Max. switching voltage 32 VDC
Max. switching capacity 32 W
Isolation 1500 Vp (transients)
USB service
interface
Antenna
Interface
Power Supply
Environmental
Conditions
USB host interface supporting memory devices
USB type A connector USB2.0
2× micro SIM (3FF)SIM
50 ΩImpedance:
2× SMA female supporting MIMOConnector:
9.6–28.8 VDC (12–24 VDC −20 % / +20 %)Input voltage:
7 W (including max. 2.5 W on USB port)Avg. power
consumption:
For indoor use only, IP40
Metal casing, DIN rail mounting kit included
−40 to +70 °C (−40 to +158 °F)Temperature range:
0 to 95 % (non condensing)Humidity:
> 220.000 hours (> 25 years)MTBF (Mean Time Between Failure)
IOvervoltage Category:
2Pollution Degree:
• Trade name – trade and marketing name of the product. This name is used for the all products
within the same product family.
Possible values: M!DGE
• Gen. – generation of the product of specific Trade name. The very first generation doesn’t have any
number in this position.
Possible values: none, 2
•
Bands – frequency bands
Possible values: E, P, A, U
E – 4G/3G/2G, Europe, Middle East, Africa
P – 4G/3G/2G, Asia, Pacific, South America
A – 4G/3G/2G, Americas
U – only 3G/2G, world wide
Note: ‘P’ and ‘A’ are available for high volumes only
• Slot – Proprietary extension slot
Possible values:
N – not used
C – The second RS232/485 + 1×DI,1×DO, Part No.: M!DGE2-HW-COM/IO
signalpin description
RS-232 GND (non-isolated)1
RS-232 RxD (non-isolated); RS485 A (Half-Duplex)2
RS-232 TxD (non-isolated); RS485 B (Half-Duplex)3
Digital input - Negative signal input (isolated to GND)4
• mPCIe – mPCIe slot
Digital input - Positive signal input (isolated to GND)5
Digital Output isolated, Relay contact normally opened6
Digital Output isolated, Relay common7
Digital Output isolated, Relay contact normally closed8
Possible values:
N – not used
E – The second cellular module, Bands E, Part No.: mPCIe-E
P – The second cellular module, Bands P, Part No.: mPCIe-P
A – The second cellular module, Bands A, Part No.: mPCIe-A
U – The second cellular module, Bands U, Part No.: mPCIe-U
G – Internal GPS (GNSS) module, Part No.: mPCIe-GPS
Note: just one option for mPCIe slot is possible
• Bands, Slot, mPCIe positions are used only for M!DGE2.
• SW keys – if unit is ordered with SW keys, all keys are specified in this bracket. SW key activates
the feature, which is under the license. SW key can be ordered independently for specific S/N anytime
later on.
Possible values M!DGE2:
LXC – Linux container, Part No.: M!DGE2-SW-LXC
SERVER – Server clients extension, Part No.: M!DGE2-SW-SERVER
M!DGE2GPRS/EDGE/UMTS/HSPA+/LTE router, 4× Eth, 1× RS232, 1× DI, 1× DO
DIN rail holder included
HW optional module
The HW optional module has to be added into the M!DGE router in the factory.
COM/IOExtension with 1× RS232/RS485 + 1× DI + 1× DO
Tab. 4.11: Pin Assignments of COM/IO module
signalpin description
RS-232 GND (non-isolated)1
RS-232 RxD (non-isolated); RS485 A (Half-Duplex)2
RS-232 TxD (non-isolated); RS485 B (Half-Duplex)3
Digital input - Negative signal input (isolated to GND)4
Digital input - Positive signal input (isolated to GND)5
Digital Output isolated, Relay contact normally opened6
Digital Output isolated, Relay common7
Digital Output isolated, Relay contact normally closed8
SW feature keys
The SW feature key should be added to a new or running system via adding a license: menu SYSTEM
– Licensing (see Section 7.7.7, “Licensing”).
LXC VirtualizationLinux container LXC
Server LicenceEnlargement of feature items count - see table below
Before starting to work with the HW please be sure that you have a SIM card enabled for data and you
have all the necessary information from the mobile operator (PIN, APN, login, passwd)
5.1. Connecting the hardware
5.1.1. Install the SIM card
Insert a SIM card into the SIM socket, use the first one. Make sure the SIM is enabled for data transmission.
There are two reasons for installing the SIM card as the first task: a) the SIM card could be damaged
when inserted into the powered equipment, b) the information from SIM card are read only after a power
cycle.
5.1.2. Connect the cellular antenna
Fit a cellular antenna. For details see RACOM web1or contact RACOM for suitable antennas.
5.1.3. Connect the LAN cable
Connect one M!DGE Ethernet port to your computer using an Eth cat.5 cable.
5.1.4. Connect the power supply
Connect the power supply wires to the M!DGE screw terminals, ensuring correct polarity. Switch on
the power supply.
5.2. Powering up your wireless router
Switch on your power supply. The STAT LED flashes for a few seconds and after 8 seconds it starts
blinking to a green light. After approximately 30 seconds your router will have booted and will be ready;
the STAT LED remains shining.
When the Mobile Connection is enabled the WAN LED starts blinking while connecting to the cellular
network – the color (green/orange/red) represents the signal strength (excellent, medium, weak).
You’ll find the description of the individual LED states in Section 4.3, “Indication LEDs”.
5.3. Connecting M!DGE to a programming PC
a. Please connect the Ethernet interfaces of your computer and M!DGE.
b. If not yet enabled, please enable the Dynamic Host Configuration Protocol (DHCP) so that your
computer can lease an IP address from M!DGE. Wait a moment until your PC has received the
parameters (IP address, subnet mask, default gateway, DNS server).
Alternative: Instead of using the DHCP, configure a static IP address on your PC (e.g.
192.168.1.10 mask 255.255.255.0) so that it is operating in the same subnet as the M!DGE.
The default IP address is 192.168.1.1 for all Eth interfaces (Eth1 - Eth4), the default subnet mask
is 255.255.255.0 for all interfaces.
Default DHCP range 192.168.1.100 to 192.168.1.199
c. Start a Web Browser on your PC. Type the M!DGE IP address in the address bar:
http://192.168.1.1
d. Please set a password for the admin user account. Choose something that is both easy to remember
and a strong password (such as one that contains numbers, letters and punctuation). The password
must have a minimum length of 6 characters. It must contain a minimum of 2 numbers and 2 letters.
Note
For security reasons, there is no default password.
e. Agree to the terms and conditions. The user is now obliged to accept our end user license agreement
during the initial M!DGE setup.
f.You might check the "Configure automatic mobile data connection" for automatic WWAN configur-
ation. Manual changes are usually required afterwards. Note that Firewall is also enabled with
predefined WAN administration ports.
5.4. Basic setup
The M!DGE Web Manager can always be reached via the Ethernet interface. After successful setup,
Web Manager can also be accessed via the mobile interface. Any up to date web browser can be used.
Any web browser supporting JavaScript can be used. By default, the IP address of the 1st Ethernet
interface is 192.168.1.1, the web server runs on port 80.
The minimum configuration steps include:
1. Defining the admin password
2. Entering the PIN code for the SIM card
3. Configuring the Access Point Name (APN)
4. Starting the mobile connection
Note
Router M!DGE can be safely turned off by unplugging the power supply.
M!DGE Wireless Router is designed for a DIN rail mounting or on a panel using flat bracket. Please
consider the safety instructions in Section 6.1, “Mounting”.
6.2. Antenna mounting
M!DGE Wireless Routers will only operate reliably over the cellular network if there is a strong signal.
For many applications the flexible stub antenna provided would be suitable but in some circumstances
it may be necessary to use a remote antenna with an extended cable to allow the antenna itself to be
positioned so as to provide the best possible signal reception.
Beware of the deflective effects caused by large metal surfaces (elevators, machine housings, etc.),
close meshed iron constructions and choose the antenna location accordingly. Fit the antenna or
connect the antenna cable to the ANT connector.
In external antennas the surge protection of coaxial connection would be required.
Note
Be sure that the antenna was installed according to the recommendation by the antenna producer and all parts of the antenna and antenna holder are properly fastened.
6.3. Power supply
M!DGE can be powered with an external power source capable of voltages from 9.6 to 28.8 Volts DC.
M!DGE should be powered using a certified (CSA or equivalent) power supply, which must have a
limited and SELV circuit output.
This page gives you a system overview. It helps you when initially setting up the device and also
functions as a dashboard during normal operation.
The highest priority link which has been established successfully will become the so-called hotlink
which holds the default route for outgoing packets.
Detailed information about status of each WAN interface is available in a separate window.
Details for all physical connections are given in Section 4.2, “Connectors”.
7.2.1. WAN
Link Management
Each available item in the WAN Link Manager matches with the particular WAN interface. Depending
on your hardware model, WAN links can be made up of either Wireless Wide Area Network (WWAN),
Wireless LAN (WLAN), Ethernet or PPP over Ethernet (PPPoE) connections. Please note that each
WAN link has to be configured and enabled in order to appear on this page.
In case a WAN link goes down, the system will automatically switch over to the next link in order of
priority (the priorities can be changed using the arrows on the right side of the window). A link can be
either established when the switch occurs or permanently to minimize link downtime.
1st priority:This link will be used whenever possible.