Moxa Technologies MGate 5111 User Manual

Moxa Technologies MGate 5111 User Manual

Hide thumbs Also See for MGate 5111:

Advertisement

Quick Links

MGate 5111
User's Manual
Edition 1.0, December 2017
www.moxa.com/product
© 2017 Moxa Inc. All rights reserved.

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for Moxa Technologies MGate 5111

  • Page 1 MGate 5111 User’s Manual Edition 1.0, December 2017 www.moxa.com/product © 2017 Moxa Inc. All rights reserved.
  • Page 2 MGate 5111 User’s 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 © 2017 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 ............................1-1 Overview ............................1-2 Package Checklist ..........................1-2 Product Features ..........................1-3 Getting Started..........................2-1 Connecting the Power ......................... 2-2 Connecting PROFIBUS Devices ......................2-2 Connecting Serial Devices ........................2-2 Connecting to a Host or the Network ..................... 2-2 Installing the Software (Optional) ......................
  • Page 5: Introduction

    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 ...
  • Page 6: Overview

    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.
  • Page 7: Product Features

    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 •...
  • Page 8: Getting Started

    Getting Started This chapter provides basic instructions for installing the MGate 5111. The following topics are covered in this chapter:  Connecting the Power  Connecting PROFIBUS Devices  Connecting Serial Devices  Connecting to a Host or the Network ...
  • Page 9: Connecting The Power

    MGate 5111 Getting Started Connecting the Power 1. The unit can be powered by connecting a power source to the terminal block. 2. The power input range is from 12 to 48 VDC. To remove the wire from the terminal block, use a flathead screwdriver to push the orange slot next to the terminal block hole, and then pull the wire out.
  • Page 10: Wiring Requirements

    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. You should also observe the following common wiring rules: •...
  • Page 11: Led Indicators

    MGate 5111 Getting Started LED Indicators Color Description PWR 1, Green Power is on PWR 2 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...
  • Page 12: Dimensions

    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.
  • Page 13: Pin Assignments

    – (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). RJ45 (Ethernet, Console)
  • Page 14: Hardware Installation

    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.
  • Page 15: Physical Characteristics

    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Ω...
  • Page 16: Microsd Card

    Details: See www.moxa.com/warranty 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.
  • Page 17: Backing Up A Configuration

    MGate 5111 Getting Started Backing Up a Configuration Use the following procedure to copy the configuration of an MGate gateway to a microSD card: Use a PC to format the microSD card to support FAT file systems and delete all of the data on the card.
  • Page 18: Step 2: Select Protocol

    MGate 5111 Getting Started Step 2: Select Protocol Then, you have to select the protocols used on your devices that are connected through the MGate. After selection, the MGate will automatically change its role to the correct one. For example, if the device is set as a Modbus TCP Server, the MGate will then automatically configure as a Modbus TCP Client by itself.
  • Page 19: Step 3: Profibus Slave Settings

    MGate 5111 Getting Started Step 3: PROFIBUS Slave Settings For details, please refer to Protocol Settings. 2-12...
  • Page 20: Step 4: Modbus Tcp Settings

    MGate 5111 Getting Started Step 4: Modbus TCP Settings For details, please refer to Protocol Settings. 2-13...
  • Page 21: Step 5: Finish

    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.
  • Page 22: Device Search Utility

    Device Search Utility The following topics are covered in this chapter:  Installing the Software  Starting the Device Search Utility (DSU)  Broadcast Search  Search IP  Locate  Assign IP  Unlock  Import/Export  Upgrading the Firmware...
  • Page 23: Installing The Software

    Installing the Software The following instructions explain how to install the Device Search Utility (DSU), a utility for configuring and monitoring MGate 5111 units over a network. 1. Locate and run the following setup program to begin the installation process: dsu_setup_[Version]_Build_[DateTime].exe...
  • Page 24 MGate 5111 Device Search Utility 5. Click Install to start copying the software files.
  • Page 25 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.
  • Page 26: Starting The Device Search Utility (Dsu)

    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.
  • Page 27: 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...
  • Page 28: Search Ip

    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...
  • Page 29: Locate

    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...
  • Page 30: Import/Export

    You can obtain the latest firmware for the MGate 5111 from www.moxa.com. After downloading the new firmware file to your PC, you can use the DSU to write it to your MGate 5111. Select the desired unit from the DSU list and then click Upgrade to begin the process.
  • Page 31: Web Console Configuration

    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. The following topics are covered in this chapter:  Overview  Basic Settings  Network Settings ...
  • Page 32: Overview

    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 5111. Basic Settings Server Settings and Time Settings are shown on the Basic Settings page.
  • Page 33: Network Settings

    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.
  • Page 34: Serial Settings

    MGate 5111 Web Console Configuration Parameter Value Description IP configuration Static IP, DHCP, BOOTP Select Static IP if you are using a fixed IP address. Select one of the other options if the IP address is set dynamically. IP address 192.168.127.254...
  • Page 35: Protocol Settings

    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.
  • Page 36 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.
  • Page 37 This allows the Modbus system to continue the operation even if a slave device is disconnected or faulty. On the MGate 5111, the Response timeout field is used to configure how long the gateway will wait for a response from a Modbus slave.
  • Page 38 Modbus TCP server device. To avoid problems in case the opposite side fails, the MGate 5111 can be configured to react in one of three ways: keep latest data, clear data to zero, user-defined value.
  • Page 39 MGate 5111 Web Console Configuration 3. Modbus TCP Server (Slave) Settings Server Settings Parameter Value Default Description Unit ID 1 - 255 The Modbus slave ID that this slave module will accept. TCP port 1 - 65535 The TCP port number.
  • Page 40 This allows the Modbus system to continue operations even if a slave device is disconnected or faulty. On the MGate 5111, the Response timeout field is used to configure how long the gateway will wait for a response from a Modbus ASCII or RTU slave.
  • Page 41 You can select Automatic for I/O data size configuration to automatically map OT (Originator to Target) and TO (Target to Originator) data sizes. 7. PROFINET IO Device Setting The MGate 5111 can play the role of the PROFINET IO device. All you have to set is the device name of the MGate. 4-11...
  • Page 42: System Management

    MGate 5111 Web Console Configuration I/O Data Mapping 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.
  • Page 43: Dos Defense

    MGate 5111 Web Console Configuration To allow access to a specific IP address Enter the IP address in the corresponding field; enter 255.255.255.255 for the netmask. To allow access to hosts on a specific subnet For both the IP address and netmask, use 0 for the last digit (e.g., “192.168.1.0” and “255.255.255.0”).
  • Page 44: System Log Settings

    MGate 5111 Web Console Configuration System Log Settings 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:...
  • Page 45: Auto Warning Settings

    MGate 5111 Web Console Configuration Auto Warning Settings 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.
  • Page 46: Snmp Trap Settings

    MGate 5111 Web Console Configuration SNMP Trap Settings 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.
  • Page 47: Lldp Settings

    MGate 5111 Web Console Configuration Read-Only and Read/Write Access Control 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...
  • Page 48: Certificate

    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.
  • Page 49: Account Management

    MGate 5111 Web Console Configuration Session Settings Value Description Maximum Login User for 1 - 10 The number of users that can access the MGate at the same HTTP+HTTPS time. Auto Logout Setting 0 - 1440 min. Set the auto logout time period.
  • Page 50: Maintenance

    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.
  • Page 51: Load Factory Default

    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.
  • Page 52: System Monitoring

    MGate 5111 Web Console Configuration 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. 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.
  • Page 53: Protocol Status

    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 I/O Data View This page displays the internal memory information for input and output data transfers. View updated values for communication verification here.
  • Page 54 MGate 5111 Web Console Configuration Modbus RTU/ASCII Diagnose (Master) Modbus RTU/ASCII Diagnose (Slave) Modbus TCP Diagnose (Client/Master) 4-24...
  • Page 55 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.
  • Page 56: Fault Protection And Status Monitoring

    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.
  • Page 57: Restart

    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.

Table of Contents