Home

Manual MESR321 - B&B Electronics

image

Contents

1. 5 865 e 148 9 52 00 t gt 1 E 3 683 3 399 255 93 54 Ge eam 88 84 104 11 i t t k 7 pooog i 19 4X 93 i i Cat T Te y j o fA 1000 fi ae F f a D a 1378 BO all 199 ow E3 0 oc m ee oo li 1378 o o Z2 4U 1 f o o 223 VU L T 9 je Al i 6 050 153 66 64 MESR321 xx R001 2113 m www bb elec com www bb europe com Appendices Appendix D Connector Pinouts MESR321 Serial Port Pinouts Vlinx MESH321 Modbus Gateway 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 No Connection 65 MESR321 xx_R001_2113_m www bb elec com www bb europe com Appendices Vlinx MESR321 Modbus Gateway MESR321 Serial Port Pinouts NOON Terminal RS 422 RS 485 A TDA Data A B TDB Data B C RDA D RDB 4 E 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 66 MESRS321 xx R001 2113 m www bb elec com w
2. Modbus ASCII RTU Basics m IS Ero BE m M 8 Pn luu 54 Appendix A Default Gateway Settings oerien re rr iata e ori d yin eere erar e FR Ee eyed aed Appendix B Product Specifications 2 56 General Specifications esses eA Controls Indicators and Connector Specifications eee eee 58 Approvals and Certifications sic secesiveiiarstesetersacousssssedhtesthzesssaesssbegsavessepehsantoucaseqsoisstenhei cadeasainssugtsneosesuasealeyesbesbisetesZopies 59 MESR321 xx_R001_2113m www bb elec com www bb europe com Table of Contents Fiber Optic Cable Information ini bre i e Er HE Ee UO GERD ER Fe FE ER EUER 59 Serial Interface Specifications i eei ito err ee eite sd po eu EHE E eR Erc SEE e deba ees ei y eie rn 60 Network SPecificQtions 61 Appendix C Dimensional Diagrams 62 Appendix D Connector Pinouts 65 MESR321 Serial Port Pinouts 65 MESR321 Serial Poft Pinouls 4 iere d et eee UR peu eir e ev E T mr reiten 66 9 C LT MR M 67 MESRS321 xx R001 2113m www bb elec com www bb europe com Introduction Vlinx MESH321 Modbus Gateway 1 Introduction Thank you for purchasing a MESR321 product This product has been ma
3. 48 MESRS321 xx R001 2113m www bb elec com www bb europe com Setup Examples Vlinx MESH321 Modbus Gateway 3 Access Port 1 Modbus by clicking the link on the left side of the screen M vlinx Modbus Gateway Manager 1 3 2 B 8 Poo E Open Save Search Upgrade Diagnostic Monitor About Mac Address Modbus Gateway Contents Port 1 Modbus Help General Attached is selectable between Master and Slaves If Master is select the Modbus Networl Attached Slaves Gateway willen in TCP saver wate ee Modbus TCP selectec will run in TCP client mode Modb RTU Modbus indicates the protocol of the device iis connected to the port t canbe either RTU or Port1 Seria ASCI Port 1 Modbus T Enable modbus broadcast Modbus Breadeast i used to send Modbus Port1 ID Remap Wy pene M Enable Bh Exception rvs se po Modbus ID Routing secte lave save Dia sanded Modbus Priori 7 Enable serial message buffering addres Modbus OBh Exception When the Modbus uud 1 Modbus Serial Retries Logout 2000 Milliseconds Modbus Message Timeout Message Buffering E ted the gat tema il be 100 Milliseconds TX Delay Seve Back Next Advanced selected Number of retries is Modbus Message Timeout i the maximum amount of time to wait for a response to the message Valid value range is from 1 to o 65535 Figure 46 Port 1 Modbus 4 Configure the Port 1 Modbus Settings In this case At
4. 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 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 S
5. 2 Under Connection select Serial Port 39 MESRS321 xx R001 2113m www bb elec com www bb europe com Setup and Connections Vlinx MESR321 Modbus Gateway V vlinx Modbus Gateway Manager 1 3 2 E iol xl j T d d TM Modbus Gateway M Connection Progress How do you want to connect to the device C Network Serial Port m Serial Port Options Search all serial ports for the device C The device is connect to this serial port cow z eeoa E Figure 39 Connection 3 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 WV vlinx Modbus Gateway Manager 1 3 2 E zi xl amp o T M Modbus Gateway M Connection Progress How do you want to connect to the device C Network Serial Port M Serial Port Options C Search all serial ports for the device The device is connect to this serial port Figure 40 Serial Port Selection 4 The remaining screens are identical to those shown in configuring your gateway using a network connection 40 MESRS321 xx R001 2113m www bb elec com www bb europe com Setup and Connections Vlinx MESR321 Modbus Gateway To e
6. 2007 2012 All rights reserved Figure 47 Port 1 Modbus Slave ID Remapping 7 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 VE vinn modbus ateway managerra re o H Bg B Open Save Search Upgrade Diagnostic Monitor About Modbus Gateway T Contents Modbus Slave ID Routing Help General D mfi Rm TofiPAddess 01 0213 es ee Network H from I to 247 Modbus TCP Ir I To E Address The second box in line is the lat ID of that D o to Pares range Valid vale range is from 1 to 247 m m The third box in line is a port or IP address Pd DT s To P Adaress_E which has slave devices attached ort 1 Modbus L Er m r menie gl polli Der E To IP Address E vex Modbus ID Routing r T Modbus Priority Do To D O To Save Dr I To PAG Logout Inr To IP Address x Save Back Nex Advanced Copyright 2007 2012 All rights reserved 50 MESRS321 xx R001 2113m www bb elec com www bb europe com Setup Examples Figure 48 Modbus ID Routing Vlinx MESH321 Modbus Gateway 8 Access Modbus Priority and configure as necessary IF vlinx Modbus Gateway Manager 1 3 2 NE 2 P Open Save Search EX Modbus Gateway 7 i2 Upgrade Diagnostic Monitor About ing on one of the d
7. DHCP or Auto IP er C emewa Waser ere oraaa 100 to 5000 ms default set at 0 user to Inter character set if enabled 100 to 5000 ms default set at 0 user to 61 MESRS321 xx R001 2113 m www bb elec com www bb europe com Appendices Vlinx MESR321 Modbus Gateway Appendix C Dimensional Diagrams Figure 50 Dimensional Diagram of an MESR321 Modbus Gateway With Two Copper Ports 5 865 SSS SSS 48 9 fol amp x I og Q D m IB Semis 38 24 SSS e s T F ol 3 68 3 399 E B 3 497 93 5 4 099 00 34 cilm 88 84 104 1 i M TU z 19 rd i f g rz ST e j p mg j 1 378 EJ oomen ae 62 MESR321 xx_R001_2113_m www bb elec com www bb europe com Appendices Vlinx MESH321 Modbus Gateway Figure 51 Dimensional Diagram of an MESR321 Modbus Gateway with Two Fiber Ports 1 000 SS 3 399 86 34 i agf Y xc d M ooo Eg i a LS e MESRS321 xx R001 2113 m www bb elec com www bb europe com Vlinx MESH321 Modbus Gateway Appendices Figure 52 Dimensional Diagram of an MESR321 Modbus Gateway with One Copper and One Fiber Port
8. 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 Save the settings and remove power from the Modbus Gateway Re apply power Open the Vlinx Modbus Manager Software and select Network as the method to connect to the device Configuring the MESR321 via the Serial Port Console Mode 38 MESRS321 xx R001 2113m www bb elec com www bb europe com Setup and Connections Vlinx MESR321 Modbus Gateway Your Modbus gateway can be configured via a serial port using the Vlinx Modbus Manager software 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 38 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 while the button is being pressed 2 When the Modbus gateway has booted into Console Mode the Ready LED will be OFF To configure the Modbus gateway open the software and set up the Modbus gateway s parameters as required
9. Stop Bits controls the mmber of bits to indicate the end of a character Parity No Parity Save a y Parity controls the error checking mode Logout Save Back Next Copyright 2007 2012 All rights reserved Figure 29 Serial Port Screen 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 O to 9 and the space Mode Controls the physical communications mode for the MESR321 The Mode can be RS 232 RS 422 4 Wire RS 485 2 Wire or RS 485 4 Wire d Baud Rate Controls the communications speed of the serial port The Baud Rate can be 75 150 300 600 1200 2400 4800 7200 9600 14 4k 19 2k 28 8k 38 4k 57 6k 115 2k 230 4k Stop Bits Controls the number of bits to end a character Choices are 1 or 2 Parity Controls the error checking mode Choices are Odd Even Mark or Space Save settings by clicking the Save button 11 Port 1 Modbus 29 MESRS321 xx R001 2113m www bb elec com www bb europe com Setup and Connections Vlinx MESH321 Modbus Gateway a To access this screen click the Next button or click the Port 1 Modbus Link on the left side of the screen This screen allows you to change the Modbus settings for the port Wi vinx Modbus Gateway Manager 1 3 2 S H m B Open Save Search Upgrade Diagnostic Monitor About Which device
10. address without using a DHCP Server is contained in the section Configuring the MESR321 on Networks without a DHCP Server e Save changes by Clicking the Save button 9 Modbus TCP Settings a 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 25 MESRS321 xx R001 2113m www bb elec com www bb europe com Setup and Connections Vlinx MESR321 Modbus Gateway E ini x IF vlinx Modbus Gateway Manager 1 3 2 a P B o 2 Open Save Search Upgrade Diagnostic Monitor About ice do you want to configure Choose the device by clicking on one of the devices in the list below Contents Modbus TCP General work TCP Client Settings Modbus TCP Connect to Port 502 Port 1 Serial Port 1 Modbus Response Timeout 100 Port1 ID Remap Maximum Clients control the mmber of Modbus ID Routing TCP Server Settings simultaneous TCP clients that can be Modbus Priority Listen on Port 502 Connection Filter Mode control which nect TCP clients can co1 Limit the number of connections to 16 connections and allow everyone to connect and allow a specific IP address to connect and allow a specific range of IP addresses to connect Savel Back Ned Figure 26 Modbus TCP Settings Screen c TCP Client Settings 1 Connect to Port identifies
11. in for more than 10 seconds to reset to factory defaults Color Green Serial LED On Port open Blink Data traffic Color Green RJ45 Ethernet Link On 100BaseTX LED Off 10BaseT Blink Data traffic Color Green Blink once per second System in Normal Mode Off System in Console Mode Fiber Ethernet Link Off No connection LED On 100BaseFX connection 10BaseT 100BaseT X LI a Single RJ 45F 8 pin One DB9M RS 232 connector and Serial one Sp lockable 5 08 mm terminal Rs 422 485 One Een plug and one terminal O wmm a 7 Ready LED Connectors Leber 58 MESRS321 xx R001 2113 m www bb elec com www bb europe com Appendices Vlinx MESH321 Modbus Gateway Approvals and certifications Emissions FCC Class B CISPR Class B EN55022 CE EN61000 6 2 2005 Heavy Industrial EN61000 4 2 2008 ESD 8kV Contact 15kV Air EN61000 4 3 2006 RI 10V m 80 1000MHz 3V m 1 3 to 2 7 GHz EN61000 4 4 2004 EFT Burst 2kV DC ports 1kV signal ports EN61000 4 5 2005 Surge 0 5 kV DC Ports 1 kV Signal Ports EN61000 4 6 2005 Cl 10 VRMS 0 15 to 80 MHz EN61000 4 8 2001 Magnetic 10A m 50Hz amp 60Hz Shock IEC60068 2 27 50G peak 11ms 3 axes Vibration IEC60068 2 6 10 500Hz 4G 3 axes Freefall Drop IEC60068 2 32 10 total drops from sides corner and edges 1M Fiber Optic Cable Information Mode and T
12. 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 Information about the selected firmware file is shown in the third text box 43 MESR321 xx_R001_2113m www bb elec com www bb europe com Upgrading Firmware Vlinx MESH321 Modbus Gateway Downloading Firmware Files The Firmware File list second box displays all firmware files in the firmware installation folder 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 Modbus Manager software connects to an FTP server on the Internet 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 2 3 Click the Browse button to open an Open File dialog box Browse to the drive and folder containing the firmware file Select and download the file to the local firmware folder Uploading the Firmware to the Modbus Gateway To upgrade the firmware 1 In the Modbus Gateway Selection drop down list select the Modbus gateway to be upgraded In the Firmware Description drop down list select the firmware to upload to the Modbus gateway Click the Upgrade button Pr
13. CP 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 36 MESRS321 xx R001 2113m www bb elec com www bb europe com Setup and Connections Vlinx MESR321 Modbus Gateway General Authentication Advanced Connect using s 3Com 3C920 Integrated Fast Ethemel This connection uses the following items il QoS Packet Scheduler v RF Network Monitor Driver m gt Internet Protocol T CP IP Install Uninstall Properties Description Transmission Control Protocol Internet Protocol The default wide area network protocol that provides communication across diverse interconnected networks JV Show icon in notification area when connected v Notify me when this connection has limited or no connectivity OK Cancel 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 axi General You can get IP settings assigned automatically if your network suppor
14. Connections Vlinx MESR321 Modbus Gateway Modem Cable Straight Cable DB9 to DB9 DTE Device Computer DBS DTE to DC E DCE Device Modem DBS Carrier Detector DCD CD um 42 Receive Data Rx RD quum 2 Receive Data Rx RD gt 5 Signal Ground Common SG GND e 6 Data Set Ready DSR 4 5 Data Set Ready SR 17 RequesttoSend RTS 8 CleartoSend CTS quu Soldered to DBS Metal Shield FGND a Soldered to DBS Metal Shield FGND 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 RS 232 Serial Serial Device Cable N EA a KEEN RS 422 RS 485 Figure 9 MESR321 Connections Connecting MESR321s to a Network MESR321 xx_R001_2113m www bb elec com www bb europe com Setup and Connections Vlinx MESR321 Modbus Gateway 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 f
15. Function Code IP Address sets a static Intemet protocol Porti Modbus NM address for the Modbus Gateway Port 1 ID Remap Priority 2 Modbus ID has valid value range from 1 to 247 I IP Address Modbus ID Rioutin a E Code has valid value range from 1 Modbus Priority T Modbus ID 7 I Function Code um Priority 3 ogoi I IP Address T Modbus ID I Function Code Priority 4 T IP Address T Modbus ID I Function Code Priority 5 Figure 34 Modbus Priority Screen 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 1 to 99 g Save settings by clicking the Save button Note For more information on configuration options refer to Section 4 Description of Modbus gateway Properties 34 MESR321 xx_R001_2113m www bb elec com www bb europe com Setup and Connections Vlinx MESR321 Modbus Gateway Configuring with the Web Interface MESR321s can be configured over the network using a standard web browser such as Internet Explorer or Firefox To open the web configuration interface 1 On a PC connected to the network o
16. Modbus Gateway MESR321 000EBE000010 10 1 2 139 General Help e of this Modbus Gateway is MESR321 000EBEOD0010 Figure 22 General Settings Screen a 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 amp amp 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 22 MESRS321 xx R001 2113m www bb elec com www bb europe com Setup and Connections Vlinx MESR321 Modbus Gateway b You can also change the gateway s password on this screen To do this check the want to change the password box New password entry boxes will appear on the screen MF viinx Modbus Gateway Manager 1 3 2 E 5 gt H p o P 2 Open Save Search Upgrade Diagnostic Monitor About Contents General General I Network The name of this Modbus Gateway is MESR321 000EBE000010 Modbus TCP F I want to change the password Port1 Serial Port1 Modbus Type the new password Port 11D Remap Type the new password again to confirm it Modbus ID Routing Modbus Priority Save N
17. 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 1 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 1 through 16 3 Connection Filter Mode controls which TCP clients are able to connect The default is and allow everyone to connect a You can select allow specific IP addresses to connect This filter is limited to 4 IP addresses 26 MESRS321 xx R001 2113m www bb elec com www bb europe com Setup and Connections Vlinx MESR321 Modbus Gateway Modbus Configuration Manager 1 0 0 l8 x S amp S HH o wv i 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 ICP Server settings simultaneous TCP clients that can be n connected TS Listen on Port 502 Connection Filter Mode controls which TCP clients can connect Limit the number of conne
18. Vlinx MESR321 Isolated Industrial Modbus Gateway Vlinx MESR321 Models MESR321 Documentation Number MESR321 xx R001 2113m This product was designed and manufactured in Ottawa Illinois USA Using domestic and imported parts by B B amp B 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 1 October 2012 2012 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 purposes only and does not constitute an endors
19. Vlinx Modbus Gateway Manager gt Modbus Gateway Manager An alternate method is to double click the shortcut installed on the desktop End User License Agreement Tf Instruction Manual f Quick start Guide Ej Read Figure 17 Opening Vlinx Modbus Gateway Manager I My Computer Figure 18 Vlinx Modbus Gateway Manager Shortcut Icon 2 The Vlinx Modbus Configuration Manager Device Discovery window appears 19 MESR321 xx_R001_2113m www bb elec com www bb europe com Setup and Connections Vlinx MESR321 Modbus Gateway v Connection Progress How do you want to connect to the device Network C Serial Port m Network Options don t know the IP address of the device The device is at this IP address ta Figure 19 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 MESR321 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 WF vlinx Modbus Gateway Manager 1 3 2 Contents Login Help OOO Enter the password to log
20. Wavelength Output Power Receive Sensitivity Distance 23 to 14 dBm lt 31 dBm Multi mode 2 km 1310 nm Single mode 15 km 1310 nm 15 to 8 dBm lt 34 dBm Single mode 40 km 1310 nm 5 to 0 dBm lt 35 dBm Single mode 80 km 1550 nm 5 to 0 dBm lt 34 dBm 59 MESR321 xx_R001_2113_m www bb elec com www bb europe com Appendices Vlinx MESR321 Modbus Gateway Serial Interface Specifications TXD RXD RTS CTS DTR DSR DCD GND TXDA TXDB RXDA RXDB GND Data Data GND ines 4 wire RS 485 lines 4 wire TXDA TXDB RXDA RXDB GND Baud Rates 75 150 300 600 1200 2400 4800 7200 9600 14 4k 19 2k 28 8k 38 4k 57 6k 115 2k 230 4k Data Bits 5 6 7 8 Stop bits 1 1 5 2 RS 422 485 biasing Auto 1 K ohm pullups and pulldowns RS 485 data control Auto control via MCU 60 MESRS321 xx R001 2113 m www bb elec com www bb europe com Appendices Vlinx MESR321 Modbus Gateway Network Specifications Memory Serial Memory 8 K bytes per port Network Memory 8 K bytes 5 Modbus client server port user configurable 7000 TCP Configuration UDP Ports 7000 UDP Configuration 8899 Device Discovery 02 Communications P 10 100 Mbps Auto detecting 10BaseT or 100BaseTX IEEE 802 3 auto detecting amp auto ee Ethernet MDI MDX 10BaseT 100BaseTX and y 100BaseFX TCP IPv4 ARP HTTP 1 0 ICMP PING Protocols Supported _ pC PIBOOTE IP Mode Static
21. and allow a specific range of IP addresses to connect These are the IP address range I want to allow to connect E P address B000 des 8 7 E P address B000 tro PU I IP address 0 0 0 0 through 0 0 0 0 T IP address 0 0 00 EE through 0 0 0 Figure 28 TCP Connection Filter Allow Specific Range of IP Addresses to Connect 10 Port 1 Settings To access this screen click the Next button or click the Port 1 Serial link on the left side of the screen 28 MESR321 xx_R001_2113m www bb elec com www bb europe com Setup and Connections Vlinx MESR321 Modbus Gateway a This screen allows you to change the serial port settings g WP viinx Modbus Gateway Manager 1 3 2 zi a P B B 2 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 Contents Port 1 Serial General Meses Description Serial Port1 Modbus TCP Mode RS 232 Mode controls the physical conummications mode Port 1 Serial z Baud Rate controls the commmmications Port 1 Modbus Baud Rate 9600 speed of the serial post Port1 ID Remap Data Bits controls the mmber of bits of data Data Bits 8 Bits im each character Madbus ID Routing Only 8 data bits is valid when the protocol of HE EE Stop Bits rei s the device c the port is RTU
22. ateway 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 ce 13 EENEN U F q J i 4 Figure 3 Ethernet Connectors E2 is pass through Note Refer to Appendix D for connection pin outs Fiber Optic Connectors MESR321 family serial servers use LC fiber connectors Serial Port Connectors MESR321 family serial servers feature one DB9M connector for RS 232 and a five position removable terminal block for RS 422 and RS 485 connections MESR321 xx_R001_2113m www bb elec com www bb europe com Hardware Vlinx MESH321 Modbus Gateway Figure 5 Five Position Pluggable Terminal Block Note Refer to Appendix D for connection pin outs Power Connector Power options include a 5 08 mm 3 position pluggable terminal block and 2 5 mm barrel connector 8 MESRS321 xx R001 2113m www bb elec com www bb europe com Hardware Vlinx MESH321 Modbus Gateway Power Supply 10 to 48 VDC Figure 6 Power Connection MESRS321 xx R001 2113m www bb elec com www bb europe com Hardware Vlinx MESH321 Modbus Gateway Mounting Hardware MESR321 modules can be DIN rail mounted The DIN mounting clip is included with each module Figure 7 DIN Cli
23. ay Module e DIN rail and panel mounting hardware e Quick Start Guide e CD with User Manual Quick Start Guide and firmware and configuration software MESR321 Enclosures and Mounting All MESR321 models are built into similar enclosures Modules are DIN rail and panel mountable MESRS321 xx R001 2113m www bb elec com www bb europe com Hardware Vlinx MESH321 Modbus Gateway LED Indicators MESR321s have a Power LED a Ready LED and Data LEDs elisa IOE Power is not connected IONS Power is connected Av Fo System is in Console Mode System is in Normal Mode bdo Serial Port is available Data is present on serial port RJ45 Ethernet Port LEDS 1733588 OFF 10BaseT connection ION 100BaseTX connection LINK IORN Ethernet Connected BLINK Data present on Ethernet port Fiber Ethernet Port LEDS LINK IOFF No connection IONS 100BaseFX connection Ethernet Figure 1 LEDs Mode Switch A recessed momentary reset switch is located on the front left side of the enclosure To activate the switch insert a small plastic tool through the hole in the enclosure and press gently Ethernet 1 Ethernet 2 7 2 BsB ELECTRONICS www bb elec com Figure 2 Mode Switch The Mode switch can be used to e Initiate a Hardware Reset e Enter Console Mode e Reload factory defaults MESR321 xx_R001_2113m www bb elec com www bb europe com Hardware Vlinx MESH321 Modbus Gateway Note Refer to Section 3 Modbus G
24. ay Settings Setting Gateway Name Password DHCP IP Address Net Mask Default Gateway MAC Address Firmware Version Hardware Version Port Serial port mode Baud Rate Data bits Parity Stop bits Protocol Serial timeout Inter character timer TCP port Max connection Default Value User assigned password field is blank from factory Enabled from factory 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 1 1 Fixed see bottom label Vx x x Vx x x 1 RS 485 9600 8 None 1 TCP 0 seconds 0 ms 502 1 55 MESRS321 xx R001 2113 m www bb elec com www bb europe com Appendices Vlinx MESR321 Modbus Gateway Appendix B Product Specifications This section includes the following specifications e General Specifications e Controls Indicators and Connector Specifications e Serial Interface Specifications e Network Specifications 56 MESRS321 xx R001 2113 m www bb elec com www bb europe com Appendices Vlinx MESH321 Modbus Gateway General Specifications Hardware and included accessories Optional Accessories Configuration Options Software Environment Enclosure Power Supply External Supply Required Terminal Blocks Port to Port Isolation Device CD Cable Rail Via serial port Via network for Modbus gateway configuration Operating Temperature Storage Temperature O
25. button is being pressed 2 When the Modbus gateway has reset and rebooted into Normal Mode the Ready LED will be blinking 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 The Modbus gateway reloads all factory default configuration parameters When the device has reset and rebooted the Ready LED will be blinking 2 The LEDs go back to their normal states when the device resumes normal operation Note Factory default parameters are listed in Appendix A 42 MESR321 xx_R001_2113m www bb elec com www bb europe com Upgrading Firmware Vlinx MESH321 Modbus Gateway 4 Upgrading Firmware Occasionally updated firmware may become available for your Modbus gateway The firmware can be upgraded using the Vlinx Manager software The following procedure describes the firmware updating process 1 Click the Upgrade button to open the Firmware Upgrade dialog box V vlinz Modbus Gateway Manager xj want to change the firmware of this serial server MESR321 JB DODEBE DODO1C from firmware version 1 4 0 to the firmware contained in z Browse The selected firmware file contains Progress Internet Figure 42 Firmware Upgrade Dialog Box Upgrade The name of the currently selected Modbus gateway appears in
26. ctions to 16 connections 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 Iv IP address ooo I IP address D000 IP address ooo I IP address 0000 Eas Eel ea Figure 27 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 27 MESR321 xx_R001_2113m www bb elec com www bb europe com Setup and Connections W vlinx Modbus Gateway Manager 1 3 2 S HH Open Save Which device do Vlinx MESR321 Modbus Gateway I E ii Search Upgrade Diagnostic Monitor About ou want to configure Choose the device by clicking Mac Address inix Port I Modbus ID Routing Modbus Priority n on port wentifies TCP port fo be use by the Modbus Gateway in TCP server mode Valid value range is from 1 to 65535 Maximum Clients controls the mmber of simltaneous TCP clients that can be connected TCP Server Settings Listen on Port Connection Filter Mode controls which TCP clients can connect 502 Limit the number of connections to 16 connections C and allow everyone to connect and allow a specific IP address to connect
27. dbus Priority D C To IP Address X ID EF To IF ZA mes Ir To iP a Logout Dr To IP H Seve Back Nex Advanced Copyright 2007 2012 All rights reserved Figure 33 Modbus ID Routing Screen The first box in line is the starting ID of a range you want to route Valid value range is from 1 to 255 The second box in line is the last ID of that range Valid value range is from 1 to 255 The third box in line is a port or IP address which has slave devices attached The fourth box in line is an IP address of the slave device if IP address is chosen in the third box Save settings by clicking the Save button 14 Modbus Priority a To access this screen click the Next button or click the Modbus Priority link on the left side of the screen This screen allows you to configure the gateway to move high priority messages to the front of the serial message buffer 33 MESR321 xx_R001_2113m www bb elec com www bb europe com Setup and Connections F vlinx Modbus Gateway Manager 1 3 2 Vlinx MESH321 Modbus Gateway Modbus Gate way Contents Modbus Priority Help tok These settings allow the gateway t high eo Priority 1 prociy mexag to the foal of the aerial Network message The pi ty can be based on the oi ting IP address the Modbus ID the Modbus TOP BP Address Modus function code or any combination of O Modbus ID CG ike three Up to five differe Port Serial T
28. do you want to config EML Modbus Gateway g on one of the devices in the list below ini Contents General Network Modbus TCP Port1 Serial Port 1 Modbus Attached Slaves vj Modbus RTU s T Enable modbus broadcast Help Attached 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 ran in TCP client mode Modbus indicates the protocol of the device connected to the port It can be either RTU or ASCI Modbus Broadcast is used to send Modus broadcasts to a specific serial port Modus 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 Iv Enable Bh Exception Priori F Enable serial message buffering Modbus 0Bh Exception When the Modbus Save device does mol respond before the timeout has been reached or har 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 cut on the port with no response yet Save TE Modbus Serial Retries Logout 2000 Millisecond
29. ect 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 W vlinx Modbus Gateway Manager xj want to test Computer Information MESR321 D00EBE 000010 Ethernet Adapter Local Area Connection 2 IP Address 10 1 5 23 MESR Information Subnet Mask 255 255 0 0 Server Name MESR321 DefaultGateway 10 1 0 33 000EBE000010 IP Address 10 1 2 139 Test Progress Pinging 10 1 2 139 with 32 bytes of data Reply from 10 1 2 139 bytes 32 time lms TTL 255 Reply from 10 1 2 139 bytes 32 time lms TTL 255 Reply from 10 1 2 139 bytes 32 time lms TTL 255 Reply from 10 1 2 139 bytes 32 time lms TTL 255 Ping statistics for 10 1 2 139 Packets Sent 4 Received 4 Lost 0 0 loss Approximate round trip times in milli seconds Minimum Oms Maximum 1ms Average Oms TUR EE B RR HR ER I RE ER ER ER ERE RR ER EE PLE ERR LE REL Save Cancel Figure 44 Testing a Modbus Gateway Connection 46 MESRS321 xx R001 2113m www bb elec com www bb europe com Diagnostics VlinxMESR321 Modbus Gateway Monitor Function The Monitor button is used to display a screen that shows information about events and data transfer through the Modbus Gateway To start monitoring select a Modbus Gateway and press the Start button The Auto Scroll check box enables and disables auto
30. ement by the trademark holder MESR321 xx_R001_2113m www bb elec com www bb europe com Table of Contents Table of Contents 1 Matige Elet 11o p ec D EE nc 3 ZADOULMESEHOP TS crt ore eub E pi Mc MEI e TELA DEI EMEN MESR321 Model Numbering MESR321 Features D Configuration SOflWAre d ri pode RR DEO EET GER CELEREM LL ELE EH TOHE eases Aerie yeaa 2 MESH821 HANA WANG ERECTO Package Checklist d ouo idea dede RI Da oai inis cud ira reed mice dre eee ales eects MESR321 Enclosures and Mounting LED Indicators sssssssss Mode SWIG ds nnper ccc n cde ot MI TM E MUS III ed a IN Eithermet freno M Fiber Optic Connectors Serial Port Connectors Power Connector Mounting Harawate iioii ide E ton Rede RAE LR d ERE ER EER UEBER AERE EXE XR TRIER EAR EEIR SERT RR ERREUR ET E 3 Set p IDHeniIrTeipop m i iyasi 11 Connecting the Power Supply i a e ERE ER HAT C eaten eee ERI AYER de YA LT ERR RAE FERENT 11 Gonnecting MESRS321s to MOGDUS netWotks tiis iade sidani aeiaai aiaia iaaiiai p LEUR Fd dg 11 Connecting the MESR321 Connecting MESR321s to a Network Network Connection 10BaseT 100BaseTX eesessesssseseseeeeeee eene eene nennen etnies ee tenss eee nnn seen ns ten
31. en ss eterne etes nnns 14 Fiber Optic Connection MESRS3 21 Configuration Connections Installing Modbus Configuration Manager Software eese nee nnene Configuring the MESR321 via the Network Connection P Configuring the MESR321 on Networks without a DHCP Server essent 36 Configuring the MESR321 via the Serial Port Console Mode esee ener 38 MESR321 Operational Connections isd Using MESR32 18 in Direct IP Mode sosisini ade sar dio ep dapes estne e etie d bees ee Hir etr ipei ehe dedos 41 Initiating a Hardware Reset on the Modbus Gateway esses eene tnnt enhn n nts n nennen tns stre nnan 42 Reloading Factory Defaulls ir Ci e ER ERRORI a XXII MEE REI a AEA RESA 42 4 Upgrading Firmware 43 Downloading Firmware Files 2 est ridus x itt E Edo Ha RR ER AHRR HE BUYER Ho ia Ha RR Ee ERR LEUR E Ve 44 Uploading the Firmware to the Modbus Gateway esses eene nnn nnne nnns tht trns ense theaters nnns 44 5 DIAGNOSTICS X 45 Testing M db s Gateway Connection iii rn stai pdt saine dE EE EEE EUR MER M DPI E Prat eE ag ERR TREE ee ERR EH as eases 45 Monitor FUNCION c er 47 6 E IDLEJCHDIIDM t 48 7 Modb s Help
32. esponse yet Modbus Serial Retires Select 0 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 Milliseconds 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 Milliseconds 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 1 to 65535 Save settings by clicking the Save button 12 Port 1 ID Remap a b To access this screen click the Next button or click the Port 1 ID Remap link on the left side of the screen This screen allows you to set Modbus Slave ID Remap settings 31 MESR321 xx_R001_2113m www bb elec com www bb europe com Setup and Connections Vlinx MESR321 Modbus Gateway Contents Port 1 Modbus Slave ID Remapping Help General From ID To Port ID Network Modbus TCP T From ID To Port ID D From ID To Port ID Port1 Modbus T From ID E To Port ID Port 1 ID Remap T From ID To Port ID Modbus ID Routing Modbus Priority Seve Back Next ka ave Logout Copyright 2007 2012 All rights reserved Figure 32 Port ID Remap Screen c The first box in line is the s
33. evices in the list below Figure 49 Modbus Priority 51 Contents Modbus Priority Help irs These settings allow the gat t high General Priority 1 priority messages to the front of the serial Network message buffer The priority can be based on E the ting IP address the Modbus ID the Modbus TCP EIP Address Mods fonction code or any combination of Modbus ID L ed three Up to five different priorities can be Port 1 Serial 5 I Function Code IP Addre Int 1 Pot Modbus eee ano e Port1 ID Rema Pring 2 Modbus ID has valid vale range from 1 to 207 r 1 Modbus ID Routing Pide Function Cole has vail vibe range fom 1 Modbus Priority T Modbus ID 2 I Function Code Save Priority 3 begast IP Address I Modbus ID I Function Code Priority 4 C IP Address T Modbus ID I Function Code Priority 5 ini MESRS321 xx R001 2113m www bb elec com www bb europe com Modbus Help Vlinx MESR321 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 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
34. ex Save Logout Copyright 2007 2012 All rights reserved Figure 23 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 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 23 MESR321 xx_R001_2113m www bb elec com www bb europe com Setup and Connections Vlinx MESR321 Modbus Gateway EM F Iwant DHCP to setup the network Modbus TCP Seve Back Nex Port Serial Port 1 Modbus Port1 ID Remap Modbus ID Routing Modbus Priority Save Logout Figure 24 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 of the Modbus Gateway When DHCP option is enabled but the DHCP server is not found the Modbus Gateway will automatically configure IP address 169 254 102 39 with a subnet mask 255 255 0 0 c To configure your Modbus Gateway without using a DHCP Server uncheck the 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 addre
35. iber optic cable must be connected between the Modbus gateway and the network interface MESR321 Configuration Connections MESR321s can be configured over the network or via a serial port MESRS321 xx R001 2113m www bb elec com www bb europe com Setup and Connections Vlinx MESR321 Modbus Gateway 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 ie Vlin Modbus Gateway Manager Setup jej xj Welcome to the Vlinx Modbus Gateway Manager Installation Wizard lt is strongly recommended that you exit all Windows programs before running this setup program Click Cancel to quit the setup program then close any programs you have running Click Next 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 maximum extent possible under law 7 Cancel Figure 10 Modbus Gateway Manager I
36. ics of Generators and Receivers for Use in Balanced Digital Point to Point Systems RS 485 Electrical Characteristics of Generators and Receivers for Use in Balanced Digital Multipoint Systems RTU Remote Terminal Unit Stop Bit Number of bit times after a character is transmitted before the next character can start transmission TCP Transmission Control Protocol Unit ID Unit Identifier This is the same as the slaves address MESR B amp B s Modbus Ethernet Gateway Series Vlinx B amp B s family name for the Gateway line 68 MESRS321 xx R001 2113 m www bb elec com www bb europe com
37. igured for 4 wire operation the connection supports two signal pairs 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 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 MESR321 The MESR321 has one DB9M serial connector that supports RS 232 it also has a 5 position terminal block connector that supports RS 422 and RS 485 2 and 4 wire 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 MESR321 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 DCE 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 the arrows See figure below MESRS321 xx R001 2113m www bb elec com www bb europe com Setup and
38. in to the Fesiword device then click on the Login button Login Model MESR321 Firmware Version 1 3 2 Hardware Version 1 MAC Address 00 0E BE 00 00 0F Link Status 100BaseTX full duplex Copyright 2007 2012 All rights reserved Figure 20 Configuration Manager Screen 4 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 20 MESR321 xx_R001_2113m www bb elec com www bb europe com Setup and Connections Vlinx MESR321 Modbus Gateway 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 5 There is no password unless you choose to enter one The default password is no password at all Click the Login button The General Settings screen will be displayed on your computer 6 Vlinx Modbus Manager Settings Screen Overview Wi Vlinx Modbus Gateway Manager 1 3 2 E MESR321 000EBE000010 10 1 2 139 I Contents General General Network B The name of this Modbus Gateway is JMESR321 000EBE000010 Modbus TCP T I want to change the password Port 1 Serial Pott Modbu Save Next Porti ID Rema Modbus ID Routing Modbus Priori Copyright 2007 2012 All rights reserved Figure 21 Sett
39. ings 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 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 21 MESR321 xx_R001_2113m www bb elec com www bb europe com Setup and Connections 2 T Vlinx MESH321 Modbus Gateway 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 Upgrade allows you to upgrade your Modbus Gateway s firmware Diagnostic allows you to test a configured Modbus Gateway See Section 5 Monitor allows you to monitor a Modbus Gateway See Section 5 About contains information about your Modbus Gateway 7 General Settings N Vlinx Modbus Gateway Manager 1 3 2 inis p B tel Save Search Upgrade Diagnostic Montor About Contents
40. is considered as bad Valid value range is from 300 milliseconds Inter message Time Vom Modbus Inter message Time is the minimum amount of time between messages Valid valve range is from 100 to 5000 Figure 31 Modbus Port Screen Advanced 30 MESR321 xx_R001_2113m www bb elec com www bb europe com Setup and Connections Vlinx MESR321 Modbus Gateway j 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 O6h if it has a message out on the port with no r
41. ll this application for Anyone who uses this computer C Ony for me Wise Installation Wizard R Back Cancel Figure 12 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 VlinxWModbus Gateway Managen If desired you can select another location by pressing the Browse button MESRS321 xx R001 2113m www bb elec com www bb europe com Setup and Connections Vlinx MESR321 Modbus Gateway Acl xd Destination Folder Select a folder where the application will be installed gt The Wise Installation Wizard will install the files for Vlins 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 Vlins Modbus Gateway Manager by clicking Cancel to exit the Wise Installation Wizard Destination Folder C Program Files BB Electronics Wling lins Modbus Giatewa N Browse Wise Installation Wizard R Back Cancel Figure 13 Destination Folder Screen 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 fe Vlinx Modbus Gateway Manager Setup m Bj x Ready to Install the Application Click Next to begin installation Click the Back button to reen
42. matic scrolling of the displayed text The Clear button clears the displayed text Press the Stop button to stop monitoring Press the Save button to save the information to a file 47 MESR321 xx_R001_2113m www bb elec com www bb europe com Setup Examples Vlinx MESH321 Modbus Gateway 6 Setup 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 Refer to the Modbus Serial Server page on the B amp B Electronics web site for detailed information regarding other applications Log into your gateway 1 Access the serial port one setup screen by clicking the link on the left side of the screen Wi vlinx Modbus Gateway Manager 1 3 2 Contents Port 1 Serial General Network Description Serial Port 1 Modbus TCP Mode Port 1 Serial Port1 Modbus Baud Rate 9600 Port ID Rema Data Bits z Modbus ID Poutin Modbus Priori Stop Bits TSt v Save Parity No Parity Logout Save Back Next Copyright 2007 2012 All rights reserved Figure 45 Serial Port 1 Setup 2 Configure Serial Port 1 In this case it is RS 232 19 2 kbps 8 data bits 1 stop bit and no parity Save the settings
43. nstallation Welcome Screen b Click Next The License Agreement Screen will be displayed on your computer MESR321 xx_R001_2113m www bb elec com www bb europe com Setup and Connections Vlinx MESR321 Modbus Gateway Blox License Agreement You must agree with the license agreement below to proceed P PURCHASE AND LICENSE AGREEMENT OF CUSTOM SOFTWARE E 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 707 Dayton Road Ottawa IL 61350 and User of Software herein referred to as USER 1 CERTAIN DEFINITIONS xl accept the license agreement C do not accept the license agreement Wise Installation Wizard R Reset lt Back Cancel Figure 11 Modbus License Acceptance Screen 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 i Vlinx Modbus Gateway Manager Setup 5 xj User Information Enter the following information to personalize your installation 7 Full Name I Organization The settings for this application can be installed for the current user or for all users that share this computer You must have administrator rights to install the settings for all users Insta
44. nufactured to the highest standards of quality and performance to ensure your complete satisfaction About MESR321s MESR321s 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 MESR321s feature 10BaseT or 100BaseTX copper network media and fiber optic media options depending upon the model MESR321s are built for use in industrial environments featuring an IP30 slim line DIN rail mountable case They operate over a range of DC power supply voltages and feature pluggable terminal block power connectors An external power supply sold separately is required MESR321 Model Numbering MESR321s are a growing family of products Network connection options include 10BaseT 100BaseTX copper or LC fiber optic options List of MESR321 Models MESR32 1 Terminal Block DB9 Port DIN 2 CU Ethernet mesroatst hiper smalende MESR321 SL Fiber single mode wEsmaztML Fosrmutimede MESR321 ML Fiber multi mode The models listed above are standard build options The following build options are possible for large projects Models with 2 fiber optic ports Models with long range fiber optic ports such as 40km and 80km single mode Please contact B amp B Electronics for more information MESRS321 xx R001 2113m www bb elec com www bb europe com In
45. ogress Bar and Progress Box provides information on the progress of the transfer In the Firmware File drop down list select the firmware file to upload to the Modbus gateway Click Upgrade The Progress box and Progress bar display information on the upgrading process When the upgrade process is complete click Close 44 MESRS321 xx R001 2113m www bb elec com www bb europe com Diagnostics VlinxMESR321 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 Wi vlinx Modbus Gateway Manager 7 xi want to test Computer Information MESR321 0D00EBE 000010 Ethernet Adapter Local Area Connection IP Address 10 1 5 23 MESR Information Subnet Mask 255 255 0 0 Server Name MESR321 DefaultGateway 10 1 0 33 000EBE 000010 IP Address 10 1 2 139 il Progress H Save Cancel Figure 43 Diagnostics Dialog Box Testing a Modbus Gateway Connection To run diagnostics on a Modbus gateway 1 Click the Diagnostics icon The Diagnostics dialog box appears 45 MESRS321 xx R001 2113m www bb elec com www bb europe com Diagnostics VlinxMESR321 Modbus Gateway In the drop down box sel
46. p on Modbus Gateway Module MESRS321 xx R001 2113m www bb elec com www bb europe com Setup and Connections Vlinx MESR321 Modbus Gateway 3 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 Power Supply 10 to 48 VDC Figure 8 MESR Power Connection Connecting MESR321s to Modbus networks MESR321s 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 RS 422 4 wire 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 MESRS321 xx R001 2113m www bb elec com www bb europe com Setup and Connections Vlinx MESR321 Modbus Gateway 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 conf
47. pen a web browser LITE Bie fd Help LIVE CHAT mm B E Offline B amp B ELECTRONICS MEE EINE EE HOME PRODUCTS APPLICATIONS FREE CATALOG Quick Order Products EB BsB ELECTRONICS Diter Complete Industrial Communication Solutions DerQiis isouion BiZi M5472 REMS UID Wises am Figure 35 Open Web Browser 2 In the browser s address bar type the IP address of the Modbus gateway File Edit View Favorites Tools Help Figure 36 Type IP Address 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 35 MESR321 xx_R001_2113m www bb elec com www bb europe com Setup and Connections Vlinx MESR321 Modbus Gateway Wi viinx Modbus Gateway Manager 1 3 2 x MESR321 000EBE000010 10 1 2 139 i Modbus Gateway Contents Login Help Enter the password to login to the Password device then click on the Login button MAC Addre 0 0E BE 00 00 10 Link Status 100BaseTX full duplex Copyright 2007 2012 All rights reserved Figure 37 Modbus Gateway 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 MESR321 on Networks without a DH
48. perating Humidity Modbus gateway module CD with software for Win XP 32 64 bit 2003 Server 32 64 bit Vista 32 64 bit 2008 Server 32 64 bit Windows 7 32 64 bit 232NMO9 Null Modem Crossover Cable for DTE to DTE connection ERS35 one meter length of steel 35mm DIN Rail Using via a serial connection press Reset button to enter Console Mode Using via a Ethernet connection Using a standard web browser such as Internet Explorer Firefox or Chrome Win XP 32 64 bit 2003 Server 32 64 bit Vista 32 64 bit Windows 7 32 64 bit Windows 2008 Server 32 64 bit 40 to 80 C 40 to 176 F 40 to 85 C 40 to 185 F 10 to 95 non condensing Rating IP30 Mounting DIN rail mount 35 mm Dimensions 5 5 x 3 5 x 1 4 in 13 9 x 8 7 x 3 5 cm Requirements 1010 48 VOC Power Consumption FOW Max Wire Size 28 to 16 AWG Wire Type Copper Wire Only Tightening Torque 5 KG cm Wire Temp Rating 105 C Minimum Sized for 60 C Ampacity Note One conductor per terminal Serial to Ethernet 2 kV Serial to Power 2 kV Ethernet to Power 1 5 kV 57 MESRS321 xx R001 2113 m www bb elec com www bb europe com Appendices Vlinx MESR321 Modbus Gateway Controls Indicators and Connector Specifications Hold in for 0 to 2 seconds for hardware reset Hold in for 2 to 10 seconds for Reset button Console Mode Do a hardware reset or recycle power to exit Console Mode Hold
49. s Modbus Message Timeout 10 Milliseconds TX Delay Seve Back Nest advanced Modbus Serial Retries is the maximum mmber of times that the Modbus gateway will retry to send a Modbus message to a Modbus client before reporting a Bh exception if it is selected Number of retries is limited to 5 Modbus Message Timeout is the marinum amount of time to wait for a response to the message Valid value range is from 1 to 65535 Figure 30 Modbus Port Screen Gateway Port 1 Modbus Use code 0 as regular slave address code Use Standard Modbus Timeouts C Use Custom Timeouts Save Back Next Attached Master x Modbus RTU T Enable modbus broadcast Iv Enable 0Bh Exception l Iv Enable serial message buffering 1 7 Modbus Serial Retries 2000 Milliseconds Modbus Message Tyfieout 10 Milliseconds TX Delay Save Back Next Port 1 Modbus Advanced Help Use code 0 as regular slave address code can only be used if Modbus Broadcast option is disabled Advanced Use code 0 as regular slave address code Use Standard Custom Timeouts is used to Use Standard Modbus Timeouts indicate standard or custom timeouts for the Use Custom Timeouts poet Modbus Inter character Time is the 3 maximum amount of time between 200 milliseconds Inter character Time consecutively received characters in 2 Modbus frame If this time is exceeded the message
50. ss 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 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 24 MESRS321 xx R001 2113m www bb elec com www bb europe com Setup and Connections Vlinx MESR321 Modbus Gateway Default Gateway field contains default route to remote networks M vlinx Modbus Gateway Manager 1 3 2 2 inix a oH 2 B m 2 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 t Sa n t Modbus Gateway i im Contents Network gero I Iwant DHCP to setup the network d IP Address 101 2139 Port1 Serial Ca Subnet Mask 255 255 0 0 Port1 ID Remap Default Gateway 10 10 33 Modbus ID Routing Modbus Priority Save Back Next For Class A network IP addresses 00 0 0 255 Figure 25 Network Settings Screen DHCP not Selected d More information about assigning an IP
51. tached should be slaves Modbus should be RTU The other settings depend on your application 5 Configure Port 2 Serial and Modbus in the same fashion 6 Access Modbus ID Remapping for each port and configure as necessary 49 MESRS321 xx R001 2113m www bb elec com www bb europe com Setup Examples Vlinx MESH321 Modbus Gateway Mi vlinx Modbus Gateway Manager 1 3 2 lol gt BH m 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 MESR321 000EBE000010 10 1 2 139 Modbus Gateway Contents Port 1 Modbus Slave ID Remapping Help General rr p The first box in line is the starting ID of a rom ID To Port ID x want to remap Valid value range is Network del fom 1 to 247 did Ed Modbus TCP T From In sl To Port ID The second box in line is the last ID of that range Valid value range is from 1 to 247 Port Serial E From ID To Port ID 3 The third box in line is the start of the remap range on the serial port Valid vahe Porti Modbus C From ID L To Port ID z range is from 1 to 247 Port 1 ID Remap The fourth box in line is auto filled in based T From ID To Port ID on the range filled in the first 3 boxes Valid value range is from 1 to 247 Modbus ID Routing Modbus Priority Save Back Next Save Logout Copyright
52. tart of the remap range on the serial port you want to remap Valid value range is from 1 to 247 d The second box in line is the last serial port of that range Valid value range is from 1 to 247 e The third box in line is the starting ID of a range to remap to Valid value range is from 1 to 247 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 247 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 This screen allows you to set the Modbus Slave ID routing 32 MESRS321 xx R001 2113m www bb elec com www bb europe com Setup and Connections g Vlinx MESH321 Modbus Gateway Contents Modbus Slave ID Routing Help The first box in line is the 5 IDofa General me 247 To IP Address v 10 1 0213 mange yon want to Toute Vili vale range i Network from 1 to 247 Modbus TCP IH S To IP Address Ej The second box in line is the last ID of that Dr To IF E range Valid value range is from 1 to 247 aa in line xt or IP addres Eont Sena Dr To i z witch has slave devices attached Port1 Modbus UR induces box in li f the Port 1 ID Remap IDE To E slave device 3 17 allons i chosen n the third Dr To H Modbus ID Routing p m Mo
53. tatus 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 52 MESRS321 xx R001 2113 m www bb elec com www bb europe com Modbus Help Vlinx MESR321 Modbus Gateway 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 Slowing down the polling rate may be helpful if power cycling doesn t cure the problem A common misperception is that every serial network must terminate with a resistor While this was true of early serial network configurations it s typically the wrong answer 53 MESRS321 xx R001 2113 m www bb elec com www bb europe com Appendices Vlinx MESH321 Modbus Gateway 8 Appendices This section includes the following Appendices Appendix A Default Gateway Settings Appendix B Product Specifications Appendix C Dimensional Diagrams Appendix D Connector Pinouts 54 MESR321 xx R001 2113 m www bb elec com www bb europe com Appendices Vlinx MESH321 Modbus Gateway Appendix A Default Gatew
54. ter the installation information or click Cancel to exit the wizard Wise Installation Wizard R Back Cancel Figure 14 Ready to Install Application Screen f Click Next The software will begin installing MESRS321 xx R001 2113m www bb elec com www bb europe com Vlinx MESH321 Modbus Gateway ie Vlinx Modbus Gateway Manager Setup 1 x Updating System The features you selected are currently being installed p Setup and Connections Wise Installation Wizard R Figure 15 Software Installing Screen g Click Next The Installation Complete screen will be displayed on your computer Click Finish to finish the installation jie Ylinx Modbus Gateway Manager Setup xi Vlinx Modbus Gateway Manager has been successfully installed Click the Finish button to exit this installation Figure 16 Installation Complete Screen Configuring the MESR321 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 MESR321s can be configured over the network Modbus Configuration manager software running on a PC To open Modbus Configuration Manager 18 MESR321 xx_R001_2113m www bb elec com www bb europe com Setup and Connections Vlinx MESR321 Modbus Gateway 1 From the Desktop click Start gt Programs gt B amp B Electronics gt Vlinx gt
55. troduction Vlinx MESH321 Modbus Gateway MESR321 Features e DB9M and pluggable terminal block serial port connector options e The DB9 port is for RS 232 e The terminal block serial port is software selectable as RS 422 or RS 485 2 and 4 wire e Configuration of Ethernet and serial port settings using software e Configuration can be done via network web page or direct serial connection e Slim line DIN rail mountable case e Accepts DC power over a wide voltage range e 10 100 Mbps Ethernet with Auto Selection Auto MDI MDIX e LAN and WAN Communications e TCP Client or Server operation configurable e Firmware Upload for future revisions upgrades e Software Support Windows XP 32 64 bit 2003 Server 32 64 bit Vista 32 64 bit 2008 Server 32 64 bit Windows 7 32 64 bit Configuration Software The configuration software enables you to find connected Modbus gateways configure them upgrade Modbus gateway firmware and save load configuration files It features a graphical user interface GUI that is convenient and easy to use MESRS321 xx R001 2113m www bb elec com www bb europe com Hardware Vlinx MESH321 Modbus Gateway 2 MESR321 Hardware MESR321s are enclosed in DIN rail mountable enclosures and feature LED indicators power Ethernet and serial connectors and a recessed Mode switch Package Checklist MESR321 Modbus Gateways are shipped with the following items included e MESR321 Modbus Gatew
56. ts this capability Otherwise you need to ask your network administrator for the appropriate IP settings Obtain an IP address automatically r Use the following IP address IP address 163 254 102 1 Subnet mask 255 255 0 Default gateway 168 254 102 100 abren ONS server address automatically Use the following DNS server addresses Preferred DNS server Alternate DNS server 5 E Cancel c Use the Vlinx Modbus Manager Software to search for discover and configure the Modbus Gateway 37 MESRS321 xx R001 2113m www bb elec com www bb europe com Setup and Connections Vlinx MESR321 Modbus Gateway 2 Method 2 Change the Modbus Gateway s network settings to match your PC using Console Mode a Connect a null modem serial cable crossover cable from Port 1 on the Modbus Gateway to an available COM port on your PC Enter Console Mode Press and hold the Modbus Gateway s Mode switch for 2 to 10 seconds Release the reset button The READY LED will blink 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 Networks Un check the box next to I Want DHCP to setup the
57. ww bb europe com 10 Glossary Vlinx MESH321 Modbus Gateway 9 Glossary Term Definition ADU Application Data Unit ASCII American Standard Code for Information Interchange Baud Rate Number of bits per second CRC Cyclical Redundancy Checking Data Bits Sod E per byte normally 7 with Modbus ASCII and 8 with DHCP Dynamic Host Configuration Protocol Flow Control The process of managing the rate of data transmission between two nodes ido A code field that tells the Gateway what kind of action to perform Sum A bridge to get from Modbus TCP to Modbus Serial GUI Graphical User Interface IP Internet Protocol IPv4 Internet Protocol version 4 LED Light emitting diode Used as a visual indicator MBAP MODBUS Application Protocol MEI Multi Electrical Interface via RS 232 422 485 Modbus E CERIS protocol and offers services specified by function A binary digit that is added to ensure that the number of bits with Parity Bit value of 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 RS 232 Interface between Data Terminal Equipment and Data Circuit Terminating Equipment Employing Serial Binary Data Interchange 67 MESRS321 xx R001 2113 m www bb elec com www bb europe com 10 Glossary Vlinx MESH321 Modbus Gateway Term Definition RS 422 Electrical Characterist
58. xit Console Mode press and hold the Reset switch for two seconds Saving your configuration will also take you out of Console Mode The LEDs go back to their normal states when the device resumes normal operation MESR321 Operational Connections Using MESR321s in Direct IP Mode A Direct IP connection allows applications using TCP IP socket programs to communicate with the COM ports on the Modbus gateway In this type of application the 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 or the web interface 3 Configure your software application with the appropriate IP address and port number to communicate with the Modbus network s 41 MESRS321 xx R001 2113m www bb elec com www bb europe com Setup and Connections Vlinx MESR321 Modbus Gateway Serial Devices Figure 41 Direct IP Connection 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 while the

Download Pdf Manuals

image

Related Search

Related Contents

Clock II Silver Version  Fortress Railing Products 52500061 Installation Guide    HI 2151/30WC Weight Controller Operation and Installation Manual  Health Services provider user guide  Software Piracy Prevention System User Manual KEYLOK3 USB  取扱説明書    User manual  Husqvarna YTH1842XP User's Manual  

Copyright © All rights reserved.
Failed to retrieve file