Advertisement

Quick Links

MGate 5105-MB-EIP User's Manual
First Edition, June 2013
www.moxa.com/product
© 2013 Moxa Inc. All rights reserved.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MGate 5105-MB-EIP-T and is the answer not in the manual?

Questions and answers

Summary of Contents for Moxa Technologies MGate 5105-MB-EIP-T

  • Page 1 MGate 5105-MB-EIP User’s Manual First Edition, June 2013 www.moxa.com/product © 2013 Moxa Inc. All rights reserved.
  • Page 2 MGate 5105-MB-EIP 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 © 2013 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.
  • Page 3: Table Of Contents

    Table of Contents Introduction ............................1-1 Overview ............................1-2 Package Checklist ..........................1-2 Power Input and Relay Output Pinouts....................1-2 LED Indicators ............................ 1-3 Dimensions ............................1-4 Pin Assignments ..........................1-4 Mounting the Unit ..........................1-5 Specifications ............................. 1-5 Reset Button ............................1-7 Pull-high, Pull-low, and Terminator for RS-485 ..................
  • Page 4: Introduction

    Introduction Welcome to the MGate 5105-MB-EIP line of Modbus-to-EtherNet/IP gateways. All models feature easy protocol conversion between Modbus RTU/ASCII, Modbus TCP, and EtherNet/IP protocols. This chapter is an introduction to the MGate 5105-MB-EIP and includes the following sections:  Overview ...
  • Page 5: Overview

    MGate 5105-MB-EIP Introduction Overview The MGate 5105-MB-EIP is a line of protocol gateways that provides users with the following features: • Gateway function to transfer data between Modbus RTU/ASCII, Modbus TCP and EtherNet/IP • Support for both EtherNet/IP adapter and scanner •...
  • Page 6: Led Indicators

    MGate 5105-MB-EIP Introduction LED Indicators Color Description Ready Power is off or fault condition exists Green Steady: Power is on and the MGate is functioning normally Blinking: The MGate has been located by MGate Manager’s Location function Steady: Power is on and the MGate is booting up Blinking slowly: Indicates an IP conflict, or DHCP or BOOTP server is not responding properly Flashing quickly: microSD card failed...
  • Page 7: Dimensions

    MGate 5105-MB-EIP Introduction Dimensions Unit: mm (inch) Pin Assignments Modbus (Modbus RTU/ASCII) Pin Assignment The MGate 5105-MB-EIP series uses a DB9 serial port to connect to Modbus RTU/ASCII devices. RS-422 RS-232 RS-485 (2W) RS-485 (4W) TxD- TxD+ RxD+ Data+ RxD- Data- Console (RS-232) Pin Assignment The MGate 5105-MB-EIP series uses an RJ-45 connector to connect to a PC for device configuration.
  • Page 8: Mounting The Unit

    MGate 5105-MB-EIP Introduction Mounting the Unit 1. Connect the power adaptor. Connect the 12–48 VDC power line or DIN-rail power supply to the MGate 5105-MB-EIP device’s terminal block. 2. Use a Modbus serial cable to connect the MGate to a Modbus slave device. 3.
  • Page 9 MGate 5105-MB-EIP Introduction Max. Number of Commands: 100 Max. Number of Connections: MGate as Modbus TCP Master: 32 connections MGate as Modbus TCP Slave: 16 connections Max. Total I/O Data Size: Input: 2048 bytes Output: 2048 bytes Modbus Serial Interface Protocol: Modbus RTU/ASCII Number of Ports: 1 Serial Standards: RS-232/422/485, software selectable...
  • Page 10: Reset Button

    MGate 5105-MB-EIP Introduction EMC: CE, FCC EMI: EN 55022 Class A, FCC Part 15 Subpart B Class A EMS: EN 55024, EN 61000-4-2 (ESD) Level 4, EN 61000-4-3 (RS) Level 3, EN 61000-4-4 (EFT) Level 4, EN 61000-4-5 (Surge) Level 3, EN 61000-4-6 (CS) Level 3, EN 61000-4-8,(PFMF) Level 3 Shock: IEC 60068-2-27...
  • Page 11: Configuration Methods

    MGate 5105-MB-EIP Introduction 4. Manually configure the MGate via MGate Manager or web console, and all the stored changes will copy to the microSD card for synchronization. First time using the MGate with a microSD card containing a configuration file 1.
  • Page 12: Quick Configuration Guide

    Quick Configuration Guide This chapter provides a quick overview of how to configure the MGate 5105-MB-EIP by web console. For more detailed information on how to configure the MGate 5105-MB-EIP, refer to Chapters 3 and 4.  Cable Connection  Log in to the Web Console ...
  • Page 13: Cable Connection

    MGate 5105-MB-EIP Quick Configuration Guide Cable Connection The MGate gateway supports Modbus RTU/ASCII, Modbus TCP, and EtherNet/IP protocol. If the MGate gateway needs to communicate with Modbus RTU/ASCII devices, connect your Modbus device to the MGate gateway’s Modbus port. Regardless, at least one of your devices should be Modbus TCP or EtherNet/IP interface. Connect your Modbus TCP or EtherNet/IP device to the MGate gateway’s 10/100M Ethernet port as well.
  • Page 14: Serial Settings

    MGate 5105-MB-EIP Quick Configuration Guide Serial Settings Second, refer to the datasheet of your Modbus RTU/ASCII devices to configure Serial parameters for Modbus RTU/ASCII devices.
  • Page 15: Protocol Conversion Selection

    MGate 5105-MB-EIP Quick Configuration Guide Protocol Conversion Selection The MGate 5105-MB-EIP supports Modbus RTU/ASCII, Modbus TCP, and EtherNet/IP protocols, but only one combination of two different protocols can be selected at a time. Option-1: EtherNet/IP <-> Modbus RTU/ASCII Option-2: EtherNet/IP <-> Modbus TCP Option-3: Modbus RTU/ASCII <->...
  • Page 16: Modbus Rtu/Ascii Network

    MGate 5105-MB-EIP Quick Configuration Guide In Scanner mode, you must designate the parameters for each connection. Refer to your EtherNet/IP adapter’s datasheet to fill out OT and TO parameters. NOTE A PLC may use Output and Input instead of OT and TO. Modbus RTU/ASCII Network As with EtherNet/IP setup, you must select either Master or Slave mode in order to communicate with your Modbus RTU/ASCII devices.
  • Page 17: Modbus Tcp Configuration

    MGate 5105-MB-EIP Quick Configuration Guide In Master mode, the MGate works as a Modbus master device and will send the Modbus request to the Modbus network actively. Refer to your Modbus device’s datasheet to add Modbus commands. Modbus TCP Configuration The MGate gateway also supports both Modbus TCP Master (i.e.
  • Page 18: I/O Data Mapping

    MGate 5105-MB-EIP Quick Configuration Guide For Master mode, refer to your Modbus TCP device’s datasheet to specify the command one-by-one manually. I/O Data Mapping The MGate provides an internal memory for data exchange between Modbus and EtherNet/IP protocols. After finishing the protocol settings, go to the I/O Data Mapping page and check if the data mapping is correct. In some cases, you may need to switch to Manual arrangement to adjust the internal address for each command.
  • Page 19: Communication Analysis

    MGate 5105-MB-EIP Quick Configuration Guide Communication Analysis After finishing all configurations, use Communication Analysis to confirm that the settings are correct. Click Start and wait 10 seconds for the analysis report to appear and describe fail status details, warnings, and hints. Some Diagnose pages are provided to help check if there is any Modbus and EtherNet/IP communication issue happened.
  • Page 20: I/O Data View

    MGate 5105-MB-EIP Quick Configuration Guide NOTE When the MGate gateway acts as an EtherNet/IP adapter, the OT instance is 100 and TO instance is 110. Your EtherNet/IP scanner (e.g. PLC, SCADA) needs to use these two instances to communicate with the MGate. For example, you should provide an Output (i.e., OT) instance of 100 and an Input (i.e., TO) instance of 110 for a Rockwell PLC, as shown below.
  • Page 21: Mgate Manager Configuration

    MGate Manager Configuration The following topics are covered in this chapter:  Installing the Software  Starting MGate Manager  Connecting to the Unit  Modifying the Configuration  Configure Device  Network Settings  Serial Settings  Protocol Settings ...
  • Page 22: Installing The Software

    MGate 5105-MB-EIP MGate Manager Configuration Installing the Software The following instructions explain how to install MGate Manager, a utility for configuring and monitoring MGate 5105-MB-EIP gateways over the network. 1. Insert the Document and Software CD into the CD-ROM drive. Locate and run the following setup program to begin the installation process: MGM_Setup_[Version]_Build_[DateTime].exe The latest version might be named MGM_Setup_Verx.x_Build_xxxxxxxx.exe.
  • Page 23 MGate 5105-MB-EIP MGate Manager Configuration 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 MGate Manager on your desktop. 5. Click Next to start copying the software files. 6.
  • Page 24: Starting Mgate Manager

    MGate 5105-MB-EIP MGate Manager Configuration 7. A message will indicate that MGate Manager is successfully installed. You may choose to run it immediately by selecting Launch MGate Manager. 8. You may also open MGate Manager through Start  Programs  MGate Manager  MGate Manager, as shown below.
  • Page 25: Connecting To The Unit

    MGate 5105-MB-EIP MGate Manager Configuration When you click OK, MGate Manager will immediately reflect your chosen language. ATTENTION Set your MGate Manager to “Default Language” before contacting Moxa Technical Support. With support for multiple languages, MGate Manager is more user-friendly and accessible. However, if you need assistance from Moxa Technical Support, please change the language to “Default Language”.
  • Page 26: Modifying The Configuration

    MGate 5105-MB-EIP MGate Manager Configuration Specify by IP Address Specify by IP Address is used for MGate Ethernet Gateways, such as the MGate 5000/MB3000/EIP300 series, which are discovered via Ethernet by using a specific IP address. Click Specify by IP Address if you know the IP address of the unit and wish to connect to it directly.
  • Page 27: Configure Device

    MGate 5105-MB-EIP MGate Manager Configuration Configure Device On the first page, you can change the device name and time zone settings. Server Setting Parameter Value Notes Server Name (an alphanumeric string) You can enter a name to help you identify the unit, such as the function, etc.
  • Page 28: Network Settings

    MGate 5105-MB-EIP MGate Manager Configuration ATTENTION When modifying the local time, select the time zone first. The time display will be updated to reflect the specified time zone. Network Settings The Network tab is where the unit’s network settings are configured. You can modify the Name, Network Configuration, IP Address, Netmask, Default Gateway, and DNS.
  • Page 29: Protocol Settings

    MGate 5105-MB-EIP MGate Manager Configuration Serial settings Parameter Value Notes Baudrate 50 bps to 921600 bps Parity None, Odd, Even, Mark, Space Data bits Stop bits 1, 2 Flow control None, RTS/CTS, RTS Toggle RTS Toggle will turn off RTS signals when there is no data to be sent.
  • Page 30 MGate 5105-MB-EIP MGate Manager Configuration Option-1: EtherNet/IP <-> Modbus RTU/ASCII Option-2: EtherNet/IP <-> Modbus TCP Option-3: Modbus RTU/ASCII <-> Modbus TCP MGate Protocol 1 Modbus Modbus Modbus TCP Modbus TCP EtherNet/IP EtherNet/IP RTU/ASCII RTU/ASCII Client Server Scanner Adapter Master Slave Modbus Option-3 Option-3...
  • Page 31: Ethernet/Ip Settings

    MGate 5105-MB-EIP MGate Manager Configuration EtherNet/IP Settings The MGate 5105-MB-EIP supports Adapter and Scanner modes for EtherNet/IP protocol. In Adapter mode, 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 with Modbus data. In Scanner mode, all EtherNet/IP connections will be shown in table.
  • Page 32 MGate 5105-MB-EIP MGate Manager Configuration Parameter Value Notes Name 50 bps to 961200 bps Connection Enable, Disable Enable or Disable this connection. Adapter IP address IP address Default EtherNet/IP port is 44818 and Port Port: 1 to 65535 Instance number 1 to 2147483647 Data size O->T: 0 to 496...
  • Page 33: Modbus Rtu/Ascii Settings

    MGate 5105-MB-EIP MGate Manager Configuration Modbus RTU/ASCII Settings According to the Modbus RTU/ASCII settings, the MGate 5105-MB-EIP will act as a Modbus master or Modbus slave in order to communicate with your Modbus RTU/ASCII devices. For Slave mode, the MGate acts as a slave and waits for the incoming connection from the Modbus master.
  • Page 34 MGate 5105-MB-EIP MGate Manager Configuration Parameters Description Initial delay Some Modbus slaves may take more time to boot up than other devices. In some environments, this may cause the entire system to suffer from repeated exceptions during the initial boot-up. You can force the MGate to wait after booting up before sending the first request with the “Initial Delay”...
  • Page 35: Modbus Tcp Settings

    MGate 5105-MB-EIP MGate Manager Configuration Parameters Description Name Enter a name to help to identify the command, such as the location, function etc. Slave ID The Modbus slave ID that this slave module will accept. 0: Broadcasting 1–255: Device specific Function code When a message is sent from a Client to a Server device, the function code field tells the server what kind of action to perform.
  • Page 36 MGate 5105-MB-EIP MGate Manager Configuration Slave Mode Settings The MGate 5105-MB-EIP supports Modbus slave mode, which means the MGate will work as a server and wait for incoming connection requests. The default TCP listen port is 502. In this mode, the MGate will wait for incoming Modbus TCP requests and use the internal memory as the slave register to respond.
  • Page 37 MGate 5105-MB-EIP MGate Manager Configuration To add a new command or modify the existing one, click the Add button or Modify button and a new dialog box will appear. To remove Modbus commands, select the specific command and then click the Remove button. To communicate with remote Modbus TCP slave devices, specify the Modbus command for each device.
  • Page 38: I/O Data Mapping

    MGate 5105-MB-EIP MGate Manager Configuration 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. Poll interval Polling intervals are in milliseconds, since the module sends all requests in turns, the actual polling interval also depends on the number of requests in the...
  • Page 39: System Settings

    MGate 5105-MB-EIP MGate Manager Configuration System Settings This configuration tab includes several system level settings, such as security, alarm, and information log. Most of these settings are optional. Accessible IP Settings These settings are used to restrict access to the module by IP address. Only IP addresses on the list will be allowed access to the device.
  • Page 40 MGate 5105-MB-EIP MGate Manager Configuration System Log Settings These settings enable the MGate firmware to record important events for future verification. The recorded information can only be displayed in the web console. The available information that can be recorded includes the following events: Parameters Event System...
  • Page 41 MGate 5105-MB-EIP MGate Manager Configuration Parameters Description Mail server The mail server’s domain name or IP address. User name This field is for your mail server’s user name, if required. Password This field is for your mail server’s password, if required. From e-mail address This is the e-mail address from which automatic e-mail warnings will be sent.
  • Page 42 MGate 5105-MB-EIP MGate Manager Configuration SNMP Agent Settings Parameters Description SNMP To enable the SNMP Agent function, select the Enable option, and enter a community name (e.g., public). Contact name The optional SNMP contact information usually includes an emergency contact name and telephone or pager number.
  • Page 43 MGate 5105-MB-EIP MGate Manager Configuration Parameters Description Message transmit Default is 30 seconds. The allowable range is from 5 through 32,768 seconds. interval Misc. Settings This page includes console settings, password and relay output. Console Settings Parameters Value Description HTTP/HTTPS Enable/Disable This setting is to enable/disable the web console.
  • Page 44: Load Default

    MGate 5105-MB-EIP MGate Manager Configuration Load Default To clear all the settings on the unit, use the Load Default button to reset the unit to its initial factory default values. Click Load Default and review the confirmation message. If you are sure you would like to reset the configuration to factory defaults, click the OK button.
  • Page 45: Upgrade Firmware

    MGate 5105-MB-EIP MGate Manager Configuration Upgrade Firmware Firmware updates for the MGate 5105-MB-EIP are located at www.moxa.com. After you have downloaded the new firmware onto your PC, you can use MGate Manager to write it onto your MGate 5105-MB-EIP. Select the desired unit from the list in MGate Manager and click Upgrade Firmware to begin the process.
  • Page 46: Import/Export

    MGate 5105-MB-EIP MGate Manager Configuration ATTENTION DO NOT turn off the MGate power before the firmware upgrade progress completes. 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 47: Export Function

    MGate 5105-MB-EIP MGate Manager Configuration Export Function The export function saves all the configuration settings and parameters of the MGate 5105-MB-EIP in a *.ini file. To begin, click the Export button. Enter a file name and use the Browse button to save the file to a specific path. Then, click the OK button. If you export the configuration file successfully, a confirmation message will pop up and the configuration file will be saved as a *.ini file 3-27...
  • Page 48: Import Function

    MGate 5105-MB-EIP MGate Manager Configuration Import Function Once the file is saved, it can be imported into your target unit to duplicate the same settings. Select the target unit first and click the Import button to import. Select the file you want to import, and then click the OK button Wait for the MGate Manager to finish configuring the target device.
  • Page 49: Off-Line Configuration

    MGate 5105-MB-EIP MGate Manager Configuration Off-Line Configuration Create or modify the configuration file manually through MGate Manager by first generating the configuration file with the Export function. The file generated by this function can also be used for the Import function. To use this function, click the Off-Line Configuration button to load the configuration window.
  • Page 50: Web Console Configuration And Troubleshooting

    Web Console Configuration and Troubleshooting The following topics are covered in this chapter:  Overview  Common Settings  Protocol Settings  System Management  System Monitoring...
  • Page 51: Overview

    MGate 5105-MB-EIP Web Console Configuration and Troubleshooting Overview The MGate 5105-MB-EIP supports configuration and troubleshooting by web console. This chapter will focus only on the settings that can be configured by web console. These include monitoring and troubleshooting functionalities such as how to check I/O data transmission, troubleshoot configurations, run diagnostics, etc. More detailed information about other configuration settings can be found in Chapter 3.
  • Page 52: Common Settings

    MGate 5105-MB-EIP Web Console Configuration and Troubleshooting Common Settings Refer to the appropriate reference section in Chapter 3: MGate Manager Configuration of this user’s manual for each MGate Manager settings page. MGate Manager Settings Page Reference Section in Chapter 3 See Configure Device section Basic Settings Network Settings...
  • Page 53: System Management

    MGate 5105-MB-EIP Web Console Configuration and Troubleshooting System Management System Management – Maintenance – Ping This network testing function is available only in the web console. The MGate gateway will send an ICMP packet through the network to a specified host and the result can be viewed in the web console immediately. System Management –...
  • Page 54: System Monitoring

    MGate 5105-MB-EIP Web Console Configuration and Troubleshooting System Monitoring System Monitoring – System Status – Network Connections Go to Network Connections under System Status to view network connection information. System Monitoring – System Status – System Log System Monitoring – System Status – Relay Status 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 55 MGate 5105-MB-EIP Web Console Configuration and Troubleshooting System Monitoring – System Status – LLDP Tables You can see LLDP related information, including Port, Neighbor ID, Neighbor Port, Neighbor Port Description, and Neighbor System. System Monitoring – Protocol Status – I/O Data View This page displays the internal memory information for input and output data transfers.
  • Page 56 MGate 5105-MB-EIP Web Console Configuration and Troubleshooting System Monitoring – Protocol Status – Diagnose The MGate provides status information for EtherNet/IP, Modbus RUB/ASCII, and Modbus TCP troubleshooting. Verify data or packet counters to make sure the communications are running smoothly.
  • Page 57 MGate 5105-MB-EIP Web Console Configuration and Troubleshooting System Monitoring – Protocol Status – Modbus RTU/ASCII Traffic For troubleshooting or management purposes, you can monitor the Modbus RTU/ASCII data passing through the MGate 5105-MB-EIP on the network. Rather than simply echoing the data, MGate Manager presents the data in an intelligent, easy-to-understand format with clearly designated fields including source, type, destination, contents, and more.

This manual is also suitable for:

Mgate 5105-mb-eip

Table of Contents