Home

B&B Electronics MESR901

image

Contents

1. 2007 2008 B amp B Elecrronic Manufacturing Company Inc All right reserved Help Description sets the description for this serial port Maximum length is 32 symbols Allowed characters are symbols from A to Z from 2 to 2 numbers from 0 to 9 and the space Mode controls the physical commenications mode Baud Rate controls the communications speed of the serial port Data Bits controls the number of bits of data in each character Only data bits is valid when the protocol of the device connected to the port is RTU Stop Bits controls the number of bits to indicate the end of a character Parity controls the error checking mode Figure 61 Port 1 Serial Page 54 Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 8 Modbus Help Vlinx MESR9xx Modbus Gateway Modbus Configuration Manager 1 0 0 f 5 xj 3 bd a iS up Open Save Search Upgrade Diagnostic Monitor About Port 2 Serial Help Description sets the description for this serial Description Serial Port2 o Mode RS 422 4 Wire Mode controls the physical commenications mode Baud Rate controls the communications Baud Rate 19200 Sof the cocisl part Data Bits controls the number of bits of data Data Bits amp Bits in each character Only 8 data bits is valid when the protocol of Stop Bits the device connected to the port is RTU Stop Bits controls the number o
2. DB9 amp TB DB9 amp TB DB9 amp TB DB9 amp TB DB9 amp TB DB9 amp TB DB9 amp TB DB9 amp TB DB9 amp TB TB TB TB TB TB TB TB TB TB DB9 amp TB DB9 amp TB DB9 amp TB DB9 amp TB DB9 amp TB DB9 amp TB DB9 amp TB DB9 amp TB Ethernet Port s 1 1 Ethernet Media Copper MM Fiber MM Fiber SM Fiber 15 km SM Fiber 40 km SM Fiber 80 km SM Fiber 15 km SM Fiber 40 km SM Fiber 80 km Copper MM Fiber MM Fiber SM Fiber 15 km SM Fiber 40 km SM Fiber 80 km SM Fiber 15 km SM Fiber 40 km SM Fiber 80 km 2 Copper MM Fiber amp Copper MM Fiber amp Copper SM Fiber 15 km amp Copper SM Fiber 40 km amp Copper SM Fiber 80 km amp Copper SM Fiber 15 km amp Copper SM Fiber 40 km amp Copper Ethernet Connector s RJ 45 SC ST SC SC SC ST ST ST RJ 45 SC ST SC SC SC ST ST ST 2 RJ 45 1 RJ 45 amp 1 SC 1 RJ 45 amp 1 ST 1 RJ 45 amp 1 SC 1 RJ 45 amp 1 SC 1 RJ 45 amp 1 SC 1 RJ 45 amp 1 ST 1 RJ 45 amp 1 ST Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 1 Introduction Model Number MESR921 ST80 MESR922T MESR922T MC MESR922T MT MESR922T SC MESR922T SC40 MESR922T SC80 MESR922T ST MESR922T ST40 MESR922T ST80 Serial Port s 1 2 2 Serial Connector DB9 amp TB TB TB TB TB TB TB TB TB
3. Data A B TDB Data B C RDA D RDB E GND GND Page 75 Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 9 Appendices Vlinx MESR9xx Modbus Gateway MESR902T x Serial Port Pinouts OOOO Terminal RS 232 Direction RS 232 RS 422 RS 485 A RTS Output TDA Data A B TD Output TDB Data B C CTS Input RDA D RD Input RDB 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 Modbus network and the Modbus gateway 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 76 Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 9 Appendices Standard Ethernet Cable RJ 45 Pin out O 5 a gt ia 345678 whii gen __ Sk E e blue whitebue i SG E green whiteforenge _ EOS RJ 45 Pin 1 TX TX RX Signal Not used Not used RX Not used CO N OD oF AJIJ OJN Not used Page 77 Vlinx MESR9xx Modbus Gateway RX Data D Wire Color White Green oange wihite brown S Green White Orange Blue White Blue Orange White Brown Brown Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 10 Glossary Vlinx MESR9xx Modbus Gateway Term Definition
4. TB Ethernet Port s 2 2 2 Vlinx MESR9xx Modbus Gateway Ethernet Media SM Fiber 80 km amp Copper 2 Copper MM Fiber amp Copper MM Fiber amp Copper SM Fiber 15 km amp Copper SM Fiber 40 km amp Copper SM Fiber 80 km amp Copper SM Fiber 15 km amp Copper SM Fiber 40 km amp Copper SM Fiber 80 km amp Copper MESR9xx Modbus Gateway Features e Four series models MESR901 x single serial port single Ethernet Port MESR902T x two serial ports with pluggable terminal blocks single Ethernet port MESR921 x single serial port two Ethernet Ports MESR922T x two serial ports with pluggable terminal blocks two Ethernet Ports On models with two Ethernet Ports the second port is an Ethernet pass Ethernet Connector s 1 RJ 45 amp 1 ST 2 RJ 45 1 RJ 45 amp 1 SC 1 RJ 45 amp 1 ST 1 RJ 45 amp 1 SC 1 RJ 45 amp 1 SC 1 RJ 45 amp 1 SC 1 RJ 45 amp 1 ST 1 RJ 45 amp 1 ST 1 RJ 45 amp 1 ST through port This port functions much like an unmanaged switch e Fiber models available for each of the above series e Multi interface serial ports e DB 9M and pluggable terminal block serial port connector options e All ports are software selectable as RS 232 RS 422 or RS 485 2 and 4 wire e Configuration can be done via network or direct serial connection e Slim line DIN rail mountable case e Accepts DC power over a wide volt
5. Viinx MESR9Oxx Modbus Gateway Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com Viinx MESR9Oxx Documentation Number MESR9xx 4709m This product was designed and manufactured in Ottawa Illinois USA Using domestic and imported parts by B BSB ELECTRONICS International Headquarters B amp B Electronics Mfg Co Inc 707 Dayton Road Ottawa IL 61350 USA Phone 815 433 5100 General Fax 815 433 5105 Website www bb elec com European Headquarters B amp B Electronics Ltd Westlink Commercial Park Oranmore Co Galway Ireland Phone 353 91 792444 Fax 353 91 792445 Website www bb europe com Revision Three April 2010 2010 B amp 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 Information in this manual is subject to change without notice and does not represent a commitment on the part of B amp B Electronics Mfg Co Inc B amp B Electronics Mfg Co Inc shall not be liable for incidental or consequential damages resulting from the furnishing performance or use of this manual All brand names used in this manual are the registered trademarks of their respective owners The use of trademarks or other designations in this publication is for reference purpos
6. 14 Modbus Priority Page 31 Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 3 Setup and Connections Vlinx MESR9xx Modbus Gateway a To access this screen click the Next button or click the Modbus Priority link on the left side of the screen b This screen allows you to configure the gateway to move high priority messages to the front of the serial message buffer Modbus Configuration Manager 1 0 0 i 3 i P Open Save Search Upgrade Diagnostic Monitor About Which device do you want to configure Choose the device by clicking on one of the devices in the list below Mac Address M gt TDs atinn an da Figure 40 Modbus Priority Screen lo x Contents Modbus Priority Help PEE These settings allow the gateway to move high General Priority 1 priority messages to the front of the serial Network message buffer The priority can be based on the originating IP address the Modbus ID the Modbus TCP IP Address Modbus function code or any combination of e three o five differe iorities can be lC Modbus ID three Up to five different priorities can Port Serial l l Function Code IP Address sets a static Internet protocol Port Modbus address for the Modbus Gateway Priority 2 Port 1 ID Rema Modbus ID has valid valie range from 1 to 255 l IP Address Modbus ID Routing Function Code has valid vahie range from 1 ae to
7. ADU ASCII Application Data Unit American Standard Code for Information Interchange Baud Rate Number of bits per second CRC Q 5 Q Y D lt Cyclical Redundancy Checking Number of bits per byte normally 7 with Modbus ASCII and 8 with Modbus RTU Dynamic Host Configuration Protocol Data Bits DHCP Flow Control The process of managing the rate of data transmission between two nodes Function Code A code field that tells the Gateway what kind of action to perform Modbus Gateway GUI Graphical User Interface A bridge to get from Modbus TCP to Modbus Serial Internet Protocol IPv4 Internet Protocol version 4 LED Light emitting diode Used as a visual indicator MBAP MEI Multi Electrical Interface via RS 232 422 485 MODBUS Application Protocol MESIA B amp B s Ethernet Modbus gateway RS 232 on serial port MESIB B amp B s Ethernet Modbus gateway RS 422 485 on serial port B amp 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 A binary digit that 1s added to ensure that the number of bits with value of Parity Bit one in a given set of bits is always even or odd It may also be a Mark 1 or a Space 0 PDU Protocol Data Unit Page 78 Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 10 G
8. MESR921T Al Firmware Version 0 0 72 Hardware Version 0 MAC Address 00 0B EB FF FF 01 Link Status 100BaseTX full duplex Help Enter the password to login to the device then click on the Login button Figure 43 Modbus Gateway Copyright 2007 2003 BEB Zlecromes Manufacturing Company Inc All rights reserved Login Screen 3 The screens for configuring your gateway using a web browser are the same as those used to configure using the Vlinx Modbus Manager software Configuring the MESR9xx Modbus Gateway on Networks without a DHCP Server Your Modbus Gateway comes from the factory set up to receive an IP assignment from a DHCP Server If there is not a DHCP server on your network the Modbus Gateway will default to IP address 169 254 102 39 If this address does not work with your PC there are two methods to manually configure the network information 1 Method 1 Change your PC Network to Match the Modbus Gateway a Open your network connection Page 34 Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 3 Setup and Connections Vlinx MESR9xx Modbus Gateway l Wire Properties General Authentication Advanced Connect using BS 3Com 3C920 Integrated Fast Ethernel This connection uses the following items Install Uninstall Properties Description Transmission Control Protocollnternet Protocol The default Wide area network protocol
9. RXA RXB and TXA TXB plus GND This makes full duplex operation possible The data lines are differential pairs A amp B in which the B line is positive relative to the A line in the idle mark state Ground provides a common mode reference Page 11 Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 3 Setup and Connections Vlinx MESR9xx Modbus Gateway When configured for 2 wire operation the connection supports one signal pair DataB and DataA signal channels using half duplex operation The data lines are differential with the Data B line positive relative to Data A in the idle mark state Ground provides a common mode reference Connecting the MESR9x1 x Page 12 The MESR9x1 x has one serial connection that supports RS 232 RS 422 and RS 485 2 and 4 wire The unit has two connectors a DB 9M connector and a 5 position terminal block If you select RS 232 mode when you configure the Modbus gateway you must connect the Modbus serial network to the Modbus gateway via a serial cable The MESR901 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 DTE and DCT ports are complementary the Output signals on a DTE port are Inputs to a DCE port and Output signals on a DCE port are Inputs to a DTE port The signal names match each other and connect pin for pin Signal flow is in the direction of th
10. Setup the Slave ID Routing to associate IP addresses with the appropriate Slave ID Page 57 Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 8 Modbus Help Vlinx MESR9xx Modbus Gateway Modbus Configuration Manager 1 0 0 loj x R 000BEB000040 10 1 2 121 Modbus Gateway Contents Modbus Slave ID Routing Help General ID 150 3 150 To fip Address 10 1 2 200 regre A U Valid wales ata Network i 00 IP Address E foi2s7 from l to 255 Modbus TCP Se 5 To mm ih The Kors box in line u the last ID of that D C 205 Dos To m y range Valid valve range is from 1 to 255 Port 1 Serial The third box in line is a port or IP address ID fisi fi o To IP Address fio 1 257 which has slave devices attached Eon 1Modbus D r o o T The fourth box in line is an IP address of the Port 11D Remap i o slave device if IP address is chosen in the third ID C To box P ial Pot2 vet ID F gt To P Ad Pont m ID E To n DEC To _ Modbus ID Routing DC To Save Bock Nox Advanced Copyrigh 2007 2008 B amp B Elecronic Manufacturing Company Inc All right reserved Figure 65 Modbus Slave ID Routing Page 58 Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 8 Modbus Help Vlinx MESR9xx Modbus Gateway Identical Hard Coded Slaves In this
11. 99 Modbus Priority Modbus ID l Function Code age Priority 3 Logout IP Address l Modbus ID l Function Code Priority 4 IP Address l Modbus ID l Function Code Priority 5 IP Address l Modbus ID m c These settings allow the gateway to move high priority messages to the front of the serial message buffer The priority can be based on the originating IP address the Modbus ID the Modbus function code or any combination of the three Up to five different priorities can be set d IP Address Used to set a static Internet protocol address for the Modbus Gateway e Modbus ID Valid range is from 1 to 255 f Function Code Valid range is from to 99 g Save settings by clicking the Save button Manual Documentation Number MESR9xx 0712m www bb elec corm www bb europe com Page 32 3 Setup and Connections Vlinx MESR9xx Modbus Gateway Note For more information on configuration options refer to Section 4 Description of Modbus gateway Properties Configuring with the Web Interface MESR9xx Modbus Gateways can be configured over the network using a standard internet browser such as Internet Explorer or Firefox To open the web configuration interface 1 On a PC connected to the network open a web browser vlinx MESR Industrial Modbus Ethernet to Serial Servers Microsoft Internet Explorer provided by B amp B Electronics 7 Zz e x File Edit Yi
12. A By T ANIE A E EAE A E AE E E 7 SAA me ae eae 01 BL See eT eee en Caen ee eye Cnr eee oe Rene ne Te Smee Tn ree enor ee eT Tum ener ee en Merny ny tte emt 7 MOTE O T E E I EEEE E AE EENE E A ENE EE E E E AE A 8 themet Connec Ol creseron eee EE E e A EE ERRER E Ae aa eR 8 Fib r Optic COMIC CIOS ashe ssce rece neg ace cestsrattnts se oeasraale ee EE EENE EEE ES EEEE EEEE EEEE EEEE EA EEE EE RE EN Erei 9 Seral POM CONNECTIONS seriirrsrernrerese irora rene ean ER RENERE EARE RES AES KETE S PARERE ERE AROR ERRER EENE RAER EERE RARE RE REES PENERE RAEE FO RREN 9 FOW CONTEC TOE oaa E E E E EERE EA E E E a EE E 10 Mounting HAIWI eeina a E E aa E a E a E 10 3 Modbus Gateway Setup and Connections 1 cccccccsssseecccnnecensnnenensnnccennansnensnscenanassenssnecenaaasssssssseeaaansssssnsnanes 11 COMMECING th Fower SUPPU scazczce22 access sa cct uate cdececaiedadseeiacst rE cadens E neS EEEE EEAS rE PE EAS OEA EEE acest deemed iai 11 Connecting MESR9xx Modbus Gateways to Modbus N tWOFKS ccsscceeeecseeecscnaanessssseeeeeeessesssaaaaaanaasseneeeeesssssssaaaaaaaeaes 11 Connac ine he MES RISI N arken eNEAN AETERNE EAE AENT EEAS 12 Connecti ne ME MESKI TK ariei inn a ENNEN NENEN ONENERA NEREAREN AN RNT 13 Comer EIE NES R a D a a A EE NOEN EENE ANE E EEN N AEE EEE ET 13 Connecting MESR9xx Modbus Gateways to a N tWwOrk cccccccccsssssenseeeeeneeceeeeeeeaaaaaansesssseneeeessessasaaaaaaaaaseeeeseessssssaaaaaaaaaaes 14 Network Connection LOBAS T
13. TCP Settings d To access this screen click the Next Button or click on the Modbus TCP link on the left side of the screen b This screen allows you Modbus TCP client and server settings Page 25 Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 3 Setup and Connections Vlinx MESR9xx Modbus Gateway modbus Configuration manager 100 T A j5 a 9 Open Save Search Upgrade Diagnostic Monitor About Which device do you want to configure Choose the device by clicking on one of the devices in the list below Mac Address Modbus Gateway Contents Modbus TCP Help General Connect to port identifies TCP port to be er are used by the Modbus Gateway in TCP client Network TCP Chent Settings mode Valid value range is from 1 to 65535 Modbus TCP Response timeout is the maxinmm amount Connect to Port 502 of time to wait for a response to request that is sent to the device connected through TCP Port Serial Valid value range is from 1 to 65535 Port1 Modbus Re Sponse Time out fi 00 Listen on port identifies TCP port to be used Port1 IDR by the Modbus Gateway in TCP server mode Port ID Remap Valid value range is from 1 to 65535 A g Maximum Clients controls the mumber of Modbus ID Routing TCP Server Settings simultaneous TCP clients that can be ae connected Modbus Priori Listen on Port Connection Filter Mode control which 502 TCP clients can connect S
14. This screen allows you to set the Modbus Slave ID routing lolx 3 Noy p Open Save Search Upgrade Diagnostic Monitor About Which device do you want to configure Choose the device by clicking on one of the devices in the list below Mac Address General The first box in line is the starting ID of a Ed want to route id vahie i ID i To vance you Network Vv 1 247 IP Address gt f 0 1 0 213 from 1 to 255 To Modbus TCP The second box in line is the last ID of that ID fo range Valid value range is from 1 to 255 Port1 Serial E The third box in line is a port or IP address Z which has slave devices attached Port 1 Modbus ID n The fourth box in line is an IP address of the Port 1 ID Rema slave device if IP address is chosen in the third box ID Modbus ID Routing E Modbus Priority ID r Save ID Logout O ID r ID C 7 Cc O PAddress Save Back Next Advanced Figure 39 Modbus ID Routing Screen c The first box in line is the starting ID of a range you want to route Valid value range is from to 255 d The second box in line is the last ID of that range Valid value range is from to 253 e The third box in line is a port or IP address which has slave devices attached f The fourth box in line is an IP address of the slave device if IP address is chosen in the third box g Save settings by clicking the Save button
15. com www bb europe com 9 Appendices Vlinx MESR9xx Modbus Gateway Serial Interface Specifications TXDA TXDB RXDA RXDB GND Data Data GND 75 150 300 600 1200 2400 4800 7200 Baud Rates 9600 14400 19200 28800 38400 57600 115200 230400 RS 429 485 termination Auto termination with thru hole resistor user supplied RS 485 data control Auto control via MCU Page 68 Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 9 Appendices Vlinx MESR9xx Modbus Gateway Network Specifications Memory a Communications 100BaseTX Layer Standards MDI MDX 10BaseT and 100BaseTX ICMP PING DHCP BOOTP IP IPMode Static DHCP or Auto IP TCR User definable Connection Modes Server Client Client ee oe ee search or specific IP Firmware Upgrade Via serial Ethernet or auto web search Via serial Ethernet or auto web search charactercount owes o Modbus Message 0 to 65535 ms default set at 1 000 ms Page 69 Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 9 Appendices Vlinx MESR9xx Modbus Gateway Appendix C Dimensional Diagrams n B amp B ELECTRONICS m m eee n Li e a G Figure 68 Dimensional Diagram of an MESR901 Modbus Gateway Note Small Case Used for MESR901 Series Units Page 70 Manual Documentation Number MESR9xx 0712m www bb elec com www bb euro
16. europe com 1 Introduction Vlinx MESR9xx Modbus Gateway 1 Introduction Thank you for purchasing a MESR9xx Modbus Gateway product This product has been manufactured to the highest standards of quality and performance to ensure your complete satisfaction Figure 1 An MESR921 Modbus Gateway About MESR9xx Modbus Gateways Page 1 MESR9xx Modbus Gateways connect Modbus networks RS 232 RS 422 or RS 485 to Ethernet networks allowing the 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 media and fiber optic media options depending on the model MESR9xx Modbus Gateways are built for use in industrial environments featuring an IP30 approved slim line DIN rail mountable case They operate from a range of DC power supply voltages and feature pluggable terminal block power connectors An external power supply sold separately is required The photograph above is an MESR921 gateway The MESR92x units have an additional Ethernet port which functions much like an Ethernet Switch MESR9Ox units have one Ethernet port Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 1 Introduction Vlinx MESR9xx Modbus Gateway MESR9xx Modbus Gateway Model Numbering MESR9xx Modbus Gateways are a growing family of products Models are available with one or two serial con
17. of the Modbus Gateway When DHCP option is enabled but the DHCP server is not found the Modbus Gateway will automatically configure IP address 1169 254 255 255 with a subnet mask 255 255 0 0 c To configure your Modbus Gateway without using a DHCP Server uncheck the I want DHCP to setup the network box You will need to know the IP Address Subnet Mask and Default Gateway IP Address field contains static internet protocol address of the Modbus Gateway Subnet Mask field contains mask that is used to define sub network For Class A network IP addresses 0 0 0 0 through 127 255 255 255 the default subnet mask is 255 0 0 0 Page 24 Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 3 Setup and Connections Vlinx MESR9xx Modbus Gateway For Class B network IP addresses 128 0 0 0 through 191 255 255 255 the default subnet mask is 255 255 0 0 For Class C network IP addresses 192 0 0 0 through 223 255 255 255 the default subnet mask is 255 255 255 0 For Class D network IP addresses 224 0 0 0 through 239 255 255 255 and Class E network IP addresses 240 0 0 0 through 255 255 255 255 the subnet mask is ignored Default Gateway field contains default route to remote networks Modbus Configuration Manager 1 0 0 i la x 2 Open Save Which device do you want to configure Choose the device by clicking on one of the devices in the list below Mac Address P P P
18. programs to communicate with the COM ports on the Modbus gateway In this type of application the Modbus gateway is configured as a TCP server The socket program running on the PC establishes a communication connection with the Modbus gateway The data is sent directly to and from the serial port on the server To set up a Direct IP Mode connection 1 Connect the Modbus gateway to the network and a Modbus network as described in previous sections 2 Configure the Modbus gateway with the appropriate network settings using Vlinx Modbus 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 Serial Devices Figure 47 Direct IP Connection Page 39 Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 3 Setup and Connections Vlinx MESR9xx Modbus Gateway Initiating a Hardware Reset on the Modbus Gateway To initiate a Hardware Reset on the Modbus gateway press and hold the Mode switch for 0 to 2 seconds and then release it The LED indicators respond as follows 1 The Ready LED blinks three times per second while the button is being pressed 2 The Modbus gateway is in Reset Mode when e On the MESR901 Port 1 LED is On and the Ready LED is Off e 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 operati
19. that provides communication across diverse interconnected networks IM Show icon in notification area when connected IM Notify me when this connection has limited or no connectivity b Click on Internet Protocol TCP IP and click lt properties gt Change the parameters to the following IP Address 169 254 102 1 Subnet Mask 255 255 0 0 Default Gateway 169 254 102 100 21x General fou can get IP settings assigned automatically if your network supports this capability Otherwise you need to ask your network administrator for the appropriate IP settings Obtain an IP address automatically Use the following IP address IP address 169 254 102 1 Subnet mask 255 255 0 0 Default gateway 169 254 102 100 Obtain DNS server address automatically Use the following DNS server addresses Preferred DNS server f f Alternate DNS server f Advanced Cancel c Use the Vlinx Modbus Manager Software to search for discover and configure the Modbus Gateway Page 35 Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 3 Setup and Connections Vlinx MESR9xx Modbus Gateway 2 Method 2 Change the Modbus Gateway s network settings to match your PC using Console Mode a Page 36 Connect a null modem serial cable crossover cable from port 1 on the Modbus Gateway to an available COM port
20. the Modbus A 4 slave device does not respond before the fi Modbus Serial Retries timeout has been reached or has a bad response check sum does not match the OBh exception code is transmitted to the Master Modbus Priority 2000 Milliseconds Modbus Message Timeout that initiated the Modbus message Modbus Serial Message Buffering If option is selected the gateway will buffer up to Save 100 Millseconds TX Delay 32 mesmages request per port If this option is unselected the gateway will respond with a 06h if it has a message out on the port with no Save Back Next Advanced Modbus Serial Retries i the maximem number of times that the Modbus gateway will retry to send a Modbos message to a Modbus client before reporting 2 0Bh exception if it is selected Number of retries is limited to 5 Modbus Message Timeout is the maximem amount of time to wait for a response to the mesage Valid valve range is from l to 63535 Figure 63 Port 1 Modbus Page 56 Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 8 Modbus Help Vlinx MESR9xx Modbus Gateway 3 E 2 8 m 2 Open Monitor Modbus Configuration Manager 1 0 0 loj x Port 2 Modbus Modbus RTU E l Enable modbus broadcast M Enable 0OBh Exception Enable serial message buffering 1 Modbus Serial Retries 2000 Milliseconds Modbus Message Timeout 100 Milliseconds T
21. the devices in the list below Mac Address Modbus Gateway Contents Login Help Login l ooo Enter the password to login to the device Password then click on the Login button Login Model MESR901 Firmware Version 1 0 2 Hardware Version 0 MAC Address 00 0B EB FF FF 01 Link Status 100BaseTX full duplex Copyright 2007 2008 BEB Electronics Manufacturing Company Inc All rights reserved A start eag IE Modbus Configuration Zei KA 1 06PM Figure 27 Configuration Manager Screen Page 20 Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 3 Setup and Connections Vlinx MESR9xx Modbus Gateway 4 6 Modbus Configuration Manager 1 0 0 Open Vricn devi JO rO Le UO POU V I LU Server Name Connection Contents General General Network Modbus TCP MESR901 Port 1 Serial M I want to change the password Port 1 Modbus Port 1 ID Remap Save Nex Modbus ID Routin Modbus Priority All Modbus Gateways on the network will be displayed in the top portion of the screen To select a gateway simply click the appropriate device on the top portion of the screen a The main portion of the screen displays the Model Firmware version Hardware Version MAC Address and Link Status The IP Address is also displayed on the top portion of the screen and title graphic area The default password is no password C
22. 1 or 2 b This screen allows you to change the Modbus settings for the port Modbus Configuration Manager 1 0 0 Save lolx a gt Search Upgrade Diagnostic Monitor About Mac Address aai Gateway ME SR90 1 10 1 2 113 Contents Port 1 Modbus Help Modbus ID Routing M Enable OBh Exception General Attached is selectable between Master and Slaves If Master is selected the Modbus Network Attached Master Gateway will run in TCP server mode if Slaves M dhus TCP is selected it will run in TCP client mode Modbus RTU Modbus indicates the protocol of the device connected to the port It can be either RTU or Port 1 Serial ASCII Port 1 Modbus l Enable modbus broadcast Modbus Broadcast is used to send Modbus Port1 IDR broadcasts to a specific serial port Modbus Port ID Remap broadcast is Slave ID Oh If selected the Gateway wall send broadcast messages out the serial port and will not expect a response If unselected it will use slave ID Oh as a standard address Modbus Priority M Enable serial message buffering Modbus OBh Exception When the Modbus a y F slave device does not respond before the Save fi Modbus Serial Retries timeout has been reached or has a bad response check sum does not match the OBh exception code is transmitted to the Master Logout 2000 Milliseconds Modbus Message Timeout that initiated the Modbus message Modbus Serial Message Buffe
23. 1OOBAS TX ccccccccccccccccccceccccusccccuscccuusccccuscscueescuuseesuseccuusesseuncsseusesssuscssaecesuusessaueeegs 14 F ber OU C ONNEN OT scsi dessins eect ase aps lve bad nw eae sent eligi OE evan he es bc ha eh eee nana 14 MESR9xx Modbus Gateway Configuration CONNECTIONS sssseeeeeceeecesnnnnsnsesssseeseeeessssssaaaaaasesssseeneeeessssssaaaaaaansnsnnssesess 14 Installing Modbus Configuration Manager SOftWAre ccccccccccccccccccccc eens see eeeeeee cece eee eee A AAA A ALLE ELLE EE ELLE EEE E EEE A AGES ALLE EE EEE EES 14 Configuring the MESR9xx Modbus Gateway via the Network COnne ction cccccccssseeeeeeeeeeeceeeeeeeeeaaaaasssseseeeeeeeeeeenaaas 19 Configuring the MESR9xx Modbus Gateway on Networks without a DHCP Servet ooon 34 Configuring the MESR9xx Modbus Gateway via the Serial Port Console Mode wi cccccccccsecccccccceeeneeeeececeeaneesesceseeeaaees 37 MESR9xx Modbus Gateway Operational Connections 1sssseeeessseeeeccesenennnnannensssseeseeeessssasaaaaaaaeaesseeseeeessssssaaaaaaessinnssesess 39 Using MESR9xx Modbus Gateways in Direct IP Mode oooonnnnnnnnnnnnnnnnnnnnsssennnnssssesnessssseressssssereesssssreresssssreressss 39 Initiating a Hardware Reset on the Modbus Gateway cccccccneeeeeeeceeeneeeseeeeseaaaueeeeesesaaacasesesesaaaaaesessssaaaaseeessssaaaeaeeeessaas 40 Robading Foy DAUS core e E EEE EE EEEE 40 4 Upgrading the Modbus Gateway FirMWale sscssssscccccnnesccncnnnenscsennnnnsssenn
24. 7 6 Kbps ASCII Slave ASCII Slave ASCII Slave ID 1 ID 5 ID 205 Figure 57 Serial amp Ethernet Masters Serial amp Ethernet Slaves 1 In this example Serial Port 1 has an RTU Master attached Configure the serial port settings as appropriate for the device Access the Port Modbus screen and configure it the port for Modbus Master and RTU Page 51 Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 8 Modbus Help Vlinx MESR9xx Modbus Gateway Modbus Configuration Manager 1 0 0 Contents Port 1 Modbus Help Attached is selectable between Master and General Staves If Master is selected the Modbus Network Attached Master Gateway will run in TCP server mode if Slaves is selected rt will run in TCP client mode Modbus TCP Modbus RTU x Modbus indicates the protocol of the device connected to the port It can be either RTU or Port 1 Serial ASCH Port 1 Modbus Enable modbus broadcast Modbus Broadcast is wad to send Modbus broadcasts to 2 specific serial port Modbus Port 1 ID Remap broadcast is Slave ID Oh If selected the F Enable 0Bh Exception Gateway will send broadcast messages ovt the serial port and will not expect a response If Port 2 Serial unselected it will use slave ID Oh as a standard Port 2 Modbus l Enable serial message buffering Pont2ID Rem Modbus 0Bh Exception When the Modbus r slave device does not respond before the 1 gt Modbus Serial Retr
25. DIN rail mount 35 mm UL Class1 Div2 Dimensions Medium Case MESR92x 1 2 x 4 5 x 6 2 in 2 8 x 11 4 x 15 7 cm Dimensions Small m Case MESR90x 1 2 in X 3 3 x 4 7 in 3 1 x 8 4 x 11 9 cm Power Supply Voltage Requirements 10 to 48 VDC 58 VDC Max External Supply Required Power Consumption yai E an co Page 66 Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 9 Appendices Vlinx MESR9xx Modbus Gateway es ee O l meme pea Fe cima Sm es w oe Controls Indicators and Connector Specifications Hold in for 0 to 2 seconds for hardware reset Hold in for 2 to 10 seconds for Console Reset button Mode Do a hardware reset or recycle power to exit Console Mode Hold in for more than 10 seconds to reset to factory defaults Serial LED Color Green one per port On Port open poe Blink Data traffic Color Green On 100BaseTX Off 10BaseT Blink Data traffic Link LED Color Green RD RD Blink once per second System OK Off System NOT OK 10BaseT 100BaseTX Ethernet Single RJ 45F 8 pin SC fiber SC connector connector Connectors MESR901 x one DB 9M connector Serial MESR902D x Two DB 9M connectors MESR902D x Two DB 9M connectors Two DB 9M connectors MESR902T x Two pluggable lockable 5 08 mm terminal blocks DC Power 9 08mm 2 position pluggable lockable terminal block Page 67 Manual Documentation Number MESR9xx 0712m www bb elec
26. Diagnostic Monitor About Which device do you want to configure Choose the device by clicking on one of the devices in the list below Mac Address Modbus ID Routing P server settings simultaneous TCP clients that can be re aa connected Modbus Priori Listen on Port 502 Connection Filter Mode controls which TCP clients can connect Save Limit the number of connections to 16 connections gt Logout and allow everyone to connect and allow a specific IP address to connect C and allow a specific range of IP addresses to connect These are the IP addresses I want to allow to connect M IP address 00 0 0 C IP address oo 0 0 C IP address o 0 0 0 Save Back Next Figure 34 TCP Connection Filter Allow Specific IP addresses to Connect b You can select a specific range of IP addresses to connect This filter is limited to 4 IP address ranges c Save settings by clicking the Save button Modbus Configuration Manager 1 0 0 E h i lal x A fqn p Open Save Search Upgrade Diagnostic Monitor About Which device do you want to configure Choose the device by clicking on one of the devices in the list below Mac Address and allow everyone to connect and allow a specific IP address to connect and allow a specific range of IP addresses to connect These are the IP address range I want to allow to connect l IP address a 0 0 0 through fo 0 0 0 l I
27. ESR9xx 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 Figure 2 Front View of an MESR921 Modbus Gateway Page 6 Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 2 Hardware Vlinx MESR9xx Modbus Gateway LED Indicators MESR9xx Modbus Gateways have three types of LED indicators Ethernet Link LEDs a Ready LED and Serial Port LEDs Figure 3 Ready Ethernet Port LEDs on 1 and 2 Ethernet Port Modbus Gateways E1 E2 Ethernet Link LED The Ethernet Link LED E1 or E2 illuminates green if the Ethernet is connected When the LED is blinking it indicates that there is data traffic on the Ethernet link E1 is used for all models to connect to 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 conditions or three times per second in reset configuration mode or when loading factory defaults If the LED is off or steady it indicates the system is not operating correctly Serial Port LEDs MESR901 x Modbus Gateways feature one serial port MESR902D and MESR902T x Modbus Gateways feature two serial ports Each serial port has an associated LED Serial Port LEDs blink green when data is being transmitted or rece
28. License Agreement Tou must agree with the license agreement below bo proceed PURCHASE AND LICENSE AGREEMENT OF CUSTOM SOFTWARE PROGRAM This Agreement is entered into prior to this installation the Execution Date between B amp B Electronics herein referred to as B amp B with its principal business office at U Dayton Road Ottawa IL 61350 and User of Software herein referred ta as USER 1 CERTAIN DEFINITIONS accept the license agreement donot accept the license agreement Back Cancel Wise Installation Wizard A Figure 17 Modbus License Acceptance Screen Page 15 Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 3 Setup and Connections Vlinx MESR9xx Modbus Gateway c Click Next The User Information Screen will be displayed on your computer Enter your name and organization optional and select if the software will be accessible to your account or anyone who uses the computer ie Modbus Gateway Manager Setup a x User Information Enter the following information to personalize your installation i A S Full H ame I Organization The settings for this application can be installed for the current user or for all users that share this computer ou must have administrator rights to install the settings for all Users Install this application for f Anvone who uses this computer Orly for me Write Installation Wiz
29. Modbus TCP networks allowing seamless integration of any Modbus device Each serial port is accessible over a LAN or WAN by up to 16 simultaneous Modbus TCP masters All Vlink MESR gateways feature auto detecting 10 100Base T copper and fiber optic connections Simple Installation and Setup v ae gt Internet E start l 0 12 49PM Figure 41 Open Web Browser 2 Inthe browser s address bar type the IP address of the Modbus gateway File Edit View Favorites Tools Help Back mpn x Sea Type IP Address Here Figure 42 Type IP Address Page 33 Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 3 Setup and Connections Vlinx MESR9xx Modbus Gateway Note Your Modbus gateway comes from the factory pre configured to receive an IP address assignment from a DHCP server If a DHCP Server is not available on your network it will default to 169 254 102 39 The web interface Login page appears Modbus Configuration Manager 1 0 0 0 3 P P Sav 3 Open e Search Upgrade Diagnostic Monitor About erver Name MESR921T A1 OOOBEBFFFFO1 10 1 0 250 00 0B EB FF FF 01 Which device do you want to configure Choose the device by clicking on one of the devices in the list below ver N Connection Al Modbus Gateway OOBEBFFFFOL 10 1 0 250 Contents Login Password Login Login Model
30. My Computer My Network Places Z Recycle Bin iii td Modbus Gateway Manager Figure 25 Vlinx Modbus Gateway Manager Shortcut Icon Page 19 Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 3 Setup and Connections Vlinx MESR9xx Modbus Gateway 2 The Vlinx Modbus Configuration Manager Device Discovery window appears Modbus Configuration Manager 1 0 0 0 BHA Way S9 Modbus Gateway M Connection Progress How do you want to connect to the device Network Serial Port M Network Options don t know the IP address of the device C The device is at this IP address m Connect Exit _Connect Figure 26 Vlinx Modbus Configuration Manager Discovery Window 3 If you do not know the IP address check the Network and I don t know the IP address of this device selections and press the Connect Button The software will discover any MESR9xx Gateways on the network The configuration manager screen will be displayed on your computer All available devices will be listed on the top portion of this screen If you know the IP address you may select The Device is located at this IP address and input the address in the box provided Modbus Configuration Manager 1 0 0 o x A P p p 2 Open Save Search Upgrade Diagnostic Monitor About Which device do you want to configure Choose the device by clicking on one of
31. P address la 0 0 0 through fo 0 0 0 C IP address foo 0 0 through fo 0 0 0 IP address a 0 0 0 through a 0 0 0 Save Beck Nex Page 27 Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 3 Setup and Connections Vlinx MESR9xx Modbus Gateway Figure 35 TCP Connection Filter Allow Specific Range of IP Addresses to Connect 10 PORT x Serial Settings a To access this screen click the Next button or click the Port X Serial link on the left side of the screen X The Serial Port number 1 or 2 b This screen allows you to change the serial port settings Modbus Configuration Manager 1 0 0 ioj x 3 tp Pe Open Save Search Upgrade Diagnostic Monitor About Which device do you want to configure Choose the device by clicking on one of the devices in the list below Server Name Connection Mac Address Contents Port 1 Serial Help General Description sets the description for this serial Description port Maximm m length is 32 symbols Allowed Network p Serial Port characters are symbols from to Z from a Wodbus TOP to z mmbers from 0 to 9 and the space Mode RS 232 gt Mode controls the physical commmmications mo Port 1 Serial a Baud Rate controls the commmnucations Port 1 Modbus Baud Rate 4800 Z speed of the serial port Por 11D Rema i Data Bits controls the mumber of bits of da
32. R Search Upgrade Diagnostic Monitor About 2 O1 10 1 2 113 Modbus Gateway Contents Network Help General n pearl a ge DHCP am A is used to set t net mas Network C T want DHCP to ae the network default gateway of the Modbus Gateway Modbus TCP When DHCP option is enabled but the DHCP IP Address Ss server is not fund the Modbus Gateway will automatically configure an IP address in the Eont senal 169254255255 wih a mbnet mak Port1 Modbus Subnet Mask s 255 255 0 0 ee ee ee Port 1 ID Remap Address field contains static interne Default Gateway mle cree tthe Modbus rainy i Modbus ID Routing rara oe mask that is used Modbus Priority Save Back Next et eee EEE E m For Class A network IP addresses 0 0 0 0 through 127 255 255 255 the default subnet nite mask is 255 0 0 0 For Class B network IP addresses 128 0 0 0 hrough 191 255 255 255 the default subne Logout mene 2555500 os For Class C network IP addresses 192 0 0 0 through 223 255 255 255 the default subnet mask is 255 255 255 0 For Class D network IP addresses 224 0 0 0 through 239 255 255 255 and Class E Figure 32 Network Settings Screen DHCP not Selected d More information about assigning an IP address without using a DHCP Server is contained in the section Configuring the VESR90x Serial Server on Networks without a DHCP Server ps 7 66 29 e Save changes by Clicking the Save button 9 Modbus
33. Re apply power Open the Vlinx Modbus Manager Software and select Network as the method to connect to the device Configuring the MESR9xx Modbus Gateway via the Serial Port Console Mode Your Modbus gateway can be configured via a serial port using Vlinx Modbus Manager To use this feature the Modbus gateway s serial port must be connected to the serial port of a PC using a null modem cable Figure 44 Console Mode Setup To configure the Modbus gateway it must be put into Console Mode using the Mode switch To enter Console Mode press and hold the Mode switch for between two and ten seconds The LED indicators respond as follows 1 The Ready LED blinks three times per second while the button is being pressed 2 The Modbus gateway is in Console Mode when e On the MESR901 Port 1 LED is On and the Ready LED is Off e On MESR902x models Port 1 LED is On and the Port 2 LED 1s Off To configure the Modbus gateway open the Vlinx Modbus Manager software and set up the Modbus gateway s parameters as required 1 Under Connection select Serial Port Page 37 Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 3 Setup and Connections Vlinx MESR9xx Modbus Gateway Modbus Configuration Manager 1 0 0 3 loj x e t T M Modbus Gateway Connection How do you want to connect to the device C Network Serial Port Progress Serial Port Options Search a
34. Ready to Install the Application Click Nest to begin installation Click the Back button to reenter the installation information or click Cancel to exit the wizard Wise Installation Wizard A lt Back Cancel Figure 20 Ready to Install Application Screen f Click Next The software will begin installing ile Modbus Gateway Manager Setup Updating System The features you selected are curently being installed Extracting properties UeerSlD wize Installation wizard A Appa Figure 21 Software Installing Screen Page 17 Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 3 Setup and Connections Vlinx MESR9xx Modbus Gateway g After the installation is complete an information screen will be displayed containing contact information and release notes Click Next i Modbus Gateway Manager lol x Tel ixi Modbus Gateway Manager Information Thank you for purchasing the MESR amp Yx product Software Release Motes 1 0 0 11 14 2008 Initial release of MESRYx x Wlinxs Manager PC software Technical Support and Information Telephone 1 800 346 3179 8 00 AM 5 00 PM CST Monday Friday FAX 1 815 433 5104 ATTN support E mail supportiibb elec corm El Pack ance Wise Installation Wizard A Figure 22 Information Screen h Click Next The Installation Complete screen will be displayed on your computer Click F
35. S saosin anei Er EERE EE R EEEREN OREA RERE E EEEO RN VEREER 63 Appendix A Default Gateway Settings 22 cccccccccccsssssceessssseceeescecencssssaccesnssseceeseseeeenssscaceagnssueseseseeeeeensssuecagasseseesesseesenssaaas 64 Appendix B Product Specifications 000000000ann0n00annnennnannnnrnnnnnnnnnnnnnnnnrrrnnnnnnrrrnnnnnrrrrnnnnnnnrrnnnrnrnrrrnnnnnnrrrrnnnnnrrrennnnnnrennnne 65 E L E a ee ORE ere IEN E epee ter ae EA E AS A EAN I N E E E T 66 Controls Indicators and Connector Specifica ONS sr aes iai aE E a Ean E EREA EAER RSR REEE NIS 67 Sa eCe opec ea UO sioe a at teal ace hantae ga batae anaes SeadenaeA eee mea toutes 68 Network SPCC ICONS psr an a sas cation Anan E anata inane yentintaiameantonane tiaiece O EAR A E E 69 Append C Dimensional Diagrama ssssrssrsrsseiiini ervarin sin ia Nr Erus Ean EA N ENEE EENE E TE EENE ESENE ENNEN EEN E nE E nE EREE NEEESE EEN ENN E ETNE 70 Append D Connector OS seers eeii EEEE EEEE E ne eee 74 MESRYOT x Serial Port TOS ott cecctse gaacuta sbcasenciheagoe iu trine ENEE herman pee ces EA RNEER EEE EE EA duane sence nidennereeauands 74 MESKIO ET SOTA OT FINOU ota carat anette A E S 76 Standard Ethernet Cable IIA PIN sOU iy ena iit cesnsainedaasnrsesasourcudesdaltbudecsaeaeddsdebbednsasconavadebGudedasioeneadotGalisuadendesd obiudsseasuedaias 77 9 GOSSA V arctic es cise ces E smc es ats dees anise E E E E E EE E E RE 78 Page ii Manual Documentation Number MESR9xx 0712m www bb elec com www bb
36. X Delay EE ae ee nines Figure 64 Port 2 Modbus Help Attached is selectable between Master and Staves If Master is selected the Modbus Gateway will ron in TCP server mode if Slaves is selected it will run in TCP client mode Modbus indicates the protocol of the device connected to the port It can be ether RTU or ASCII Modbus Broadcast is wed to send Modbus broadcasts to 2 specific serial port Modbus broadcast is Slave ID Oh If selected the Gateway will send broadcast messages out the serial port and will not expect a response If unselected it will use slave ID Oh as a standard ad ress Modbus 0Bh Exception When the Modbus slave device does not respond before the timeout has been reached or has a bad response check sum does not match the OBh exception code is transmitted to the Master that initiated the Modbus message Modbus Serial Message Buffering If option is selected the gateway will buffer up to 32 messages request per port If this option is unselected the gateway will respond with a 06h if it has a message ovt on the port with no response yet Modbus Serial Retries is the maximem number of times that the Modbus gateway will retry to send a Modbus message to a Modbus client before reporting 2 OBh exception if it is selected Number of retries is limited to 5 Modbus Message Timeout is the maximam amount of time to wait for a response to the message Valid value range is from to 65535 3
37. a a serial port Installing Modbus Configuration Manager Software 1 The Modbus Configuration Manager Software is contained on the CD which is packaged with the product Insert the CD into your CD ROM drive The software should automatically begin the installation process If AUTO RUN is disabled on your computer open the CD drive and double click on the executable file The file name is Modbus Gateway Manager Vx x x a The following screen will be displayed on your computer Page 14 Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 3 Setup and Connections Vlinx MESR9xx Modbus Gateway i Modbus Gateway Manager Setup F lol x Welcome to the Modbus Gateway Manager Installation Wizard ltiz strongly recommended that you exit all Windows programs before running this setup program Click Cancel to quit the setup program then close any programs vou have running Click Nest to continue the installation WARNING This program is protected by copyright law and International treaties Unauthorized reproduction or distribution of this program or any portion of it may result in severe civil and criminal penalties and Will be prosecuted to the masimum extent possible under law Back Cancel Figure 16 Modbus Gateway Manager Installation Welcome Screen b Click Next The License Agreement Screen will be displayed on your computer i Modbus Gateway Manager Setup
38. able serial message buffering 1 7 Modbus Serial Retries 2000 Milliseconds Modbus Message Timeout 100 Milliseconds TX Delay Save Gack Nex Advanced Figure 53 Port 1 Modbus Modbus Configuration Manager 1 0 0 i 5 x Help Attached is selectable between Master and Staves If Master is selected the Modbus Gateway will ron in TCP server mode if Slaves is selected it will run in TCP client mode Modbus indicates the protocol of the device connected to the port It can be either RTU or ASCII Modbus Broadcast is wad to send Modbus broadcasts to 2 specific serial port Modbus oadeast is Slave ID Oh If selected the Gateway will send broadcast messages out the serial port and will not expect a response If unselected it will use slave ID Oh as a standard address Modbus 0Bh Exception When the Modbus slave device does not respond before the timeout has been reached or has a bad response check sum does not match the OBh exception code ts transmitted to the Master that initiated the Modbus message Modbus Serial Message Buffering If option is selected the gateway will buffer up to 32 messages request per port If this option is unselected the gateway will respond with a 06h if it has a message ovt on the port with no response yet Modbus Serial Retries is the maximem number of times that the Modbus gateway will retry to send a Modbus message to a Modbus client before reporting a 0OBh exception rf
39. age range e 10 100 Mbps Ethernet with Auto Selection Auto MDI MDIX e LAN and WAN Communications Page 4 Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 1 Introduction Vlinx MESR9xx Modbus Gateway e TCP Client or Server operation configurable e Firmware Upload for future revisions upgrades Software Support Windows 2000 XP 32 64 bit 2003 Server 32 64 bit Vista 32 64 bit 2008 Server 32 64 bit Windows 7 32 64 bit Configuration of Ethernet and serial port settings using Vlinx Manager software 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 1s convenient and easy to use Page 5 Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 2 Hardware Vlinx MESR9xx Modbus Gateway 2 MESR9xx Modbus Gateway Hardware MESR9xx Modbus Gateways are enclosed in DIN rail mountable enclosures and feature LED indicators power Ethernet and serial connectors and a recessed Mode switch Package Checklist MESR9xx Modbus Gateways are shipped with the following items included e MESR9xx Modbus Gateway Module e Quick Start Guide e CD with User Manual Quick Start Guide and firmware and configuration software MESR9xx Modbus Gateway Enclosures and Mounting All M
40. and became a de facto standard in the industry It supports asynchronous point to point and multidrop communications and can be used with a variety of serial interfaces RS 232 RS 422 RS 485 modems etc The original Modbus specification included two possible transmission modes ASCII and RTU Modbus RTU mode is the most common implementation using binary coding and CRC error checking Modbus ASCII messages though somewhat more readable because they use ASCII characters is less efficient and uses less effective LRC error checking ASCII mode uses ASCII characters to begin and end messages whereas RTU uses time gaps 3 5 character times of silence for framing The two modes are incompatible so a device configured for ASCII mode cannot communicate with one 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 do not reply to More commonly the master polls individual slaves sequentially In each poll it sends a message containing a device address followed by a function code any data that maybe required and an error check field The addressed slave responds with a similar message structure Typically it repeats back its address and the function code and then sends a field indicating the number of bytes of data it is sending followed by the data and the error check field Slave addresses can
41. ard A lt Back Cancel Figure 18 User Information Screen d Click Next The Destination Folder Screen will be displayed on your computer The default directory is C Program Files BB Electronics Vlinx Modbus Gateway Manager If desired you can select another location by pressing the Browse button ig Modbus Gateway Manager Setup Destination Folder Select a folder where the application will be installed The Wise Installation Wizard will install the files for Modbus Gateway Manager in the following folder To install into a different folder click the Browse button and select another folder You can choose not to install Modbus Gateway Manager by clicking Cancel to exit the Wise Installation Wizard Destination Folder C Program Files 6B Electronics line shodbus Gateway Ma You can install the software on the following drives Available Re C F4GB 52GB SPH TEGME BEIME 136G6 32GB 136G6 16GB z F lt Back Next gt Cancel Wise Installation Wizard A Figure 19 Destination Folder Screen Page 16 Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 3 Setup and Connections Vlinx MESR9xx Modbus Gateway e Click Next The Ready to Install Application Screen will be displayed on your computer You can select the Back button to change destination folder iis Modbus Gateway Manager Setup 2 E x
42. ave Limit the number of connections to 16 connections gt Logout and allow everyone to connect C and allow a specific IP address to connect C and allow a specific range of IP addresses to connect Save Back Next Figure 33 Modbus TCP Settings Screen c TCP Client Settings 1 Connect to Port identifies TCP port to be used by the Modbus Gateway in TCP client mode Valid value range is from 1 to 65535 2 Response Timeout is the maximum amount of time to wait for a response to a request that is sent to the device connected through TCP Valid value range is from 1 to 65535 3 Save settings by clicking the Save button b TCP Server Settings 1 Listen on Port identifies TCP port to be used by the Modbus Gateway in TCP server mode Valid value range is from to 65535 2 Limit the number of connections to pull down box allows you to control the number of simultaneous TCP clients that can be connected Choices are through 16 3 Connection Filter Mode controls which TCP clients are able to connect The default is and allow everyone to connect Page 26 Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 3 Setup and Connections Vlinx MESR9xx Modbus Gateway a You can select allow specific IP addresses to connect This filter 1s limited to 4 IP addresses Modbus Configuration Manager 1 0 0 E lalx K fs 2 Open Save Search Upgrade
43. bus Help Vlinx MESR9xx Modbus Gateway 6 Application Examples Modbus gateways can be used to integrate Modbus networks in a wide variety of settings But as each setting has its own requirements users may not understand how a gateway helps or if it s appropriate for their specific needs The following scenarios are examples only and many others are possible Contact B amp B Electronics technical support for information on other applications Ethernet Master and Serial Slaves Your Modbus gateway can be used to integrate serial slave devices on a Modbus TCP network This allows TCP Masters to control serial slave devices The example below is using a gateway with two serial ports IES RS 232 2 Serial 2 19 2 Kbps ho o h RTU Slave MESR902T Maun ASCII Slave ASCII Slave ASCII Slave ID 1 ID 5 ID 205 Figure 51 Ethernet Master With Serial Slaves Page 45 Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 8 Modbus Help Vlinx MESR9xx Modbus Gateway 1 Log into your gateway 2 Access the serial port one setup screen by clicking the link on the left side of the screen Modbus Configuration Manager 1 0 0 5 x Ql 2 amp 2 Open Save Search Upgrade Diagnostic Monitor About Which device do you want to con Choose the device by clicking on one of the devices in the list below Port 1 Serial Help Description sets the description for thi
44. corm www bb europe com 3 Setup and Connections Vlinx MESR9xx Modbus Gateway d This area contains helpful information about the configuration screen you are currently on e This area contains shortcuts to specific functions 1 Open allows you to load a previously saved configuration file into your Modbus Gateway 2 Save allows you to save your configuration to a file This should not be confused with the Save button described in 6 c above Search allows you to search for Modbus Gateways on the network 4 Upgrade allows you to upgrade your Modbus Gateway s firmware Diagnostic allows you to test a configured Modbus Gateway See Section 5 6 Monitor allows you to monitor a Modbus Gateway See Section 5 7 About contains information about your Modbus Gateway 7 General Settings Modbus Configuration Manager 1 0 0 i 5 x A P 5 t 5 Open Save Search Upgrade Diagnostic Monitor About Which device do you want to configure Choose the device by clicking on one of the devices in the list below Mac Address OTS 7 MESR901 10 1 2 113 A Contents General Help Modbus Gateway General Modbus Gateway Name is a unique name The nam this M Gateway is assigned to the serial server It nust be a valid Network e name of this Modbus Gate a da hostname as defined by RFC 952 and RFC R 1123 N i t Modbus TOP MESR901 ame requirements are 1 Allowed character
45. e arrows see figure below Modem Cable Straight Cable DBS to DBS DTE Device icone DBS earache DCE Device Modem DBY cD 2 Reseive Bete eJ RD 2 kecewa Beta RO 3 Transmit Deta Tx TD ummm 5 Signal GroundiCommon SG GND m DSR HG Data Set Ready SR 7 Requestto Send RTS He Geer io Send ee 3 Ring Indicator 2 Saldered to DBS Metal Shield Soldered to DB9 Metal Shield 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 pin out information Serial Device a Figure 13 MESR901 Connections Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 3 Setup and Connections Vlinx MESR9xx Modbus Gateway Connecting the MESR9x2T x The MESR9x2T x has two serial connections that support RS 232 RS 422 and RS 485 2 and 4 wire The unit has two connectors both of which are 5 position terminal blocks Make the appropriate connections to the terminal blocks to match the serial connection mode you select when configuring the Modbus gateway Note Refer to Appendix D for connector pinout information Network Figure 14 MESR902T x Connections Connecting the MESR9x2D x The MESR9x2D x has two serial connections that support RS 232 RS 422 and RS 485 2 and 4 wire Th
46. e following specifications e General Specifications e Controls Indicators and Connector Specifications e Serial Interface Specifications e Network Specifications Page 65 Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 9 Appendices Vlinx MESR9xx Modbus Gateway General Specifications Hardware and aves MESR901 x MESR902D x or included accessories MESR902T x Modbus gateway module CD with Vlinx Modubs Manager software for Windows 2000 XP 32 64 bit 2003 server 32 64 bit Vista 32 64 bit 2008 server 32 64 bit Windows 7 32 64 bit Ontional Accessories Cable 232NM9 Null Modem Crossover Cable for P DTE to DTE connection ERS35 one meter length of steel 35mm DIN Rail Using Vlinx Modbus Manager via a serial Configuration Options Via serial port connection press Reset button to enter Console Mode anewa Using Vlinx Modbus Manager via a Ethernet connection Using a standard web browser such as Internet Explorer 6 0 7 0 or Firefox 1 5 2 0 Vlinx Modbus Windows 2000 XP 32 64 bit 2003 Software Manager for Modbus Server 32 64 bit i ae bit 2008 gateway configuration Server 32 64 bit Windows 7 32 64 bit Environment eperaing 40 to 80 C 40 to 176 F Temperature Storage Temperature 40 to 85 C 40 to 185 F Operating Humidity 10 to 95 non condensing Certifications Part 15 Class A E JL Listed Fle 22257 Groups A B C D HAZLOC File E245458 Ce Mounting
47. e to the local firmware folder Uploading the Firmware to the Modbus Gateway Page 42 To upgrade the firmware 1 In the Modbus Gateway Selection drop down list select the Modbus gateway to be upgraded 2 In the Firmware Description drop down list select the firmware to upload to the Modbus gateway 3 Click the Upgrade button Progress Bar and Progress Box provides information on the progress of the transfer 4 Inthe 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 6 When the upgrade process is complete click Close Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 6 Diagnostics Vlinx MESR9xx Modbus Gateway 5 Diagnostics Clicking the Diagnostics icon opens the Diagnostics dialog 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 addresses Subnet Masks and Default Gateways in use Modbus Configuration Manager want to test Computer Information SRY Ethernet Adapter Local Area Connection IP Address 192 168 0 2 Viling Information Subnet Mask 255 255 255 0 Server Name MESR9 1 DefaultG ateway 192 168 0 1 IP Address 192 168 0 5 Test Progress Start Cancel Figure 49 Diag
48. e unit has two connectors both of which are DB 9M connectors You must connect the Modbus network to the Modbus gateway via a serial cable The 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 Note Refer to Appendix D for connector pin out information Serial Device Q RS232 Serial Serial Device Ko Figure 15 MESR902D x Connections Page 13 Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 3 Setup and Connections Vlinx MESR9xx Modbus Gateway Connecting MESR9xx Modbus Gateways to a Network Network Connection 10BaseT 100BaseTX When connecting a Modbus gateway equipped with a 10BaseT 100BaseTX network connection RJ45 connector a standard network cable is connected from the Modbus gateway to a network drop PCs configuring and or communicating with the Modbus gateway are also connected to the network Fiber optic Connection When connecting a Modbus gateway equipped with a fiber optic interface to a fiber optic link the appropriate fiber optic cable must be connected between the Modbus gateway and the network interface Refer to Figure 2 List of MESR9xx Modbus 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 vi
49. es only and does not constitute an endorsement by the trademark holder Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com Table of Contents Table of Contents 1 DTT OCU COON orsin EEEE E Eae EE rE 1 About MESH Modbus lol cl 2 cn ae ae irene e ai ere Ea En E E E D a a eee ee aE ae eee ee eee 1 MESR9xx Modbus Gateway Model Numbering as ccctesseeveussonacetesetihaussenassilsconesatecunctectlaleatlaencenannteccueseuaeenaess eal anncatestaweuausses 2 List of MESR9xx Modbus GaleWay Models sississsarisiesnirreniieianaan enana EAEAN AEAEE EEEE EAEE EE AKERE 3 MESR9xx Modbus Gateway FOAature cccccccccccssssssceeeececcccnssscccesnssseseeesscesenssssacoasnssuuseseseeeecessasaccgeassussesssseeeanssssaceegssseessseees 4 Vinx Manager Gonligura tion SONWANC sas isiccsszkssentectsaeusaveescteasntenttesietaudaabiqexesdiasettnnident basdeaatdaeddaneessiacehenstiaesdariaiaedesidaesensnsieeet 5 2 MESR9xx Modbus Gateway Hardware sccccccssssssesccnscccssnnnenesnseenanussessnseenanaasssesseeesanansssssseeeanansnssssssanaaaans 6 ie o ee O 4 cj Mee ee mn OT eee eee Tee ee rere nn ee eee ee A ee ee ee eee 6 MESR9xx Modbus Gateway Enclosures and Mounting seseesseeeeececeeeecnsnannnesssseeeeeeessssnsaaaaaaassesseneseeesesssnsaaaaaansssenteseess 6 1 OD E E 2 see renee ME RC ee me ee ne meee eR ene nen eee ven nnn tre Petter ee en ernest cone meet ene 7 POTTED BCPC TL ESAE SEAI AEEA E E AE ATE T 7 P
50. ew Favorites Tools Help ae Q tack i _ Search 5 Favorites 4 sc w LJ rel 3 ee at J B My Account Shopping Cart International Connecting Your Industrial World Search SSC earc B amp B ELECTRONICS Simply and Reliably Home Products Custom OEM Support Tech Notes Quick Order Free Catalog Contact Home gt Products Ethernet gt Ethernet Serial Device Servers gt Modbus Ethernet Serial Servers gt Vlinx MESR Industrial Modbus Ethernet to Serial Servers New Vlinx MESR Industrial Modbus Ethernet to Serial Gateways Ethernet 4 i ivi Seamlessly Integrate Your Modbus TCP and y pee eee Modbus rds Fiber Ethernet and built in EINX Wireless Ethernet Pass Through Options Available USB Connectivity Remote I O and Data Solve most any Modbus conversion challenge with the MESR Modbus Acquisition Gateway Cables and Cable Accesories ASCII to RTU Conversion ASCII or RTU to Modbus TCP Conversion Remap conflicting Modbus ID s Add multiple masters to Modbus networks Prioritize messages based on IP address Modbus ID and Function code Convert mismatched serial baud rates and settings Route Modbus traffic based on Modbus ID Controllers Operator Interface Power Supplies Relays Timers Surge Protection More Products MESR Modbus Gateways bridge devices on Modbus serial networks RS 232 RS 422 or RS 485 with those on
51. example two slave devices that are hard coded with the same ID are required This is accomplished by putting them on different serial ports RS 485 dentical Hard Coded Slave z ASCII Slave aes a ID 1 LINX l Serial 1 s Serial 2 RS 485 Sr N ASCII Slave ASCII Slave ai ID 1 ASCII MASTER Page 59 Figure 66 Identical Hard Coded Slaves Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 8 Modbus Help Vlinx MESR9xx Modbus Gateway Identical Production Lines In this example identical or backup production lines can be controlled by the same IP Master This allows the duplicate networks to be configured identically saving documentation and maintenance time IP Master Ethernet aan tine Dy 2 Seri i Serial 1 4 RTU Slave RTU Slave g Serial 2 ID 1 ID 2 ID 3 PCE MESR902T mm mS N RTU Slave RTU Slave RTU Slave ID 1 ID 2 ID 3 Figure 67 Identical Production Lines Page 60 Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 8 Modbus Help Vlinx MESR9xx Modbus Gateway 7 Modbus Help Modbus ASCII RTU Basics The Modbus protocol emerged in the mid 1970s as an early protocol for linking terminals with Modicon PLCs using a master slave sometimes called a master client relationship A simple open message based protocol it caught on quickly
52. f bits to indicate the end of a character Parity Parity controls the error checking mode save Back Na Copyrigh 2007 2008 B amp B Elecrronic Manufacturing Company Inc Ail right reserved Figure 62 Port 2 Serial 2 Access the Modbus screen for each port and configure as appropriate In this case Port 1 has an ASCII Master and Port 2 has an RTU Master attached Page 55 Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 8 Modbus Help Vlinx MESR9xx Modbus Gateway Modbus Configuration Manager 1 0 0 An Contents Port 1 Modbus Help General Attached is selectable between Master and Staves If Master is selected the Modbus Network Attached Master gt Gateway will run in TCP server mode if Slaves Modbus TCP is selected it will run in TCP client mode Modbus fasci Modbus indicates the protocol of the device connected to the port It can be either RTU or Port 1 Serial asc Pon 1 Modbus l Enable modbus broadcast Modbus Broadcast is wed to send Modbus broadcasts to a specific serial port Modbos Port 11D Remap broadcast is Slave ID Oh If selected the M Enable OBh Exception Gateway will send broadcast mesmages out the f serial port and will not expect a response If Port2 Serial unselected it will use slave ID Oh as a standard Port2 Modbus l Enable serial message buffering address Port2 ID Remap Modbus Bh Exception When
53. ge Network T E SenalPon2 E from 1 to 255 Modbus TCP ID fi B To Serial Pon2 arin second box a sheng Last RIDO f that Valid valve range ID 205 205 To Serial Porn 2 Iha hird box east ID e fisi reo To E Aites 2 fi01 257 hich hs slave devi aerea mre aS IP address of the e if IP address is chosen in the third or IP address att tached Save Sack Nea _ Advanced Copyrigh 2007 2008 B amp B Elecrronic Manufacturing Company Inc All right reserved Figure 59 Modbus Slave ID Routing Serial Masters IP Slaves Serial Masters can be used to control IP Slaves IP Slave ID 151 160 IP Slave ID 150 Serial 1 Serial 2 ASCII Master MESR902T 19 2 Kbps RTU Master Figure 60 Serial Masters IP Slaves Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com Page 53 8 Modbus Help Vlinx MESR9xx Modbus Gateway 1 In this example and ASCII Master is connected to Serial Port 1 and an RTU Master is connected to Serial Port 2 Configure the serial ports as appropriate for these devices Modbus Configuration Manager 1 0 0 p 5 x up BELS Modbus Gateway Contents Port 1 Serial Description SeialPoni Mode RSs232 x Baud Rate Data Bits 7 Bits Stop Bits 1 Bit Parity ven Save Back Naaj Copyrigh
54. ies timeout has been reached or has a bad response check sum does not match the OBh exception code is transmitted to the Master Modbus Priority 2000 Milliseconds Modbus Message Timeout that initiated the Modbus message Modbus Serial Message Buffering If option is selected the gateway will buffer up to Save fi00 Miliseconds TX Delay 32 messages request per post If this option is unselected the gateway will respond with a 06h if it has a message out on the port with no Logout Save Back Next Advanced response yet Modbus Serial Retries is the maximam number of times that the Modbus gateway will retry to send a Modbus message to a Modbus client before reporting 2 0OBh exception if it is selected Number of retries is limited to 3 Modbus Message Timeout is the maximam amount of time to wait for a response to the menage Valid valve range is from l to 65535 Figure 58 Port 1 Modbus 2 Configure the Modbus Slave ID routing In this case Modbus Slaves 1 through 5 and 205 are on Serial Port 2 Modbus Slaves 150 and 151 through 160 have IP assignments Page 52 Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 8 Modbus Help Modbus Configuration Manager 1 0 0 Vlinx MESR9xx Modbus Gateway Modbus Gateway i Contents Modbus Slave ID Routing Help General ID i50 150 To IP Address 1012200 range yos tant to rome Vaid vabe ran
55. inish to finish the installation ie Modbus Gateway Manager Setup l jojx E E TEA E Modbus Gateway Manager has been successfully installed Click the Finish button to exit this installation a Back ancel Figure 23 Installation Complete Screen Page 18 Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 3 Setup and Connections Vlinx MESR9xx Modbus Gateway Configuring the MESR9xx Modbus Gateway via the Network Connection When configuring via the network either Modbus Configuration software or the web interface can be used Configuring with Modbus Configuration Manager MESR9xx Modbus Gateways can be configured over the network Modbus Configuration manager software running on a PC To open Modbus Configuration Manager 1 From the Desktop click Start gt Programs gt B amp B Electronics gt Vlinx gt Modbus Gateway Manager An alternate method is to double click the shortcut installed on the desktop amp Set Program Access and Defaults eo Windows Catalog ty Windows Update r Programs Accessories Microsoft Office LA Documents Jax Navision 4xapta Ultrat F Acrobat Distiller 6 0 search fr a VLINS 2 Manual EE Modbus Gateway Manager help arid Support a Quick Start Guide x Uninstall Modbus Gateway Manager Settings Run Log OFF bFoster Windows XP Professional Shut Down Figure 24 Opening Vlinx Modbus Gateway Manager oe
56. it is selected Number of retries us limited to 5 Modbus Message Timeout is the maximem amount of time to wait for a response to the message Valid valve range is from l to 65535 Configure the Port 1 Modbus Settings In this case Attached should be slaves Modbus should be RTU The other settings depend on your application Configure Port 2 Serial and Modbus is the same fashion Access Modbus ID Remapping for each port and configure as necessary Page 47 Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 8 Modbus Help Vlinx MESR9xx Modbus Gateway Modbus Configuration Manager 1 0 0 P p Search Upgrade Diagnostic Monitor About gure Choose the device by clicking on one of the devices in the list below Modbus Gateway Contents Port 2 Modbus Slave ID Remapping Help The first box in line is the starting ID of a l From ID To Port ID range you want to remap Valid value range is from 1 to 255 l From ID To Port ID gt The second box in line is the last ID of that range Valid valve range is from 1 to 255 l From D To Port D sj The third box in line is the start of the remap range on the serial port Valid valve l From 1D To Port ID e range is from 1 to 255 The fourth box in line is asto filled in based l From ID To Port ID on the range filled in the first 3 boxes Valid valve range is from 1 to 255 Save Bac
57. ived on the serial port When the LED is On it indicates the serial port is open L Figure 4 Serial Port LEDs on 1 and 2 Serial Port Modbus Gateways Page 7 Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 2 Hardware Vlinx MESR9xx Modbus Gateway Mode Switch A recessed momentary reset switch is located on the top of the enclosure To activate the switch insert a small plastic tool through the hole in the enclosure and press lightly Figure 5 Mode Switch The Mode switch can be used to e Initiate a Hardware Reset e Enter Console Mode e Reload factory defaults Note Refer to Section 3 Modbus Gateway Setup and Connections for more information on using the Mode switch Ethernet Connector Modbus gateway models using 10BaseT 100BaseTX network connections use an RJ45 receptacle The Modbus gateway is connected to a standard Ethernet network drop using a straight through RJ45 male Ethernet cable Figure 6 Ethernet Connectors E2 is pass through connection on model shown Note Refer to Appendix D for connection pin outs Page 8 Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 2 Hardware Vlinx MESR9xx Modbus Gateway Fiber Optic Connectors Modbus gateway models using fiber optic network connections use either SC or ST connectors depending on the specific model de gt Figure 7 SC and ST Fiber Optic Cable Connectors Serial Po
58. k Next Modbus ID Routing Modbus Priority Save Logout Copyrigh 2007 2008 B amp B Elecrronic Manufacturing Company Inc Ail right reserved Figure 54 Port x Modbus Slave ID Remapping 8 Access Modbus ID Routing Configure as necessary In this example Slave ID 200 is mapped to serial port 1 Slave ID 1 through 5 and 205 are mapped to serial port 2 Page 48 Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 8 Modbus Help Vlinx MESR9xx Modbus Gateway Modbus Configuration Manager 1 0 0 Modbus Gateway Contents Modbus Slave ID Routing Help General The first box in line is the starting ID of a ID 200 200 To Serial Port 1 range you want to roste Valid valve range is Network from 1 to 255 Modbus TCP ID fi B To a a The second box in line is the last ID of that The third box in line is a port or IP address which has slave devices attached D F fos To Serai Ponz a range Valid valve range is from 1 to 255 Addres The fourth box in line is an IP address of the slave device if IP address is chosen in the third box Save Back Next Advanced Copyrigh 2007 2008 B amp B Elecronic Manufacturing Company Inc Ail rights reserved Figure 55 Modbus ID Routing 9 Access Modbus Priority and configure as necessary Page 49 Manual Documentation Number MESR9xx 0712m www bb e
59. lec com www bb europe com 8 Modbus Help Vlinx MESR9xx Modbus Gateway S W LEA t 8 Open Save Search Upgrade Diagnostic Monitor About 102T 000BEB000040 10 1 2 121 Modbus Priority Help pp ya These settings allow the gateway to move high Priority 1 priority messages to the front of the serial message boffer The priority can be based on l IP Address the originating IP address the Modbus ID the ia Modbus function code or any combination of l Modt ID n three Up to five different priorities can be l Function Code IP Address sets a static Internet protocol address for the Modbus Gateway Priority 2 Modbus ID has valid valve range from l to a 7 G ddress IPA S Function Code has valid valve range from I Modbus ID to 99 l Function Code Priority 3 M IP Address l Modbus ID l Function Code Priority 4 M IP Address l Modbus ID l Function Code Priority 5 Figure 56 Modbus Priority Modbus Configuration Manager 1 0 0 E 4 x Page 50 Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 8 Modbus Help Vlinx MESR9xx Modbus Gateway Serial amp Ethernet Masters Serial amp Ethernet Slaves Your Modbus Gateway can also integrate multiple master devices onto serial and Ethernet Networks ID 150 ID 151 160 Serial 2 115 2 Kbps in st MESR902T NTa 5 aa RS 485 RTU Master 5
60. lick the Login button The General Settings screen will be displayed on your computer Vlinx Modbus Manager Settings Screen Overview E clicking on ofe of the devices in the list below lojx a 2 0 7 Save Search Upgrade Diagnostic Monitor About ant nfigure Lhoose the device Di Mac Address MESR901 10 1 2 113 TQ AKE i Ves g w Help Modbus Gateway Name is a unique name assigned to the serial server It nust be a valid hostname as defined by RFC 952 and RFC 1123 Name requirements are The name of this Modbus Gateway is 1 Allowed characters are symbols from A to Z from a to z numbers from 0 to 9 and 2 It s not allowed to use symbol as the first or the last one 3 The name can t consist of mumbers only Page 21 Copyright 2007 2003 BEB Electronics Manufacturing Company Inc All rights reserved Figure 28 Settings Screen Overview This area shows Modbus Gateways available on the network b This area is used to skip directly to the specific configuration screen you need to access An alternate method of accessing the configuration screens is to use the Next button in area C c This area contains dialog boxes specific the configuration screen 1 Note Any configuration changes you make need to be saved using the Save button Manual Documentation Number MESR9xx 0712m www bb elec
61. ll serial ports for the device The device is connect to this serial port coma 4 ca Figure 45 Connection 2 If you do not know which COM port your gateway is connect to select Search all serial ports for the device under Serial Port Options If you do know you may specify the COM port by selecting The device is connected to this serial port under Serial Port Options and using the pull down menu to choose the COM port 7 y nix S i E vr 4 Modbus Gateway Progress How do you want to connect to the device C Network Serial Port Serial Port Options C Search all serial ports for the device The device is connect to this serial port comi COM1 COM2 COM16 COM1 Connect Exit _ Connect _ Figure 46 Serial Port Selection 3 The remaining screens are identical to those shown in configuring your gateway using a network connection Page 38 Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 3 Setup and Connections Vlinx MESR9xx Modbus Gateway To exit Console Mode press and hold the Reset switch for two seconds The LEDs go back to their normal states when the device resumes normal operation MESR9xx Modbus Gateway Operational Connections MESR9xx Modbus Gateways can operate in Direct IP Mode Using MESR9xx Modbus Gateways in Direct IP Mode A Direct IP connection allows applications using TCP IP socket
62. lossary Vlinx MESR9xx Modbus Gateway RS 232 Interface between Data Terminal Equipment and Data Circuit Terminating Equipment Employing Serial Binary Data Interchange Electrical Characteristics of Generators and Receivers for Use in Balanced RS 422 i Digital Point to Point Systems Electrical Characteristics of Generators and Receivers for Use in Balanced RS 485 B Digital Multipoint Systems Remote Terminal Unit Number of bit times after a character is transmitted before the next character Stop Bit ae can Start transmission Transmission Control Protocol Unit ID Unit Identifier This is the same as the slaves address MESR B amp B s Modbus Ethernet Gateway Series B amp B s family name for the Gateway line Page 79 Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com
63. nections Network connection options include 10BaseT 100BaseTX copper or several different fiber optic options The following diagram shows the model numbering scheme Number of Ethernet Ports aT OTe ae poarta Fiber Distance Rating 40 40 km 80 80 km Note Blank for RJ45 Copper and Multi mode Fiber Optic models Serial Connector for MESR92x Models M ES ROXXX XXX D DB39 T Terminal Block Note Single Serial Port models have a DB9 and TB either of which can be wired Leave this blank for these models Number of Serial Ports 1 1 port 2 2 ports Fiber Optic Cable Type M Multi mode S Single mode Note Not used for copper RJ45 On MESR92x models the second Ethernet port is always RJ45 copper Fiber Optic Connector T ST C SC Note Blank for RJ45 Copper Page 2 Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 1 Introduction Vlinx MESR9xx Modbus Gateway List of MESR9xx Modbus Gateway Models The following table lists the various MESR9xx Modbus Gateway models available Model Number MESR901 MESR901 MC MESR901 MT MESR901 SC MESR901 SC40 MESR901 SC80 MESR901 ST MESR901 ST40 MESR901 ST80 MESR902T MESR902T MC MESR902T MT MESR902T SC MESR902T SC40 MESR902T SC80 MESR902T ST MESR902T ST40 MESR902T ST80 MESR921 MESR921 MC MESR921 MT MESR921 SC MESR921 SC40 MESR921 SC80 MESR921 ST MESR921 ST40 Page 3 Serial Port s 1 1 Serial Connector
64. nensssennnsnsssennasssssennnsssssenansnsssenaasssssenaaeness 41 Dowmoading FIWE F IES siga e E e a e p En E SAE E E EE e ESE EEEa 42 Uploading the Firmware to the Modbus Gateway sssssseecccecsessnsnasensessseeeeeeeessseanaaaaaneesaseeseeeessesssaaaaaaaansaaneseeesesssaaaaas 42 5 PHAQNOSUGCS sssrini E EE A E EEE EE E EE ER 43 Testing a Modbus Gateway COnNeECUON ssrassirieseis rieien n EEEE E EEEE EAER EDERE EA EE EEEE AE AERA AREENA E 43 6 Application EX GIN DIOS ssnin ER EE aE ATERA Ea EE EENE EERE 45 Ethernet Master and Serial Slaves ccccccccccccsseeeeeccescasueeeeeeeessaueeseeeeesesaaeeeeeeesssauessecesensasseeeeeeessaaaaeeeeesesssaaaeeesssssaaneessesseas 45 Serial amp Ethernet Masters Serial amp Ethernet SIQV S 0 ccccccccceeccsecceecceccnecseeeesecaueeeneceneesneusnseseeeueesneesueesueesauesaeeseesnessnsenenss 51 Seral Masters IP Slav S einate Er EE staccato ete tenets E Pe eae acted E a a e e a ia aa a e i 53 ldent cal Hard Coded Ro 2 Ee nee nE E EEA E EE EE 59 lienucal Frodac llOn ONES eee Rn ee RCN ee EE EEEE EEEE EEE EEEE EENE E EEEE EEEN 60 7 MOODUS TIEID srine E e TOE E E A E E EEEE 61 Modbus ASCIV RTU BASICS saci ss seeects se asec a ana ARa EAEE mess EEE ERRAN ANARE E Ra RARA a RAE TARRAA naea 61 Page i Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com Table of Contents PES TS cps hs cee ae eh cn ie ee ete ee le se eis coe seo nes es ee oe 61 8 APPENGIC
65. neral l From Port To ID range on the serial Soi el want to famin Network ID Valid value range is from 1 to 255 Modbus TCP The second box in line is the last serial port l From Port iz To ID of that range Valid value range is from 1 to E 255 Port Serial ID ges Port 1 Modbus C From Port M To ID ag aren Wt N T Port 1 ID Remap ID i i sees Trom m p TeD ruben he oa i on range m rs Oxes Modbus ID Routin ID 7 vahie range is from 1 to 255 Modbus Priority CE Port To ID rom ro bay Lm L Save Logout Save Back Next Figure 38 Port ID Remap Screen c The first box in line is the start of the remap range on the serial port you want to remap Valid value range is from 1 to 255 d The second box in line is the last serial port of that range Valid value range is from 1 to 255 Page 30 Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 3 Setup and Connections Vlinx MESR9xx Modbus Gateway e The third box in line is the starting ID of a range to remap to Valid value range is from 1 to 255 f The fourth box in line is auto filled in based on the range filled in the first 3 boxes Valid value range is from 1 to 255 g Save settings by clicking the Save button 13 Modbus ID Routing a To access this screen click the Next button or click the Modbus ID Routing Link on the left side of the screen b
66. nostics Dialog Box Testing a Modbus Gateway Connection To run diagnostics on a Modbus gateway 1 Click the Diagnostics icon The Diagnostics dialog box appears Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com Page 43 6 Diagnostics Vlinx MESR9xx Modbus Gateway 2 Inthe drop down box select the specific Modbus gateway you want to check Click the Start button Information about the progress of the pinging process is displayed in the Test Progress box Modbus Configuration Manager want to test Computer Information MESR921 hd Ethernet Adapter Local Area Connection IP Address 192 168 0 2 Vlinx Information Subnet Mask 255 255 255 0 Server Name MESR921 DefaultG ateway 192 168 0 1 IP Address 192 168 0 5 Test Progress Pinging 192 168 0 5 with 32 bytes of data Reply from 192 168 0 5 bytes 32 time lt 1ms TTL 255 Reply from 192 168 0 5 bytes 32 time lt 1ms TTL 255 Reply from 192 168 0 5 bytes 32 time lt 1ms TTL 255 Reply from 192 168 0 5 bytes 32 time lt 1ms TTL 255 Ping statistics for 192 168 0 5 Packets Sent 4 Received 4 Lost 0 0 loss Approximate round trip times in milli seconds Minimum Oms Maximum Oms Average Oms ean OUR APR TP aE Ne LU NT PAT EN a Ne AT a Save Cancel Figure 50 Testing a Modbus Gateway Connection Page 44 Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 8 Mod
67. on Reloading Factory Defaults To reload Factory Defaults press and hold the Mode switch for more than 10 seconds The LED indicators respond 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 e On the MESR9 01 Port 1 LED and the Ready LED are both On e On MESR902x models Port 1 LED and the Port 2 LED are both On 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 40 Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 5 Upgrading Firmware Vlinx MESR9xx Modbus Gateway 4 Upgrading the Modbus Gateway Firmware Occasionally updated firmware 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 to open the Firmware Upgrade dialog box Vtinx Manager Xi want to change the firmware of this serial server VESR901 000 8E000001 v from firmware version 1 0 0 to the firmware contained irr SS V1_0_1 hex v The selected firmware file contains Firmware v1 0 1 This firmware increases the port connection speed Progress Writing record 1022 of 1024 OK Wri
68. on your PC Open Hyper Terminal or similar serial emulation software and connect to the COM port used in step one Ensure the port is configured to 115 200 baud 8 data bits no parity and 1 stop bit Enter Console Mode Press and hold the Modbus Gateway s for 2 to 10 seconds The LED indicators will respond as follows Model Port 1 LED Port 2 LED Ready LED Release the reset button The READY LED will blink once per second for five seconds This indicates that the Modbus Gateway is re booting in Console Mode When the Modbus Gateway has successfully restarted in Console Mode the READY LED will be OFF and the PORT 1 LED will be ON Open the Vlinx Modbus Manager Software and select Serial Port as the method to connect to the Modbus Gateway After logging in click on lt Network gt Un check the box next to I Want DHCP to setup the Network Re configure the Modbus Gateway s network settings to something within the range of your PC s network settings For example PC Network Settings IP Address 192 168 0 1 Subnet Mask 255 255 0 0 Default Gateway 192 168 0 100 Change the Modbus Gateway s network settings to IP Address 192 168 0 50 Subnet Mask 255 255 0 0 Default Gateway 192 168 0 100 Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 3 Setup and Connections Vlinx MESR9xx Modbus Gateway j Save the settings and remove power from the Modbus Gateway k
69. p and Connections Vlinx MESR9xx Modbus Gateway 3 Modbus Gateway Setup and Connections Note In this section devices to be connected to the Modbus gateway s serial connection 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 label on the side of the Modbus gateway Acceptable voltages are between 10 VDC and 48 VDC The power supply must be capable of supplying 4 Watts for MESR90x units or 6 Watts fro MESR92x units Power Supply 10 to 48 VDC 4 0W MESR90x 6 0W MESR92x Figure 12 MESR Power Connection 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 RS 232 connections support eight signal lines plus Signal Ground Signals are single ended and referenced to Ground Default communications parameters are 9600 8 N 1 and no flow control implemented RS 422 connections support two signal pairs RXA RXB and TXA TXB plus GND The data lines are differential pairs A amp B in which the B line is positive relative to the A line in the idle mark state Ground provides a common mode reference RS 485 connections support 2 wire or 4 wire operation When configured for 4 wire operation the connection supports two signal pairs
70. password box New password entry boxes will appear on the screen ojx a gt Search Upgrade Diagnostic Monitor About Mac Address ye om wpe 3 4 R901 10 1 2 113 Contents Help General Modbus Gateway Name is a unique name Port 1 Modbus Port1 ID Remap Modbus ID Routing Type the new password Type the new password again to confirm it General s The name ofthis Modbus Gateway is assigned to the serial server It nist be a valid Network 7 hostname as defined by RFC 952 and RFC 1123 N i t Modbus TCP MESRa0T ame requirements are 1 Allowed characters are symbols from to Z from a to z mumbers from D to 9 and Gant Sen M I want to change the password J 2 It s not alowed to use symbol as the first or the last one 3 The name can t consist of mmbers only Password is the password assigned to the Modbus Gateway Valid value range is from A Modbus Priority to Z a to z O to 9 Password Confirmation is the password Save meer eee mele ear Save Next to z a to z D to 9 i Logout Copyright 2007 2003 BEB Electronics Manufacturing Company Inc All rights reserved Figure 30 Changing The Password c Type your new password in the Type the new password box Verify the password by typing it again in the box provided To save the new password click the Save button Page 23 Manual Documentation N
71. pe com 9 Appendices Vlinx MESR9xx Modbus Gateway BSB ELECTRONICS m RECRE Figure 69 Dimensional Diagram of an MESR902T Modbus Gateway Note Small Case Used for MESR902 Series Units Page 71 Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 9 Appendices Vlinx MESR9xx Modbus Gateway B i m D 6 14 Figure 70 Dimensional Diagram of an MESR921 Modbus Gateway Left and Right Side Views Note Medium Case Used for MESR921 and MESR922 Series Units Page 72 Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 9 Appendices Vlinx MESR9xx Modbus Gateway z a wW Figure 71 Dimensional Diagram of an MESR921 Modbus Gateway Bottom Top Back and Front Views Note Medium Case Used for MESR921 and MESR922 Series Units Page 73 Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 9 Appendices Vlinx MESR9xx Modbus Gateway Appendix D Connector Pinouts MESR901 x Serial Port Pinouts 1 2 T 3 j 4 9 5 DB9 M Pin Direction RS 232 1 Input DCD 2 Input RXD 3 Output TXD 4 Output DTR 5 GND 6 Input DSR 7 Output RTS 8 Input CTS 9 Input RI Page 74 Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 9 Appendices Vlinx MESR9xx Modbus Gateway OOOO Terminal RS 422 485 4 Wire RS 485 2 Wire A TDA
72. range from 1 to 247 Function codes include several common ones typically used in all applications and additional ones that may be implemented in specific cases Common function codes include Read Coil Status 01 Read Input Status 02 Read Holding Registers 03 and Read Input Registers 04 When a master sends a message to a slave it expects to receive a valid response within certain length of time If the slave does not receive the message or if the slave receives the message but an error is detected it does not respond 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 Hints and Tips A few simple suggestions that may assist you if your system is experiencing problems include Page 61 Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 8 Modbus Help Vlinx MESR9xx Modbus Gateway e Slowing down the polling rate may be helpful if power cycling doesn t cure the problem e 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 technical support and verify if you re an exception at 815 433 5100 option 3 A sometimes difficult problem is difference in grounding voltage between various network locations Stray voltage from lightning or other sources ma
73. ring If n option is selected the gateway will buffer up to fi 00 Miliseconds TX Delay 32 messages request per port If this option is unselected the gateway will respond with a Oh if it has a message out on the port with no response yet Save Back Next Advanced Modbus Serial Retries is the maxinmm mmber of times that the Modbus gateway will Figure 37 Modbus Port Screen Attached This is selectable between Master and Slaves If Master is selected the Modbus Gateway will run in TCP server mode if Slaves is selected it will run in TCP client mode Modbus indicates the protocol of the device connected to the port It can be either RTU or ASCII Modbus Broadcast Check this box to send Modbus broadcasts to a specific serial port Modbus broadcast is Slave ID Oh If selected the Gateway will send broadcast messages out the serial port and will not expect a response If unselected it will use slave ID Oh as a standard address Enable OBh Exception Check this box to enable When the Modbus slave device does not respond before the timeout has been reached or has a bad response check sum does not match the OBh exception code is transmitted to the Master that initiated the Modbus message Enable Serial Message Buffering If this option is selected the gateway will buffer up to 32 messages request per port If this option is unselected the gateway will respond with a 06h if it has a message out on
74. rt Connectors MESR9xx Modbus Gateways use four serial port connector configurations depending on the model e MESR9OI x Modbus 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 e MESR902T x Modbus Gateways feature two serial ports both using five position removable terminal blocks for RS 232 RS 422 and RS 485 connections e MESR921 x Modbus 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 e MESR922T x Modbus Gateways feature two serial ports both using five position removable terminal blocks for RS 232 RS 422 and RS 485 connections Figure 9 Five Position Pluggable Terminal Block Note Refer to Appendix D for connection pin outs Page 9 Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 2 Hardware Vlinx MESR9xx Modbus Gateway Power Connector The power connector is a 2 position pluggable terminal block Figure 10 Power Connection Mounting Hardware MESR9xx Modbus Gateway modules can be DIN rail mounted The DIN mounting clip and spring is included on each module Figure 11 DIN Clips on Modbus Gateway Modules Large DIN clips are used on MESR92x small DIN clips on MESR90x Page 10 Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 3 Setu
75. s are symbols from to Z from a to z mmbers from 0 to 9 and Port Serial l Iwan to change the password J Port Modbus 2 It s not allowed to use symbol as the first the last Port 1 1D Rema Save Next or one 3 The name can t consist of rumbers only Modbus ID Routing Modbus Priority Copyright 2007 2008 BER Electronics Manufacturing Company Inc All rights reserved Figure 29 General Settings Screen Page 22 Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 3 Setup and Connections Vlinx MESR9xx Modbus Gateway Modbus Configuration Manager 1 0 0 3 Open Save Which device do you want to configure Choose the device by clicking on one of the devices in the list below Server Name Connection This screen enables you to assign a unique name to the gateway This allows you to easily identify a particular gateway when multiple devices are used on the same network To change the name type a new name in the The Name of this Modbus Gateway is box The name must be a valid hostname as defined by RFC 952 and RFC 1123 Allowed characters are A to Z a to z 0 to 9 and The symbol cannot be the first or last character The name cannot consist of numbers only To save the new name click the Save button You can also change the gateway s password on this screen To do this check the I want to change the
76. s serial Description port Maximum length is 32 symbols Allowed Serial Por 1 characters are symbols from A to Z from 2 to z numbers from 0 to 9 and the space Mode RS 232 Mode controls the physical commenications mode Baud Rate controls the communications Baud Rate speed of the serial port Data Bits controls the number of bits of data Data Bits S Bits in each character Only data bits is valid when the protocol of Stop Bits 1 Bit gt the device connected to the port is RTU Stop Bits controls the number of tits to Dai NoP indicate the end of a character anty o Panty x Parity controls the error checking mode Modbus ID Routing Modbus Priority Save Back Next Save Logout Copyrigh 2007 2008 B amp B Elecrronic Manufacturing Company Inc All right reserved Figure 52 Serial Port 1 Setup 3 Configure Serial Port 1 In this case it is RS 232 19 2 kbps 8 data bits 1 stop bit and even parity Save the settings 4 Access Port Modbus by clicking the link on the left side of the screen Page 46 Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 8 Modbus Help Vlinx MESR9xx Modbus Gateway iD p a Open Save Search Upgrade Diagnostic Monitor About Modbus Gateway Contents Port 1 Modbus Attached Slaves gt Modbus RTU l Enable modbus broadcast M Enable 0OBh Exception l En
77. ta Data Bits in each character Modbus ID Routing l Only 8 data bits is valid when the protocol of Modbus Priori Stop Bits 1 Bit the device connected to the port is RTU Stop Bits controls the m mber of bits to Pari No Pan indicate the end of a character arity o Parity gt Save Parity controls the error checking mode Logout Save Back Next Figure 36 Serial Port Screen c Description sets the description for this serial port Maximum length is 32 symbols Allowed characters are symbols from A to Z from a to z numbers from 0 to 9 and the space d Mode Controls the physical communications mode for the The Mode can be RS 232 RS 422 4 Wire RS 485 2 Wire or RS 485 4 Wire e Baud Rate Controls the communications speed of the serial port The Baud Rate can be 2400 7200 9600 14400 19200 14400 28800 38400 57600 115200 or 230400 f Stop Bits Controls the number of bits to end a character Choices are 1 or 2 g Parity Controls the error checking mode Choices are Odd Even Mark or Space h Save settings by clicking the Save button 11 Port X Modbus Page 28 Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 3 Setup and Co nnections Vlinx MESR9xx Modbus Gateway a To access this screen click the Next button or click the Port X Modbus Link on the left side of the screen X The Serial Port Number
78. the port with no response yet Page 29 Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 3 Setup and Connections Vlinx MESR9xx Modbus Gateway h Modbus Serial Retires Select O through 5 This sets the maximum number of times that the Modbus gateway will retry to send a Modbus message to a Modbus client before reporting a OBh exception if it is selected Number of retries is limited to 5 1 Miulliseconds Modbus Message Timeout This is the maximum amount of time to wait for a response to the message Valid value range is from 1 to 65535 jJ Miulliseconds TX Delay This is the minimum amount of time after receiving a response before the next message can be sent out Valid value range is from to 65535 k Save settings by clicking the Save button 12 Port x ID Remap a To access this screen click the Next button or click the Port x ID Remap link on the left side of the screen b This screen allows you to set Modbus Slave ID Remap settings Modbus Configuration Manager 1 0 0 d ojx 3 P 8 up Open Save Search Upgrade Diagnostic Monitor About Which device do you want to configure Choose the device by clicking on one of the devices in the list below Mac Address 5 Toa REE gt ee Nis T J Tr al d MESR901 10 1 2 150 25 na s e Contents Port 1 Modbus Slave ID Remapping Help The first box in line is the start of the Ge
79. ting record 1023 of 1024 OK Writing record 1024 of 1024 OK The firmware has been changed to 1 0 1 Intemet Browse Close Figure 48 Firmware Upgrade Dialog Box The name of the currently selected Modbus gateway appears in the top drop down list Other Modbus gateways that have already been discovered can be selected from the drop down list if desired The current firmware version of the selected Modbus gateway is shown in the text below the Modbus gateway name Page 41 Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 5 Upgrading Firmware Vlinx MESR9xx Modbus Gateway Information about the selected firmware file is shown in the third text box Downloading Firmware Files The Firmware File list second box displays all firmware files in the firmware installation folder Only firmware that is compatible with the selected Modbus gateway is available in this list To download the latest firmware files from an FTP site on the Internet 1 Click the Internet button at the bottom of the window The Vlinx Modubs Manager connects to an FTP server on the 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 button to open an Open File dialog box 2 Browse to the drive and folder containing the firmware file 3 Select and download the fil
80. umber MESR9xx 0712m www bb elec com www bb europe com 3 Setup and Connections Vlinx MESR9xx Modbus Gateway 8 Network Settings a To get to the Network Settings Screen you can either click the Next Button or click on the Network link on the left side of the screen Modbus Configuration Manager 1 0 0 jol x 3 i p Open Save Search Upgrade Diagnostic Monitor About Which device do you want to configure Choose the device by clicking on one of the devices in the list below Mac Address ME SR901 10 1 2 115 Contents Network Help General DHCP control whether or not a DHCP server eene v is used to set the IP address subnet mask and Network M I want DHCP to Semp the network default gateway of the Modbus Gateway Modbus TCP S Bee ies When DHCP option is enabled but the DHCP ave ac e server is not found the Modbus Gateway will automatically configure an IP address in the Port Serial ange o 169 254 0 0 through 169 254 255 255 with a subnet mask Port Modbus 255 255 0 0 Port1ID Remap Modbus ID Routing Modbus Priority Copyright 2007 2003 BEB Electronics Manufacturing Company Inc All rights reserved Figure 31 Network Settings Screen DHCP Selected b The default network configuration is to receive an IP address assignment from a DHCP server DHCP controls whether or not a DHCP server is used to set the IP address subnet mask and default gateway
81. y also find its way onto the network These conditions make isolation necessary in many settings Page 62 Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 9 Appendices Vlinx MESR9xx Modbus Gateway 8 Appendices This section includes the following Appendices e Appendix A Default Gateway Settings e Appendix B Product Specifications e Appendix C Dimensional Diagrams e Appendix D Connector Pinouts Page 63 Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 9 Appendices Vlinx MESR9xx Modbus Gateway Appendix A Default Gateway Settings Setting Gateway Name Password DHCP IP Address Net Mask Gateway MAC Address Firmware Version Hardware Version Port Serial port mode Baud Rate Data bits Parity Stop bits Flow Control Protocol Serial timeout Inter character timer TCP port Max connection Page 64 Default Value User assigned password field is blank from factory Enabled DHCP will configure If a DHCP Server is not available the unit will default to 169 254 102 39 255 255 0 0 169 254 102 100 Fixed see bottom label Vx X X Vx X xX 1 2 RS 232 9600 8 None 1 None TCP 0 seconds 0 ms Port 1 4000 Port 2 4001 1 Manual Documentation Number MESR9xx 0712m www bb elec com www bb europe com 9 Appendices Vlinx MESR9xx Modbus Gateway Appendix B Product Specifications This section includes th

Download Pdf Manuals

image

Related Search

Related Contents

unidade exterior  Sales Booking Add-On - Supernova Consulting  

Copyright © All rights reserved.
Failed to retrieve file