B&B Electronics Vlinx MESR9xx User Manual

Mesr9 series modbus gateways
Table of Contents

Advertisement

V
M
E
M
E
M
o
d
b
u
s
M
o
d
b
u
l
i
n
x
V
l
i
n
x
S
R
9
x
x
S
R
9
x
x
G
a
t
e
w
s
G
a
t
e
w
Manual Documentation Number MESR9xx-4508m
a
y
s
a
y
s
www.bb-elec.com
www.bb-europe.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Vlinx MESR9xx and is the answer not in the manual?

Questions and answers

Summary of Contents for B&B Electronics Vlinx MESR9xx

  • Page 1 Manual Documentation Number MESR9xx-4508m www.bb-europe.com www.bb-elec.com...
  • Page 2 Phone (815) 433-5100 -- General Fax (815) 433-5105 Phone +353 91-792444 -- Fax +353 91-792445 ©2008 B&B Electronics Mfg. Co. Inc. No part of this publication may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photography, recording, or any information storage and retrieval system without written consent.
  • Page 3: Table Of Contents

    Introduction ... 1 About MESR9xx Modbus Gateways ... 1 MESR9xx Modbus Gateway Model Numbering ... 2 List of MESR9xx Modbus Gateway Models ... 3 MESR9xx Modbus Gateway Features ... 4 Vlinx Manager Configuration Software ... 5 MESR9xx Modbus Gateway Hardware ... 6 Package Checklist ...
  • Page 4 Modbus RTU Message ... 25 Modbus Serial Control ... 25 Modbus TCP Message ... 26 Model ... 26 Network Mode ... 26 Network Protocols ... 26 Password ... 27 Port# ID Remap ... 27 Serial Interface Modes ... 27 Modbus Gateway Name ... 28 Gateway Serial Port Number ...
  • Page 5: Introduction

    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/...
  • Page 6: Mesr9Xx Modbus Gateway Model Numbering

    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/...
  • Page 7: List Of Mesr9Xx Modbus Gateway Models

    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/...
  • Page 8: Mesr9Xx Modbus Gateway Features

    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/...
  • Page 9: Vlinx Manager Configuration Software

    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/...
  • Page 10: Mesr9Xx Modbus Gateway Hardware

    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/...
  • Page 11: Led Indicators

    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/...
  • Page 12: Mode Switch

    RJ45 (male) Ethernet cable. Ethernet Connectors. E2 is pass-through connection on model shown Figure 6. Note: Refer to Appendix D for connection pin-outs. Page 8 Vlinx MESR9xx Modbus Gateway Mode Switch Figure 5. Manual Documentation Number MESR9xx-4508m www.bb-elec.com/...
  • Page 13: Fiberoptic Connectors

    • 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/...
  • Page 14: Power Connector

    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/...
  • Page 16: Modbus Gateway Setup And Connections

    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/...
  • Page 17: Connecting The Mesr901-X

    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/...
  • Page 18: Connecting The Mesr9X2T-X

    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/...
  • Page 19: Connecting Mesr9Xx Modbus Gateways To A Network

    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/...
  • Page 20: Configuring The Mesr9Xx Modbus Gateway Via The Network Connection

    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...
  • Page 21: Configuring The Mesr9Xx Modbus Gateway Via The Serial Port (Console Mode)

    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/...
  • Page 22: Mesr9Xx Modbus Gateway Operational Connections

    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/...
  • Page 23: Initiating A Hardware Reset On The Modbus Gateway

    • 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/...
  • Page 24: Reloading Factory Defaults

    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/...
  • Page 25: Description, Modbus Gateway Properties

    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/...
  • Page 26: Data/Parity/Stop

    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/...
  • Page 27: Firmware Version

    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/...
  • Page 28: Link Status

    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/...
  • Page 29: Modbus Ascii

    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/...
  • Page 30: Modbus Tcp Message

    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/...
  • Page 31: Password

    • 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/...
  • Page 32: Modbus Gateway Name

    • 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/...
  • Page 33: Tcp (Transmission Control Protocol)

    (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/...
  • Page 34: Upgrading The Modbus Gateway Firmware

    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/...
  • Page 35: Downloading Firmware Files

    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/...
  • Page 37: Diagnostics

    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/...
  • Page 39: Application Examples

    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 40: From Serial Masters To Ethernet Master, Slave Ids Fixed

    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/...
  • Page 41: Modbus Rtu, Ascii, And Tcp Integration

    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/...
  • Page 42: Modbus Help

    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/...
  • Page 43: Hints And Tips

    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/...
  • Page 44: Appendices

    9. Appendices This section includes the following Appendices: • Appendix A: Default Gateway Settings • Appendix B: Product Specifications • Appendix C: Dimensional Diagrams • Appendix D: Connector Pinouts Page 40 Vlinx MESR9xx Modbus Gateway Manual Documentation Number MESR9xx-4508m www.bb-elec.com/ www.bb-europe.com/...
  • Page 45: Appendix A: Default Gateway Settings

    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/...
  • Page 46: Appendix B: Product Specifications

    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/...
  • Page 47: General Specifications

    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/...
  • Page 48: Controls, Indicators And Connector Specifications

    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/...
  • Page 49: Serial Interface Specifications

    Stop bits Flow control RS-422/485 biasing RS-422/485 termination RS-485 data control Page 45 Vlinx MESR9xx Modbus Gateway RS-232/422/485 software selectable TXD, RXD, RTS, CTS, DTR, DSR, DCD, GND TXDA(-), TXDB(+), RXDA(-), RXDB(+), GND Data(-), Data(+), GND TXDA(-), TXDB(+), RXDA(-), RXDB(+), GND...
  • Page 50: Network Specifications

    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/...
  • Page 51: Appendix C: Dimensional Diagrams

    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/...
  • Page 55: Appendix D: Connector Pinouts

    9. Appendices Appendix D: Connector Pinouts MESR901-x Serial Port Pinouts Page 51 DB-9M Pin RS-232 Manual Documentation Number MESR9xx-4508m Vlinx MESR9xx Modbus Gateway www.bb-elec.com/ www.bb-europe.com/...
  • Page 56 9. Appendices Terminal Page 52 Vlinx MESR9xx Modbus Gateway RS-422 RS-485 TXA(-) DATA- TXB(+) DATA+ RXA(-) RXB(+) Manual Documentation Number MESR9xx-4508m www.bb-elec.com/ www.bb-europe.com/...
  • Page 57: Mesr902D-X Serial Port Pinouts

    9. Appendices MESR902D-x Serial Port Pinouts DB-9M Pin Page 53 RS-232 RS-422 RXA(-) RXB(+) TXB(+) TXA(-) Manual Documentation Number MESR9xx-4508m Vlinx MESR9xx Modbus Gateway RS-485 DATA+ DATA- www.bb-elec.com/ www.bb-europe.com/...
  • Page 58: Mesr902T-X Serial Port Pinouts

    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/...
  • Page 59: Standard Ethernet Cable Rj-45 Pin-Out

    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/...
  • Page 60: Glossary

    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/...

Table of Contents

Save PDF