Moxa Technologies MGate 5217 Series User Manual

Moxa Technologies MGate 5217 Series User Manual

Hide thumbs Also See for MGate 5217 Series:

Advertisement

Quick Links

MGate 5217 Series User's Manual
Version 1.0, December 2020
www.moxa.com/product
© 2020 Moxa Inc. All rights reserved.

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for Moxa Technologies MGate 5217 Series

  • Page 1 MGate 5217 Series User’s Manual Version 1.0, December 2020 www.moxa.com/product © 2020 Moxa Inc. All rights reserved.
  • Page 2 MGate 5217 Series 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 © 2020 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-2 Hardware ............................2-1 Power Input and Relay Output Pinouts....................2-2 LED Indicators ............................ 2-2 Panel Layouts ............................. 2-3 Dimensions ............................2-4 Pin Assignments ..........................2-4 Mounting the Unit ..........................
  • Page 4: Introduction

    Introduction Welcome to the MGate 5217 line of Modbus-to-BACnet/IP gateways. All models feature easy protocol conversion between Modbus RTU/ASCII, Modbus TCP, and BACnet/IP protocols. This chapter is an introduction to the MGate 5217. The following topics are covered in this chapter: ...
  • Page 5: Overview

    All models are DIN-rail mountable and comes with built-in serial isolation. The rugged design is suitable for industrial applications such as critical power and HVAC systems. Package Checklist All models of the MGate 5217 Series are shipped with the following items: Standard Accessories: •...
  • Page 6: Hardware

    Hardware The following topics are covered in this chapter:  Power Input and Relay Output Pinouts  LED Indicators  Panel Layouts  Dimensions  Pin Assignments  Mounting the Unit  Wall or Cabinet Mounting  Reset Button  Pull-high, Pull-low, and Terminator for RS-485...
  • Page 7: Power Input And Relay Output Pinouts

    MGate 5217 Series UM Hardware Power Input and Relay Output Pinouts V2+L V2-N V1+L V1-N Shielded AC/DC Power AC/DC Power AC/DC Power AC/DC Power Relay Output Relay Output Ground Input 2 Input 2 Input 1 Input 1 LED Indicators Name...
  • Page 8: Panel Layouts

    MGate 5217 Series UM Hardware Panel Layouts The MGate 5217 has two RJ45 Ethernet ports and two DB9 serial ports for connecting to devices.
  • Page 9: Dimensions

    MGate 5217 Series UM Hardware Dimensions Unit: mm (inch) Pin Assignments Serial Port (DB9 Male) RS-232 RS-422/RS-485 RS-485 (2W) (4W) TxD- – TxD+ – RxD+ Data+ RxD- Data- – – – – – – – – – *Signal ground Ethernet Port (RJ45)
  • Page 10: Mounting The Unit

    STEP 4: Connect the 12 to 48 VDC or 24 VAC power source to terminal block power input. Wall or Cabinet Mounting Mounting the MGate 5217 Series on to a wall requires two screws. The heads of the screws should be 5 to 7 mm in diameter, the shafts should be 3 to 4 mm in diameter, and the length of the screws should be more than 10.5 mm.
  • Page 11 MGate 5217 Series UM Hardware Pull-high, Pull-low, and Terminator for RS-485 Remove the MGate 5217’s top cover where you will find the DIP switches to adjust each serial port’s pull- high resistor, pull-low resistor, and terminator. Serial port1/port2 can be adjusted by SW1/SW2, respectively.
  • Page 12: Getting Started

    Getting Started The following topics are covered in this chapter:  Connecting the Power  Connecting Serial Devices  Connecting to a Network  Installing DSU Software  Logging in to the Web Console...
  • Page 13: Connecting The Power

    MGate 5217 Series UM Getting Started Connecting the Power The unit can be powered by connecting a power source to the terminal block: 1. Loosen or remove the screws on the terminal block. 2. Turn off the power source and then connect a 12–48 VDC or 24 VAC power line to the terminal block.
  • Page 14: Logging In To The Web Console

    MGate 5217 Series UM Getting Started The DSU window should appear as shown below. Click Search and a new Search window will pop up. Logging 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 Microsoft Internet Explorer or Google Chrome to connect to the MGate, using the HTTP/HTTPS protocol.
  • Page 15: Web Console Configuration And Troubleshooting

    Web Console Configuration and Troubleshooting This chapter provides a quick overview of how to configure the MGate 5217 by web console. The following topics are covered in this chapter:  Overview  Basic Settings  Network Settings  Serial Settings ...
  • Page 16: Overview

    MGate 5217 Series UM Web Console Configuration and Troubleshooting Overview This section gives an overview of the MGate 5217 information. Basic Settings On this webpage, you can change the name of the device and time zone settings. Server Setting Parameter...
  • Page 17: Network Settings

    MGate 5217 Series UM Web Console Configuration and Troubleshooting Parameter Value Description Time Server IP or Domain address This optional field specifies your time server’s IP address (e.g., 192.168.1.1 or or domain name if a time server is used on your network.
  • Page 18: Protocol Settings

    MGate 5217 Series UM Web Console Configuration and Troubleshooting Parameter Value Description Flow control None, The RTS Toggle will turn off RTS RTS/CTS, signal when there is no data to be RTS Toggle sent. If there is data to be sent,...
  • Page 19: Protocol Settings-Configure Mgate's Role 1 And Role 2

    MGate 5217 Series UM Web Console Configuration and Troubleshooting Protocol Settings—Configure MGate’s Role 1 and Role 2 The following shows the way to configure each role: A1. Modbus TCP Client (Master) Settings A2. Modbus RTU Master Settings A3. BACnet/IP Server Settings A1.
  • Page 20 MGate 5217 Series UM Web Console Configuration and Troubleshooting Parameter Value Default Description Response 10 to 120000 1000 The time taken by a slave device to respond to a request is timeout defined by the device manufacturer based on the Modbus standard.
  • Page 21 MGate 5217 Series UM Web Console Configuration and Troubleshooting Add Modbus Commands Parameter Value Default Description Enable Enable Enable Enable: The command is active. Name (an alphanumeric string) Command1 Max. 32 characters Data Format boolean boolean Boolean: 0 or 1.
  • Page 22 MGate 5217 Series UM Web Console Configuration and Troubleshooting Parameter Value Default Description Poll interval 100 to 1200000 ms 1000 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 queue and their parameters.
  • Page 23 MGate 5217 Series UM Web Console Configuration and Troubleshooting Parameters Value Description Relinquish default -1000000000 to If there are no commanded values in the priority array, 10000000000 the present value will be changed to relinquish the default. COV increment 1 to 10000000000 COV will be triggered when |Current Reported Value - Last Reported Value| >...
  • Page 24 MGate 5217 Series UM Web Console Configuration and Troubleshooting Parameter Value Default Description Response timeout 10 to 120000 1000 The time taken by a slave device to respond to a request is defined by the device manufacturer, based on the Modbus standard. A Modbus master can be configured to wait a certain amount of time for a server/slave’s response.
  • Page 25 MGate 5217 Series UM Web Console Configuration and Troubleshooting After creating a Modbus device, we should configure the Modbus commands by double-clicking the device list or pressing the Edit icon. Then, click the Add icon to configure the Modbus commands.
  • Page 26 MGate 5217 Series UM Web Console Configuration and Troubleshooting Parameter Value Default Description Data Format boolean boolean Boolean: 0 or 1. uint16 Uint16: Unsigned integer with 16 bits. int16 Int16: Signed integer with 16 bits. uint32 Uint32: Unsigned integer with 32 bits.
  • Page 27 MGate 5217 Series UM Web Console Configuration and Troubleshooting After completing the above settings, the Modbus command should be converted to BACnet object, which needs to be configured. Parameters Value Description Convert to BACnet object Analog input Select the BACnet object type for this configured...
  • Page 28 MGate 5217 Series UM Web Console Configuration and Troubleshooting A3. BACnet/IP Server Settings The MGate gateway supports BACnet/IP server only. In BACnet/IP server mode, assign the Device name, Device instance, Network number, and BACnet/IP port. If the MGate and monitor system are not in the same subnet, the MGate provides a technology called BBMD –BACnet/IP Broadcast Management Device—that can forward broadcast messages to different subnet...
  • Page 29: Protocol Settings-I/O Data Mapping

    MGate 5217 Series UM Web Console Configuration and Troubleshooting Protocol Settings—I/O Data Mapping After you have configured Role 1 and Role 2 (client/master and server/slave) of the MGate settings, the SCADA/DDC in the BACnet/IP client role will start monitoring and controlling the remote Modbus slave device.
  • Page 30: System Management

    MGate 5217 Series UM Web Console Configuration and Troubleshooting System Management System Management—Accessible IP List The Accessible IP List function allows you to add or block remote host IP addresses to prevent unauthorized access. Access to the MGate 5217 is controlled by IP address. That is, if a host’s IP address is in the accessible IP table, then the host will be allowed to access the MGate 5217.
  • Page 31: System Management-System Log Settings

    MGate 5217 Series UM Web Console Configuration and Troubleshooting System Management—System Log Settings These settings enable the MGate firmware to record important events for future verification. The recorded information can only be shown on the System Log page. The available information that can be recorded includes the following events:...
  • Page 32: System Management-Auto Warning Settings

    MGate 5217 Series UM Web Console Configuration and Troubleshooting System Management—Auto Warning Settings Auto Warning is triggered by different events. When a checked trigger event occurs, the MGate can send email alerts, SNMP Trap messages, or open/close the circuit of the relay output and trigger the Fault LED to start blinking.
  • Page 33: System Management-Snmp Trap

    MGate 5217 Series UM Web Console Configuration and Troubleshooting System Management—SNMP Trap Along with activating the Trap function from events on the Auto Warning Settings page, the SNMP Trap should be set up. Parameters Description SNMP trap server IP Use this field to indicate the IP address to use for receiving SNMP traps.
  • Page 34: System Management-Lldp Settings

    MGate 5217 Series UM Web Console Configuration and Troubleshooting Read-only and Read/Write Access Control While selecting SNMP agent V3, the read-only and read/ write access control parameters need to be configured. The following fields allow you to define usernames, passwords, and authentication parameters for two levels of access: read-only and read/write.
  • Page 35 MGate 5217 Series UM Web Console Configuration and Troubleshooting For importing the third-party trusted SSL certificate: By importing the third-party trusted SSL certificate, the security level can be enhanced. A snapshot of the GUI for the web console is shown below. To generate the SSL certificate through the third party, here are...
  • Page 36: System Management-Misc. Settings

    MGate 5217 Series UM Web Console Configuration and Troubleshooting System Management—Misc. Settings This page includes console settings, password and relay output. System Management—Misc. Settings—Console Settings Configuration Value Description HTTP/HTTPS Enable/Disable This setting is to enable/disable the web console. For security issues, users can only enable the HTTPS or just disable all settings.
  • Page 37 MGate 5217 Series UM Web Console Configuration and Troubleshooting System Management—Misc. Settings—Notification Message Users can input a message for Login or for Login authentication failure message. System Management—Misc. Settings—Account Management Parameters Value Description Account admin, user Users can modify the password for different accounts. MGate provides two different level accounts: admin and user.
  • Page 38: System Management-Maintenance

    MGate 5217 Series UM Web Console Configuration and Troubleshooting System Management—Misc. Settings—Login Password Policy Account Password Policy Value Description Minimum length 4-16 The minimum password length of the password Enable password complexity Select how the MGate checks the password’s strength...
  • Page 39 MGate 5217 Series UM Web Console Configuration and Troubleshooting System Management—Maintenance—Firmware Upgrade Firmware updates for the MGate 5217 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 5217. Select the desired unit from the list in the web console and click Submit to begin the process.
  • Page 40: System Monitoring (Troubleshooting)

    MGate 5217 Series UM Web Console Configuration and Troubleshooting System Management—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 of the parameters you have saved will be discarded.
  • Page 41 MGate 5217 Series UM Web Console Configuration and Troubleshooting System Monitoring—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. You can view the relay status on this page.
  • Page 42 MGate 5217 Series UM Web Console Configuration and Troubleshooting Modbus TCP Diagnostics BACnet/IP Diagnostics System Monitoring—Protocol Status—Traffic Modbus RTU/ASCII/TCP Traffic For troubleshooting or management purposes, you can monitor the Modbus RTU/ASCII/TCP data passing through the MGate 5217 on the network. Rather than simply echoing the data, Traffic features the data in an intelligent, easy-to-understand format with clearly designated fields, including type, destination, contents, and more.
  • Page 43 MGate 5217 Series UM Web Console Configuration and Troubleshooting BACnet/IP Traffic You can monitor the BACnet/IP data passing through the MGate 5217 on the network. The completed logs can be saved to TXT file or PCAP file for later analysis.
  • Page 44: Configuration (Text Mode Console)

    Configuration (Text Mode Console) The MGate 5217 supports a text-mode console with the Telnet protocol. The user interface is the same in all text mode consoles. Note that the text mode console does not support all configuration items. Some parameters must be configured through the web console. For Telnet, use HyperTerminal or PuTTY to connect to the MGate.
  • Page 45: Network Management Tool (Mxstudio)

    Network Management Tool (MXstudio) This chapter provides an overview of Moxa’s MXstudio industrial network management suite. The following topics are covered in this chapter:  MXview  MXconfig...
  • Page 46: Mxview

    IEC 62443 component-level recommendations. Security View checks the security level of Moxa’s network devices, including MGate 5217 Series. Before adding the MGate 5217 devices to the MXview utility, you must add the plug-in package to MXview via Plug-in Manager.
  • Page 47 MGate 5217 Series UM Network Management Tool (MXstudio) Before configuring the MGate 5217 devices via MXconfig utility, you must add the plug-in package to MXconfig. You can download the plug-in package in the product page and execute plug-in package with just a few clicks.
  • Page 48: Modbus Configuration Import/Export

    Modbus Configuration Import/Export The MGate 5217 provides Modbus Configuration Import/Export feature. On a large scale, you may connect lots of Modbus devices, which have to configure lots of Modbus commands to get data. The MGate provides the Master Configuration Import/Export feature, which help you easily edit massive Modbus commands through Excel to save configuration time.
  • Page 49 MGate 5217 Series UM Modbus Configuration Import/Export Parameters Value Description Remark initDelay 0 to 30000 Some Modbus servers/slaves may take more Suggested value: 0 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.
  • Page 50 MGate 5217 Series UM Modbus Configuration Import/Export Parameters Value Description Remark devName Enter a name to help you to identify the Up to 39 characters alphanumeric Modbus device string) devIpAddr (other 32-bit Modbus TCP server device’s IP address number) devPort 1 to 65535 Modbus TCP server’s port number...
  • Page 51 MGate 5217 Series UM Modbus Configuration Import/Export Parameters Value Description Remark Byte Byte: 0x0A, 0x0B, 0x0C, 0x0D become - If 0x0B, 0x0A, 0x0D, 0x0C. cmdDataFormat=boolean, Word: 0x0A, 0x0B, 0x0C, 0x0D become cmdEndianSwap=* Word - If 0x0C, 0x0D, 0x0A, 0x0B. cmdDataFormat=uint16,...
  • Page 52 MGate 5217 Series UM Modbus Configuration Import/Export Parameters Value Description Remark cmdFaultProtTout Defines the communication timeout for the - If opposite side. cmdFaultProtType=Keep latest data, cmdFaultProtTout=* 0 to 65535 - If cmdFaultProtType= Clear all data bits to 0, cmdFaultProtTout=0 -...
  • Page 53 MGate 5217 Series UM Modbus Configuration Import/Export Parameters Value Description Remark bacnetUnit If bacnetObjectType =Binary Input, Binary Value, Binary Output, Multi-state Input, Multi- state Output, bacnetUnit=*= no-units (95) The codes of units can 0 to 254 While selecting a nonbinary value, the...
  • Page 54 MGate 5217 Series UM Modbus Configuration Import/Export Codes for bacnetUnit square-meters (0), pascals (53), currency2 (106), square-feet (1), kilopascals (54), currency3 (107), milliamperes (2), bars (55), currency4 (108), amperes (3), pounds-force-per-square-inch currency5 (109), ohms (4), (56), currency6 (110), volts (5),...
  • Page 55 MGate 5217 Series UM Modbus Configuration Import/Export milliseconds (159), kilograms-per-kilogram (209), pounds-mass-per-day (47812), grams-per-kilogram (210), millirems (47814), newton-meters (160), millimeters-per-second (161), milligrams-per-gram (211), millirems-per-hour (47815), millimeters-per-minute (162), grams-per-milliliter (213), meters-per-minute (163), grams-per-liter (214), meters-per-hour (164), milligrams-per-liter (215), cubic-meters-per-minute (165), micrograms-per-liter (216),...
  • Page 56: Snmp Agents With Mib Ii And Rs-232-Like Groups

    SNMP Agents with MIB II and RS-232- Like Groups The MGate 5217has built-in Simple Network Management Protocol (SNMP) agent software that supports SNMP Trap, RFC1317 and RS-232-like groups, and RFC 1213 MIB-II.The following topics are covered in this appendix: The following topics are covered in this appendix: ...
  • Page 57: Rfc1213 Mib-Ii Supported Snmp Variable

    MGate 5217 Series UM SNMP Agents with MIB II and RS-232-Like Groups RFC1213 MIB-II Supported SNMP Variable System MIB Interfaces MIB IP MIB ICMP MIB sysDescr ifNumber ipForwarding icmpInMsgs sysObjectID ifIndex ipDefaultTTL icmpInErrors sysUpTime ifDescr ipInReceives icmpInDestUnreachs sysContact ifType ipInHdrErrors...
  • Page 58: Rfc1317 Rs-232-Like Groups

    MGate 5217 Series UM SNMP Agents with MIB II and RS-232-Like Groups Address TCP MIB UDP MIB SNMP MIB Translation MIB atIfIndex tcpRtoAlgorithm udpInDatagrams snmpInPkts atPhysAddress tcpRtoMin udpNoPorts snmpOutPkts atNetAddress tcpRtoMax udpInErrors snmpInBadVersions tcpMaxConn udpOutDatagrams snmpInBadCommunityNames tcpActiveOpens udpLocalAddress snmpInBadCommunityUses tcpPassiveOpens...

Table of Contents