Moxa Technologies MGate 5216 Series User Manual
Moxa Technologies MGate 5216 Series User Manual

Moxa Technologies MGate 5216 Series User Manual

Hide thumbs Also See for MGate 5216 Series:

Advertisement

Quick Links

MGate 5216 Series User Manual
Version 1.0, September 2024
www.moxa.com/products
© 2024 Moxa Inc. All rights reserved.

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for Moxa Technologies MGate 5216 Series

  • Page 1 MGate 5216 Series User Manual Version 1.0, September 2024 www.moxa.com/products © 2024 Moxa Inc. All rights reserved.
  • Page 2: Copyright Notice

    MGate 5216 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 © 2024 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 Serial Devices ........................5 Connecting to the EtherCAT Network ......................5 Connecting to a PC ..........................5 Installing the Software (Optional) ......................5 microSD Card ............................5 Backing Up a Configuration ......................
  • Page 4: Introduction

    The MGate EtherCAT gateways are designed for easy configuration and quick maintenance. A handy web console can implement remote maintenance tasks. A comprehensive collection of troubleshooting tools reduces configuration time and system downtime. The rugged design is suitable for industrial applications. MGate 5216 Series User Manual...
  • Page 5: Getting Started

    The MGate 5216 gateway series is equipped with a microSD card slot for easy configuration. The microSD card can 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. MGate 5216 Series User Manual...
  • Page 6: Backing Up A Configuration

    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. MGate 5216 Series User Manual...
  • Page 7: Device Search Utility

    MGate 5216 devices over a network. Locate and run the following setup program to begin the installation process: dsu_setup_[Version]_Build_[DateTime].exe The latest version might be named dsu_setup_Ver2.0_Build_xxxxxxxx.exe, for example: You will be greeted by the Welcome window. Click Next to continue. MGate 5216 Series User Manual...
  • Page 8 Browse..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. MGate 5216 Series User Manual...
  • Page 9 Click Install to copy the software files. A progress bar will appear. The procedure should take only a few seconds to complete. MGate 5216 Series User Manual...
  • Page 10 A message will show that the DSU is successfully installed. You may choose to run it immediately by selecting Launch DSU. You may also open the DSU through Start > Programs > MOXA > DSU, as shown below. MGate 5216 Series User Manual...
  • Page 11: Starting The Device Search Utility (Dsu)

    Before running the DSU, make sure that your PC and the MGate 5216 are connected to the same network. Alternatively, the MGate 5216 Series may be connected directly to the PC for configuration. Refer to Chapter 2 for more details.
  • Page 12: Broadcast Search

    IP address, and firmware version of each device will be shown. Select the one you would like to configure. Search IP Click Search IP if you know the IP address of the device and wish to connect to it directly. Enter the IP address of the device and click OK. MGate 5216 Series User Manual...
  • Page 13: Locate

    When your PC and the MGate 5216 are on the same subnet, the DSU should be able to find the device. Locate The Locate function will cause the device to beep, so you can determine which one is the target. MGate 5216 Series User Manual...
  • Page 14: Assign Ip

    You can get the latest firmware for the MGate 5216 from www.moxa.com. After downloading the new firmware file to your PC, you can use the DSU to write it to your MGate 5216. Select a device from the DSU list and click Upgrade to begin the process. MGate 5216 Series User Manual...
  • Page 15: Web Console Configuration

    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. The welcome page shows information relevant to the MGate 5216. MGate 5216 Series User Manual...
  • Page 16: Basic Settings

    If the dispersion value of the time server is higher than the client (MGate), the client will not accept NTP messages from the time server. The MGate's dispersion value is 1 second. Hence, you must configure your time server with a dispersion value less than 1 sec for the NTP process to complete. MGate 5216 Series User Manual...
  • Page 17: Network Settings

    Stop Bits 1, 2 Flow Control None, RTS/CTS, RTS Toggle UART FIFO Enable, Disable RS-232 RS-422 Interface RS-485, 2W RS-485, 4W RTS On Delay 0 to 100 ms RTS Off Delay 0 to 100 ms MGate 5216 Series User Manual...
  • Page 18: Rts Delay

    Byte: 0x0A, 0x0B, 0x0C, 0x0D Byte becomes 0x0B, 0x0A, 0x0D, 0x0C. Endian swap None Word Word: 0x0A, 0x0B, 0x0C, 0x0D Byte and Word becomes 0x0C, 0x0D, 0x0A, 0x0B. ByteWord: 0x0A, 0x0B, 0x0C, 0x0D becomes 0x0D, 0x0C, 0x0B, 0x0A. MGate 5216 Series User Manual...
  • Page 19 1, the MGate will start to execute Modbus/serial commands. Name alphanumeric Maximum of 32 characters string) UINT8 UINT16 Data Type UINT16 The data type for this I/O module UINT32 REAL32 Quantity 1 to 254 Specifies the quantities for inputs, status, outputs, control data MGate 5216 Series User Manual...
  • Page 20: Modbus Rtu/Ascii (Master) Settings

    On the MGate 5216, the Response timeout field is used to configure how long the gateway will wait for a response from a Modbus ASCII or RTU server (slave). If you want to change the response time, refer to the documentation of your device manufacturer. MGate 5216 Series User Manual...
  • Page 21 Inter-character RTU) timeout defined, the frame will be discarded due to a timeout. Apply the above Clone the configuration to another serial port setting to Add Modbus Commands MGate 5216 Series User Manual...
  • Page 22 The user-defined value to set for Fault Fault value (Hex) 00 00 protection. Defines the communication timeout for Fault timeout 1 - 86400 s 3600 EtherCAT MGate 5216 Series User Manual...
  • Page 23: Data Settings

    On bootup, use this setting Program On Startup to force the MGate to execute a selected Micro Python file for a one-time execution of serial commands. Data Settings Click Add/Edit/Delete to modify serial command settings. MGate 5216 Series User Manual...
  • Page 24 Input related data that will be used in the Micro Python file such as slave ID and output data. Use comma ',' to Parameters separate parameters without space in between. The value specified should be in hexadecimal, use the prefix 0x for the values. MGate 5216 Series User Manual...
  • Page 25: I/O Data Mapping

    For easy configuration, select Automatic mapping of addresses and click Submit. The MGate will automatically arrange the internal addresses, Modbus commands first and then proprietary serial commands. You can also select the Manual option to manually arrange them. MGate 5216 Series User Manual...
  • Page 26: System Management

    Desired IP Range IP Address Field Netmask Field Any host Disable Enable 192.168.1.120 192.168.1.120 255.255.255.255 192.168.1.1 to 192.168.1.254 192.168.1.0 255.255.255.0 192.168.0.1 to 192.168.255.254 192.168.0.0 255.255.0.0 192.168.1.1 to 192.168.1.126 192.168.1.0 255.255.255.128 192.168.1.129 to 192.168.1.254 192.168.1.128 255.255.255.128 MGate 5216 Series User Manual...
  • Page 27: Dos Defense

    System Cold Start, System Warm Start Network DHCP/BOOTP get IP/renew, NTP connect fail, IP conflict, Network link down Login Fail, IP Changed, Password Changed, Firmware Upgrade, SSL Certificate Configuration Import, Configuration Import/Export Proprietary Serial Proprietary serial communication logs MGate 5216 Series User Manual...
  • Page 28: Auto Warning Settings

    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. E-mail Alert Settings MGate 5216 Series User Manual...
  • Page 29: Snmp Trap Settings

    Use this field to show 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. SNMP Agent Settings MGate 5216 Series User Manual...
  • Page 30: Read-Only And Read/Write Access Control

    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 The default time is 30 seconds. The allowable range is between 5 Message Transmit Interval and 16,383 seconds. MGate 5216 Series User Manual...
  • Page 31: Certificate

    Session Settings Value Description Maximum Login User for 1 - 10 The number of users that can access the MGate simultaneously. HTTP+HTTPS Auto Logout Setting 0 - 1440 min. Set the auto logout time period. MGate 5216 Series User Manual...
  • Page 32: Notification Message

    MGate provides two different level accounts: admin and user . The Account admin, user admin account can access and change all the settings through the web console. The user account can only view the setting and can’t change anything. MGate 5216 Series User Manual...
  • Page 33: Login Password Policy

    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. MGate 5216 Series User Manual...
  • Page 34: Firmware Upgrade

    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. MGate 5216 Series User Manual...
  • Page 35: System Monitoring

    System Monitoring System Status Network Connections Go to Network Connections under System Status to view network connection information. System Log Go to System Log under System Status to view network connection information. MGate 5216 Series User Manual...
  • Page 36: Lldp Table

    Neighbor System. Protocol Status I/O Data View 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. MGate 5216 Series User Manual...
  • Page 37 The MGate provides status information for Modbus RTU/ASCII and proprietary serial troubleshooting. Verify data or packet counters to make sure the communications are running smoothly. Modbus RTU/ASCII Diagnostics (Master) Proprietary Serial Diagnostics EtherCAT Slave Diagnostics MGate 5216 Series User Manual...
  • Page 38 AL status and AL status code are used to define the EtherCAT specifications for retrieval by the EtherCAT master. Information on the EtherCAT specification is listed in the following table: MGate 5216 Series User Manual...
  • Page 39 MGate 5216 Series User Manual...
  • Page 40: Modbus Rtu/Ascii Traffic

    Use the online program debugger to check the running status of their Micro Python program. You can also modify your program and save it. First click Terminate in Serial Master (normal mode) to terminate the current Micro Python commands and then click Run to start debug mode. MGate 5216 Series User Manual...
  • Page 41 After finishing troubleshooting, click Terminate button in the Serial Master(debug mode) and click RUN button in normal mode to execute runtime Micro Python again. MGate 5216 Series User Manual...
  • Page 42: Restart

    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. MGate 5216 Series User Manual...

Table of Contents