Moxa Mgate 5118 Series Manual v2.1
Moxa Mgate 5118 Series Manual v2.1
User Manual
www.moxa.com/products
Copyright Notice
© 2022 Moxa Inc. All rights reserved.
Trademarks
The MOXA logo is a registered trademark of Moxa Inc.
All other trademarks or registered marks in this manual belong to their respective manufacturers.
Disclaimer
• Information in this document is subject to change without notice and does not represent a commitment
on the part of Moxa.
• Moxa provides this document as is, without warranty of any kind, either expressed or implied, including,
but not limited to, its particular purpose. Moxa reserves the right to make improvements and/or
changes to this manual, or to the products and/or the programs described in this manual, at any time.
• Information provided in this manual is intended to be accurate and reliable. However, Moxa assumes no
responsibility for its use, or for any infringements on the rights of third parties that may result from its
use.
• This product might include unintentional technical or typographical errors. Changes are periodically
made to the information herein to correct such errors, and these changes are incorporated into new
editions of the publication.
www.moxa.com/support
Table of Contents
1. Introduction ................................................................................................................................... 5
Overview........................................................................................................................................ 5
Package Checklist ............................................................................................................................ 6
Product Features.............................................................................................................................. 6
2. Getting Started ............................................................................................................................... 7
Connecting the Power ....................................................................................................................... 7
Connecting Serial Devices ................................................................................................................. 7
RS-485 Termination and Pull High/Low Resistors ............................................................................ 7
Connecting to a Host or the Network ............................................................................................ 8
Installing the Software (Optional) ................................................................................................ 8
Wiring Requirements ........................................................................................................................ 8
LED Indicators................................................................................................................................. 9
Dimensions .................................................................................................................................... 10
Adjustable Pull High/Low Resistors for the Serial Port ............................................................................ 10
Pin Assignments ............................................................................................................................. 11
Power Input and Relay Output (SELV) Pinouts ...................................................................................... 11
Hardware Installation ...................................................................................................................... 12
Specifications ................................................................................................................................. 12
microSD Card................................................................................................................................. 14
Backing Up a Configuration........................................................................................................ 14
Configuring an MGate (Mass deployment/Replacement) .................................................................. 14
microSD card Write Failure ........................................................................................................ 14
Quick Setup ................................................................................................................................... 15
Step 1: System Setting ............................................................................................................. 15
Step 2: Select Protocol ............................................................................................................. 16
Step 3 and 4: Role 1 and Role 2 of MGate 5118 ............................................................................ 16
Step 5: Finish.......................................................................................................................... 18
3. Device Search Utility ..................................................................................................................... 19
Installing the Software..................................................................................................................... 19
Starting the Device Search Utility (DSU) ............................................................................................. 22
Connecting to the Unit ..................................................................................................................... 22
Broadcast Search..................................................................................................................... 22
Search IP ............................................................................................................................... 23
Locate.................................................................................................................................... 24
Upgrading the Firmware................................................................................................................... 25
4. Web Console Configuration............................................................................................................ 26
Overview....................................................................................................................................... 26
Basic Settings ................................................................................................................................ 27
Network Settings ............................................................................................................................ 28
Serial Settings ................................................................................................................................ 28
Protocol Settings............................................................................................................................. 29
1. J1939 Settings ..................................................................................................................... 29
2. Modbus TCP Client (Master) Settings ....................................................................................... 32
3. Modbus TCP Server (Slave) Settings ........................................................................................ 34
4. Modbus RTU/ASCII (Master) Settings ....................................................................................... 35
5. Modbus RTU/ASCII (Slave) Settings ........................................................................................ 36
6. EtherNet/IP Setting .............................................................................................................. 37
7. PROFINET Setting................................................................................................................. 39
I/O Data Mapping .................................................................................................................... 40
System Management ....................................................................................................................... 40
Accessible IP Settings ............................................................................................................... 40
DoS Defense ........................................................................................................................... 41
System Log Settings................................................................................................................. 42
Auto Warning Settings .............................................................................................................. 43
E-mail Alert Settings................................................................................................................. 43
SNMP Trap Settings .................................................................................................................. 44
SNMP Agent Settings ................................................................................................................ 44
LLDP Settings .......................................................................................................................... 44
Certificate............................................................................................................................... 45
Misc. Settings.......................................................................................................................... 45
Maintenance ........................................................................................................................... 47
System Monitoring .......................................................................................................................... 49
System Status......................................................................................................................... 49
Protocol Status ........................................................................................................................ 50
Fault Protection and Status Monitoring......................................................................................... 54
Restart.......................................................................................................................................... 54
Logout .......................................................................................................................................... 55
MXView ......................................................................................................................................... 55
MXconfig ....................................................................................................................................... 55
1. Introduction
Welcome to the MGate 5118 CAN-J1939 Gateway Series that converts J1939 to Modbus RTU/ASCII/TCP,
PROFINET, and EtherNet/IP protocols.
All the 5118 gateways have dual DC power input for redundancy. Magnetic serial port isolation is also
provided.
Overview
The MGate 5118 Industrial Protocol Gateway Series supports the SAE J1939 protocol, which is based on
CAN bus (Controller Area Network). SAE J1939 is used to implement communication and diagnostics
among vehicle components, diesel engine generators, and compression engines, and it is suitable for the
heavy-duty truck industry and backup power systems. It is now common to use an engine control unit
(ECU) to control these kinds of devices, and more and more applications are using PLCs for process
automation to monitor the status of J1939 devices connected to an ECU.
The MGate 5118 Series supports the Modbus RTU/ASCII/ TCP, EtherNet/IP, and PROFINET protocols to
support most PLC applications. Devices that support the J1939 protocol can be monitored and controlled
by PLCs and SCADA systems that use the Modbus RTU/ASCII/TCP, EtherNet/IP, and PROFINET protocols.
With regard to the MGate 5118 series, you can use the same gateway model in a variety of PLC
environments.
The MGate 5118 Series supports a web console for easy configuration and maintenance, and the built-in
traffic monitor function monitors J1939 protocol traffic, allowing users to monitor the status of connected
CAN devices, including error count, packet count, and bus-offline. The traffic monitor function can also be
used to troubleshoot CAN devices. The diagnostics tool helps users to check CAN device settings and
indicates CAN device availability by reading the J1939 network address. In addition, the MGate 5118
gateway series has a built-in Live List function for when two or more J1939 devices are connected to the
same CAN bus. This function shows the PGN and address of packets transmitted from each device, giving
users the ability to gauge the loading of the CAN bus.
To detect loose cables, the MGate 5118 Series supports status monitoring and fault protection functions.
The status monitoring function notifies a PLC when the cable between the gateway and CAN device is
loose. In addition, the fault protection function executes actions predefined by the user when the cable
between the gateway and CAN device is loose.
Standard Accessories
• 1 MGate 5118 gateway series
• Quick installation guide (printed)
• Warranty card
Optional Accessories
• Mini DB9F-to-TB Adapter: DB9 female to terminal block adapter for RS-422/485 applications
• WK-51-01: wall-mounting kit, 51 mm wide
NOTE
Notify your sales representative if any of the above items is missing or damaged.
Product Features
• Key-in-free J1939 command auto detection
• Built-in J1939 traffic monitoring/diagnostics/live-list tools
• Support J1939 to Modbus RTU/ASCII/TCP, EtherNet/IP, PROFINET protocol conversion
• Ready for hazardous locations: C1D2, ATEX, IECEx
• microSD card for configuration backup and event log
• 2 kV CAN bus and Modbus serial port isolation
• -40 to 75°C wide operating temperature range models available
This chapter provides basic instructions for installing the MGate 5118.
1. The unit can be powered by connecting a power source to the terminal block.
2. The power input range is from 12 to 48 VDC.
To remove the wire from the terminal block, use a flathead screwdriver to push the orange slot next to
the terminal block hole, and then pull the wire out.
Note that the unit does not have an on/off switch. It automatically turns on when it receives power. The
PWR LED on the front panel will glow to indicate that the unit is receiving power. There are two DC power
inputs for redundancy.
• All devices that are connected to a single serial port must use the same protocol (i.e., either Modbus
RTU or Modbus ASCII).
• Each master device must connect to its own port on the unit. If you are connecting to a network with
both master and slave devices, the master must be connected to a separate port from the slaves.
• For the CAN port, plug CAN_L and CAN_H into the terminal block. If another device is connected to
the same CAN bus, use the Ext_CAN_L and Ext_CAN_H as extension pins
For serial port pin assignments, refer to the Pin Assignments section.
To modify the termination and pull high/low resistor settings, refer to the Adjustable Pull High/Low
Resistors for the Serial Port section for your model.
ATTENTION
Do not use the 1 KΩ pull high/low setting on the MGate 5118 when using the RS-232 interface. Doing
so will degrade the RS-232 signals and reduce the effective communication distance.
• For normal operation, use a standard straight-through Ethernet cable to connect the unit to your
Modbus TCP, EtherNet/IP, or PROFINET network.
• For initial configuration or for troubleshooting purposes, you may connect the unit directly to a PC.
The unit’s Link LED will light up to indicate a live Ethernet connection.
Wiring Requirements
ATTENTION
Safety First!
Be sure to disconnect the power cord before installing and/or wiring your MGate 5118.
Wiring Caution!
Calculate the maximum possible current in each power wire and common wire. Observe all electrical
codes dictating the maximum allowed current for each wire size.
If the current goes over the allowed maximum, the wiring could overheat, causing serious damage to
your equipment.
Temperature Caution!
Be careful when handling the MGate 5118. When plugged in, the MGate 5118’s internal components
generate heat, and consequently the board may be too hot to touch.
• Use separate paths to route wiring for power and devices. If power wiring and device wiring paths
must cross, make sure the wires are perpendicular at the point of intersection.
NOTE
Do not run signal or communication wiring and power wiring in the same wire conduit. To avoid
interference, wires with different signal characteristics should be routed separately.
• You can use the type of signal transmitted through a wire to determine which wires should be kept
separate. The rule of thumb is that wiring that shares similar electrical characteristics can be bundled
together.
• Keep input wiring and output wiring separate.
• When necessary, we strongly advise labeling wiring to all devices in the system.
*Only indicates serial communication status; for Modbus TCP status, please refer to LAN LED indicator.
To add a 120 Ω termination resistor, set switch 3 on the port’s assigned DIP switch to ON; set switch
3 to OFF (the default setting) to disable the termination resistor.
To set the pull high/low resistors to 150 KΩ, set switches 1 and 2 on the port’s assigned DIP switch
to OFF. This is the default setting.
To set the pull high/low resistors to 1 KΩ, set switches 1 and 2 on the port’s assigned DIP switch to
ON.
ATTENTION
Do not use the 1 KΩ pull high/low setting on the MGate 5118 when using the RS-232 interface. Doing
so will degrade the RS-232 signals and reduce the effective communication distance.
*Signal ground
Specifications
Industrial Protocols
Protocols: SAE J1939, Modbus RTU/ASCII/TCP, PROFINET, EtherNet/IP
Supported Protocol Conversions:
• J1939 to Modbus RTU/ASCII (Master/Slave)
• J1939 to Modbus TCP (Client/Server)
• J1939 to EtherNet/IP (Scanner/Adapter)
• J1939 to PROFINET (I/O Device)
Ethernet Interface
Protocols: Modbus TCP (Client/Server), PROFINET (I/O device), EtherNet/IP (Scanner/Adapter)
Number of Ports: 2 (1 IP address, supports Ethernet cascading)
Speed: 10/100 Mbps, Auto MDI/MDIX
Connector: 8-pin RJ45
Magnetic Isolation Protection: 1.5 kV (built-in)
Software
Configuration: Web console
Utility: Device Search Utility (DSU) for Windows 95, 98, ME, NT, 2000, Windows XP, Server 2003, Vista,
Server 2008 (x86/x64), Windows Server 2008 R2, Windows 7/8/8.1/10 (x86/x64), Windows Server 2012
(x64), Windows 2012 R2
Network Protocols: TCP/IP, UDP, HTTP, SMTP, NTP, DNS, DHCP Client, SNMP (v1, v2, v3), MIB-II, ARP,
Telnet
Physical Characteristics
Housing: Metal, IP30
Weight: 589 g (1.30 lb)
Dimensions: 45.8 x 105 x 134 mm (1.8 x 4.13 x 5.28 in)
Environmental Limits
Operating Temperature:
Standard Models: 0 to 60°C (32 to 140°F)
Wide Temp. Models: -40 to 75°C (-40 to 167°F)
Storage Temperature: -40 to 85°C (-40 to 185°F)
Ambient Relative Humidity: 5 to 95% (non-condensing)
Vibration: IEC 60068-2-6, IEC 60068-2-64
Shock: IEC 60068-2-27
Drop: IEC 60068-2-32
Power Requirements
Input Voltage: 12 to 48 VDC
Input Current: 416 mA @ 12 VDC; 195 mA @ 24 VDC; 110 mA @ 48 VDC
Power Connector: Terminal block
Reliability
Alarm Functions: Relay, email, SNMP trap
Warranty
Warranty Period: 5 years
Details: See www.moxa.com/warranty
microSD Card
The MGate 5118 gateway series is equipped with a microSD card slot for easy configuration. The
microSD card can be used to store an MGate’s system configuration settings and the MGate’s system log.
In addition, a configuration stored on a microSD card can be uploaded automatically to an MGate.
NOTE
Inserting a microSD card into an MGate’s microSD slot results in one of two actions, depending on what
kind of data is currently stored on the card:
1. If the microSD card contains a valid configuration file, the configuration will be automatically copied
to the MGate.
2. If the microSD card does not contain a valid configuration file (e.g., if it’s empty), the MGate’s
configuration will be copied to the microSD card.
Backing Up a Configuration
Use the following procedure to copy the configuration of an MGate gateway to a microSD card:
1. Use a PC to format the microSD card to support FAT file systems and delete all of the data on the
card.
2. Power off the MGate and insert the microSD card (make sure the microSD card is empty).
3. Power on the MGate. The current settings will be copied to the microSD card.
4. If you modify the MGate’s configuration using MGate Manager or the Web Console while the microSD
card is installed in the gateway, your configuration changes will be automatically saved to the
microSD card when you save the configuration.
1. Power off the MGate device (often a new device) and insert the microSD card.
2. Power on the MGate device.
3. The configuration file stored on the microSD card will be copied automatically to the MGate gateway.
The MGate gateway will halt the write action if any of the above conditions exists. The MGate’s Ready
LED will flash and the beeper will sound to inform the user of the write failure. If you are replacing the
WARNING
If your intention is to back up the configuration of an MGate gateway, it is best practice to only insert
an empty microSD card into the microSD slot. If the card contains a valid configuration file, that
configuration will automatically (without warning) overwrite the MGate’s current configuration.
Quick Setup
The MGate series now provides Quick Setup, an illustrated guide especially designed to make the
configuration easy. When you press Quick Setup, you will access the mode and start to configure. Only
five steps are needed.
J1939 settings:
J1939 related settings include the Device Network address, device name, and the transmit method. In
addition, the J1939 input/output commands can be set by clicking the Add button.
1. You can download DSU (Device Search Utility) from Moxa's website: www.moxa.com. Locate and run
the following setup program to begin the installation process:
dsu_setup_[Version]_Build_[DateTime].exe
The latest version might be named dsu_setup_Ver2.x_Build_xxxxxxxx.exe.
2. You will be greeted by the Welcome window. Click Next to continue.
3. When the Select Destination Location window appears, click Next to continue. You may change
the destination directory by clicking on Browse....
7. A message will indicate that the DSU is successfully installed. You may choose to run it immediately
by selecting Launch DSU.
8. You may also open the DSU through Start > Programs > MOXA > DSU, as shown below.
Before running the DSU, make sure that your PC and the MGate 5118 are connected to the same
network. Alternatively, the MGate 5118 Series may be connected directly to the PC for configuration
purposes. Refer to Chapter 2 for more details.
You may open the DSU from the Windows Start menu by clicking Start > Programs > MOXA > DSU.
The DSU window should appear as shown below.
Broadcast Search
Click Search and a new Search window will pop up.
Search IP
Click Search IP if you know the IP address of the unit and wish to connect to it directly.
Locate
The Locate function will cause the unit to beep, so you can determine which unit is the target.
Use the Un-Lock function to execute Import, Export, and Upgrade actions. The default account and
password are admin and moxa.
To Import or Export the configuration file, click the icons to import the configuration file from a laptop,
or export the currently used unit’s configuration file to a laptop.
The MGate 5118 provides a web console for easy configuration through a web browser such as Microsoft
Internet Explorer or Google Chrome.
Overview
To connect to the MGate web console, open a web browser and enter the MGate gateway’s IP address.
http://<MGate IP address>
The default IP addresses of LAN1 is 192.168.127.254. If you are unable to log in to the unit, you can use
the DSU to first search for the unit. Refer to the Device Search Utility.
When the login page pops up, enter the account name and password. The default Account name and
Password are admin and moxa, respectively.
Once logged in to the web console, you will see the previous login record. If the login record is not as
what you accessed previously, please change the password immediately.
Server Setting
Parameter Value Description
You can enter a name to help you identify the unit, such
Server Name (an alphanumeric string)
as the function, etc.
You can enter a name to help you identify the unit
Server Location (an alphanumeric string)
location. Such as “Cabinet A001.”
Time Settings
The MGate has a built-in Real-Time Clock for time calibration functions. Functions such as the log
function can add real-time information to the message.
ATTENTION
First-time users should select the time zone first. The console will display the “real time” according to
the time zone relative to GMT. If you would like to modify the real-time clock, select Local time.
MGate’s firmware will modify the GMT time according to the Time Zone.
ATTENTION
If the dispersion of the time server is higher than the client (MGate), the client will not accept NTP
messages from the time server. MGate's dispersion is 1 second. You must configure your time server
with a dispersion value lower than 1 sec for the NTP process to complete.
Serial Settings
The Serial tab is where each serial port’s communication parameters are configured. You can configure
Baudrate, Parity, Stop Bit, Flow Control, FIFO, Interface, RTS on delay, and RTS off delay.
Parameter Value
Baudrate 50 bps to 921600 bps
Parity None, Odd, Even, Space, Mark
Stop Bits 1, 2
Flow Control None, RTS/CTS, DTR/DSR, RTS Toggle
UART FIFO Enable, Disable
RS-232
RS-422
Interface
RS-485, 2W
RS-485, 4W
RTS On Delay 0 to 100 ms
RTS Off Delay 0 to 100 ms
Protocol Settings
The MGate 5118 supports J1939, Modbus RTU/ASCII, Modbus TCP, EtherNet/IP and PROFINET protocols.
Each role is determined by your device's settings. Modbus TCP (Client/Server), Modbus RTU/ASCII
(Master/Slave), EtherNet/IP (Adapter/Scanner), and PROFINET (IO-Device) can be selected.
1. J1939 Settings
Device Settings
Parameter Value Default Description
The MGate’s network address
Network address Numerical number 128-253
in the J1939 bus
A set of J1939 parameter
The parameters regarding to
Device name FFFFFFFFFFFFFFFF combinations represented in
J1939.
hex value.
Start output To determine the way the
Data update, startup Data update
transmission by transmission starts
Data Byte Swapping
None: Don’t need to swap
Byte: 0x0A, 0x0B, 0x0C, 0x0D
becomes 0x0B, 0x0A, 0x0D, 0x0C.
Endian swap Word: 0x0A, 0x0B, 0x0C, 0x0D None Swapping the data
becomes 0x0C, 0x0D, 0x0A, 0x0B.
ByteWord: 0x0A, 0x0B, 0x0C,
0x0D becomes 0x0D, 0x0C, 0x0B,
0x0A.
You will see how many commands are learned from which address.
Click the Edit button for further information. If the command is the one you need, click on the check box
for Add to config and click the OK button when finished.
Finally, you will see the auto-learned commands are shown in the command table.
If further modification is required, click on the selected command and click Edit.
Client Settings
Parameter Value Default Description
Some Modbus slaves may take more time to boot up than other
devices. In some environments, this may cause the entire system
0 - 30000
Initial delay 0 to suffer from repeated exceptions during the initial boot-up. After
ms
booting up, you can force the MGate to wait before sending the
first request with the Initial Delay setting.
This is used to configure how many times the MGate will try to
Max. retry 0-5 3
communicate with the Modbus slave.
According to the Modbus standard, the time it takes for a slave
device to respond to a request is defined by the device
manufacturer. Based on this response time, the master can be
configured to wait a certain amount of time for a slave’s response.
If no response is received within the specified time, the master
Response 10 - 120000 will disregard the request and continue operation. This allows the
1000
timeout ms Modbus system to continue the operation even if a slave device is
disconnected or faulty. On the MGate 5118, the Response
timeout field is used to configure how long the gateway will wait
for a response from a Modbus slave. Please refer to your device
manufacturer’s documentation to manually set the response
timeout
Server Settings
Parameter Value Default Description
Unit ID 1 - 255 1 The Modbus slave ID that this slave module will accept.
TCP port 1 - 65535 502 The TCP port number.
Master Settings
Parameter Value Default Description
Some Modbus slaves may take more time to boot up than
other devices. In some environments, this may cause the
entire system to suffer from repeated exceptions during the
Initial delay 0 - 30000 ms 0
initial boot-up. After booting up, you can force the MGate to
wait before sending the first request with the Initial Delay
setting.
The number of times the master will retry the same request
Max. retry 0-5 3
when the response times out.
According to the Modbus standard, the time it takes for a
slave device to respond to a request is defined by the device
manufacturer. Based on this response time, a master can be
configured to wait a certain amount of time for a slave’s
response. If no response is received within the specified time,
Response 10 - 120000 the master will disregard the request and continue operation.
1000
timeout ms This allows the Modbus system to continue operations even if
a slave device is disconnected or faulty. On the MGate 5118,
the Response timeout field is used to configure how long
the gateway will wait for a response from a Modbus ASCII or
RTU slave. Please refer to your device manufacturer’s
documentation to manually set the response time.
Use this function to determine the timeout interval between
characters for Modbus devices that cannot receive Rx signals
Inter-frame delay
within an expected time interval. If the response is timed out,
(only for Modbus 10 - 500 ms 0
all received data will be discarded. The MGate 5118 will
RTU)
automatically determine the timeout interval if the timeout
value is set to 0.
Inter-character The users can determine the time delay to transmit the data
timeout frame received from the slave device to the upstream. The
10 - 500 ms 0
(only for Modbus MGate 5118 will automatically determine the time interval if
RTU) it is set to 0.
Slave Settings
Parameter Value Default Description
Slave ID 1 - 255 2 The Modbus slave ID that this slave module will accept.
Adapter Mode:
You can select Automatic for I/O data size configuration to automatically map OT (Originator to Target)
and TO (Target to Originator) data sizes with J1939 data.
In Scanner mode, all EtherNet/IP connections will be shown in a table. For the initial setup, click Add to
create a new connection.
7. PROFINET Setting
The MGate 5118 can play the role of PROFINET IO-Device. All you have to set is the Device name of the
MGate.
System Management
This configuration tab includes several system level settings. Most of these settings are optional.
Accessible IP Settings
DoS Defense
To avoid a DoS attack, some configurations can be set accordingly. They include Null Scan, Xmas Scan,
SYN/FIN Scan, FIN Scan, and NMAP-ID Scan. The SYN-Flood and ICMP-Death can also be set on this
page.
These settings enable the MGate firmware to record important events for future verification. The
recorded Information can only be displayed on the web console.
The available information that can be recorded includes the following events:
Event Group Description
System System Cold Start, System Warm Start
Login Fail, IP Changed, Password Changed, Firmware Upgrade, SSL Certificate
Configuration
Import, Configuration Import/Export
Modbus TCP Modbus TCP Communication logs
J1939 J1939 communication logs
EtherNet/IP EtherNet/IP communication logs
PROFINET PROFINET communication logs
Auto Warning is triggered by different events. When a checked trigger condition occurs, the MGate can
send e-mail alerts, SNMP Trap messages, or open/close the circuit of the relay output and trigger the
Fault LED to start blinking. To enable an e-mail alert, configure the e-mail address on the E-mail Alert
page. Likewise, to enable SNMP Trap alerts, configure SNMP trap server on the SNMP Trap page.
Parameters Description
Mail server The mail server’s domain name or IP address.
User name This field is for your mail server’s user name, if required.
Password This field is for your mail server’s password, if required.
From e-mail address This is the e-mail address from which automatic e-mail warnings will be sent.
This is the e-mail address or addresses to which the automatic e-mail warnings
To e-mail address 1 to 4
will be sent.
Parameters Description
SNMP trap server IP Use this field to indicate the IP address to use for receiving SNMP traps.
Trap community Use this field to designate the SNMP trap community.
Parameters Description
To enable the SNMP Agent function, select the Enable option, and enter a
SNMP
community name (e.g., public).
This is a text password mechanism that is used to weakly authenticate queries to
Read community string
agents of managed network devices.
The optional SNMP contact information usually includes an emergency contact
Contact name
name and telephone or pager number.
Location For storing the SNMP’s location information.
LLDP Settings
Parameters Description
The default time is 30 seconds. The allowable range is between 5 and 16,383
Message Transmit Interval
seconds.
Use this function to load the Ethernet SSL certificate. Select or browse for the certificate file in the Select
SSL certificate/key file field. This function is only available in the web console.
Misc. Settings
This page includes console settings, password, and relay output.
Console Settings
Users can input a message for Login or for Login authentication failure message.
Account Management
Maintenance
Ping
This network testing function is available only in the web console. The MGate gateway will send an ICMP
packet through the network to a specified host, and the result can be viewed in the web console
immediately.
Firmware Upgrade
Firmware updates for the MGate 5118 are located at www.moxa.com. After you have downloaded the
new firmware onto your PC, you can use the web console to write it onto your MGate 5118. Select the
desired unit from the list in the web console and click Upgrade Firmware to begin the process.
Configuration Import/Export
There are three main reasons for using the Import and Export functions:
• Applying the same configuration to multiple units. The Import/Export configuration function is
a convenient way to apply the same settings to units located in different sites. You can export the
configuration as a file and then import the configuration file onto other units at any time.
• Backing up configurations for system recovery. The export function allows you to export
configuration files that can be imported onto other gateways to restore malfunctioning systems
within minutes.
• Troubleshooting. Exported configuration files can help administrators to identify system problems
that provide useful information for Moxa’s Technical Service Team when maintenance visits are
requested.
ATTENTION
Load Default will completely reset the configuration of the unit, and all of the parameters you have
saved will be discarded. Do not use this function unless you are sure you want to completely reset your
unit.
Network Connections
Go to Network Connections under System Status to view network connection information.
System Log
Go to Network Connections under System Status to view network connection information.
Relay State
The MGate gateway includes a built-in relay circuit that is triggered in the event of a power failure or if
the Ethernet link is down. You can view the relay status on this page.
Protocol Status
Diagnose
The MGate provides status information for Modbus ASCII, and Modbus TCP troubleshooting. Verify data
or packet counters to make sure the communications are running smoothly.
PROFINET Diagnose
Traffic
And you may also click on the Question icon for more detail.
Fault Protection
The Fault Protection function sends a predefined setting to field devices to prevent incorrect actions when
the upstream connection is lost. The MGate 5118 supports a Fault Protection function when in agent
mode. You can configure the criteria used to determine what to do when the write command is no longer
received from the master side. For example, when a cable comes loose accidentally, the most up-to-date
write command from the master side will not be received by the gateway. Hence, the slave device will
use the latest command from the gateway, which is now out-of-date, creating an inconsistency between
the master and slave devices. To avoid this problem, the MGate 5118 supports options to determine
which actions should be taken when the master’s side is disconnected from the gateway.
Options Description
Keep latest data The gateway will write the same data to the slave device.
Clear data to zero The gateway will write zero values to the slave device.
User-define value A user-defined value will be written to the slave device.
Status Monitoring
The Status Monitoring function provides status information of field devices when the MGate is being
used as a master/client. If a slave device fails or a cable comes loose, generally the gateway won’t be
able to receive up-to-date data from the slave device. The out-of-date data will be stored in the
gateway’s memory and will be retrieved by the master device (e.g., PLC), which will not be aware that
the slave device is not providing up-to-date data. The MGate supports the Status Monitoring function,
which provides a warning mechanism to report the list of slave devices that are still “alive.”
The MGate 5118 allocates one bit of the gateway’s specified memory address to indicate the status of
each J1939 command as being normal or abnormal. If a command has run successfully, the status value
will continuously be 1. On the contrary, if a command has failed, the status will be set to 0. In this case,
the master device will be aware of the failure status of the slave device
For example, if there are 32 J1939 commands, the status monitoring of these 32 commands is to read
the data address as below:
Restart
All changes will be activated by clicking the Submit button first and then restarting the gateway. If a lot
of settings need to be changed, you can click Submit for each setting and then click Restart to activate
all the changes.
MXView
The Moxa MXview network management software gives you a convenient graphical representation of
your Ethernet network and allows you to configure, monitor, and diagnose Moxa networking devices.
MXview provides an integrated management platform that can manage Moxa MGate series products as
well as Ethernet switches and wireless APs, and SNMP-enabled and ICMP-enabled devices installed on
subnets. MXview includes an integrated MIB complier that supports any third-party MIB. It also allows
you to monitor third-party OIDs and Traps. Network and Trap components that have been located by
MXview can be managed via web browsers from both local and remote sites—anytime, anywhere.
MXconfig
Moxa’s MXconfig is a comprehensive Windows-based utility that is used to install, configure, and maintain
multiple Moxa devices in industrial networks. This suite of useful tools helps users set the IP addresses of
multiple devices with one click, configure the redundant protocols and VLAN settings, modify multiple
network configurations of multiple Moxa devices, upload firmware to multiple devices, export/import
configuration files, copy configuration settings across devices, easily link to web and telnet consoles, and
test device connectivity. MXconfig gives device installers and control engineers a powerful and easy way
to mass configure devices, and effectively reduces the setup and maintenance cost.
For more detailed information regarding MXview, download the MXview user manual from Moxa’s website
at http://www.moxa.com.