Ethernet port which functions much like an Ethernet Switch. MESR90x units have one Ethernet port. Page 1 Figure 1. An MESR921 Modbus Gateway connect Modbus networks (RS-232, RS-422 or RS-485) feature 10BaseT or 100BaseTX copper network media and Manual Documentation Number MESR9xx-4508m Vlinx MESR9xx Modbus Gateway www.bb-elec.com/ www.bb-europe.com/...
Network connection options include 10BaseT/100BaseTX copper or several different fiber optic options. The following diagram shows the model numbering scheme: Page 2 Vlinx MESR9xx Modbus Gateway are a growing family of products. Models are available Manual Documentation Number MESR9xx-4508m www.bb-elec.com/...
1 Multi-mode SC, 2 port MEI with TB 1 Single-mode ST, 2 port MEI with TB 1 Single-mode SC, 2 port MEI with TB 1 Single-mode 40 Km ST, 2 port MEI with TB Manual Documentation Number MESR9xx-4508m Vlinx MESR9xx Modbus Gateway www.bb-elec.com/ www.bb-europe.com/...
1 Single-mode 40 Km SC, 2 port MEI with DB9 Male 1 Single-mode 80 Km ST, 1 port MEI with TB/DB9 Male 1 Single-mode 80 Km SC, 1 port MEI with TB/DB9 Male Manual Documentation Number MESR9xx-4508m Vlinx MESR9xx Modbus Gateway www.bb-elec.com/ www.bb-europe.com/...
Vlinx Manager configuration software enables you to find connected Modbus gateways, configure them, upgrade Modbus gateway firmware, and save/load configuration files. It features a graphical user interface (GUI) that is convenient and easy to use. Page 5 Vlinx MESR9xx Modbus Gateway Manual Documentation Number MESR9xx-4508m www.bb-elec.com/ www.bb-europe.com/...
All MESR9xx Modbus Gateway models are built into similar enclosures. Modules are DIN rail mountable. The MESR92x (shown below) enclosure is larger than the MESR90x.See the specification table for dimensions. Page 6 Figure 2. Front View of an MESR921 Modbus Gateway Manual Documentation Number MESR9xx-4508m Vlinx MESR9xx Modbus Gateway www.bb-elec.com/ www.bb-europe.com/...
Port LEDs blink (green) when data is being transmitted or received on the serial port. When the LED is On it indicates the serial port is open. Figure 4. Serial Port LEDs on 1 and 2 Serial Port Modbus Gateways Page 7 Vlinx MESR9xx Modbus Gateway Manual Documentation Number MESR9xx-4508m www.bb-elec.com/ www.bb-europe.com/...
• MESR922T-x Modbus Gateways feature two serial ports, both using five-position removable terminal blocks for RS-232, RS-422 and RS-485 connections. Page 9 Figure 7. SC and ST Fiberoptic Cable Connectors Figure 8. DB-9 Female Serial Port Connector Manual Documentation Number MESR9xx-4508m Vlinx MESR9xx Modbus Gateway www.bb-elec.com/ www.bb-europe.com/...
MESR9xx Modbus Gateway modules can be DIN rail mounted. The DIN mounting clip and spring is included on each module. Page 10 Figure 9. Five-Position Pluggable Terminal Block Figure 10. Power Connection Manual Documentation Number MESR9xx-4508m Vlinx MESR9xx Modbus Gateway www.bb-elec.com/ www.bb-europe.com/...
Page 15
2. Hardware Vlinx MESR9xx Modbus Gateway Figure 11. DIN Clips on Modbus Gateway Modules. Large DIN clips are used on MESR92x, small DIN clips on MESR90x. Page 11 Manual Documentation Number MESR9xx-4508m www.bb-elec.com/ www.bb-europe.com/...
Connecting MESR9xx Modbus Gateways to Modbus networks MESR9xx Modbus Gateways can be configured to connect to Modbus networks using RS-232, RS-422, RS-485 2-wire and RS-485 4-wire. Page 12 Figure 12. MESR Power Connection Manual Documentation Number MESR9xx-4508m Vlinx MESR9xx Modbus Gateway www.bb-elec.com/ www.bb-europe.com/...
If you select RS-422 mode, RS-485 2-wire mode, or RS-485 4-wire mode when you configure the Modbus gateway, you must connect the Modbus network appropriately, via the 5-position terminal block. Note: Refer to Appendix D for connector pinout information. Page 13 Vlinx MESR9xx Modbus Gateway Manual Documentation Number MESR9xx-4508m www.bb-elec.com/ www.bb-europe.com/...
MESR902D is a DTE. If the Modbus network is a DTE, use a null modem (cross-over) cable. If the Modbus network is a DCE, use a straight-through cable. Page 14 Figure 13. MESR901 Connections Figure 14. MESR902T-x Connections Manual Documentation Number MESR9xx-4508m Vlinx MESR9xx Modbus Gateway www.bb-elec.com/ www.bb-europe.com/...
Gateway Models” at the beginning of this manual for a list of supported fiber types, distances and connectors. MESR9xx Modbus Gateway Configuration Connections MESR9xx Modbus Gateways can be configured over the network or via a serial port. Page 15 Figure 15. MESR902D-x Connections Manual Documentation Number MESR9xx-4508m Vlinx MESR9xx Modbus Gateway www.bb-elec.com/ www.bb-europe.com/...
MESR9xx Modbus Gateways can be configured over the network using a standard internet browser such as Internet Explorer or Firefox. Page 16 Programs Configuration Manager. Figure 16. Vlinx Manager Discovery Window Configuring with the Web Interface Manual Documentation Number MESR9xx-4508m Vlinx MESR9xx Modbus Gateway B&B Electronics Vlinx www.bb-elec.com/ www.bb-europe.com/ Modbus...
Modbus gateway's serial port must be connected to the serial port of a PC (using a null modem cable). Page 17 Figure 17. Vlinx Manager Login Screen Manual Documentation Number MESR9xx-4508m Vlinx MESR9xx Modbus Gateway www.bb-elec.com/ www.bb-europe.com/...
A Direct IP connection allows applications using TCP/IP socket programs to communicate with the COM ports on the Modbus gateway. In this type of application the Page 18 Figure 18. Console Mode Setup Manual Documentation Number MESR9xx-4508m Vlinx MESR9xx Modbus Gateway www.bb-elec.com/ www.bb-europe.com/...
• On MESR902x models: Port 1 LED is On and the Port 2 LED is Off. 3. The LEDs go back to their normal states when the device resumes normal operation. Page 19 Figure 19. Direct IP Connection Manual Documentation Number MESR9xx-4508m Vlinx MESR9xx Modbus Gateway www.bb-elec.com/ www.bb-europe.com/...
The Modbus gateway reloads all factory default configuration parameters. 3. The LEDs go back to their normal states when the device resumes normal operation. Note: Factor default parameters are listed in Appendix A Page 20 Vlinx MESR9xx Modbus Gateway Manual Documentation Number MESR9xx-4508m www.bb-elec.com/ www.bb-europe.com/...
Manager. Existing configuration files can be Opened (from Vlinx Manager), which loads them into the Modbus gateway. This allows the same configuration to be applied to multiple Modbus gateways, or to reload a previously used configuration. Page 21 Manual Documentation Number MESR9xx-4508m Vlinx MESR9xx Modbus Gateway www.bb-elec.com/ www.bb-europe.com/...
IP address has been changed, the device will not be able to communicate with the Modbus gateway. Therefore, disabling DHCP and using a static IP address is recommended. Page 22 Vlinx MESR9xx Modbus Gateway Manual Documentation Number MESR9xx-4508m www.bb-elec.com/...
If DHCP is not selected you must type in a static IP address when configuring Network settings (on the Vlinx Manager Network page). The static IP address remains the same each time the server is powered up or starts/restarts. Page 23 Vlinx MESR9xx Modbus Gateway Manual Documentation Number MESR9xx-4508m www.bb-elec.com/ www.bb-europe.com/...
This is the maximum number of times that the Modbus gateway will retry to send a Modbus message to a Modbus client, before reporting a 0Bh exception if it is selected. This should be limited to between 0 and 5. Page 24 Vlinx MESR9xx Modbus Gateway Manual Documentation Number MESR9xx-4508m www.bb-elec.com/ www.bb-europe.com/...
16 bit cyclic redundancy check or CRC. Modbus Serial Control Message Timeout The message timeout is the maximum time the gateway allows for a response from the slave device. The default is 1000ms. Page 25 Vlinx MESR9xx Modbus Gateway Manual Documentation Number MESR9xx-4508m www.bb-elec.com/ www.bb-europe.com/...
The network mode is the method used to configure the network parameters. It is either “DHCP” or “Static IP”. Network Protocols Network Protocols available for use on MESR9xx Modbus gateways include TCP. Page 26 Vlinx MESR9xx Modbus Gateway Manual Documentation Number MESR9xx-4508m www.bb-elec.com/ www.bb-europe.com/...
• RS-485 2-wire - Similar speed and distance specifications as RS-422 but allows multidrop connections. Typically uses one shielded twisted pair and screw terminals but DB-9 connectors are also used on MESR9xx Modbus gateways. Page 27 Vlinx MESR9xx Modbus Gateway Manual Documentation Number MESR9xx-4508m www.bb-elec.com/ www.bb-europe.com/...
• For a Class B network (IP addresses 128.0.0.0 through 191.255.255.255) the default subnet mask is 255.255.0.0 • For a Class C network (IP addresses 192.0.0.0 through 233.255.255.255) the default subnet mask is 255.255.255.0 Page 28 Vlinx MESR9xx Modbus Gateway Manual Documentation Number MESR9xx-4508m www.bb-elec.com/ www.bb-europe.com/...
(up to eight) number of simultaneous connections it will accept. You can filter the connections it will accept based on specific IP addresses or ranges of IP addresses that you specify. Page 29 Vlinx MESR9xx Modbus Gateway Manual Documentation Number MESR9xx-4508m www.bb-elec.com/ www.bb-europe.com/...
Other Modbus gateways (that have already been discovered) can be selected from the drop down list, if desired. Page 30 Firmware Upgrade Figure 20. Firmware Upgrade Dialog Box Manual Documentation Number MESR9xx-4508m Vlinx MESR9xx Modbus Gateway dialog box. www.bb-elec.com/ www.bb-europe.com/...
4. In the Firmware File drop down list, select the firmware file to upload to the Modbus gateway. 5. Click Upgrade. The Progress box and Progress bar display information on the upgrading process. Page 31 Vlinx MESR9xx Modbus Gateway Manual Documentation Number MESR9xx-4508m www.bb-elec.com/ www.bb-europe.com/...
Page 36
5. Upgrading Firmware Vlinx MESR9xx Modbus Gateway 6. When the upgrade process is complete, click Close. Page 32 Manual Documentation Number MESR9xx-4508m www.bb-elec.com/ www.bb-europe.com/...
To run diagnostics on a Modbus gateway: 1. Click the Diagnostics icon. Diagnostics Page 33 Diagnostics Figure 21. Diagnostics Dialog Box dialog box appears. Manual Documentation Number MESR9xx-4508m Vlinx MESR9xx Modbus Gateway dialog box and enables you to www.bb-elec.com/ www.bb-europe.com/...
Page 38
2. In the drop down box select the specific Modbus gateway you want to check. 3. Click the Start button Information about the progress of the pinging process is displayed in the Progress box. Figure 22. Page 34 Vlinx MESR9xx Modbus Gateway Testing a Modbus Gateway Connection Manual Documentation Number MESR9xx-4508m Test www.bb-elec.com/ www.bb-europe.com/...
As slave IDs must be unique in a single system, these must be changed to have them function on one network: Page 35 Figure 23. Direct IP Connection Figure 24. SCADA to Slaves, IDs Configurable Manual Documentation Number MESR9xx-4508m Vlinx MESR9xx Modbus Gateway www.bb-elec.com/ www.bb-europe.com/...
Page 36 (List here) (list reference): Figure 25. Scada to Slaves, IDs Fixed Figure 26. Time Critical Control System Manual Documentation Number MESR9xx-4508m Vlinx MESR9xx Modbus Gateway can assign virtual slave IDs. For www.bb-elec.com/ www.bb-europe.com/...
Modbus systems to combine into one network, regardless of technology or communication differences. Figure 28. Page 37 Time Critical Control, Direct and Remotely Monitored Complex Modbus Network Integration Through Modbus Gateways Manual Documentation Number MESR9xx-4508m Vlinx MESR9xx Modbus Gateway www.bb-elec.com/ www.bb-europe.com/...
If the slave cannot respond appropriately for some other reason (e.g. it does not recognize the function code), it will return a message containing an exception response. Page 38 Vlinx MESR9xx Modbus Gateway Manual Documentation Number MESR9xx-4508m www.bb-elec.com/ www.bb-europe.com/...
A sometimes difficult problem is difference in grounding voltage between various network locations. Stray voltage from lightning or other sources may also find its way onto the network. These conditions make isolation necessary in many settings. Page 39 Vlinx MESR9xx Modbus Gateway Manual Documentation Number MESR9xx-4508m www.bb-elec.com/ www.bb-europe.com/...
None, Even, Odd, Mark, Space Stop bits 1 & 2 Flow Control None Protocol Serial timeout 0 seconds Inter-character timer 0 ms TCP port Port 1 = 4000 Port 2 = 4001 Max connection Manual Documentation Number MESR9xx-4508m Vlinx MESR9xx Modbus Gateway www.bb-elec.com/ www.bb-europe.com/...
9. Appendices Appendix B: Product Specifications This section includes the following specifications: • General Specifications • Controls, Indicators and Connector Specifications • Serial Interface Specifications • Network Specifications Page 42 Vlinx MESR9xx Modbus Gateway Manual Documentation Number MESR9xx-4508m www.bb-elec.com/ www.bb-europe.com/...
1.2 in x 3.3 x 4.7 in (3.1 x 8.4 x 11.9 cm) Case Voltage Requirements 10 to 48 VDC MESR90x – 4.0W (Max) Power Consumption MESR92x – 6.0W (Max) Manual Documentation Number MESR9xx-4508m Vlinx MESR9xx Modbus Gateway www.bb-elec.com/ www.bb-europe.com/...
SC connector ST fiber ST connector ESR901-x: one DB-9M connector ESR902D-x: Two DB-9M connectors Serial ESR902T-x: Two pluggable lockable 5.08 mm terminal blocks 5.08mm 2-position pluggable, lockable DC Power terminal block Manual Documentation Number MESR9xx-4508m Vlinx MESR9xx Modbus Gateway www.bb-elec.com/ www.bb-europe.com/...
Via serial, Ethernet or auto web search 0 to 65535 Character 0 to 65535 ms, default set at 10 ms Modbus Message 0 to 65535 ms, default set at 1,000 ms Serial 0 to 65535 sec Manual Documentation Number MESR9xx-4508m Vlinx MESR9xx Modbus Gateway www.bb-elec.com/ www.bb-europe.com/...
9. Appendices Vlinx MESR9xx Modbus Gateway Appendix C: Dimensional Diagrams Figure 29. Dimensional Diagram of an MESR901 Modbus Gateway (Note: Small Case Used for MESR901 Series Units) Page 47 Manual Documentation Number MESR9xx-4508m www.bb-elec.com/ www.bb-europe.com/...
Page 52
9. Appendices Vlinx MESR9xx Modbus Gateway Figure 30. Dimensional Diagram of an MESR902T Modbus Gateway (Note: Small Case Used for MESR902 Series Units) Page 48 Manual Documentation Number MESR9xx-4508m www.bb-elec.com/ www.bb-europe.com/...
Page 53
9. Appendices Vlinx MESR9xx Modbus Gateway Figure 31. Dimensional Diagram of an MESR921 Modbus Gateway, Left and Right Side Views (Note: Medium Case Used for MESR921 and MESR922 Series Units) Page 49 Manual Documentation Number MESR9xx-4508m www.bb-elec.com/ www.bb-europe.com/...
Page 54
9. Appendices Vlinx MESR9xx Modbus Gateway Figure 32. Dimensional Diagram of an MESR921 Modbus Gateway, Bottom, Top, Back and Front Views (Note: Medium Case Used for MESR921 and MESR922 Series Units) Page 50 Manual Documentation Number MESR9xx-4508m www.bb-elec.com/ www.bb-europe.com/...
TXA(-) to the RXA(-) of the Modbus network. Ground is signal ground and provides a common mode reference for the RS-422 Receiver and Transmitters. Page 54 RS-232 RS-422 TXA(-) TXB(+) RXA(-) RXB(+) Manual Documentation Number MESR9xx-4508m Vlinx MESR9xx Modbus Gateway RS-485 DATA- DATA+ www.bb-elec.com/ www.bb-europe.com/...
9. Appendices Standard Ethernet Cable RJ-45 Pin-out RJ-45 Pin Page 55 Signal Not used Not used Not used Not used Manual Documentation Number MESR9xx-4508m Vlinx MESR9xx Modbus Gateway Wire Color White-Green Green White-Orange Blue White-Blue Orange White-Brown Brown www.bb-elec.com/ www.bb-europe.com/...
MES1B B&B’s Ethernet Modbus gateway, RS-422/485 on serial port B&B’s Ethernet Modbus gateway, Dual Ethernet ports, Dual serial ports MESR922T with MIE and terminal blocks Modbus A request/reply protocol and offers services specified by function codes. Page 56 Vlinx MESR9xx Modbus Gateway Manual Documentation Number MESR9xx-4508m www.bb-elec.com/ www.bb-europe.com/...
Page 61
TCP Transmission Control Protocol Unit ID Unit Identifier. This is the same as the slaves address. VESR B&B’s Second Generation Ethernet Gateway Line Vlinx B&B’s family name for the Gateway line Page 57 Vlinx MESR9xx Modbus Gateway Manual Documentation Number MESR9xx-4508m www.bb-elec.com/ www.bb-europe.com/...
Need help?
Do you have a question about the Vlinx MESR9xx and is the answer not in the manual?
Questions and answers