Moxa Technologies MGate 5122 Series User Manual
Moxa Technologies MGate 5122 Series User Manual

Moxa Technologies MGate 5122 Series User Manual

Hide thumbs Also See for MGate 5122 Series:

Advertisement

Quick Links

MGate 5122 Series User Manual
Version 1.0, June 2023
www.moxa.com/products
© 2023 Moxa Inc. All rights reserved.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MGate 5122 Series and is the answer not in the manual?

Questions and answers

Summary of Contents for Moxa Technologies MGate 5122 Series

  • Page 1 MGate 5122 Series User Manual Version 1.0, June 2023 www.moxa.com/products © 2023 Moxa Inc. All rights reserved.
  • Page 2 MGate 5122 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 © 2023 Moxa Inc. All rights reserved. Trademarks The MOXA logo is a registered trademark of Moxa Inc.
  • Page 3: Table Of Contents

    Table of Contents Introduction ............................4 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 Web Console Configuration and Troubleshooting .................
  • Page 4: Introduction

    EtherNet/IP 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. MGate 5122 Series User Manual...
  • Page 5: Getting Started

    A progress bar will appear. The procedure should take only a few seconds to complete. A message will show the DSU has been successfully installed. You may choose to run it immediately by selecting Launch DSU. MGate 5122 Series User Manual...
  • Page 6: Log In To The Web Console

    First time use of a microSD card containing a configuration file with the MGate gateway Power off the MGate and insert the microSD card. Power on the MGate. The configuration file stored in the microSD card will automatically copy to the MGate. MGate 5122 Series User Manual...
  • Page 7 MGate gateway. Note that the replacement microSD card should not contain any configuration files on it; otherwise, the out-of-date configuration will copy to the MGate device. MGate 5122 Series User Manual...
  • Page 8: Web Console Configuration And Troubleshooting

    This chapter provides a quick overview of how to configure the MGate 5122 by web console. System Dashboard This page gives a system dashboard of the MGate 5122 gateway. You can change your password or log out using the options on the top-right corner of the page. MGate 5122 Series User Manual...
  • Page 9: System Settings

    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 5122 Series User Manual...
  • Page 10 This optional field specifies the IP address or domain name of the time server on your network. The module supports Auto 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 5122 Series User Manual...
  • Page 11: System Settings-Network Settings

    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. 192.168.127.254 IP Address The IP Address identifies the server on the TCP/IP network. (or other 32-bit number) MGate 5122 Series User Manual...
  • Page 12: System Settings-Snmp Settings

    A text password mechanism that is used to weakly authenticate queries to Read Only Community agents of managed network devices. A text password mechanism that is used to weakly authenticate changes to Read/Write Community agents of managed network devices. MGate 5122 Series User Manual...
  • Page 13 The level of access allowed Read/Write Disable SHA1 Use this field to select MD5 or SHA as the method of password Authentication Type SHA-224 encryption for the specified level of access, or to disable SHA-256 authentication. SHA-384 SHA-512 MGate 5122 Series User Manual...
  • Page 14 When the number of authentication failures exceeds Account Disabled Time the value set in Max Authentication Failure Times, 1 to 60 (default 10) Interval (min) the MGate will disable the SNMPv3 for Account Disabled Time Interval. System Settings—SNMP Settings—SNMP Trap MGate 5122 Series User Manual...
  • Page 15: Protocol Settings

    SNMP server IP address or domain name; the maximum number of trap servers is Server IP Port SNMP server IP Port. Disable SNMPv1 Trap Version SNMPv2 SNMPv3 Protocol Settings Protocol Settings—Protocol Conversion You can select CANopen or J1939 on this page. MGate 5122 Series User Manual...
  • Page 16: Protocol Settings-Canopen Master Settings

    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 You can manage CANopen devices on this page. MGate 5122 Series User Manual...
  • Page 17 Disable Enable reset the error count and restart the bus. Disable will stay in the Bus Off mode and only can recover by re- power the MGate. CANbus Termination Disable Disable Resistor 120 ohms Enable MGate 5122 Series User Manual...
  • Page 18 PDO COB ID. For example, if you want to mapping slave ID 2’s RPDO4 to MGate TPDO1, please type in COB ID 0x0502 in the CANopen master TPDO1. If you want to mapping slave ID2’s TPDO1 to CANopen master RPDO2, please type in COB ID 0x0182 in RPDO2. MGate 5122 Series User Manual...
  • Page 19 Bit offset in the PDO data frame generated 1 to 7 Bit Data Type 1 Bit Tag data type 1 to 8 Byte Alphanumeric Create Tag names. User can select tags in the northbound Tag Name string protocol setting. MGate 5122 Series User Manual...
  • Page 20 You can ADD slave device manually or SCAN the devices on the CANbus. Please 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 5122 Series User Manual...
  • Page 21 EDS Repository will be added to the table. Click the pen icon to edit the slave Node ID and Device Name, and enable Heartbeat with the heartbeat time Consuming Timeout (ms). Heartbeat tag view status MGate 5122 Series User Manual...
  • Page 22: Protocol Settings-J1939 Settings

    J1939 bus The parameters A set of J1939 parameter combinations Device name FFFFFFFFFFFFFFFF regarding to J1939. represented in hex value Start output To determine the way the transmission Data update, startup Data update transmission by starts MGate 5122 Series User Manual...
  • Page 23 The baudrate used in J1939 1Mbps Under the I/O Table tab, you can 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 5122 Series User Manual...
  • Page 24 Clear All Data Bit to 0: The gateway will write Defined Value zero values to the slave device. Set To User Defined Value: A user-defined value will be written to the slave device. MGate 5122 Series User Manual...
  • Page 25: Protocol Settings-Ethernet/Ip Adapter Settings

    Click EDIT to adjust the EtherNet/IP basic settings. Parameter Value Default Description Encapsulation Unit: second 0 to 3600, (0 inactivity timeout If there is no data exchange in for a while, the Ethernet/IP for disable) (sec) connection will be disconnected. MGate 5122 Series User Manual...
  • Page 26 Click EDIT in the connection column to adjust the connection parameters Parameter Value Default Description Name for connection. For example, Name Connection[x] Connection1 O->T connection point 1 to 2147483647 EtherNet/IP connection instance T->O connection point 1 to 2147483647 EtherNet/IP connection instance MGate 5122 Series User Manual...
  • Page 27 The selection sequence will also decide the sequence in the EtherNet/IP data frame. The selected tags will display in the data mapping column by default with byte offset. You may adjust the offset in the EtherNet/IP IO data frame manually. MGate 5122 Series User Manual...
  • Page 28: Protocol Settings-Snmp Mapping Settings

    Protocol Settings—SNMP Mapping Settings You can manage CAN to SNMP mapping data on this page; for detailed SNMP protocol settings, please go to the SNMP Trap Server page. Click ADD TAGS to add tags in the CAN settings. MGate 5122 Series User Manual...
  • Page 29: Diagnostics

    1.3.6.1.4.1.8691.21.5122.3.1.2 array of names {tags}.2 Tag name 1.3.6.1.4.1.8691.21.5122.3.1.1.x value of array[x] {array of values}.x Index of tag value 1.3.6.1.4.1.8691.21.5122.3.1.2.x name of array[x] {array of names}.x Index of tag name Diagnostics Diagnostics—Protocol Diagnostics Diagnostics—Protocol Diagnostics—CANopen Diagnostics MGate 5122 Series User Manual...
  • Page 30 In the Slave Status tab, you can check the detailed information regarding slave status and change CANopen state machine at the right-hand side. Furthermore, you can open the Object Parameter tab to check and change the slave device's CANopen object value. MGate 5122 Series User Manual...
  • Page 31 Diagnostics—Protocol Diagnostics—J1939 Diagnostics The Live List function allows you to check how many live devices are on the same network. MGate 5122 Series User Manual...
  • Page 32: Diagnostics-Protocol Traffic

    Diagnostics—Protocol Diagnostics—EtherNet/IP Diagnostics Diagnostics—Protocol Traffic Diagnostics—Protocol Traffic—CANopen Traffic Click START to start traffic log. MGate 5122 Series User Manual...
  • Page 33: Diagnostics-Event 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. Diagnostics—Event Log Diagnostics—Event Log—Log View You can review and export all event information in the event log. MGate 5122 Series User Manual...
  • Page 34 Client connected; Client disconnected; Exception function EtherNet/IP Adapter connected; Adapter disconnected I/O Device is connected, I/O Device is disconnected, I/O Controller is running, I/O PROFINET Controller has stopped CANopen Device state changed; CAN bus-off J1939 CAN bus-off MGate 5122 Series User Manual...
  • Page 35 Local Log Settings Description Overwrites the oldest event log Event Log Overwrite Policy Stops recording event log Log Capacity Warning When the log amount exceeds the warning SNMP Trap Warning By Email Remote Log Settings MGate 5122 Series User Manual...
  • Page 36 Syslog Server IP IP address of a server that will record the log data Syslog Server port Enable TLS authentication. Notice TLS files must be uploaded for a successful TLS Authentication connection. SNMP Trap Settings MGate 5122 Series User Manual...
  • Page 37 This field is for your mail server’s password, if required. From (Email Email address from which automatic email warnings will be sent. address) To (Email address, separated by Email addresses to which automatic email warnings will be sent. semicolon) MGate 5122 Series User Manual...
  • Page 38: Diagnostics-Tag View

    The gateway timestamp shows the time data was updated to the tag. You can write a value to the CAN device via Write value directly to test the communication with CAN device. Diagnostics—Network Connections You can see network-related information, including protocol, address, and state. MGate 5122 Series User Manual...
  • Page 39: Diagnostics-Ping

    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. MGate 5122 Series User Manual...
  • Page 40: Security

    Administrator account can access all settings. Operator accounts can Group Operator, access most settings, except security categories. Guest account can only Guest view the overview page. You can create your own group for account management. MGate 5122 Series User Manual...
  • Page 41 Security—Account Management—Groups Three MGate build-into types of groups are shown; you can also create your own group by clicking CREATE. MGate 5122 Series User Manual...
  • Page 42 Description Password Minimum Length 8 to 128 The minimum password length Password Complexity Strength Select how the MGate checks the password’s strength Check Password lifetime Setting 90 to 180 days Set the password’s lifetime period. MGate 5122 Series User Manual...
  • Page 43: Security-Service

    In the disabled mode, the MGate will still enable the after 60 sec disable after 60 sec. Reset button for 60 seconds after bootup, just in case you really need to reset the device. MGate 5122 Series User Manual...
  • Page 44: 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. MGate 5122 Series User Manual...
  • Page 45: Security-Dos Defense

    Users can select from several options to enable DoS Defense to fend off cybersecurity attacks. A denial-of- service (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 5122 Series User Manual...
  • Page 46: Security-Login Policy

    You can specify the reset period time when enabling the Reset Period (min) "reset the login failure counter" function When the number of login failures exceeds the threshold, Lockout Time(min) 1 to 60 (default 10) the MGate will lock out for a period. MGate 5122 Series User Manual...
  • Page 47: Security-Certificate Management

    Sets the auto logout time period. (min) Security—Certificate Management Use this function to load the Ethernet SSL certificate. You can import or delete SSL certificate/key files. This function is only available for the web console. MGate 5122 Series User Manual...
  • Page 48: Maintenance

    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 5122 Series User Manual...
  • Page 49: Maintenance-Firmware Upgrade

    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 5122 Series User Manual...
  • Page 50: Restart

    The MGate will create a status tag when a CAN device is created. This shows if the CAN device connection is valid or invalid. The highest significant bit shows the status. 1 is invalid, 0 is valid. MGate 5122 Series User Manual...
  • Page 51: Network Management Tool (Mxstudio)

    System name and login password modification Network settings MXconfig Configuration import/export Firmware upgrade Configuration import/export MXview LLDP for topology analysis Security View** **Security View can check the security level of devices under the IEC62443-4-2 standard. MGate 5122 Series User Manual...
  • Page 52: Snmp Agents With Mib Ii

    MGate 5122 Series User Manual...
  • Page 53 MGate 5122 Series User Manual...

Table of Contents