background image

MGate 5111 

Web Console Configuration 

 

4-14 

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: 

 

Event Group   

Description   

System   

System Cold Start, System Warm Start   

Network 

DHCP/BOOTP get IP/renew, NTP connect fail, IP conflict, Network link down 

Configuration  

Login Fail, IP Changed, Password Changed, Firmware Upgrade, SSL Certificate 
Import, Configuration Import/Export   

PROFIBUS 

PROFIBUS communication logs 

Modbus TCP  

Modbus TCP Communication logs  

EtherNet/IP 

EtherNet/IP communication logs 

PROFINET 

PROFINET communication logs 

 

Local Log Settings   

Description   

Enable log capacity warning (%)  

When the log amount exceeds the warning 
percentage, it will trigger an event to SNMP Trap or 
Email.   

Warning by   

SNMP Trap  
Email   

Event log oversize action  

Overwrites the oldest event log  
Stops recording event log  

Syslog Settings   

Description   

Syslog server IP  

IP address of a server which will record the log data.  

Syslog server port   

514  

Summary of Contents for 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: ... this manual or to the products and or the programs described in this manual at any time Information provided in this manual is intended to be accurate and reliable However Moxa assumes no responsibility for its use or for any infringements on the rights of third parties that may result from its use This product might include unintentional technical or typographical errors Changes are periodically...

Page 3: ...Select Protocol 2 11 Step 3 PROFIBUS Slave Settings 2 12 Step 4 Modbus TCP Settings 2 13 Step 5 Finish 2 14 3 Device Search Utility 3 1 Installing the Software 3 2 Starting the Device Search Utility DSU 3 5 Broadcast Search 3 6 Search IP 3 7 Locate 3 8 Assign IP 3 8 Unlock 3 8 Import Export 3 9 Upgrading the Firmware 3 9 4 Web Console Configuration 4 1 Overview 4 2 Basic Settings 4 2 Network Setti...

Page 4: ......

Page 5: ... IP to PROFIBUS slave protocols 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 Package Checklist Product Features ...

Page 6: ...itor for easy troubleshooting especially during the installation stage Communication issues could be caused by incorrect software parameters such as slave ID and register address or incorrect command configuration With Protocol Diagnose and Traffic Monitor you can check the captured data and easily identify the root cause The MGate 5111 Series of gateways also supports status monitoring and fault ...

Page 7: ...n traffic monitoring diagnostics status monitoring and fault protection Built in Ethernet cascading for easy wiring Redundant dual DC power inputs and relay output supported microSD card for configuration backup duplication and event log Serial port with 2 kV built in isolation protection 40 to 75 C wide operating temperature models available Security features based on IEC 62443 ...

Page 8: ...nstalling the Software Optional Wiring Requirements LED Indicators Dimensions Pull Up Down Resistors for RS 485 Modbus Pin Assignments Power Input and Relay Output Pinouts Hardware Installation Specifications microSD Card Backing Up a Configuration Configuring an MGate Mass deployment Replacement microSD card Write Failure Quick Setup Step 1 System Setting Step 2 Select Protocol Step 3 PROFIBUS Sl...

Page 9: ...nnecting Serial Devices The unit s serial port s are located on the front panel If you are connecting an RS 485 multidrop network with multiple devices note the following All devices that are connected to a single serial port must use the same protocol i e either Modbus RTU or Modbus ASCII For serial port pin assignments refer to the Pin Assignments section Connecting to a Host or the Network Two ...

Page 10: ...tly the board may be too hot to touch You should also observe the following common wiring rules Use separate paths to route wiring for power and devices If power wiring and device wiring paths must cross make sure the wires are perpendicular at the point of intersection NOTE Do not run signal or communication wiring and power wiring in the same wire conduit To avoid interference wires with differe...

Page 11: ...responding 3 TCP connection timeout Modbus TCP Server 1 Received an invalid function code or framing error parity error checksum error 2 Accessed invalid register address or coil address EtherNet IP Adapter The connection was refused due to incorrect configuration Off No communication MB Green Flashing only Modbus is receiving or transmitting data Red Flashing only A communication error occurred M...

Page 12: ...tch 3 on the port s assigned DIP switch to ON set switch 3 to OFF the default setting to disable the termination resistor To set the pull up down resistors to 150 KΩ set switches 1 and 2 on the port s assigned DIP switch to OFF This is the default setting 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 dow...

Page 13: ...hat is selected by software RS 232 RS 422 and RS 485 both 2 and 4 wire RJ45 Ethernet Console Pin Ethernet Console RS 232 1 Tx DSR 2 Tx RTS 3 Rx GND 4 TxD 5 RxD 6 Rx DCD 7 CTS 8 DTR Male DB9 Serial port Pin RS 232 RS 422 RS 485 4W RS 485 2W 1 DCD TxD A 2 RxD TxD B 3 TxD RxD B Data B 4 DTR RxD A Data A 5 GND GND GND 6 DSR 7 RTS 8 CTS 9 Signal ground PROFIBUS Port Female DB9 Pin CAN 1 N C 2 N C 3 PRO...

Page 14: ...wo mounting options Specifications Industrial Protocols Protocols PROFIBUS Modbus RTU ASCII TCP PROFINET EtherNet IP Protocol Conversion Modbus RTU ASCII Master Slave to PROFIBUS slave Modbus TCP Client Server to PROFIBUS slave EtherNet IP Adapter to PROFIBUS slave PROFINET IO Device to PROFIBUS slave Ethernet Interface Protocols Modbus TCP Client Server PROFINET IO device EtherNet IP Adapter Numb...

Page 15: ... Number of Connections MGate as Modbus TCP Client 32 connections MGate as Modbus TCP Server 16 connections Max Total I O Data Size Input 2048 bytes Output 2048 bytes EtherNet IP Interface Class Adapter CIP Objects Supported Identity Message Router Assembly Connection Manager TCP IP interface Ethernet link Port Max Number of Connections MGate as Adapter 1 connection for read write 1 connection for ...

Page 16: ... V m IEC 61000 4 4 EFT Power 4 kV Signal 4 kV IEC 61000 4 5 Surge Power 2 kV Signal 2 kV IEC 61000 4 6 CS 150 kHz to 80 MHz 10 V m IEC 61000 4 8 PFMF 30 A m Reliability Alarm Functions Relay email SNMP trap Alert Tools Built in buzzer MTBF mean time between failures Time 718 131 hrs Standard Telcordia SR332 Warranty Warranty Period 5 years Details See www moxa com warranty microSD Card The MGate 5...

Page 17: ...card to experience a write failure 1 The microSD card has less than 20 MB of free space 2 The MGate configuration file is read only 3 The microSD card s file system is corrupted 4 The microSD card is damaged The MGate gateway will halt the write action if any of the above conditions exists The MGate s Ready LED will flash and the beeper will sound to inform the user of the write failure If you are...

Page 18: ... set as a Modbus TCP Server the MGate will then automatically configure as a Modbus TCP Client by itself Regarding protocol configuration please refer to chapter 4 Example of Role 1 and Role 2 After finishing the device protocol selection Role 1 and Role 2 of the MGate will be set accordingly You will need to configure the details on each side with the following steps Here is an example of Role 1 ...

Page 19: ...MGate 5111 Getting Started 2 12 Step 3 PROFIBUS Slave Settings For details please refer to Protocol Settings ...

Page 20: ...MGate 5111 Getting Started 2 13 Step 4 Modbus TCP Settings For details please refer to Protocol Settings ...

Page 21: ...gurations 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 If all of them are correct press Save to make the settings effective ...

Page 22: ...earch 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: ...dsu_setup_ Version _Build_ DateTime exe The latest version might be named dsu_setup_Ver2 0_Build_xxxxxxxx exe for example 2 You will be greeted by the Welcome window Click Next to continue 3 When the Select Destination Location window appears click Next to continue You may change the destination directory by clicking on Browse 4 When the Select Additional Tasks window appears click Next to continu...

Page 24: ...MGate 5111 Device Search Utility 3 3 5 Click Install to start copying the software files ...

Page 25: ...pear 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 8 You may also open the DSU through Start Programs MOXA DSU as shown below ...

Page 26: ...configuration purposes Refer to Chapter 2 for more details You may open the DSU from the Windows Start menu by clicking Start Programs MOXA DSU The DSU window should appear as shown below 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 t...

Page 27: ...lick 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 configure ...

Page 28: ...uble click a unit to open the web console ATTENTION If Search IP fails to locate the MGate 5111 the IP address that you entered might be incorrect Retry the search and reenter the 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 su...

Page 29: ...use 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 are admin and Moxa ...

Page 30: ...ptop or export the currently used unit s configuration file to a laptop Upgrading the Firmware 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: ...chapter Overview Basic Settings Network Settings Serial Settings Protocol Settings System Management Accessible IP Settings DoS Defense System Log Settings Auto Warning Settings E mail Alert Settings SNMP Trap Settings SNMP Agent Settings LLDP Settings Certificate Misc Settings Maintenance System Monitoring System Status Protocol Status Fault Protection and Status Monitoring Restart Logout MXview ...

Page 32: ...unt name and password The default Account name and Password are admin and moxa respectively 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 Set...

Page 33: ... to the Time Zone Parameter Value Description Time Zone User s selectable time zone This field shows the currently selected time zone and allows you to select a different time zone Local Time User s adjustable time 1900 1 1 2037 12 31 Time Server IP or Domain address e g 192 168 1 1 or time stdtime gov tw This optional field specifies your time server s IP address or domain name if a time server i...

Page 34: ...rver 2 0 0 0 0 or another 32 bit number This is the IP address of the secondary domain name server Serial Settings The Serial tab is where each serial port s communication parameters are configured You can configure Baudrate Parity Stop Bit Flow Control FIFO Interface RTS on delay and RTS off delay Parameter Value Baudrate 50 bps to 921600 bps Parity None Odd Even Space Mark Stop Bits 1 2 Flow Con...

Page 35: ...ed The setting of each protocol is described as follows 1 PROFIBUS Slave Slave Settings Parameter Value Default Description Slave address PROFIBUS address 0 99 addresses 100 to 125 supported by SW Depends on the rotary switch Before any communication you must assign a slave ID to the PROFIBUS slave If you would like to assign an address between 0 99 you need to change the rotary switch to the desi...

Page 36: ...2 Modbus TCP Client Master Settings Client Settings Parameter Value Default Description Initial delay 0 30000 ms 0 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 After booting up you can force the MGate to wait before sending the first request with the Initial De...

Page 37: ...e response timeout Add Modbus Commands Parameter Value Default Description Name an alphanumeric string Command1 Max 32 characters Slave IP address 0 0 0 0 255 255 255 255 0 0 0 0 The IP address of a remote slave device Port 1 65535 502 The TCP port number of a remote slave device Slave ID 1 255 1 The Modbus slave ID Function 1 Read Coils 2 Read Discrete Inputs 3 Read Holding Registers 4 Read Input...

Page 38: ...C 0x0D 0x0A 0x0B ByteWord 0x0A 0x0B 0x0C 0x0D becomes 0x0D 0x0C 0x0B 0x0A Read starting address 0 65535 0 Modbus register address Read quantity 10 Specifying how many quantities to read Write starting address 0 65535 0 Modbus register address Write quantity 1 Specifying how many quantities to write Fault protection Keep latest data Clear all data bits to 0 Set to user defined value If the opposite...

Page 39: ... 4 9 3 Modbus TCP Server Slave Settings Server Settings Parameter Value Default Description Unit ID 1 255 1 The Modbus slave ID that this slave module will accept TCP port 1 65535 502 The TCP port number 4 Modbus RTU ASCII Master Settings ...

Page 40: ...uest and continue operation 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 Please refer to your device manufacturer s documentation to manually set the response time Inter frame delay only for Modbus ...

Page 41: ... IP Adapter Setting The MGate 5111 supports Adapter mode for EtherNet IP protocol 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 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 ...

Page 42: ...em Management This configuration tab includes several system level settings 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 You may add a specific address or range of addresses by using a combination of IP address and netmask as follows ...

Page 43: ...ation examples are shown in the following table 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 1 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 DoS Defe...

Page 44: ...n Login Fail IP Changed Password Changed Firmware Upgrade SSL Certificate Import Configuration Import Export PROFIBUS PROFIBUS communication logs Modbus TCP Modbus TCP Communication logs EtherNet IP EtherNet IP communication logs PROFINET PROFINET communication logs Local Log Settings Description Enable log capacity warning When the log amount exceeds the warning percentage it will trigger an even...

Page 45: ... E mail Alert page Likewise to enable SNMP Trap alerts configure SNMP trap server on the SNMP Trap page E mail Alert Settings 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 a...

Page 46: ...MP 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 number Read community string This is a text password mechanism that is used to weakly authenticate queries to agents of managed network devices Write community string This is a text password m...

Page 47: ...ecified level of access Privacy Mode Use this field to enable or disable DES_CBC data encryption for the specified level of access Privacy Use this field to define the encryption key for the specified level of access LLDP Settings The Link Layer Discovery Protocol LLDP standardizes the method that devices on a network use to periodically send information about their configuration and status This s...

Page 48: ...sable all settings Telnet SSH Enable Disable The MGate telnet SSH function can be enabled or disabled Serial console Enable Disable The MGate serial console function can be enabled or disabled Reset button protect Disable after 60 sec Always enable The MGate provides the reset button to clear password or load factory default settings But for security issues users can disable this function In disab...

Page 49: ...od Notification Message Users can input a message for Login or for Login authentication failure message Account Management Parameters Value Description Account admin user Users can modify the password for different accounts Now the MGate provides two different level accounts admin and user The admin account can access and modify all the settings through the web console The user account can only vi...

Page 50: ... 10 time Lockout time 1 60 min 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 Firmware Upgrade Firmware updates for the MGate 5111 are located at www moxa com After you have downloaded the new firmware onto your PC you c...

Page 51: ...s You can export the configuration as a file and then import the configuration file onto other units at any time Backing up configurations for system recovery The export function allows you to export configuration files that can be imported onto other gateways to restore malfunctioning systems within minutes Troubleshooting Exported configuration files can help administrators to identify system pr...

Page 52: ...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 You can view the relay status on this page ...

Page 53: ...lays 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 Diagnose The MGate provides status information for PROFIBUS slave Modbus RTU ASCII Modbus TCP PROFINET and EtherNet IP troubleshooting Verify data or packet counters to make sure the communications are running smoothly P...

Page 54: ...MGate 5111 Web Console Configuration 4 24 Modbus RTU ASCII Diagnose Master Modbus RTU ASCII Diagnose Slave Modbus TCP Diagnose Client Master ...

Page 55: ...s 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 Events can be filtered in different ways and the complete log can be saved to a file for later analysis ...

Page 56: ...ta to the slave device Clear data to zero The gateway will write zero values to the slave device User define value A user defined value will be written to the slave device Status Monitoring The Status Monitoring function provides status information of field devices when the MGate is being used as a Modbus RTU ASCII master or Modbus TCP client If a slave device fails or a cable comes loose generall...

Page 57: ...that supports any third party MIB It also allows you to monitor third party OIDs and Traps Network and Trap components that have been located by MXview can be managed via web browsers from both local and remote sites anytime anywhere MXconfig Moxa s MXconfig is a comprehensive Windows based utility that is used to install configure and maintain multiple Moxa devices in industrial networks This sui...

Reviews: