Mgate 5111 User S Manual Manual-5
Mgate 5111 User S Manual Manual-5
Mgate 5111 User S Manual Manual-5
User’s Manual
www.moxa.com/product
The software described in this manual is furnished under a license agreement and may be used only in accordance with
the terms of that agreement.
Copyright Notice
Trademarks
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
Moxa Americas Moxa China (Shanghai office)
Toll-free: 1-888-669-2872 Toll-free: 800-820-5036
Tel: +1-714-528-6777 Tel: +86-21-5258-9955
Fax: +1-714-528-6778 Fax: +86-21-5258-5505
Moxa India
Tel: +91-80-4172-9088
Fax: +91-80-4132-1045
Table of Contents
Welcome to the MGate 5111 gateway series that converts Modbus/PROFINET/EtherNet/IP to PROFIBUS slave
protocols.
All the MGate 5111 gateways have dual DC power input for redundancy. Magnetic serial port isolation is also
provided.
In this chapter, we give an introduction to the MGate 5111. The following topics are covered in this chapter:
Overview
Package Checklist
Product Features
MGate 5111 Introduction
Overview
The MGate 5111 Series consists of industrial Ethernet gateways that convert between Modbus RTU/ASCII/TCP,
EtherNet/IP, PROFINET and PROFIBUS protocols. All models are protected with a rugged metallic casing, are
DIN-rail mountable, and offer built-in serial isolation. Modbus is one of the most widely used industrial
communication protocol, and EtherNet/IP, PROFINET and PROFIBUS protocols are commonly seen in factory
automation and process automation. The MGate 5111 gateways support both Modbus RTU/ASCII/TCP master
or slave modes, so you can easily connect your Modbus device to PROFIBUS PLCs or DCSs, such as Siemens
PLCs. For system integration, the MGate 5111 helps you connect EtherNet/IP PLC/SCADA, for example
Rockwell Automation PLCs, to PROFIBUS PLC/DCS system, or between a new Siemens PLC system that
supports PROFINET to an existing PROFIBUS system. The MGate 5111 gateways, designed for easy
configuration and quick maintenance, provide a web console for remote maintenance, a wizard UI to help you
set up the gateway quickly, and build-in comprehensive troubleshooting tools to reduce configuration time or
system downtime. The rugged design is suitable for industrial applications such as factory automation, power,
oil & gas, water and wastewater, and other process automation industries.
The MGate 5111 Series of gateways has LED indicators and supports Protocol Diagnose and Traffic Monitor for
easy troubleshooting, especially during the installation stage. Communication issues could be caused by
incorrect software parameters, such as slave ID and register address, or incorrect command configuration.
With Protocol Diagnose and Traffic Monitor, you can check the captured data and easily identify the root cause.
The MGate 5111 Series of gateways also supports status monitoring and fault protection. The status monitoring
function notifies a PLC/DCS/SCADA system when a Modbus device gets disconnected or does not respond, in
which case the process PLC/DCS gets the status of each end device and then issues an alarm to notify operators.
The fault protection function executes actions to end devices with a pre-defined value set by the user when a
PROFIBUS cable gets disconnected.
A Windows-based utility is provided to make it easy to search for and locate devices, assign IP addresses,
import/export configuration files, and upgrade the MGate 5111’s firmware. The utility automatically connects
to all available MGate 5111 units on the local area network (LAN). A user-friendly web console is provided to
configure the device from a web browser.
Package Checklist
All models in the MGate 5111 series are shipped with the following items:
Standard Accessories
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.
1-2
MGate 5111 Introduction
Product Features
• Supports PROFIBUS DP V0 slave
• Supports Modbus RTU/ASCII/TCP master or slave
• Supports EtherNet/IP adapter or PROFINET IO device
• Built-in traffic monitoring/diagnostics/status monitoring and fault protection
• Built-in Ethernet cascading for easy wiring
• Redundant dual DC power inputs and relay output supported
• microSD card for configuration backup/duplication, and event log
• Serial port with 2 kV built-in isolation protection
• -40 to 75°C wide operating temperature models available
• Security features based on IEC-62443
1-3
2
2. Getting Started
This chapter provides basic instructions for installing the MGate 5111.
• All devices that are connected to a single serial port must use the same protocol (i.e., either Modbus RTU
or Modbus ASCII).
For serial port pin assignments, refer to the Pin Assignments section.
• 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.
2-2
MGate 5111 Getting Started
Wiring Requirements
ATTENTION
Safety First!
Be sure to disconnect the power cord before installing and/or wiring your MGate 5111.
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 5111. When plugged in, the MGate 5111’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.
2-3
MGate 5111 Getting Started
LED Indicators
LED Color Description
PWR 1, Green Power is on
PWR 2 Off Power is off
Ready Green Steady on: Power is on, and the unit is functioning normally
Blinking: The unit is responding to the software’s Locate function
2-4
MGate 5111 Getting Started
Dimensions
Unit = mm (inch)
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 up/down 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 up/down 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 up/down setting on the MGate 5111 when using the RS-232 interface. Doing so will
degrade the RS-232 signals and reduce the effective communication distance.
On the MGate 5111’s left side panel, you will find DIP switches to adjust each serial
port’s pull-up resistor, pull-down resistor, and terminator.
2-5
MGate 5111 Getting Started
SW MODBUS
1 2 3
Pull-up resistor Pull-down resistor Terminator
ON 1 kΩ 1 kΩ 120 Ω
OFF 150 kΩ (default) 150 kΩ (default) – (default)
Pin Assignments
The MGate 5111 uses DB9 serial ports to connect to Modbus RTU or ASCII devices. Each port supports three
serial interfaces that is selected by software: RS-232, RS-422, and RS-485 (both 2 and 4-wire).
2-6
MGate 5111 Getting Started
DC Power Input 2 DC Power Input 2 N.O. Common N.C. DC Power Input 1 DC Power Input 1
Hardware Installation
The MGate 5111 is designed to be attached to a DIN rail or mounted on a wall. For DIN-rail mounting, push
down the spring and properly attach it to the DIN rail until it "snaps" into place. For wall mounting, install the
wall-mount kit (optional) first and then mount the device to the wall. The following figure illustrates the two
mounting options:
Specifications
Industrial Protocols
Protocols: PROFIBUS, Modbus RTU/ASCII/TCP, PROFINET, EtherNet/IP
Protocol Conversion:
2-7
MGate 5111 Getting Started
Isolation: 2 kV (built-in)
Rotary Switch: PROFIBUS address 0-99 (address 100-125 supported through software configuration)
Modbus Serial Interface
Protocols: Modbus RTU/ASCII (Master/Slave)
Number of Ports: 1
Serial Standards: RS-232/422/485, software selectable
Connectors: DB9 male
Pull Up/Down Resistor for RS-485: 1 kΩ, 150 kΩ
Terminator for RS-485: 120 Ω
Isolation: 2 kV (built-in)
Modbus Serial Communication Parameters
Data Bits: 8
Stop Bits: 1, 2
Parity: None, Even, Odd, Space, Mark
Flow Control: RTS/CTS, RTS Toggle (RS-232 only)
2-8
MGate 5111 Getting Started
microSD Card
The MGate 5111 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.
2-9
MGate 5111 Getting Started
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 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.
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 microSD card, the
microSD card will be synchronized with the configurations stored on the MGate device. Note that the microSD
card should not contain any configuration files; otherwise, the configuration will be copied from the microSD
card to the MGate device.
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.
2-10
MGate 5111 Getting Started
2-11
MGate 5111 Getting Started
2-12
MGate 5111 Getting Started
2-13
MGate 5111 Getting Started
Step 5: Finish
Once all the configurations are done, you can check if all parameters are correct on this webpage. Moreover, if
you want to determine the data mapping status, you can click the View I/O data mapping to know more details.
If all of them are correct, press Save to make the settings effective.
2-14
3
3. Device Search Utility
1. Locate and run the following setup program to begin the installation process:
dsu_setup_[Version]_Build_[DateTime].exe
3. When the Select Destination Location window appears, click Next to continue. You may change the
destination directory by clicking on Browse....
4. When the Select Additional Tasks window appears, click Next to continue. You may select Create a
desktop icon if you would like a shortcut to the DSU on your desktop.
3-2
MGate 5111 Device Search Utility
3-3
MGate 5111 Device Search Utility
6. A progress bar will appear. The procedure should take only a few seconds to complete.
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.
3-4
MGate 5111 Device Search Utility
Before running the DSU, make sure that your PC and the MGate 5111 are connected to the same network.
Alternatively, the MGate 5111 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.
The DSU needs to connect to the unit before the unit can be configured. There are two methods to connect to
the unit. Broadcast Search is used to find all MGate 5111 units on the LAN. Search IP attempts to connect
to a specific unit by IP address, which is useful if the unit is located outside the LAN or can only be accessed by
going through a router.
3-5
MGate 5111 Device Search Utility
Broadcast Search
Click Search and a new Search window will pop up.
When the search is complete, every MGate 5111 found on the LAN will appear in the DSU window. The MAC
address, IP address, and firmware version of each unit will be shown. Select the one you would like to
configure.
3-6
MGate 5111 Device Search Utility
Search IP
Click Search IP if you know the IP address of the unit and wish to connect to it directly.
If the search is successful, the unit will be listed in the DSU window. Right click the unit to open a pop-up list
of possible actions, or double click a unit to open the web console.
ATTENTION
If Search IP fails to locate the MGate 5111, the IP address that you entered might be incorrect. Retry the search
and reenter the IP address carefully.
Another possibility is that the MGate 5111 is located on the same LAN as your PC, but on a different subnet. In
this case, you can modify your PC’s IP address and/or netmask so that it is on the same subnet as the MGate
5111. When your PC and the MGate 5111 are on the same subnet, the DSU should be able to find the unit.
3-7
MGate 5111 Device Search Utility
Locate
The Locate function will cause the unit to beep, so you can determine which unit is the target.
Assign IP
The Assign IP function allows you to change the unit’s IP addresses.
Unlock
Use the Un-Lock function to execute Import, Export, and Upgrade actions. The default account and password
are admin and Moxa.
3-8
MGate 5111 Device Search Utility
Import/Export
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.
3-9
4
4. Web Console Configuration
The MGate 5111 provides a web console for easy configuration through a web browser such as Microsoft
Internet Explorer or Google Chrome.
Overview
Basic Settings
Network Settings
Serial Settings
Protocol Settings
System Management
Accessible IP Settings
DoS Defense
System Log Settings
Auto Warning Settings
E-mail Alert Settings
SNMP Trap Settings
SNMP Agent Settings
LLDP Settings
Certificate
Misc. Settings
Maintenance
System Monitoring
System Status
Protocol Status
Fault Protection and Status Monitoring
Restart
Logout
MXview
MXconfig
MGate 5111 Web Console Configuration
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 address 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.
Basic Settings
Server Settings and Time Settings are shown on the Basic Settings page. Click Submit to save the current
changes to the unit and click Restart once all the settings have been changed. The unit will reboot immediately
to use the new settings.
4-2
MGate 5111 Web Console Configuration
Server Setting
Parameter Value Description
Server Name (an alphanumeric string) You can enter a name to help you identify the unit, such as
the function, etc.
Server Location (an alphanumeric string) You can enter a name to help you identify the unit 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.
Network Settings
You can modify the IP Configuration, IP Address, Netmask, Gateway, and DNS.
4-3
MGate 5111 Web Console Configuration
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, RTS Toggle
UART FIFO Enable, Disable
Interface RS-232
RS-422
RS-485, 2W
RS-485, 4W
RTS On Delay 0 to 100 ms
RTS Off Delay 0 to 100 ms
RTS Delay
The RTS Toggle function is used for RS-232 mode only. This flow-control mechanism is achieved by toggling
the RTS pin in the transmission direction. When activated, data will be sent after the RTS pin is toggled ON for
the specified time interval. After the data transmission is finished, the RTS pin will toggle OFF for the specified
time interval.
4-4
MGate 5111 Web Console Configuration
Protocol Settings
The MGate 5111 supports PROFIBUS, 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), and PROFINET (IO Device) can be selected.
1. PROFIBUS Slave
Slave Settings
4-5
MGate 5111 Web Console Configuration
Parameter Description
Name Enter a name to help identify the module, such as the location, function, etc.
I/O Type Input: Used to map into input memory
Output: Used to map into output memory
Input (status): Used to retrieve status of Modbus TCP servers or Modbus RTU/ASCII
slaves. Please refer to the Status Monitoring section.
Data Type The data type for this I/O module
Data Length The data length for this I/O module. The range is from 1 to 64.
Client Settings
4-6
MGate 5111 Web Console Configuration
4-7
MGate 5111 Web Console Configuration
4-8
MGate 5111 Web Console Configuration
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.
4-9
MGate 5111 Web Console Configuration
Master Settings
4-10
MGate 5111 Web Console Configuration
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.
4-11
MGate 5111 Web Console Configuration
You can verify the gateway’s memory allocation on the I/O Data Mapping page. Select the Modbus data flow
you want to see.
System Management
This configuration tab includes several system level settings. Most of these settings are optional.
Accessible IP Settings
These settings are used to restrict access to the module by IP address. Only IP addresses on the list will be
allowed access to the device. You may add a specific address or range of addresses by using a combination of
IP address and netmask, as follows:
4-12
MGate 5111 Web Console Configuration
DoS Defense
To avoid a DoS attack, some configurations can be set accordingly. They include Null Scan, Xmas Scan,
NMAP-Xmas Scan, SYN/FIN Scan, FIN Scan, NMAP-ID Scan, and SYN/RST Scan. The SYN-Flood and
ICMP-Death can also be set on this page.
4-13
MGate 5111 Web Console Configuration
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:
4-14
MGate 5111 Web Console Configuration
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.
To e-mail address 1 to 4 This is the e-mail address or addresses to which the automatic e-mail warnings will
be sent.
4-15
MGate 5111 Web Console Configuration
Parameters Description
SNMP trap server IP Use this field to indicate the IP address to use for receiving SNMP traps.
Trap version Use this field to select the SNMP trap version.
Trap community Use this field to designate the SNMP trap community.
Parameters Description
SNMP To enable the SNMP Agent function, select the Enable option, and enter a
community name (e.g., public).
Contact name The optional SNMP contact information usually includes an emergency contact
name and telephone number.
Read community string This is a text password mechanism that is used to weakly authenticate queries
to agents of managed network devices.
Write community string This is a text password mechanism that is used to weakly authenticate changes
to agents of managed network devices.
SNMP agent version The MGate 5109 supports SNMP V1, V2c, and V3.
4-16
MGate 5111 Web Console Configuration
The following fields allow you to define user names, passwords, and authentication parameters for two levels
of access: read-only and read/write. The name of the field indicates which level of access it refers to. For
example, Read-only authentication mode allows you to configure the authentication mode for read-only access,
whereas Read/write authentication mode allows you to configure the authentication mode for read/write
access. For each level of access, you may configure the following:
Parameters
Username Use this optional field to identify the username for the specified level of access.
Authentication Mode Use this field to select MD5 or SHA as the method of password encryption for the
specified level of access, or to disable authentication.
Password Use this field to set the password for the specified level of access.
Privacy Mode Use this field to enable or disable DES_CBC data encryption for the specified
level of access
Privacy Use this field to define the encryption key for the specified level of access.
LLDP Settings
The Link Layer Discovery Protocol (LLDP) standardizes the method that devices on a network use to periodically
send information about their configuration and status. This self-identification method keeps all LLDP devices on
a network informed of each other's status and configuration. You can use SNMP protocol to send the LLDP
information on the network devices to Moxa's MXview to create auto network topology and for network
visualization.
The MGate web interface lets you enable or disable LLDP, and set the LLDP transmit interval. In addition, you
can go to System Monitoring–System Status–LLDP Table to view the MGate’s neighbor-list, which is
created based on the information reported by neighboring devices on the network.
Parameters Description
Message Transmit Interval The default time is 30 seconds. The allowable range is between 5 and
16,383 seconds.
4-17
MGate 5111 Web Console Configuration
Certificate
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
4-18
MGate 5111 Web Console Configuration
Notification Message
Users can input a message for Login or for Login authentication failure message.
Account Management
4-19
MGate 5111 Web Console Configuration
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 5111 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 5111. Select the desired unit
from the list in the web console and click Upgrade Firmware to begin the process.
4-20
MGate 5111 Web Console Configuration
ATTENTION
DO NOT turn off the MGate power before the firmware upgrade process is completed. The MGate will be erasing
the old firmware to make room for the new firmware to flash memory. If you power off the MGate and
terminate the progress, the flash memory will contain corrupted firmware and the MGate will fail to boot. If this
happens, call Moxa RMA services.
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.
To clear all the settings on the unit, use the Load Factory Default to reset the unit to its initial factory default
values.
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.
4-21
MGate 5111 Web Console Configuration
System Monitoring
System Status
Network Connections
System Log
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.
4-22
MGate 5111 Web Console Configuration
LLDP Table
You can see LLDP related information, including Port, Neighbor ID, Neighbor Port, Neighbor Port Description,
and Neighbor System.
Protocol Status
This page displays the internal memory information for input and output data transfers. View updated values
for communication verification here. This function is only available in the web console.
Diagnose
The MGate provides status information for PROFIBUS slave, Modbus RTU/ASCII, Modbus TCP, PROFINET, and
EtherNet/IP troubleshooting. Verify data or packet counters to make sure the communications are running
smoothly.
4-23
MGate 5111 Web Console Configuration
4-24
MGate 5111 Web Console Configuration
PROFINET Diagnose
EtherNet/IP Diagnose
Traffic
For troubleshooting or management purposes, you can monitor the Modbus RTU/ASCII data passing through
the MGate 5111 on the network. Rather than simply echoing the data, the web console presents the data in an
intelligent, easy-to-understand format with clearly designated fields, including source, type, destination,
contents, and more.
Events can be filtered in different ways, and the complete log can be saved to a file for later analysis.
4-25
MGate 5111 Web Console Configuration
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 5111 supports a Fault Protection function when selecting Modbus
RTU/ASCII master mode or Modbus TCP Client 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 5111
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 Modbus RTU/ASCII master or Modbus TCP 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 5111 allocates one bit of the gateway’s specified memory address to indicate the status of each
Modbus 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. Add PROFIBUS status input module in PROFIBUS
Slave Setting page. Max. modbus command is 128, so you can add 16 bytes input module to indicate all
Modbus command status.
4-26
MGate 5111 Web Console Configuration
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.
Logout
For safety reasons, remember to log out of the web utility to prevent people who do not have the proper
authorization from accessing the gateway.
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 and MXConfig, download the user’s manual from Moxa’s
website at http://www.moxa.com.
4-27