MGate 5121 Series Industrial Ethernet Gateway
“
Specifications:
- Model: MGate 5121 Series
- Software Version: 1.1 (January 2025)
- Supported Firmware: V2.0 and later
- Interface: CAN (CAN 2.0 A/B)
- Storage: microSD card slot
Product Usage Instructions:
Connecting the Power:
Before connecting or removing any serial connections, ensure
that the power is turned off.
Connecting CAN Devices:
The MGate supports CAN devices. Refer to the Quick Installation
Guide for CAN port pin assignments.
Installing DSU Software:
- Download the DSU software from the provided destination.
- Run the installer and select the destination directory.
- Select additional tasks and click Install to copy the software
files. - Launch DSU from the desktop or Start Menu after
installation.
Using microSD Card:
The microSD card slot allows for data backup and
synchronization.
First Time Use of a New microSD Card:
- Format the microSD card as FAT file system on a PC.
- Power off the MGate, insert the card, and power it on.
- Manually configure the MGate via web console for
synchronization.
First Time Use of a microSD Card with Configuration File:
- Power off the MGate, insert the microSD card, and power it
on. - The configuration file will be automatically copied to the
MGate.
Duplicating Configurations to Another MGate Gateway:
- Power off the MGate, insert a new microSD card, and power it
on. - The configuration will be copied to the microSD card.
- Insert the card into another MGate for automatic configuration
transfer.
FAQ:
Q: What firmware version is required for CAN proprietary
support?
A: CAN proprietary (CAN 2.0 A/B) is supported in firmware
version V2.0 and later.
Q: How can I back up data using the microSD card slot?
A: Format the microSD card, insert it into the MGate, and use
the web console for synchronization.
“`
MGate 5121 Series User Manual
Version 1.1, January 2025 www.moxa.com/products
© 2025 Moxa Inc. All rights reserved.
MGate 5121 Series User Manual
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
© 2025 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.
Technical Support Contact Information
www.moxa.com/support
Table of Contents
1. Introduction ………………………………………………………………………………………………………………………..4 2. Getting Started …………………………………………………………………………………………………………………….5
Connecting the Power …………………………………………………………………………………………………………….5 Connecting CAN Devices………………………………………………………………………………………………………….5 Connecting to a Network …………………………………………………………………………………………………………5 Installing DSU Software…………………………………………………………………………………………………………..5 Log In to the Web Console ……………………………………………………………………………………………………….6 microSD ……………………………………………………………………………………………………………………………..6 3. Web Console Configuration and Troubleshooting ………………………………………………………………………8 System Dashboard…………………………………………………………………………………………………………………8 System Settings ……………………………………………………………………………………………………………………9
System Settings–General Settings………………………………………………………………………………………9 System Settings–Network Settings …………………………………………………………………………………… 11 System Settings–SNMP Settings………………………………………………………………………………………. 12 Protocol Settings ………………………………………………………………………………………………………………… 15 Protocol Settings–Protocol Conversion ………………………………………………………………………………. 15 Protocol Settings–CANopen Master Settings………………………………………………………………………… 16 Protocol Settings–J1939 Settings …………………………………………………………………………………….. 24 Protocol Settings–CAN Proprietary Settings ………………………………………………………………………… 27 Protocol Settings–Modbus TCP Server Settings…………………………………………………………………….. 37 Protocol Settings–SNMP Mapping Settings ………………………………………………………………………….. 39 Diagnostics ……………………………………………………………………………………………………………………….. 40 Diagnostics–Protocol Diagnostics……………………………………………………………………………………… 40 Diagnostics–Protocol Traffic ……………………………………………………………………………………………. 44 Diagnostics–Event Log ………………………………………………………………………………………………….. 45 Diagnostics–Tag View …………………………………………………………………………………………………… 50 Diagnostics–Network Connections ……………………………………………………………………………………. 51 Diagnostics–Ping …………………………………………………………………………………………………………. 51 Diagnostics–LLDP ………………………………………………………………………………………………………… 52 Security……………………………………………………………………………………………………………………………. 53 Security–Account Management ……………………………………………………………………………………….. 53 Security–Service …………………………………………………………………………………………………………. 56 Security–Allowlist ………………………………………………………………………………………………………… 57 Security–DoS Defense ………………………………………………………………………………………………….. 57 Security–Login Policy ……………………………………………………………………………………………………. 58 Security–Certificate Management …………………………………………………………………………………….. 59 Maintenance ……………………………………………………………………………………………………………………… 60 Maintenance–Configuration Import/Export………………………………………………………………………….. 60 Maintenance–Firmware Upgrade………………………………………………………………………………………. 61 Maintenance–Load Factory Default …………………………………………………………………………………… 61 Restart …………………………………………………………………………………………………………………………….. 62 Status Monitoring ……………………………………………………………………………………………………………….. 62 4. Network Management Tool (MXstudio)…………………………………………………………………………………..64 A. SNMP Agents with MIB II …………………………………………………………………………………………………….65 RFC1213 MIB-II Supported SNMP Variables ……………………………………………………………………………….. 65
1. Introduction
The MGate 5121 is an industrial Ethernet gateway for converting CANopen, J1939 or CAN proprietary (CAN 2.0A/B) to Modbus TCP and SNMP network communications. To integrate existing CAN-based devices into a Modbus TCP or SNMP network, use the MGate 5121 as a CAN master to collect data and exchange data with the Modbus TCP host or SNMP client. All models are protected by a rugged and compact metal housing and are DIN-rail mountable. The rugged design is suitable for industrial applications such as factory automation and other process automation industries.
NOTE
CAN proprietary (CAN 2.0 A/B) is supported in firmware version V2.0 and later.
MGate 5121 Series User Manual
4
2. Getting Started
Connecting the Power
The unit can be powered by connecting a power source to the terminal block: 1. Connect the 12 to 48 VDC power line or DIN-rail power supply to the MGate’s power terminal block. 2. Tighten the screws on both sides of the terminal block. 3. Turn on the power source. Note that the unit does not have an on/off switch. It automatically turns on when it receives power. The PWR LED on the top panel will glow to show that the unit is receiving power. For power terminal block pin assignments, refer to the Quick Installation Guide, Power Input and Relay Output Pinout section.
Connecting CAN Devices
The MGate supports CAN devices. Before connecting or removing the serial connection, first make sure the power is turned off. For the CAN port pin assignments, refer to the Quick Installation Guide, Pin Assignments section.
Connecting to a Network
Connect one end of the Ethernet cable to the MGate’s 10/100M Ethernet port and the other end of the cable to the Ethernet network. The MGate will show a valid connection to the Ethernet in the following ways: · The Ethernet LED maintains a solid green color when connected to a 100 Mbps Ethernet network. · The Ethernet LED maintains a solid orange color when connected to a 10 Mbps Ethernet network. · The Ethernet LED will flash when Ethernet packets are being transmitted or received.
Installing DSU Software
If you do not know the MGate gateway’s IP address when setting it up for the first time (default IP is 192.168.127.254); use an Ethernet cable to connect the host PC and MGate gateway directly. If you connect the gateway and host PC through the same Ethernet switch, make sure there is no router between them. You can then use the Device Search Utility (DSU) to detect the MGate gateways on your network. You can download DSU (Device Search Utility) from Moxa’s website: www.moxa.com. The following instructions explain how to install the DSU, a utility to search for MGate units on a network. 1. Locate and run the following setup program to begin the installation process: This version might be named dsu_setup_Ver2.x_Build_xxxxxxxx.exe 2. The Welcome window will greet you. Click Next to continue. 3. When the Select Destination Location window appears, click Next to continue. You may change the
destination directory by first 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. 5. Click Install to copy the software files. 6. A progress bar will appear. The procedure should take only a few seconds to complete. 7. A message will show the DSU has been 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.
MGate 5121 Series User Manual
5
The DSU window should appear as shown below. Click Search and a new Search window will pop up.
Log In to the Web Console
Use the Web console to configure the MGate through Ethernet or verify the MGate’s status. Use a web browser, such as Google Chrome to connect to the MGate, using the HTTPS protocol. When the MGate gateway appears on the DSU device list, select the gateway and right-click the mouse button to open a web console to configure the gateway. On the login page, create an account name and set a password that is at least eight characters long when you log in for the first time. Or if you have already an account, log in with your account name and password. If you change the MGate’s IP and other related network settings, click SAVE, and the MGate will reboot.
microSD
The MGate provides users with an easy way to back up, copy, replace, or deploy. The MGate is equipped with a microSD card slot. Users can plug in a microSD card to back up data, including the system configuration settings.
First time use of a new microSD card with the MGate gateway
1. Format the microSD card as FAT file system through a PC. 2. Power off the MGate and insert the microSD card (ensure that the microSD card is empty). 3. Power on the MGate. The default settings will be copied to the microSD card. 4. Manually configure the MGate via web console, and all the stored changes will copy to the microSD card
for synchronization.
First time use of a microSD card containing a configuration file with the MGate gateway
1. Power off the MGate and insert the microSD card. 2. Power on the MGate. 3. The configuration file stored in the microSD card will automatically copy to the MGate.
MGate 5121 Series User Manual
6
Duplicating current configurations to another MGate gateway
1. Power off the MGate and insert a new microSD card. 2. Power on the MGate. 3. The configuration will be copied from the MGate to the microSD card. 4. Power off the MGate and insert the microSD card into the other MGate. 5. Power on the second MGate. 6. The configuration file stored in the microSD card will automatically copy to the MGate.
Malfunctioning MGate replacement
1. Replace the malfunctioning MGate with a new MGate. 2. Insert the microSD card into the new MGate. 3. Power on the MGate. 4. The configuration file stored on the microSD card will automatically copy to the MGate.
microSD card writing failure
The following circumstances may cause the microSD card to experience a writing failure:
1. The microSD card has less than 256 Mbytes of free space remaining. 2. The microSD card is write-protected. 3. The file system is corrupted. 4. The microSD card is damaged.
In case of the above events, the MGate will flash Ready LED in red color. When you replace the MGate gateway’s microSD card, the microSD card will synchronize the configurations stored on the MGate gateway. Note that the replacement microSD card should not contain any configuration files on it; otherwise, the out-of-date configuration will be copied to the MGate device.
MGate 5121 Series User Manual
7
3. Web Console Configuration and Troubleshooting
This chapter provides a quick overview of how to configure the MGate 5121 by web console.
System Dashboard
This page gives a system dashboard of the MGate 5121 gateway.
You can change your password or log out using the options on the top-right corner of the page.
MGate 5121 Series User Manual
8
System Settings
System Settings–General Settings
On this page, you can change the name of the device and time settings.
System Settings
Parameter
Value
Host Name
Alphanumeric string
Description
Alphanumeric string
Description Enter a name that can help you uniquely identify the device. For example, you can include the name and function of the device. (optional) You can include additional description about the device such as function and location.
Time Settings
The MGate has a built-in real-time clock for time-calibration functions. Functions such as logs use the realtime clock to add the timestamp to messages.
ATTENTION
First-time users should select the time zone first. The console will display the actual time in your time zone relative to the GMT. If you would like to change the real-time clock, select Local time. MGate’s firmware will change the GMT time according to the Time Zone setting.
MGate 5121 Series User Manual
9
Parameter
Value
Time zone
User-selectable time zone
Daylight saving Enable
time
Disable
Manual
Sync Mode
Auto
Description Shows the current time zone selected and allows change to a different time zone. Enables daylight saving time to automatically adjust the time according to the region. Use this setting to manually adjust the time (1900/1/12037/12/31) or sync with the browser time Specify the IP or domain of the time server to sync with (E.g., 192.168.1.1 or time.stdtime.gov.tw). This optional field specifies the IP address or domain name of the time server on your network. The module supports SNTP (RFC-1769) for automatic time calibration. The MGate will request the time information from the specified time server per the set configured time.
MGate 5121 Series User Manual
10
System Settings–Network Settings
Change the IP Configuration, IP Address, Netmask, Default Gateway, and DNS settings on the Network Settings page.
Parameter
Value
Description
The Switch mode allows users to install the device with daisy-
chain topology.
The Dual IP mode allows the gateway to have two different IP
LAN Mode
Switch, Dual IP, Redundant LAN
addresses, each with distinct netmask and gateway settings. The IP addresses can have the same MAC address. The Redundant LAN mode allows users to use the same IP
address on both Ethernet ports. The default active LAN port is
ETH1 after bootup. If the active LAN link is down, the device
will automatically switch to the backup LAN ETH2.
Select Static IP if you are using a fixed IP address. Select the
IP Configuration DHCP, Static IP
DHCP option if you want the IP address to be dynamically
assigned.
IP Address
192.168.127.254 (or other 32-bit number) The IP Address identifies the server on the TCP/IP network.
MGate 5121 Series User Manual
11
Parameter
Value
Description
Netmask
255.255.255.0 Identifies the server as belonging to a Class A, B, or C network.
(or other 32-bit number)
Gateway
0.0.0.0
The IP address of the router that provides network access
(or other 32-bit number) outside the server’s LAN.
Preferred DNS Server
0.0.0.0 (or other 32-bit number)
The IP address of the primary domain name server.
Alternative DNS 0.0.0.0
The IP address of the secondary domain name server.
Server
(or other 32-bit number)
System Settings–SNMP Settings
System Settings–SNMP Settings–SNMP Agent
Parameters Version Contact Location
Read-only Community
Read/Write Community Minimum Authentication/Privacy Password Length
Description The SNMP version; the MGate supports SNMP v1, v2c, and v3. The optional contact information; it usually includes an emergency contact name and telephone number. The location information. This string is usually set to the street address where the MGate is physically located. A text password mechanism that is used to weakly authenticate queries to agents of managed network devices. Default is empty. Type in the community string when selecting v1 v2c or v1 v2c v3 version. A text password mechanism that is used to weakly authenticate changes to agents of managed network devices. Default is empty. Type in the community string when selecting v1 v2c or v1 v2c v3 version.
Minimum Authentication/Privacy Password Length must be between 8 and 64.
MGate 5121 Series User Manual
12
Read-only and Read/Write Access Control
You can define usernames, passwords, and authentication parameters in SNMP for two levels of access control: read-only and read/write. The access level is shown in the value of the Authority field. 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 Account Name Authority
Authentication Type
Privacy Type
Value
Read Only Read/Write Disable MD5 SHA1 SHA-224 SHA-256 SHA-384 SHA-512 Disable (Default) DES-CBC AES-128
Description The username for which the access level is being defined. The level of access allowed
Use this field to select MD5 or SHA as the method of password encryption for the specified level of access, or to disable authentication.
Use this field to enable or disable data encryption for the specified level of access. If you enable a privacy type, also configure the privacy password.
If you need to change the SNMP Account settings created previously, click on the button on the right of the configured SNMP item to change settings, such as Authentication Type or Privacy Type.
MGate 5121 Series User Manual
13
Parameters
Max Authentication Failure
Each Authentication Failure Timeout (min.)
Account Disabled Time Interval (min.)
Value 1 to 10 (default 5) 1 to 1440 (default 10)
1 to 60 (default 10)
Description Specifies the maximum number of authentication failures. The MGate will disable SNMPv3 if this number is exceeded. Specifies a timeout period when enabling the Timeout for authentication failure function When the number of authentication failures exceeds the value set in Max Authentication Failure Times, the MGate will disable the SNMPv3 for Account Disabled Time Interval.
System Settings–SNMP Settings–SNMP Trap
Set up the SNMP trap server to send the trap events, such as warning messages.
MGate 5121 Series User Manual
14
Parameters Server IP Port
Trap Version
Description SNMP server IP address or domain name; the maximum number of trap servers is 2 SNMP server IP Port. Disable SNMPv1 SNMPv2c SNMPv3
Protocol Settings
Protocol Settings–Protocol Conversion
You can select CANopen, J1939, or CAN proprietary on this page.
MGate 5121 Series User Manual
15
Click Edit at the “Edge Device” right-hand side and select your device protocol roles.
Click SAVE then APPLY on the warning pop-up window.
Protocol Settings–CANopen Master Settings
Manage CANopen devices on this page.
MGate 5121 Series User Manual
16
Manage CANopen slave device EDS files in “EDS Management-EDS Repository”. The MGate can store up to 64 different EDS files. Click Import to add the EDS file. Tick the item and delete it.
Parameter Vendor Product Name
Vendor ID
Revision EDS file RxPDOs TxPDOs
Description Vendor name Product name Vendor ID registered in CiA organization EDS file revision EDS file name Supports number of RxPDO Supports number of TxPDO
Click CANopen-Master to config CANopen master and slave settings.
Master Settings Parameter Node ID
Baudrate
Initial Delay (ms)
Value 1 to 127 10 kbit/s 20 kbit/s 50 kbit/s 125 kbit/s 250 kbit/s 500 kbit/s 800 kbit/s 1 Mbit/s
0 to 120000
Default Description
1
Master CANopen Node ID
125 kbit/s
Set CANopen network baudrate
For those CAN devices that need longer time to boot
0
up, the MGate needs to wait until the device is ready for communication. Set the initial delay time to wait
for the device to boot up.
MGate 5121 Series User Manual
17
Parameter
CAN Bus-OFF Reset
CAN bus Termination Resistor 120 ohms SYNC- SYNC Producer
SYNC-Counter
SYNC-COB ID SYNC-Interval(ms) Time-Time Producer Time-COB ID Time-Interval (ms)
Value
Disable Enable
Disable Enable Disable Enable
Disable Enable
0x0000 to 0xFFFF 0 to 65535 Disable Enable 0x0000 to 0xFFFF 0 to 65535
Default Description When the MGate detects that the error count exceeds the CAN threshold, the CAN bus will switch to Bus Off mode according to the CAN definition. Enable will
Disable auto reset the error count and restart the bus. Disable will stay in the Bus Off mode and only recover by re-powering the MGate.
Disable
Enable Enable the MGate to send out the SYNC signal based on the interval time. Enable to include SYNC counter information in the SYNC message.
Enable Counter is a 2 bytes value from 0 to 65535 with rolling over behavior.
0x0080 Standard SYNC COB ID is 0x0080 1000 Interval time for the SYNC message.
Enable the MGate to send out the TIME stamp Enable
message. TIME is a 6 bytes value with UAT format. 0x0100 Standard TIME COB ID is 0x0100 1000 Interval time for the TIME message.
MGate CANopen master supports up to 256 TPDO and up to 256 RPDO. Click ADD to edit PDO with slave PDO COB ID. For example, if you want to mapping slave ID 2’s RPDO4 to MGate TPDO1, type in COB ID 0x0502 in the CANopen master TPDO1. If you want to mapping slave ID2’s TPDO1 to CANopen master RPDO2, type in COB ID 0x0182 in RPDO2.
MGate 5121 Series User Manual
18
Parameter PDO Enable
COB ID
Value TPDOx RPDOx Disable Enable
0x0000 to 0xFFFF
Default Description Max 256 TPDO, 256 RPTO
Enable
0x0000
There are two methods to create COB ID. Automatic generate COB ID by Slave Node ID and choose PDOx from Slave PDO. Alternatively, you can manually enter the COB ID when Slave PDO is set to “– Select One –“.
MGate 5121 Series User Manual
19
Parameter
Transmission Type
Value
Sync, RTR, Event
Default Sync
Description For TPDO: Sync. The MGate will send out TPDO following by the number of SYNC reached, which is set in the No. of SYNCS. RTR. The MGate will send out TPDO when received RTR bit ON in the slave RPDO, which COB ID is set in the previous setting. Event. The MGate will send out TPDO cyclic according to the Event Timer(ms). If the Event time is 0, then TPDO will send out when data changed. To use CAN bus loading efficiently, set the Inhibit Time(ms) to avoid sending TPDO too frequently.
No. of SYNCS (for Sync Type)
0 to 240
0
Inhibit Time (ms) 0 to 65535 0
(for Event Type))
Event Timer (ms) 0 to 65535 0
Fault Protection
Fault Timeout (ms) Bit Position
Object index
Data Type Tag Name
Pause Proceed-Clear data to zero Proceed Set to User Defined Value
Pause
100 to 65535 60000
Automatic generated Customer Object index/subindex 1 to 7 Bit 1 to 8 Byte Alphanumeric string
1 Bit
For RPDO: Sync. The MGate will update the slave TPDO data into internal memory only when the SYNC message occurred. Event. The MGate updates the slave TPDO data into internal memory when received from the slave TPDO.
No. of SYNC messages. Value from 0 to 240.
This can be used to set a time that must wait after the sending of a PDO This time can be used to trigger an event, which handles the sending of the PDO. Pause: The gateway will write the same data to the slave device. Proceed–Clear data to zero: The gateway will write zero values to the slave device. Proceed–Set to User Defined Value: A user-defined value will be written to the slave device.
Defines the communication timeout for the opposite side.
Bit offset in the PDO data frame
User can Add customer object or add quickly with index/subindex from from slave EDS parameter.
Tag data type
Create Tag names. User can select tags in the northbound protocol setting. Swapping the data. The item may change with different tag type or length for raw data type.
Endian Swap
None Byte swap Reverse Reverse with byte swap
None
None: No swap Byte swap: Switch the order of bytes. 0x11 22 33 44 55 66 77 88 0x22 11 44 33 66 55 88 77 Reverse: Reverse the order of bytes. 0x11 22 33 44 55 66 77 88 0x88 77 66 55 44 33 22 11 Reverse with byte swap: Reverse the order of bytes first, then switch the order of bytes. 0x11 22 33 44 55 66 77 88 0x77 88 55 66 33 44 11 22
MGate 5121 Series User Manual
20
CANopen COB ID table Communication Object NMT SYNC EMCY TIME T_PDO 1 R_PDO 1 T_PDO 2 R_PDO 2 T_PDO 3 R_PDO 3
T_PDO 4
R_PDO 4 T_SDO R_SDO Heartbeat
Function Code (4 bit, binary) 0000 0001 0001 0010 0011 0100 0101 0110 0111 1000
1001
1010 1011 1100 1110
Add CANopen slave device into Slave Setting.
Node ID (dec) 0 0 1 to 127 0 1 to 127 1 to 127 1 to 127 1 to 127 1 to 127 1 to 127
1 to 127
1 to 127 1 to 127 1 to 127 1 to 127
COB ID (hex) 0x000 0x080 0x081 to 0x0FF 0x100 0x181 to 1FF 0x201 to 27F 0x281 to 2FF 0x301 to 37F 0x381 to 3FF 0x401 to 47F
0x481 to 4FF
0x501 to 57F 0x581 to 5FF 0x601 to 67F 0x701 to 77F
You can ADD the slave device manually or SCAN the devices on the CAN bus. Import slave EDS files before adding or scanning the slave devices.
Click the ADD button and select the slave device from the EDS repository.
MGate 5121 Series User Manual
21
Or click the SCAN button to scan the device on the CAN bus. Only the slave device that matches the EDS file in the EDS Repository will be added to the table.
Click the pen icon to edit the slave Node ID and Device Name. Enable the Enable device parameters initialization setting. The MGate will send SDO requests to set the slave’s communication parameters when CANopen bus is ready. Select Heartbeat to retrieve the slave’s status and set Master Heartbeat Consuming Timeout time for the CANopen slave parameter.
Heartbeat tag view status
MGate 5121 Series User Manual
22
If you would like to initialize or change parameters default value of slave device when CAN bus ID is ready to send SDOs. Click the Edit device parameters.
In the following window, you can see the default value from the EDS file, and you may type in the new value in the value column, and then click the SAVE button.
MGate 5121 Series User Manual
23
Protocol Settings–J1939 Settings
You can manage the J1939 protocol on this page.
Config J1939 settings in the Device Settings tab.
Parameter Network address
Device name Start output transmission by
Value Numerical number The parameters regarding to J1939. Data update, startup
Default 128 to 253 FFFFFFFFFFFFFFFF Data update
Description The MGate’s network address in the J1939 bus A set of J1939 parameter combinations represented in hex value To determine the way the transmission starts
MGate 5121 Series User Manual
24
Parameter
Value
Default
Endian swap
None Byte swap Reverse Reverse with byte swap
None
CAN bus-off reset Disable, Enable
Disable
CAN bus
termination resistor Disable, Enable
120 ohms
Baudrate
250 kbps, 500 kbps, 1Mbps
Disable 250 kbps
Description Swapping the data. The item may change with different tag type or length for raw data type. None: Don’t need to swap Byte swap: Switch the order of bytes. 0x11 22 33 44 55 66 77 88 0x22 11 44 33 66 55 88 77 Reverse: Reverse the order of bytes. 0x11 22 33 44 55 66 77 88 0x88 77 66 55 44 33 22 11 Reverse with byte swap: Reverse the order of bytes first, then switch the order of bytes. 0x11 22 33 44 55 66 77 88 0x77 88 55 66 33 44 11 22 When a J1939 bus error happens, the MGate will automatically stop communication with the J1939 bus. You may choose Enable to have the MGate rejoin the bus.
To enable 120 ohms termination resistor on CAN bus.
The baudrate used in J1939
In the I/O Table tab, change the input/output commands of J1939. Click ADD to add the J1939 commands into the MGate, according to the J1939 device it is attached to.
.
MGate 5121 Series User Manual
25
Parameter Type
Name
Source Address Destination Address (for output) PGN
Value Input, Output (An alphanumeric string) 0 to 253, 255
0 to 253, 255
0 to 131071
Default Input Command1
0
0 0
Message Offset
0 to 14279 bits 0 (0, 0)
Data Length 0 to 14280 bits 0 (0, 0)
Trigger
Disable, Cyclic, Cyclic
Data Change
Update interval Priority (for output)
0 to 65535 ms 0 0 to 7
Fault Protection (for output)
Pause Proceed–Clear data to zero Proceed–Set to User-defined Value
Keep Latest Data
Description Data type
Max. 32 characters
Data from which J1939 device. Also listed as Network Address in the IO table.
Data sent to which J1939 device. Also listed as Network Address in the IO table.
Parameter Group Number The location where the data associated with the data point begins. The offset not only can be shown in bits but can be displayed as corresponding bytes and bits (byte, bit). The length of the data to be transferred between the J1939 devices. The length not only can be shown in bits but also can be displayed as corresponding bytes and bits (byte, bit). Disable: The command has never been sent Cyclic: The command is sent cyclically at the interval specified in the Poll Interval parameter. Data change: The data area is polled for changes at the time interval defined by Poll Interval. A command is issued when a change in data is detected. The desired update interval for the data in milliseconds.
Output PGN priority
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. Pause: The gateway will write the same data to the slave device. Proceed–Clear data to zero: The gateway will write zero values to the slave device. Proceed–Set to User Defined Value: A userdefined value will be written to the slave device.
MGate 5121 Series User Manual
26
AutoScan: For users’ convenience, the MGate is designed with an innovative command auto-learning function. It can learn all the output commands from the J1939 devices in the same CAN bus. Users don’t need to key in the commands one by one. All you have to do is click on the SCAN button, and a window will pop up. Click the Start button to learn. Click the pen icon at the right-hand side of the command to edit the command. Whenever the commands are set, remember to click the APPLY button to save it.
Protocol Settings–CAN Proprietary Settings
Import or export offline excel CAN data frame configuration by clicking the IMPORT or EXPORT button on the right-hand side. Or, click CAN Port 1 to configure manually.
Click the EDIT button to set the CAN proprietary settings.
MGate 5121 Series User Manual
27
Select the CAN settings for CAN port 1. Click SAVE AS DRAFT button.
CAN Port 1 Settings
Parameter
Value
Frame Format
CAN 2.0A CAN 2.0B
10 kbit/s
20 kbit/s
50 kbit/s
Baudrate(kbits/s)
125 250
kbit/s kbit/s
500 kbit/s
800 kbit/s
1 Mbit/s
Default CAN 2.0A
125 kbit/s
Initial Delay(ms) 0 to 120000
0
CAN Bus-OFF Reset
Disable Enable
CAN bus termination resistor 120 ohms
Disable Enable
Disable Disable
Description According to your CAN proprietary device, select either CAN 2.0A or 2.0B CAN data frame format.
Set CANopen network baudrate
For some CAN devices which need longer boot up time, the MGate needs to wait until the device is ready for communication. Set the initial delay time to wait the device boot-up. When the MGate detects the error count exceeding the CAN threshold, the CAN bus will switch to Bus Off mode, according to the CAN definition. Enable will auto reset the error count and restart the bus. Disable will stay in the Bus Off mode and only recovers when re-powering the MGate.
Software configurable CAN bus termination resistor.
Click ADD DEVICE to add the CAN devices, type in a 1- to 64-character device name. Click SAVE AS DRAFT to save the configuration temporarily.
MGate 5121 Series User Manual
28
Click ADD TRANSACTION button to select the CAN data frame type Produce, Consume, or Request/Response.
Follow a 3-step configuration for Produce Transaction, which the MGate will send CAN data to slave devices.
Parameter
Transaction Name
Value (An alphanumeric string)
Default
Trigger Mode
Cyclic Data Change Boot-up
Cyclic
Cyclic Interval(ms)
Fault Protection
Fault Timeout(ms) Tigger by RTR
10 to 65535
Pause Proceed–Clear data to zero Proceed–Set to User Defined Value
100 to 65535
Disable Enable
1000 Pause 60000 Disable
Description
1 to 64 characters.
Cyclic: The transaction is sent cyclically at the interval specified in the Cyclic Interval parameter. Data change: The transaction is sent when a change in data is detected. Boot-up: The transaction is sent once the CAN bus boots up
The desired cyclic interval in milliseconds.
Pause: The gateway will write the same data to the slave device. Proceed–Clear data to zero: The gateway will write zero values to the slave device. Proceed–Set to User Defined Value: A user-defined value will be written to the slave device. Defines the communication timeout for the opposite side. When receiving a remote transmission request (RTR) for a specific CAN-ID, it triggers the produce transaction.
MGate 5121 Series User Manual
29
In the Frame Settings, type the CAN-ID according to the CAN device user manual first. Then click ADD FUNCTION BLOCK to add Data blocks or Constant blocks.
Parameter Name
Tag Type
Value
Default
(An
alphanumeric
string)
raw, int 8, int
16, int 32, int
64, uint 8, uint raw
16, uint 32, uint
64, float, double
Length(byte) 1 to 8
1
User-defined
Value for Fault
00
Protection (Hex)
Description 1 to 64 characters
Tag data type
The default length for raw type is 1. The value is fixed for other data type except raw type. Set the user-defined value in the data block when you activate Fault Protection in the Produce Settings step and select “Proceed–Set to User-defined Value”
MGate 5121 Series User Manual
30
Parameter
Value
Default
Endian Swap
None Byte swap Reverse Reverse with byte swap
None
Description Swapping the data. The item may change with different tag type or length for raw data type. None: Don’t need to swap Byte swap: Switch the order of bytes. 0x11 22 33 44 55 66 77 88 0x22 11 44 33 66 55 88 77
Reverse: Reverse the order of bytes. 0x11 22 33 44 55 66 77 88 0x88 77 66 55 44 33 22 11
Reverse with byte swap: Reverse the order of bytes first, then switch the order of bytes. 0x11 22 33 44 55 66 77 88 0x77 88 55 66 33 44 11 22
Parameter Name Length(byte)
Value
Value (An alphanumeric string) 1 to 8 0x0000000000000000 to 0xFFFFFFFFFFFFFFFF
Default 1 0x0000000000000000
The configuration will be displayed below Frame Settings.
Description 1 to 32 characters. Data length of constant value.
Set the constant value in Hex.
MGate 5121 Series User Manual
31
Finally, confirm the transaction settings. Then, click SAVE AS DRAFT.
Follow 3 steps configuration for Consume Transaction which MGate will receive data from CAN slave devices.
Parameter Transaction Name
Consume Timeout (ms)
Value (An alphanumeric string)
10 to 65535
Default 10000
Description
1 to 64 characters.
The timeout value in milliseconds. If the consume transaction is not received within the timeout time, the device will be considered offline.
MGate 5121 Series User Manual
32
Type in the CAN-ID, according to the CAN device user manual. Click the ADD FUNCTION BLOCK button to add Data blocks or Constant blocks. The block setting is the same as the producer. Refer to the Produce Frame Settings’ description.
Confirm the transaction settings. Click SAVE AS DRAFT.
MGate 5121 Series User Manual
33
Regarding Request/Response Transaction, the MGate will send a request to the CAN device to query a data, and then wait for its response.
Parameter Transaction Name
Value (An alphanumeric string)
Default
Trigger Mode
Cyclic Data Change Boot-up
Cyclic
Cyclic Interval (ms) 10 to 65535
1000
Fault Protection
Pause Proceed–Clear data to zero Proceed–Set to User Defined Value
Pause
Fault Timeout (ms)
100 to 65535
Maximum retry (count) 0 to 5
60000 0
Description 1 to 64 characters. Cyclic: The transaction is sent cyclically at the interval specified in the Cyclic Interval parameter. Data change: The transaction is sent when a change in data is detected. Boot-up: The transaction is sent once the CAN bus boots up The desired cyclic interval in milliseconds. Pause: The gateway will write the same data to the slave device. Proceed–Clear data to zero: The gateway will write zero values to the slave device. Proceed–Set to User Defined Value: A user-defined value will be written to the slave device. Defines the communication timeout on the opposite side. The request retries counts when a timeout occurred without receiving a response. The response timeout value is set in Response tab.
MGate 5121 Series User Manual
34
Parameter Response Timeout (ms)
Value 100 to 65535
Default 1000
Description The desired response timeout value.
Here set the request and response frame settings according to the CAN device user manual, including the CAN-ID, Data blocks or Constant blocks. The block setting is the same as the producer. Refer to Produce Frame Settings’ description.
MGate 5121 Series User Manual
35
Confirm the transaction settings. Then click SAVE AS DRAFT.
After all settings have been created, click the icon on the right-hand side of each transaction to edit, delete or clone it. Finally, click APPLY to activate all settings.
MGate 5121 Series User Manual
36
Protocol Settings–Modbus TCP Server Settings
Configure the Modbus TCP server setting on this page. Click on the TCP button to edit the setting.
Click EDIT to adjust the Modbus TCP basic settings.
Parameter Server ID Server Port TCP Alive Check Time (min)
Value 1 to 255 1 to 65535
0 to 99
Default 502 1
Description The Modbus server ID that this slave module will accept. The TCP port number.
The time to check TCP alive.
MGate 5121 Series User Manual
37
Add Tags for Modbus TCP. Notice that the tags must be created in CANopen master or J1939. Click DONE after selection. The selection sequence will also decide the sequence in the Modbus TCP register/coil address.
The selected tags will display in the data mapping column by default with register/coil address. You may adjust it manually.
MGate 5121 Series User Manual
38
Protocol Settings–SNMP Mapping Settings
You can manage CAN to SNMP mapping data on this page; for detailed SNMP protocol settings, go to the SNMP Trap Server page.
Click ADD TAGS to add tags in the CAN settings.
MGate 5121 Series User Manual
39
The OID is defined as below:
OID 1.3.6.1.4.1.8691 1.3.6.1.4.1.8691.21 1.3.6.1.4.1.8691.21.5121
String moxa mgate mgate5121
1.3.6.1.4.1.8691.21.5121.1
swMgmt
1.3.6.1.4.1.8691.21.5121.2 1.3.6.1.4.1.8691.21.5121.3 1.3.6.1.4.1.8691.21.5121.3.1 1.3.6.1.4.1.8691.21.5121.3.1.1 1.3.6.1.4.1.8691.21.5121.3.1.2 1.3.6.1.4.1.8691.21.5121.3.1.1.x 1.3.6.1.4.1.8691.21.5121.3.1.2.x
trap mapping tags array of values array of names value of array[x] name of array[x]
OID (string type) 1.3.6.1.4.1.8691 {moxa}.21 {mgate}.5121
{mgate5121}.1
{mgate5121}.2 {mgate5121}.3 {mapping}.1 {tags}.1 {tags}.2 {array of values}.x {array of names}.x
Description
MGate Series Model name SNMP management Information SNMP trap SNMP mapping Tag mapping Tag value Tag name Index of tag value Index of tag name
Diagnostics
Diagnostics–Protocol Diagnostics
Diagnostics–Protocol Diagnostics–CANopen Diagnostics
MGate 5121 Series User Manual
40
In the Slave Status tab, check the detailed information regarding the slave status and change CANopen state machine at the right-hand side.
You can open the Object Parameter tab to check and change the slave device’s CANopen object value.
MGate 5121 Series User Manual
41
Diagnostics–Protocol Diagnostics–J1939 Diagnostics
The Live List function allows you to check how many live devices are on the same network.
MGate 5121 Series User Manual
42
Diagnostics–Protocol Diagnostics–CAN Proprietary Diagnostics
Diagnostics–Protocol Diagnostics–Modbus TCP Diagnostics
MGate 5121 Series User Manual
43
Diagnostics–Protocol Traffic
Diagnostics–Protocol Traffic–CANopen Traffic
Click START to start traffic log.
You can also read/write CAN data manually by clicking the TEST button and type in the CAN data frame.
Diagnostics–Protocol Traffic–J1939 Traffic
Click START to start J1939 traffic log.
MGate 5121 Series User Manual
44
Diagnostics–Protocol Traffic–CAN Proprietary Traffic
Diagnostics–Protocol Traffic–Modbus TCP Traffic
Click START to start Modbus TCP traffic log.
Diagnostics–Event Log
Diagnostics–Event Log–Log View
Review and export all event information in the event log.
MGate 5121 Series User Manual
45
Diagnostics–Event Log–Policy Settings
The event policy settings enable the MGate to record important events, which can be recorded in the Remote Log to Syslog server and Local Log, which will be stored with up to 10,000 events in the MGate.
The MGate can also send email alerts, SNMP Trap messages, or open/close the circuit of the relay output when a selected event was triggered.
You can filter events for easy reading or expand by clicking the category, such as System. Tick or untick the events if you want to log it and select which channels you want to use by clicking the channel name. After changing the settings, remember to SAVE it.
Event Group System Network Security
Maintenance
Modbus client Modbus server EtherNet/IP PROFINET CANopen J1939 CAN proprietary
Description Start system, User trigger reboot, Power input failure, NTP update failure IP conflict, DHCP get IP/renew, IP changed, Ethernet link down Clear event log, Login success, Login failure, Account/group changed, Password reached lifetime, SSL certificate import, Syslog certificate import Firmware upgrade success, Firmware upgrade failure, Configuration import success, Configuration import failure, Configuration export, Configuration changed, Load factory default Server connected, Server disconnected, Command recovered, Command fail Client connected; Client disconnected; Exception function Adapter connected; Adapter disconnected I/O Device is connected, I/O Device is disconnected, I/O Controller is running, I/O Controller has stopped Device status changed; CAN bus-off; slave initialization failed CAN bus-off CAN Error Passive, CAN bus-off, Transaction Success, Transaction Failed, Transaction Timeout
MGate 5121 Series User Manual
46
Local Log Settings
Local Log Settings
Description
Overwrites the oldest event log Event Log Overwrite Policy Stops recording event log
Capacity Threshold (%) When the log amount exceeds the warning
Warning By
SNMP Trap Email
Remote Log Settings
MGate 5121 Series User Manual
47
Remote Log Settings Syslog Server IP Syslog Server port TLS Authentication
SNMP Trap Settings
Description IP address of a server that will record the log data 514 Enable TLS authentication. Notice TLS files must be uploaded for a successful connection.
MGate 5121 Series User Manual
48
Email Settings
Parameters
Description
Mail Server (SMTP) The mail server’s domain name or IP address.
Port
The mail server’s IP port.
TLS
Security
STARTTLS
Connection
STARTTLS-None
None
Username
This field is for your mail server’s username, if required.
Password
This field is for your mail server’s password, if required.
From (Email address)
Email address from which automatic email warnings will be sent.
To (Email address,
separated by
Email addresses to which automatic email warnings will be sent.
semicolon)
MGate 5121 Series User Manual
49
Diagnostics–Tag View
This page displays the tag live value generated by field devices and updates the values periodically. It is an easy and useful tool if you want to check whether the MGate receives the correct data from field devices. The gateway timestamp shows the time data was updated to the tag. For example, when the CANopen_master NMT state showing the master current state, 0 means the master is in operational mode, 1 it is in preoperational mode, and 2 it is stop mode.
Write a value to the CAN device via Write value directly to test the communication with the CAN device.
MGate 5121 Series User Manual
50
Diagnostics–Network Connections
You can see network-related information, including protocol, address, and state.
Diagnostics–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 on the web console immediately.
MGate 5121 Series User Manual
51
Diagnostics–LLDP
You can see LLDP related information, including Port, Neighbor ID, Neighbor Port, Neigh Port Description, and Neighbor System. Also, you can adjust the transmit interval for LLDP by clicking the EDIT button.
After clicking EDIT, if you need to enable or disable LLDP service. Click on the “Service” hyperlink or navigate to Security > Service page to enable or disable it.
MGate 5121 Series User Manual
52
Security
To secure your MGate, refer to the following security functions and configure it according to your requirements. We also provide a guideline of recommended steps as best practices for secure configurations in most applications. For this, refer to the Security Hardening Guide for the MGate 5000 Series.
Security–Account Management
Security–Account Management–Accounts
Only the Administrator group can create or edit accounts for user management. Click CREATE to add new accounts. Click the dot icon to edit the account.
Parameters Group
Value
Administrator, Operator, Guest
Description Users can change the password for different accounts. The MGate provides three built-in account groups: administrator, operator and guest. Administrator account can access all settings. Operator accounts can access most settings, except security categories. Guest account can only view the overview page. Create your own group for account management.
MGate 5121 Series User Manual
53
Security–Account Management–Groups
Three MGate built-in types of groups are shown; you can also create your own group by clicking CREATE.
MGate 5121 Series User Manual
54
Parameters
Value
Basic Information
No display
Access Permissions Read only
Read write
Description Includes Name and Description for the new Group. Corresponding to the configuration menu on the left-hand side of the web console, you can select different permissions for a new group. Displays will not show the page on the right-hand side menu.
Security–Account Management–Password Policy
Parameter
Value
Password Minimum Length 8 to 128
Password Complexity Strength
Check
Password lifetime Setting
90 to 180 days
Description The minimum password length Select how the MGate checks the password’s strength Set the password’s lifetime period.
MGate 5121 Series User Manual
55
Security–Service
Parameter HTTP Service
Value Enable/Disable
HTTPS Service
Enable/Disable
Ping Service
Enable/Disable
SD Card
Enable/Disable
SNMP Agent Service Enable/Disable
LLDP Service
Enable/Disable
Reset button disable Always enable and
after 60 sec
disable after 60 sec.
Description To enhance security, all HTTP requests will redirect to HTTPS when the HTTP service is enabled. You can also disable the HTTP service. Disabling this service will disable the web console and search utility connections, thus cutting off access to the configuration settings. To re-enable the HTTPS communication, reset to the factory default settings via the hardware Reset button. Disabling this service will block ping requests from other devices. Disabling this service will deactivate the SD card function for backup and restore configuration files. Enable or disable SNMP agent function. Enable or disable LLDP function. The MGate provides a Reset button to load factory default settings. For enhanced security, users can disable this function. In the disabled mode, the MGate will still enable the Reset button for 60 seconds after booting up, just in case you really need to reset the device.
MGate 5121 Series User Manual
56
Security–Allowlist
These settings are used to restrict access to the MGate by the IP address. Only IP addresses on the list will be allowed to access the device. Notice the restriction includes configuration and protocol conversion.
Security–DoS Defense
Users can select from several options to enable DoS Defense to fend off cybersecurity attacks. A denial-ofservice (DoS) attack is an attempt to make a machine or a network resource unavailable. Users can select from the following options to counter DoS attacks.
MGate 5121 Series User Manual
57
Security–Login Policy
Login Message
You can input a message for Login or for Login authentication failure messages.
Login Lockout
Parameter Max Failure Retry Times Reset Period (min)
Lockout Time(min)
Value 1 to 10 (default 5) 1 to 1440 (default 10) 1 to 60 (default 10)
Description Specify the maximum number of failures reties, if exceed the retry times, MGate will lock out for that account login Specify the reset period time when enabling the “reset the login failure counter” function When the number of login failures exceeds the threshold, the MGate will lock out for a period.
MGate 5121 Series User Manual
58
Login Session
Parameter Maximum login users for HTTP+HTTPS Auto logout setting (min)
Value 1 to 10 (default 5) 1 to 1440 (default 1440)
Description The number of users that can access the MGate simultaneously.
Sets the auto logout period.
Security–Certificate Management
Use this function to load the Ethernet SSL certificate. Import or delete SSL certificate/key files. This function is only available for the web console.
MGate 5121 Series User Manual
59
Maintenance
Maintenance–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 in different sites. Export the configuration as a file and then import the configuration file onto other units.
· 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 help administrators to identify system problems that provide useful information for Moxa’s Technical Service Team when maintenance visits are requested.
For cybersecurity reasons, you can export configuration file with an authentication key, length from 8 to 16 characters. If the key to the imported configuration file differs from the key to the exported file, the import process will fail.
MGate 5121 Series User Manual
60
Maintenance–Firmware Upgrade
Firmware updates for the MGate are available on the Moxa website. After you have downloaded the new firmware onto your PC, you can use the web console to write it onto your MGate. Select the desired unit from the list in the web console and click Submit to begin the process.
ATTENTION
DO NOT turn off the MGate power before the firmware upgrade process is completed. The MGate will erase the old firmware to make room for the new firmware to flash memory. If you power off the MGate and end the progress, the flash memory will contain corrupted firmware, and the MGate cannot boot. If this happens, contact Moxa RMA services.
Maintenance–Load Factory Default
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 the parameters you have saved will be discarded. Do not use this function unless you are sure you want to completely reset your unit.
MGate 5121 Series User Manual
61
Restart
Reboot the MGate by clicking the RESTART button.
ATTENTION
Unsaved configuration files will be discarded during a reboot.
Status Monitoring
The Status Monitoring function provides status information of field devices when the MGate is being used as a CAN client. If a CAN device fails or a cable comes loose, the gateway will not be able to receive up-to-date data from the CAN device. The out-of-date data will be stored in the gateway’s memory and will be retrieved by the client (e.g., PLC), which is not aware that the slave device is not providing up-to-date data. To handle this situation, the MGate provides a warning mechanism to report the list of slave devices that are still “alive” through the Status Monitoring function. The MGate automatically creates a status tag when a CAN-based server device is created. This tag is used to show the connection status (valid or invalid) of the CAN-based server device. To monitor the status of the status tag, you can convert this tag to the northbound protocol and read for the northbound SCADA/device. Or, you can check the tag status on the MGate’s web, the Tag View page. To perform the status tag monitoring from your northbound protocol, go to the northbound protocol’s page (for example, the Modbus TCP Server page). Cick ADD TAGS and select canopen_master as the tag provider and select the “status” tag. The MGate will automatically add a mapping from this CAN-based tag to the Modbus TCP.
MGate 5121 Series User Manual
62
The highest significant bit shows the status. 1 is invalid, 0 is valid. Further details on the status codes: 1. Valid (0x00000000) – Indicates the status is connected. 2. Invalid (0x80000000) – Indicates the status is unknown. 3. Invalid (0x80000001) – Indicates the status is offline.
MGate 5121 Series User Manual
63
4. Network Management Tool (MXstudio)
Moxa’s MXstudio industrial network management suite includes tools such as MXconfig and MXview. MXconfig is for industrial network mass configuration; MXview is for industrial management software. For the software and related detailed information regarding MXview and MXconfig, as well as the supported product firmware versions, refer to the Moxa website at https://www.moxa.com/en/products/industrialnetwork-infrastructure/network-management-software. When you discover a Moxa product that has not been integrated into the MXview or MXconfig, you may not be able to retrieve the product information from MXview or MXconfig. To solve this, you can download the plugin file from the Moxa MGate product website and then import/install the plugin into MXview or MXconfig. After importing/installing the plugin files, the MGate products can be supported by MXview/MXconfig. Refer to the Moxa MGate product website to download plugin files: http://www.moxa.com. For more detailed functions such as supported functions on MXview/MXconfig, refer to the Tech Note: Configuring and Monitoring with MXview One/MXview and MXconfig.
MGate 5121 Series User Manual
64
A. SNMP Agents with MIB II
The MGate has built-in Simple Network Management Protocol (SNMP) agent software that supports SNMP Trap, and RFC 1213 MIB-II.
RFC1213 MIB-II Supported SNMP Variables
System MIB sysDescr sysObjectID sysUpTime sysContact sysName sysLocation sysServices
Interfaces MIB ifNumber ifIndex ifDescr ifType ifMtu ifSpeed ifPhysAddress ifAdminStatus ifOperStatus ifLastChange ifInOctets ifInUcastPkts ifInNUcastPkts ifInDiscards ifInErrors ifInUnknownProtos ifOutOctets ifOutUcastPkts ifOutNUcastPkts ifOutDiscards ifOutErrors ifOutQLen ifSpecific
IP MIB ipForwarding ipDefaultTTL ipInReceives ipInHdrErrors ipInAddrErrors ipForwDatagrams ipInUnknownProtos ipInDiscards ipInDelivers ipOutRequests ipOutDiscards ipOutNoRoutes ipReasmTimeout ipReasmReqds ipReasmOKs ipReasmFails ipFragOKs ipFragFails ipFragCreates ipAdEntAddr ipAdEntIfIndex ipAdEntNetMask ipAdEntBcastAddr ipAdEntReasmMaxSize ipRouteDest ipRouteIfIndex ipRouteMetric1 ipRouteMetric2 ipRouteMetric3 ipRouteMetric4 ipRouteNextHop ipRouteType ipRouteProto ipRouteAge ipRouteMask ipRouteMetric5 ipRouteInfo ipNetToMediaIfIndex ipNetToMediaPhysAddress ipNetToMediaNetAddress ipNetToMediaType ipRoutingDiscards
ICMP MIB icmpInMsgs icmpInErrors icmpInDestUnreachs icmpInTimeExcds icmpInParmProbs icmpInSrcQuenchs icmpInRedirects icmpInEchos icmpInEchoReps icmpInTimestamps icmpTimestampReps icmpInAddrMasks icmpInAddrMaskReps icmpOutMsgs icmpOutErrors icmpOutDestUnreachs icmpOutTimeExcds icmpOutParmProbs icmpOutSrcQuenchs icmpOutRedirects icmpOutEchos icmpOutEchoReps icmpOutTimestamps icmpOutTimestampReps icmpOutAddrMasks icmpOutAddrMaskReps
MGate 5121 Series User Manual
65
Address Translation MIB atIfIndex atPhysAddress atNetAddress
TCP MIB
tcpRtoAlgorithm tcpRtoMin tcpRtoMax tcpMaxConn tcpActiveOpens tcpPassiveOpens tcpAttemptFails tcpEstabResets tcpCurrEstab tcpInSegs tcpOutSegs tcpRetransSegs tcpConnState tcpConnLocalAddress tcpConnLocalPort tcpConnRemAddress tcpConnRemPort tcpInErrs tcpOutRsts
UDP MIB
udpInDatagrams udpNoPorts udpInErrors udpOutDatagrams udpLocalAddress udpLocalPort
SNMP MIB
snmpInPkts snmpOutPkts snmpInBadVersions snmpInBadCommunityNames snmpInBadCommunityUses snmpInASNParseErrs snmpInTooBigs snmpInNoSuchNames snmpInBadValues snmpInReadOnlys snmpInGenErrs snmpInTotalReqVars snmpInTotalSetVars snmpInGetRequests snmpInGetNexts snmpInSetRequests snmpInGetResponses snmpInTraps snmpOutTooBigs snmpOutNoSuchNames snmpOutBadValues snmpOutGenErrs snmpOutGetRequests snmpOutGetNexts snmpOutSetRequests snmpOutGetResponses snmpOutTraps snmpEnableAuthenTraps snmpSilentDrops snmpProxyDrops
MGate 5121 Series User Manual
66
Documents / Resources
![]() |
MOXA MGate 5121 Series Industrial Ethernet Gateway [pdf] User Manual 5121, MGate 5121 Series Industrial Ethernet Gateway, MGate 5121 Series, Industrial Ethernet Gateway, Ethernet Gateway, Gateway |