Table of Contents Introduction ............................5 Overview .............................. 5 Package Checklist ..........................6 Product Features ........................... 6 Getting Started ............................. 7 Connecting Power ..........................7 Connecting Serial Devices ........................7 RS-485 Termination and Pull High/Low Resistors ................8 Connecting to a Host or the Network ....................8 Installing the Software ........................
Page 4
Change Language Setting ......................42 Connecting to the Unit .......................... 43 Broadcast Search ......................... 44 Specify IP Address ........................45 Modifying the Configuration ........................47 Password Protection........................47 Basic Settings ..........................48 Network Settings .......................... 49 Serial Settings ..........................50 Protocol Settings ..........................
In order to integrate Modbus networks, the MGate MB3000 includes an Ethernet port and up to four serial ports that support RS-232, RS-422, and RS-485 communication. It automatically and intelligently translates between Modbus TCP (Ethernet) and Modbus ASCII/RTU (serial) protocols, allowing Ethernet-based PLCs to control instruments over RS-485 without additional programming or effort.
Package Checklist All models in the MGate MB3000 line are shipped with the following items: Standard Accessories 1 MGate MB3000 Modbus gateway • Quick installation guide (printed) • Power adapter (MB3180, MB3280, and MB3480 only) • Warranty card • Optional Accessories DK-35A: DIN-rail mounting kit (35 mm) •...
2. Getting Started This chapter provides basic instructions for installing the MGate MB3000. Connecting Power The unit can be powered using the AC adaptor or by connecting a power source to the terminal block, depending on the model. The following instructions are for the AC adaptor: Plug the connector of the power adapter into the DC-IN jack on the back of the unit.
ATTENTION Do not use the 1 KΩ pull high/low setting on the MGate MB3000 when using the RS-232 interface. Doing so will degrade the RS-232 signals and reduce the effective communication distance. Connecting to a Host or the Network A 10/100BaseT Ethernet port is located on the unit’s front panel.
100 Mbps Ethernet connection. Ethernet cable is disconnected, or has a short. Amber Serial port is receiving data. Green Serial port is transmitting data. No data is being transmitted or received through the serial port. Dimensions MGate MB3000 Modbus Gateway User Manual...
To set the pull high/low resistors to 1 KΩ, short jumpers JP3 and JP4 with jumper caps. ATTENTION Do not use the 1 KΩ pull high/low setting on the MGate MB3000 when using the RS-232 interface. Doing so will degrade the RS-232 signals and reduce the effective communication distance.
50 bps to 921.6 Kbps Software Features Operation Mode RTU Slave, RTU Master, ASCII Slave, ASCII Master Utilities MGate Manager Multi-Masters and Multi- 16 simultaneous TCP masters, 32 simultaneous requests for each TCP master Request MGate MB3000 Modbus Gateway User Manual...
Page 13
EN 61000-4-4 (EFT) Level 2, EN 61000-4-5 (Surge) Level 2, EN 61000-4-6 (CS) Level 2, EN 61000-4-8 (PFMF) Level 1, EN 61000-4-11 Reliability MTBF (mean time between MGate M3180: 908,440 hrs failures) Warranty Period 5 years MGate MB3000 Modbus Gateway User Manual...
100 Mbps Ethernet connection. Ethernet cable is disconnected, or has a short. Amber Serial port is receiving data. P1/P2 Green Serial port is transmitting data. No data is being transmitted or received through the serial port. Dimensions MGate MB3000 Modbus Gateway User Manual...
Switch 4 on the port's assigned DIP switch is reserved. ATTENTION Do not use the 1 KΩ pull high/low setting on the MGate MB3000 when using the RS-232 interface. Doing so will degrade the RS-232 signals and reduce the effective communication distance.
50 bps to 921.6 Kbps Software Features Operation Mode RTU Slave, RTU Master, ASCII Slave, ASCII Master Utilities MGate Manager Multi-Masters and Multi- 16 simultaneous TCP masters, 32 simultaneous requests for each TCP master Request MGate MB3000 Modbus Gateway User Manual...
Page 18
EN 61000-4-4 (EFT) Level 2, EN 61000-4-5 (Surge) Level 2, EN 61000-4-6 (CS) Level 2, EN 61000-4-8 (PFMF) Level 1, EN 61000-4-11 Reliability MTBF (mean time between MGate M3280: 749,455 hrs failures) Warranty Period 5 years MGate MB3000 Modbus Gateway User Manual...
Ethernet cable is disconnected, or has a short. Amber Serial port is receiving data. P1, P2, P3, P4 Green Serial port is transmitting data. No data is being transmitted or received through the serial port. Dimensions MGate MB3000 Modbus Gateway User Manual...
To set the pull high/low resistors to 1 KΩ, set switches 1 and 2 on the port’s assigned DIP switch to ATTENTION Do not use the 1 KΩ pull high/low setting on the MGate MB3000 when using the RS-232 interface. Doing so will degrade the RS-232 signals and reduce the effective communication distance.
50 bps to 921.6 Kbps Software Features Operation Mode RTU Slave, RTU Master, ASCII Slave, ASCII Master Utilities MGate Manager Multi-Masters and Multi- 16 simultaneous TCP masters, 32 simultaneous requests for each TCP master Request MGate MB3000 Modbus Gateway User Manual...
Page 23
EN 61000-4-4 (EFT) Level 2, EN 61000-4-5 (Surge) Level 2, EN 61000-4-6 (CS) Level 2, EN 61000-4-8 (PFMF) Level 1, EN 61000-4-11 Reliability MTBF (mean time between MGate M3480: 1,242,173 hrs failures) Warranty Period 5 years MGate MB3000 Modbus Gateway User Manual...
No data is being transmitted or received through the serial port. Steady on: Ethernet fiber connection, but port is idle. Amber Blinking: Fiber port is transmitting or receiving data. Fiber port is not transmitting or receiving data. MGate MB3000 Modbus Gateway User Manual...
Switch 4 on the port’s assigned DIP switch is reserved. ATTENTION Do not use the 1 KΩ pull high/low setting on the MGate MB3000 when using the RS-232 interface. Doing so will degrade the RS-232 signals and reduce the effective communication distance.
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. NOTE Wall mounting is certified for use in maritime applications. The device must be installed more than 60 cm from the compass. MGate MB3000 Modbus Gateway User Manual...
100 Mbps Ethernet connection. Ethernet cable is disconnected, or has a short. Amber Serial port is receiving data. P1, P2 Green Serial port is transmitting data. No data is being transmitted or received through the serial port. MGate MB3000 Modbus Gateway User Manual...
Switch 4 on the port’s assigned DIP switch is reserved. ATTENTION Do not use the 1 KΩ pull high/low setting on the MGate MB3000 when using the RS-232 interface. Doing so will degrade the RS-232 signals and reduce the effective communication distance.
RS-485 (2-wire): Data+, Data-, GND RS-485 (4-wire): Tx+, Tx-, Rx+, Rx-, GND Serial Line Protection 15 kV ESD for all signals Magnetic Isolation Protection 2 kV (for -I model) RS-485 Data Direction Patented ADDC™ MGate MB3000 Modbus Gateway User Manual...
Page 34
EN 61000-4-6 (CS) Level 3, EN 61000-4-8 (PFMF) Level 1, EN 61000-4-11 Marine Shock IEC 60068-2-27 Freefall IEC 60068-2-32 Vibration IEC 60068-2-6 Reliability MTBF (mean time between MGate MB3270: 1,236,384 hrs. failures) Warranty Period 5 years MGate MB3000 Modbus Gateway User Manual...
8. Pin Assignments DB9 (Male) The MGate MB3000 uses DB9 (male) serial ports to connect Modbus RTU or ASCII devices. Each port supports three serial interfaces: RS-232, RS-422, and RS-485 (both 2 and 4-wire). RS-422/ RS-232 RS-485 (2W) RS-485 (4W) TxD- –...
Modbus RTU/ASCII devices for data collection and control, they can rely on the MGate MB3000 Modbus gateway. The MGate MB3000 supports Modbus TCP with up to 16 or 32 simultaneous connections. The serial interface supports both RS-232 and RS-422/485, selectable through software. Each serial port can be connected to one RS-232 or RS-422 serial device, or to 31 RS-485 serial devices.
1.2 km. With the MGate MB3000 Modbus gateway, you can link all Modbus devices over an Ethernet network. Up to 32 Modbus gateways can be installed in a single control network, so each device can now be accessed from anywhere the TCP/IP network can reach.
Installing the Software The following instructions explain how to install MGate Manager, a utility for configuring and monitoring MGate MB3000 units over the network. To install MGate Manager, please download it from Moxa’s website at http://www.moxa.com. Then run the following setup program to begin the installation process: MGM_Setup_[Version]_Build_[DateTime].exe...
Page 39
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 MGate Manager on your desktop. MGate MB3000 Modbus Gateway User Manual...
Page 40
Click Install to start copying the software files. A progress bar will appear. The procedure should take only a few seconds to complete. MGate MB3000 Modbus Gateway User Manual...
Page 41
A message will indicate that MGate Manager is successfully installed. You may choose to run it immediately by selecting Launch MGate Manager. You may also open MGate Manager through Start > Programs > MGate Manager > MGate Manager, as shown below. MGate MB3000 Modbus Gateway User Manual...
MGate Manager is a Windows-based utility that is used to configure the MGate MB3000. Before running MGate Manager, make sure that your PC and the MGate MB3000 are connected to the same network. Alternatively, the MGate MB3000 may be connected directly to the PC for configuration purposes.
MGate Manager 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 every MGate MB3000 on the LAN. Search by 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.
Broadcast Search Click Search and a new Search window will pop up. Select Broadcast Search and click OK to begin searching the LAN for all MGate MB3000 units. MGate MB3000 Modbus Gateway User Manual...
When the search is complete, every MGate MB3000 that is found on the LAN will appear in the window with MAC address and IP address. Simply select the one that you wish to configure. Specify IP Address Click Specify IP Search Address if you know the IP address of the unit and wish to connect to it directly.
Page 46
Try doing the search again and re-entering the IP address carefully. Another possibility is that the MGate MB3000 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 MB3000.
Password Protection For security reasons, account and password protection is enabled by default, so you must provide the correct password to unlock the device before configuring the device. Default account: admin Default password: moxa MGate MB3000 Modbus Gateway User Manual...
Such as “Cabinet A001.” Time Settings The MGate MB3000 Series has a built-in real-time clock for time-calibration functions. Functions such as the log function can add real-time information to the message. You can do time calibration either followed by local time or time server. Please note that this feature is not supported on the MB3180 gateway.
This is the IP address of the primary domain name server. (or other 32-bit number) 0.0.0.0 DNS Server 2 This is the IP address of the secondary domain name server. (or other 32-bit number) MGate MB3000 Modbus Gateway User Manual...
RS-232, RS-422, RS-485 2 Interface wire, RS-485 4 wire RTS on delay 0-100 ms Only available for RTS Toggle RTS off delay 0-100 ms Only available for RTS Toggle MGate MB3000 Modbus Gateway User Manual...
Ethernet with serial devices connected to the MGate MB3x70 as if they were connected to the PC’s native COM ports. This advanced feature only works with the MGate MB3x70 Series. For the detailed ProCOM mapping configuration, please check ProCOM Mapping. MGate MB3000 Modbus Gateway User Manual...
Page 52
MGate to wait after booting up before sending the first request with the Initial Delay setting. Modbus TCP Exception The MGate MB3000 is a protocol gateway that transparently passes requests and responses between the Ethernet and serial interfaces. In some situations, it may be necessary for the gateway to return an exception in response to a request from a Modbus TCP clients.
Page 53
Modbus system to continue operation even if a slave device is disconnected or faulty. On the MGate MB3000, the Response Time-out field is used to configure how long the gateway will wait for a response from a Modbus ASCII or RTU slave. This field is set independently for each serial port, which is selected through the Slave Channel field.
Page 54
Port Routing Table The MGate MB3000 gateways support two kinds of port routing mechanism: by IP address and by TCP port. The Modbus master can communicate with the Modbus slave devices connected to a specific serial port on the gateway by assigning an IP address or TCP port to the specified serial port. Under these two kinds of port routing mechanisms, each serial port can be accessed by up to four Modbus masters.
Page 55
Modbus requests with slave ID 006~010 will be routed to serial port2. Users have to set their own customized routing. Select the one you want to set, and click Add/Remove/ Modify buttons to change the existing routing. Set each port one by one. MGate MB3000 Modbus Gateway User Manual...
Page 56
1 and slave ID 3 is connected in port 2. If a conflict exists, the table will show the error in red. For example, two Modbus devices with the same slave ID are connected in serial port 1 and port 2. MGate MB3000 Modbus Gateway User Manual...
Page 57
Offset Device A Device B Original Setting Select the first channel and click Modify. The Slave ID represents the Virtual ID recognized by the Modbus master. The routing table will show up as follows: MGate MB3000 Modbus Gateway User Manual...
Page 58
Modbus gateway must send each request individually and wait for the response before sending the next request. As requests stack up, the response time can suffer. This can cause problems for certain critical requests that require an immediate response. MGate MB3000 Modbus Gateway User Manual...
The Accessible IP List function allows you to add or block remote host IP addresses to prevent unauthorized access. Access to the MGate MB3000 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 MB3000. The different restrictions are listed in the table below (the checkbox Apply additional restrictions can only be activated if Activate the accessible IP list is activated.
Page 60
Description System 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 MGate MB3000 Modbus Gateway User Manual...
Page 61
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. Please note that this feature is not supported on MB3180 gateway. MGate MB3000 Modbus Gateway User Manual...
Page 62
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. MGate MB3000 Modbus Gateway User Manual...
Page 63
SNMP agent version The MGate MB3000 Series supports SNMP V1, V2c, and V3. Read-only and Read/write access control While selecting SNMP agent version V3, it is needed to configure read-only and read/write access control parameters.
Page 64
The MGate can be searched by the DSU. If you have any Moxa command Enable/Disable security concerns, you can choose Disable to deny the DSU right to access. Notification Message The login message and login authentication failure message can be configured. MGate MB3000 Modbus Gateway User Manual...
Page 65
Enable password complexity strength Select how the MGate checks the password strength check Password lifetime 90-180 days Set the password lifetime period Account Login Failure Logout Value Description Retry failure threshold 1-10 time(s) Lockout time 1-60 min MGate MB3000 Modbus Gateway User Manual...
Page 66
The maximum key length of the MGate devices supports 2,048 bits. Some well-known third-party CA (Certificate Authority) companies are listed below for your reference: (https://en.wikipedia.org/wiki/Certificate_authority): IdenTrust (https://www.identrust.com/) DigiCert (https://www.digicert.com/) Comodo Cybersecurity (https://www.comodo.com/) GoDaddy (https://www.godaddy.com/) Verisign (https://www.verisign.com/) MGate MB3000 Modbus Gateway User Manual...
MGate Manager presents the data in an intelligent, easily-understood 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. MGate MB3000 Modbus Gateway User Manual...
Page 68
Select the unit that you wish to monitor and click Monitor to open the Traffic Monitor window. In the Traffic Monitor window, click Start to begin live monitoring of the data passing through the selected MGate MB3000 unit. MGate MB3000 Modbus Gateway User Manual...
Page 69
To stop capturing the log, press the Stop button. MGate MB3000 Modbus Gateway User Manual...
Page 70
Function code only Show only traffic for a specific function code (e.g., “FCODE=3”) Save Log to File To save the data log to a file, click Save. You may retrieve a saved log by clicking Load. MGate MB3000 Modbus Gateway User Manual...
On the ProCOM mapping dialog box, you can map up to four ProCOM functions for each Modbus gateway to your PC’s COM ports. The driver will generate virtual COM ports on your PC to connect to the selected MGate MB3x70 over the network. MGate MB3000 Modbus Gateway User Manual...
Page 72
MGate MB3x70's Ethernet port. In addition, it can be redirected to another ProCOM port on the MGate MB3x70. If you would like to change the COM port numbers, double-click on the items as follows: MGate MB3000 Modbus Gateway User Manual...
Page 73
ProCOM port(s) will be kept temporarily and will be sent out once the ProCOM port(s) are ready for access. Select the Enable Offline Open checkbox and click OK to enable this function. MGate MB3000 Modbus Gateway User Manual...
The Offline Open function is changed successfully from the mapping table. Upgrading Firmware The updated MGate MB3000 Series firmware is located at http://www.moxa.com. After you have downloaded the new firmware onto your PC, you can use MGate Manager to write it onto your MGate MB3000 gateway.
Page 75
Once the firmware has been successfully written onto the unit where the status is shown as OK, then click Exit to close the Upgrade Firmware window. MGate Manager will automatically execute a Broadcast Search for all MGate MB3000 units on the LAN. Your MGate should reappear in the list of units. ATTENTION While executing firmware upgrade, it is recommended to back up the configuration file by using Export function.
Load Default will completely reset the configuration of the unit, and all of the parameters you have saved will be discarded. Do not use this function unless you are sure you want to completely reset your unit. MGate MB3000 Modbus Gateway User Manual...
Moxa’s Technical Service Team when maintenance visits are requested. Export Function The export function saves all the configuration settings and parameters of the MGate MB3000 Series in a *.cfg 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.
Page 78
If you power off the MGate and terminate the process, all settings will disappear, and the MGate gateway will revert to factory defaults. If this happens, import the settings from the file again. MGate MB3000 Modbus Gateway User Manual...
IEC 62243 component-level recommendations. Security View checks the security level of Moxa’s network devices, including the MGate MB3000 Series. All MGate MB3000 devices can be recognized by MXview. However, be sure your MGate device has the proper firmware version installed, as listed in the following table:...
Page 80
MGate MB3000 Modbus Gateway User Manual...
MGate MB3000 devices, setting network configurations, upgrading firmware, and importing/exporting configurations. Before configuring MGate MB3000 devices via MXconfig utility, you must add the MB3000 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.
This chapter presents some case studies to guide you. If you can not find a case similar to yours, it does not mean the MGate MB3000 is not suitable for you. Please contact Moxa, and we will work it out with you.
In this scenario, the serial control system is a direct, low-latency system. The serial master must not be replaced, but Ethernet masters will need to have access to the serial slaves for monitoring or supervision. MGate MB3000 Modbus Gateway User Manual...
One system may use a different baudrate than another, or may use Modbus ASCII instead of Modbus RTU. The MGate MB3000 allows the different Modbus systems to be integrated into one network, regardless of the protocol or communication parameters.
The master will wait for the slave’s response before sending the next request. For broadcast commands, no response is expected. This is illustrated by three scenarios as follows: Normal The master sends a request to the slave. The slave sends a response with the requested information. MGate MB3000 Modbus Gateway User Manual...
The MGate MB3000 provides a patent-protected function that tests all attached devices and recommends a response time-out value. This function saves considerable time and effort for system integrators, and it results in more accurate time-out settings.
The Modbus TCP standard recommends that slaves be able to queue up to 16 requests at a time. The MGate MB3000 will queue up to 32 requests from each TCP master, for up to 16 or 32 TCP masters.
B. SNMP Agents with MIB II and RS-232- Like Groups The MGate MB3000 Series has built-in Simple Network Management Protocol (SNMP) agent software that supports SNMP Trap, RFC1317 and RS-232-like groups, and RFC 1213 MIB-II. RFC1213 MIB-II Supported SNMP Variables...
Need help?
Do you have a question about the MGate MB3000 and is the answer not in the manual?
Questions and answers