background image

9. Appendices   

 

 

 

 

 

          Vlinx MESR9xx Modbus Gateway 

 

Page 45 

                                                                                                                                           

Manual Documentation Number MESR9xx-4508m 

www.bb-elec.com/

 

www.bb-europe.com/

 

Serial Interface Specifications 

 

Mode Selection 

RS-232/422/485 software selectable 

RS-232 lines 

TXD, RXD, RTS, CTS, DTR, DSR, DCD, GND 

RS-422 lines 

TXDA(-), TXDB(+), RXDA(-), RXDB(+), GND 

RS-485 lines (2 wire) 

Data(-), Data(+), GND 

RS-485 lines (4 wire) 

TXDA(-), TXDB(+), RXDA(-), RXDB(+), GND 

Baud Rates 

75, 150, 300, 600, 1200, 2400, 4800, 7200, 
9600, 14400, 19200, 28800, 38400, 57600, 

115200, 230400 

Data Bits 

5, 6, 7, 8 

Parity 

None, even, odd, mark, space 

Stop bits 

1, 1.5, 2 

Flow control 

None, RTS/CTS, XON/XOFF 

RS-422/485 biasing 

Auto 4.7K ohm pullups and pulldowns 

RS-422/485 termination 

Auto termination with thru hole resistor (user 

supplied) 

RS-485 data control 

Auto control via MCU 

 

 

Summary of Contents for Vlinx MESR9xx

Page 1: ...Manual Documentation Number MESR9xx 4508m www bb elec com www bb europe com V Vl li in nx x M ME ES SR R9 9x xx x M Mo od db bu us s G Ga at te ew wa ay ys s...

Page 2: ...estlink Commercial Park Oranmore Co Galway Ireland Phone 353 91 792444 Fax 353 91 792445 Website www bb europe com Revision Original October 2008 2008 B B Electronics Mfg Co Inc No part of this public...

Page 3: ...bus networks 12 Connecting the MESR901 x 13 Connecting the MESR902T x 14 Connecting the MESR902D x 14 Connecting MESR9xx Modbus Gateways to a Network 15 Network Connection 10BaseT 100BaseTX 15 Fiberop...

Page 4: ...33 7 Application Examples 35 From Serial Master to Modbus Gateway Slave IDs Configurable 35 From Serial Masters To Ethernet Master Slave IDs Fixed 36 Keep Serial Master Add Ethernet Master s 36 Modbus...

Page 5: ...Modbus network to become a node on the network The serial ports can be accessed over a LAN WAN using Direct IP Mode connections MESR9xx Modbus Gateways feature 10BaseT or 100BaseTX copper network medi...

Page 6: ...urope com MESR9xx Modbus Gateway Model Numbering MESR9xx Modbus Gateways are a growing family of products Models are available with one or two serial connections Network connection options include 10B...

Page 7: ...Single mode 80 Km SC 1 RJ45 Copper 2 port MEI with TB MESR921 2 RJ45 Copper 1 port MEI with TB DB9 Male MESR921 MT 1 Multi mode ST 1 RJ45 Copper 1 port MEI with TB DB9 Male MESR921 MC 1 Multi mode SC...

Page 8: ...ST80 1 Single mode 80 Km ST 1 port MEI with TB DB9 Male MESR901 SC80 1 Single mode 80 Km SC 1 port MEI with TB DB9 Male MESR9xx Modbus Gateway Features Four series models MESR901 x single serial port...

Page 9: ...mware Upload for future revisions upgrades Software Support Windows 2000 2003 Server XP Vista x32 Configuration of Ethernet and serial port settings using Vlinx Manager software Vlinx Manager Configur...

Page 10: ...serial connectors and a recessed Mode switch Package Checklist MESR9xx Modbus Gateways are shipped with the following items included MESR9xx Modbus Gateway Module Quick Start Guide CD with User Manual...

Page 11: ...the network E2 is used on MESR92X models and is a pass through Ethernet connector Ready LED The Ready LED green blinks if the system is operating correctly once per second in normal operating conditio...

Page 12: ...tch can be used to Initiate a Hardware Reset Enter Console Mode Reload factory defaults Note Refer to Section 3 Modbus Gateway Setup and Connections for more information on using the Mode switch Ether...

Page 13: ...Gateways feature one serial port and use a DB 9M connector for RS 232 and a five position removeable terminal block for RS 422 and RS 485 connections MESR902T x Modbus Gateways feature two serial port...

Page 14: ...e 9 Five Position Pluggable Terminal Block Note Refer to Appendix D for connection pin outs Power Connector The power connector is a 2 position pluggable terminal block Figure 10 Power Connection Moun...

Page 15: ...MESR9xx Modbus Gateway Page 11 Manual Documentation Number MESR9xx 4508m www bb elec com www bb europe com Figure 11 DIN Clips on Modbus Gateway Modules Large DIN clips are used on MESR92x small DIN...

Page 16: ...n are simply referred to as the Modbus network Connecting the Power Supply Connect a DC power supply to the power terminals on the top of the Modbus gateway Polarity of the wires is indicated on the l...

Page 17: ...the idle mark state Ground provides a common mode reference When configured for 2 wire operation the connection supports one signal pair DataB and DataA signal channels using half duplex operation The...

Page 18: ...e terminal blocks to match the serial connection mode you select when configuring the Modbus gateway Note Refer to Appendix D for connector pinout information Figure 14 MESR902T x Connections Connecti...

Page 19: ...connected from the Modbus gateway to a network drop PCs configuring and or communicating with the Modbus gateway are also connected to the network Fiberoptic Connection When connecting a Modbus gatewa...

Page 20: ...work Vlinx Manager software running on a PC To open Vlinx Manager 1 From the Desktop click Start Programs B B Electronics Vlinx Modbus Gateway Manager Configuration Manager The Vlinx Manager Device Di...

Page 21: ...configuration software will automatically configure the correct address through DHCP if this is not available The web interface Login page appears Figure 17 Vlinx Manager Login Screen 3 Configure your...

Page 22: ...the Port 2 LED is Off To configure the Modbus gateway open the Vlinx Manager software and set up the Modbus gateway s parameters as required Note For more information on configuration options refer t...

Page 23: ...rk settings using Vlinx Manager or the web interface 3 Configure your software application with the appropriate IP address and port number to communicate with the Modbus network s Figure 19 Direct IP...

Page 24: ...as follows 1 The Ready LED blinks three times per second while the button is being pressed 2 The Modbus gateway is in Factory Default Mode when On the MESR901 Port 1 LED and the Ready LED are both On...

Page 25: ...te Baud rate values range from 75 to 230 400 Baud Refer to Appendix B for specific baud rates that are supported Character Timeout Character Timeout controls the maximum duration between received char...

Page 26: ...works enabling users to access the Modbus gateway from outside the local network DHCP DHCP Dynamic Host Configuration Protocol is a protocol used on special servers that supply IP addresses to network...

Page 27: ...ay to manage slave device IDs between various Modbus interfaces By filling in the user defined slave ID table a Modbus Gateway routes requests to the correct serial port One connection can command ser...

Page 28: ...he MAC Address is a hardware level address of the Modbus gateway that cannot be changed It is assigned in the factory Every Ethernet device manufactured has it own unique MAC address The MAC address o...

Page 29: ...serial port Each will buffer up to 32 Modbus messages These buffers help ensure messages don t get lost in a data traffic jam and are part of what makes Modbus such an outstandingly reliable serial pr...

Page 30: ...t or CRC LRC error The default is two Modbus TCP Message The Modbus TCP message may be broken up into multiple different TCP frames The Modbus TCP message contains three main blocks to the Modbus TCP...

Page 31: ...in The third box is the start of the remap range on the serial port The fourth box will auto fill in based on the range filled in the first 2 boxes The range must check to make sure it is a valid rang...

Page 32: ...defined by RFC 952 and RFC 1123 The rules are It must consist only of the characters A to Z a to z 0 to 9 or It can start or end with a letter or a number but it must not start or end with a It must n...

Page 33: ...lient or a server When the Modbus gateway is configured as a TCP client it initiates connections with a server on the network You must set up the IP address and port number of the server that you want...

Page 34: ...re may become available for your Modbus gateway The firmware can be upgraded using the Zlinx Manager software The following procedure describes the firmware updating process 1 Click the Upgrade button...

Page 35: ...Internet 2 Click the Check for Updates button Progress Bar and Progress Box display information about and progress of the download To download the latest firmware files from a file 1 Click the Browse...

Page 36: ...5 Upgrading Firmware Vlinx MESR9xx Modbus Gateway Page 32 Manual Documentation Number MESR9xx 4508m www bb elec com www bb europe com 6 When the upgrade process is complete click Close...

Page 37: ...ialog box and enables you to check the operation of connected Modbus gateways on the local computer The Computer Information box displays information about the type of network connections the IP addre...

Page 38: ...9xx 4508m www bb elec com www bb europe com 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 i...

Page 39: ...iate for their specific needs The following scenarios are examples only and many others are possible Contact B B Electronics technical support for information on other applications From Serial Master...

Page 40: ...e 25 Scada to Slaves IDs Fixed Keep Serial Master Add Ethernet Master s In this scenario the control system is a direct time critical serial system The serial master must not be replaced but Ethernet...

Page 41: ...ial networks is huge While simple serial meters are most common complex manufacturing machines or PLC controllers are also possible Integration of these devices may involve dealing with different seri...

Page 42: ...using RTU All Modbus communications are initiated by Modbus masters using a polling query response format The master can send broadcast messages using a slave address of 0 which all slaves accept but...

Page 43: ...e problem A common misperception is that every serial network must terminate with a resistor While this was true of early serial network configurations it s typically the wrong answer call our technic...

Page 44: ...n Number MESR9xx 4508m www bb elec com www bb europe com 9 9 A Ap pp pe en nd di ic ce es s This section includes the following Appendices Appendix A Default Gateway Settings Appendix B Product Specif...

Page 45: ...DHCP Enabled IP Address Default 192 168 0 1 DHCP will reconfigure as necessary Net Mask 255 255 255 0 Gateway 192 168 0 254 MAC Address Fixed see bottom label Firmware Version Vx x x Hardware Version...

Page 46: ...n Number MESR9xx 4508m www bb elec com www bb europe com Appendix B Product Specifications This section includes the following specifications General Specifications Controls Indicators and Connector S...

Page 47: ...a Ethernet connection Using a standard web browser such as Internet Explorer 6 0 7 0 or Firefox 1 5 2 0 Software Vlinx Manager for Modbus gateway configuration Windows 2000 2003 Server XP Vista x32 En...

Page 48: ...or more than 10 seconds to reset to factory defaults Indicators Serial LED one per port Color Green On Port open Blink Data traffic Link LED Color Green On 100BaseTX Off 10BaseT Blink Data traffic Rea...

Page 49: ...TXDB RXDA RXDB GND RS 485 lines 2 wire Data Data GND RS 485 lines 4 wire TXDA TXDB RXDA RXDB GND Baud Rates 75 150 300 600 1200 2400 4800 7200 9600 14400 19200 28800 38400 57600 115200 230400 Data Bi...

Page 50: ...BaseT or 100BaseTX Network Physical Layer Standards Ethernet IEEE 802 3 auto detecting auto MDI MDX 10BaseT and 100BaseTX Protocols Supported TCP IPv4 ARP Telnet HTTP 1 0 ICMP PING DHCP BOOTP IP Mode...

Page 51: ...us Gateway Page 47 Manual Documentation Number MESR9xx 4508m www bb elec com www bb europe com Appendix C Dimensional Diagrams Figure 29 Dimensional Diagram of an MESR901 Modbus Gateway Note Small Cas...

Page 52: ...nx MESR9xx Modbus Gateway Page 48 Manual Documentation Number MESR9xx 4508m www bb elec com www bb europe com Figure 30 Dimensional Diagram of an MESR902T Modbus Gateway Note Small Case Used for MESR9...

Page 53: ...ateway Page 49 Manual Documentation Number MESR9xx 4508m www bb elec com www bb europe com Figure 31 Dimensional Diagram of an MESR921 Modbus Gateway Left and Right Side Views Note Medium Case Used fo...

Page 54: ...way Page 50 Manual Documentation Number MESR9xx 4508m www bb elec com www bb europe com Figure 32 Dimensional Diagram of an MESR921 Modbus Gateway Bottom Top Back and Front Views Note Medium Case Used...

Page 55: ...Modbus Gateway Page 51 Manual Documentation Number MESR9xx 4508m www bb elec com www bb europe com Appendix D Connector Pinouts MESR901 x Serial Port Pinouts DB 9M Pin RS 232 1 DCD 2 RXD 3 TXD 4 DTR 5...

Page 56: ...9 Appendices Vlinx MESR9xx Modbus Gateway Page 52 Manual Documentation Number MESR9xx 4508m www bb elec com www bb europe com Terminal RS 422 RS 485 A TXA DATA B TXB DATA C RXA D RXB E GND GND...

Page 57: ...eway Page 53 Manual Documentation Number MESR9xx 4508m www bb elec com www bb europe com MESR902D x Serial Port Pinouts DB 9M Pin RS 232 RS 422 RS 485 1 DCD RXA 2 RXD RXB 3 TXD TXB DATA 4 DTR TXA DATA...

Page 58: ...S 422 RS 485 A RTS TXA DATA B TD TXB DATA C CTS RXA D RD RXB E GND GND GND In the RS 422 mode TX lines are outputs and RX lines are inputs Connect the Modbus gateway TXB line to the RXB line of the Mo...

Page 59: ...tation Number MESR9xx 4508m www bb elec com www bb europe com Standard Ethernet Cable RJ 45 Pin out RJ 45 Pin Signal Wire Color 1 TX White Green 2 TX Green 3 RX White Orange 4 Not used Blue 5 Not used...

Page 60: ...connector type or mult mode fiber of various connector type Flow Control The process of managing the rate of data transmission between two nodes Function Code A code field that tells the Gateway what...

Page 61: ...nating Equipment Employing Serial Binary Data Interchange RS 422 Electrical Characteristics of Generators and Receivers for Use in Balanced Digital Point to Point Systems RS 485 Electrical Characteris...

Reviews: