Home

User Manual - Express Systems & Peripherals

image

Contents

1. s F s ASCII Slave ASCII Slave ASCII Slave ID 1 ID 5 ID 205 Figure 52 Ethernet Master With Serial Slaves 5 Loginto your gateway 50 6 Application Examples 6 Access the serial port one setup screen by clicking the link on the left side of the screen VA linx Modbus Gateway Manager 1 3 2 E oj x 3 2 B p 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 MESR424 000EBE000010 10 1 2 139 Contents Port 1 Serial Help General Description sets the description for this serial SET iotion i port Maximo length is 32 symbols Allowed Network Description Serial Port characters are symbols from A to Z from a to Z mmbers from 0 to 9 and the space Modbus TCP Mode Mode controls the physical communications mode Port 1 Serial ee x Baud Rate controls the conummications Port1 Modbus Baud Rate 9600 a speed of the serial port Port 1 ID Rema i Data Bits controls the mmber of bits of data Data Bits in each character Modbus ID Routing i 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 mumber of bits to Pari No Pan indicate the end of a character mye arity o Parity gt Parity controls the error checking mode Logout Save Back
2. Table of Contents 1 Table of Contents Hud 270 4705 ON TEA AUR SAN TAA A a cad ears eee ana tans 5 ADOUEIVIESRAZ4 MOODUS GALEWAVS sasra ae Ten O AT EAE E kana ae anv sahad tae 6 MESR424 Modbus Gateway Model Numbering mmiivennenvannnavennnnnva naeran nn nnn ena nan nan ne nen nee nan nen nan ne nan n e 6 MESR 424 FCO OS o T L ehhimaa initial O ielat ad s edi obieganedess edie E OO 7 Vinx Manager Conig rati n SOPEMATB sariini takka naelad n rdine napssunadiaonanadantenvagiounedaasependdedennin 7 MESR424 Modbus Gateway Hardware csccssssscsscsccsccscesccscescescesceccescsscsssssccsccsccscescescescescescescsscsscsscsseucs 8 PICK OG CCCI Sie e rismuikid mat aE EA OET EE EOT EATE ie 8 MESR424 Modbus Gateway Enclosures and Mounting sscccccsseeccnseecccnsesecsassecsausecssueeessaasecesauseessasessauaseesauasesages 8 EEL IAGICGLONS Ana O 1 2 2 2 92 2 9 eaeeoaoaeee 9 a 142941 2 date g 87 21 110120 124 8 ee ey omen A ret ear Er AE ni AAA et 9 RTA ee vary tte er A a a aata itaalia ala tee 9 SER POGUE DS maaan a ca samaaieee tases Ganmocantouaencasatmesainaceannes tances alea laas 10 DAOC CT ROS CES WIE CI sis tsscle Sas eas A a NEETUD ED aiad t 10 12441278 41219 6 9 914123 90 09 29 PES DA SAAJAD A ese ves nests EAA could TA DAS DALTON stds od Sams mange ads ne eal ae 11 FIDCMO DUG CONNECTIONS x SAMASTAS A AA A TADA ADAT SE AU tase ane 11 Sendi PORE CONNECT OTS ikid
3. 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 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 T 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 For Class B network IP addresses 128 0 0 0 through 191 255 255 255 the default subnet mask is 255 255 0 0 27 3 Setup and Connections 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 VA Vlinx Modbus Gateway Manager 1 3 2 E n x 3 ie ep 2 Open Save Search Upgrade Diagnostic Monitor About
4. C and allow everyone to connect C 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 CO IP address 0 0 0 0 through 0000 CO DP address pooo CL through pooo C IP address 0000 throu 0000 CD address pooo through pooo a Figure 36 TCP Connection Filter Allow Specific Range of IP Addresses to Connect 12 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 4 b This screen allows you to change the serial port settings 30 3 Setup and Connections 3 ave Search Upgrade Diagnostic Monitor About Which device do you want to config i icki 699 jure Choose the device by clicking on one of the devices in the list belo Contents Port 1 Serial Help General Description sets the description for this serial Description j port Maxinum length is 32 symbols Allowed Network P Serial Port characters are symbols from to Z from a Modbus TCP to Z mumbers from 0 to 9 and the space Mode S 232 Mode controls the physical commmmications mode Port 1 Serial LE AS ERE a r Baud Rate controls the commmications Port1 Modbus Baud Rate 3600 bd speed of the serial port Port 1 ID Rema Data Bits cont
5. Next Copyright 2007 2012 Ail rights reserved Figure 53 Serial Port 1 Setup 7 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 8 Access Port 1 Modbus by clicking the link on the left side of the screen Wivlinx Modbus Gateway Manager 1 3 2 sel 3 m 5 p 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 lb JUE Gateway Contents Port 1 Modbus Help General Attached is selectable between Master and Slaves If Master is selected the Modbus Network Attached Slaves y Gateway will run in TCP server mode if Slaves Modbus TCP is selected it will rm in TCP client mode Modbus ATU gt Modbus indicates the protocol of the device connected to the port It canbe either RTU or Port 1 Serial ASCII Port 1 Modbus CO Enable modbus broadcast Modbus Broadcast is used to send Modbus Poni IDR broadcasts to a specific serial port Modbus Port 11 Remap broadcast is Slave ID Oh If selected the M Enable OBh Exception Gateway will send broadcast messages out the serial port and will not expect a response If Modbus ID Routing unselected it will use slave ID Oh as a standard Modbus Priority I Enable serial message buffering address Modbus OBh Exception When the Modbus A A slave device does not re
6. 148 Clear to Send 9 Ring Indicator RI fee 9 Ring Indicator FI Soldered ta DBS Metal Shield FOND Saldered to DBS Metal Shield FOND Figure 15 MESR RS 232 Connections If you select RS 422 mode RS 485 2 wire mode or RS 485 4 wire mode when you configure the MESR424 Modbus Gateway you must connect the Modbus network appropriately via the 5 position terminal block or the DB9 connector 3 Setup and Connections RS 232 422 485 Serial Devices Figure 16 MESR Connections Connecting MESR424 Modbus Gateways to a Network Network Connection 10BaseT 100BaseTX When connecting an MESR424 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 MESR424 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 3 Setup and Connections MESR424 Modbus Gateway Configuration Connections MESR424 Modbus Gateways can be configured over the network or via 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 yo
7. Modbus Gateway Contents Port 1 Modbus Slave ID Remapping Help The tirri bex attend starting ID of a a C FrmD ToPorD range you want to remap Valid rahe range Modbus TCP From D To Port T The second box in Hine is the last ID of that 247 range Valid value range is from 1 to Pant Saal I From ID To Port ID The third box in line is the start of the A m the serial port Valid value Port 1 Modbus C From ID To Port ID sl ranges homl toh i Port 1 ID Rema The fourth box in line is auto filled in based From ID To Port ID n the range led in the fs 3 boxes Valid sahi range is from 1 to 2 Modbus ID Routing Modbus Priority Save Back Next Copyright 2007 2012 A rights reserved Figure 55 Port x Modbus Slave ID Remapping 12 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 VI vlinx Modbus Gateway Manager 1 3 2 ol x A gt 5 19 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 MESR424 000EBE000010 10 1 2 139 Modbus Gateway Contents Modbus Slave ID Routing Help m first ho line is the 5 ID of a General D mfi 247 TofiPAddress J 10 1 0 213 cag tet to ene Wal oe en Network
8. Which device do you want to configure Choose the device by clicking on one of the devices in the list below Mac Address MESR424 000EBE000010 10 1 2 139 Contents Network Help General DHCP controls whether or not a DHCP server is used to set the IP address subnet mask and Network E I want DHCP to selip the network default gateway of the Modbus Gateway Modbus TCP When DHCP option is enabled but the DHCP IP Address fi 0 1 2 139 server is not found the Modbus Gateway will automatically configure an IP address in the Port 1 Serial range of 169 254 0 0 through TE 169 254 255 255 with a subnet mask Port1 Modbus Subnet Mask 255 255 0 0 ETETEA Port ID Rema IP Address field contains static internet Default Gateway fi 0 1 0 33 protocol address of the Modbus Gateway Modbus ID Routing Subnet Mask field contains mask that is used Modbus Priority Save Back Next 1a a i For Class A network IP addresses 0 0 0 0 through 127 255 255 255 the default subnet Save mask is 255 0 0 0 For Class B network IP addresses 128 0 0 0 through 191 255 255 255 the default subnet _ Logout 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
9. 9600 14 4k 19 2k 28 8k 38 4k 57 6k 115 2k 230 4k RS 422 485 biasing Auto 1 K ohm pullups and pulldowns RS 485 data control Auto control via MCU 68 8 Appendices Network Specifications Memory Serial Memory 8 K bytes per port Network Memory 8 K bytes O e fese O Modbus client server port user pee nfigurabl TCP Ports soe 7000 TCP Configuration 10000 Monitor Port UDP Ports 7000 UDP Configuration Network LAN 10 100 Mbps Auto detecting 10BaseT or Communications 100BaseTX Network Phvsical IEEE 802 3 auto detecting amp auto y Ethernet MDI MDX 10BaseT 100BaseTX and Layer Standards 100BaseFX TCP IPv4 ARP HTTP 1 0 ICMP PING Protocols Supported DHCP BOOTP IP Mode Static DHCP or Auto IP TCP User definable Connection Modes ee Server Client baarch Serial direct COM and Ethernet auto search or specific IP Firmware Upgrade Via serial Ethernet or auto web search Timeouts Modbus Message 1 to 65535 ms default set at 2 000 ms TX Delay 1 to 65535 ms default set at 10 ms Custom Timeouts enhancer 100 to 5000 ms default set at 0 user to set if enabled Inter message 100 to 5000 ms default set at 0 user to set if enabled 69 8 Appendices ional Diagrams mensiona D Appendix C 6Y LO LEG6 L 88981 Dei E ON vZvYy Figure 69 Dimensional Diagram 70 10 Glossary Appendix D Connector Pinouts DB9 Serial Port Pinouts DB9 M Pin 1 Oo 01 AJOJN
10. Direction Input Input Output Output Input Output Input No Connection RS 232 DCD RXD TXD DTR GND DSR RTS CTS 10 Glossary Terminal Block 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
11. 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 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 2 Inthe 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 45 6 Diagnostics VlinxMESR9xx 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 PF linx Modbus Gateway Manager x want to test Computer Informat
12. Port 1 Modbus or the last one Port 1 1D Rema 3 The name can t consist of mumbezs only Modbus ID Routing Modbus Priori Copyright 2007 2012 All rights reserved Figure 29 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 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 24 3 Setup and Connections 6 7 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 9 General Settings VI vlinx Modbus Gateway Manage
13. Windows 7 32 64 bit Operating i A Temperature 40 to 80 C 40 to 176 F Configuration Options Environment Storage Temperature 40 to 85 C 40 to 185 F Operating Humidity 10 to 95 non condensing Certifications Part 15 Class A op NO Dimensions Medium Voltage Requirements 10 to 48 VDC 58 VDC Max Power Supply External Supply Required Power Consumption 6 0W Max o ae OOo i we e P Wire Temp Rating 105 C Minimum Sized for 60 C Ampacity ee ET 66 8 Appendices Controls Indicators and Connector Specifications Hold in for 0 to 2 seconds for hardware reset Hold in for 2 to 10 seconds for Console Mode Reset button Mode Reset Do a hardware reset or recycle power to exit Console Mode Hold in for more than 10 seconds to reset to factory defaults one per port Blink Data traffic Color Green On 100BaseTX Off 10BaseT Blink Data traffic Color Green Ready LED Blink once per second System OK Off System NOT OK 10BaseT 100BaseTX Ethernet RJ 45F 8 pin Link LED Serial 4 DB 9M or terminal block connectors DC Power 9 08mm 2 position pluggable lockable terminal block 67 8 Appendices Serial Interface Specifications TXDA TXDB RXDA RXDB GND Data Data GND TXDA TXDB RXDA RXDB GND Baud Rates 75 150 300 600 1200 2400 4800 7200
14. _ _te Paasess ID F CF To P Address Save Back Next Advanced Copyrigh 9 2007 2008 B amp B Elecronic Manufacturing Company Inc All right reserved Figure 66 Modbus Slave ID Routing 58 6 Application Examples Serial Masters IP Slaves Serial Masters can be used to control IP Slaves IP Slave IP Slave IP Slave ID 150 ID 151 160 ID 1 100 Ethernet kt RTU Master Figure 67 Identical Hard Coded Slaves 59 6 Application Examples Serial Masters IP Slaves Serial Masters can be used to control IP Slaves IP Slave IP Slave ID 150 ID 151 160 ID 1 100 19 2 Kbps kt RTU Master Figure 68 Identical Production Lines 60 7 Modbus Help 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 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 somew
15. 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 accept the license agreement C donot accept the license agreement Wise Installation Wizard R Reset lt Back Cancel Figure 18 Modbus License Acceptance Screen 3 Setup and Connections 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 a linx Modbus Gateway Manager Setup 215 x User Information Enter the following information to personalize your installation Full Name ll Organization The settings for this application can be installed for the curent user or for all users that share this computer You must have administrator rights to install the settings for all users Install this application for Anyone who uses this computer C Only for me Wise Installation Wizard Fi lt Back Cancel Figure 19 User Information Screen d Click Next The Destination Folder Screen will be displayed on your computer The default directory is C Program Files B amp B Electronics Vlinx Vlinx Modbus Gateway Manager If desired you can select another location by pressing the Browse button ie link Modbus Gateway Manager Setup ioj
16. interface GUI that is convenient and easy to use 2 Hardware 2 MESR424 Modbus Gateway Hardware MESR424 Modbus Gateways are enclosed in DIN rail mountable enclosures and feature LED indicators power Ethernet and serial connectors and a recessed Mode Reset switch Package Checklist MESR424 Modbus Gateways are shipped with the following items included e MESR424 Modbus Gateway Module e Quick Start Guide e CD with User Manual Ouick Start Guide and configuration software MESR424 Modbus Gateway Enclosures and Mounting All MESR424 Modbus Gateway models are built into similar enclosures Modules are DIN rail and panel mountable l Ethernet 1 na Ethernet 2 Figure 2 Front View of an MESR424D Modbus Gateway 2 Hardware LED Indicators MESR424 Modbus Gateways have three types of LED indicators Ethernet Link LEDs a Ready LED and Serial Port LEDS Of Power is not connected On Power is connected ete OH System is in Console Mode Blink System is in Normal Mode Blink Data present on serial port RJ45 Ethernet Port LEDs JELA Off 10Basel connection On 100BaseTX connection ME On Ethernet connected Blink Data present on Ethernet port Ethernet Figure 3 Port LEDs E1 E2 Ethernet Link LED The Ethernet Link LED E1 or E2 illuminates green if the Ethernet is connected When the LED 15 blinking it indicates that there 15 data traffic on the Ethernet link The Ethernet Speed E1 o
17. menta wes ex celegevwinimad aca ncicaaleaiw na asiece ss aniseed cove caper oan cas omalt aladele al aera ane 12 POWER C OM COLON andi ciassaadescnsndoesahenabotaacegnenarenaiuacs taco ont oaul icetndsensaanas mimmu ehoraneniueaaiaaencsanants 13 MIOUDEIAG FOTO W ONC sca daesossecra rean EE esceaagn aa atetuis T aaa 14 Modbus Gateway Setup and Connections ccscsscssccscescsccecceccscceccsccnccecceccsccscescoscescescescescecceccuscnsceccees 15 connecting CAE Power SUD DIY arrisera N O ATEI ane 15 Connecting MESR424 Modbus Gateways to Modbus networks ssccccuseesccnseseecsssccsasecescscessansessausecssauseesaanseees 15 CONNECUNG ENS IVIESRA2 Aivicd xxciveciclatdends sceseboete NOE EAO aaastal 16 Connecting MESR424 Modbus Gateways to a Network nnurnvenennnenvannneneannnene na nen nan nenea nne na n nena 17 Network Connection 10BaseT 100BaseTX ccccccccccccccccecssceeeesesceceecccessseeeseeeueeesssceeeeeeessseuseeeeuuaueeneeeeeeeeeeegs 17 2111907 954 Aea ES a AR TA E AR E E E MEA OLED MAA i 17 MESR424 Modbus Gateway Configuration Connections cccccsseseccccsesseccesesseccnscuseeecssauseecsssausecsssausecesauenseesssaees 18 Installing Modbus Configuration Manager Software vvneenennnnneenennnnnoenenn nn neenenn nn neenenn ne nenneenna 18 Configuring the MESR424 Modbus Gateway via the Network Connection 0 rrenererneeneneneeenn
18. new name click the Save button b You can also change the gateway s password on this screen To do this check the T want to change the password box New password entry boxes will appear on the screen 25 3 Setup and Connections W Vlinx Modbus Gateway Manager 1 3 2 S H 2 8 v z 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 MESR424 000EBE000010 10 1 2 139 2 _ Modbus Gateway Contents General Help General Modbus Gateway Name is a unique name a i Bae 7 assigned to the Modbus Gateway It must be a Kawo The name of this Modbus Gateway is MESR424 100EBE000010 valid hostname as defined by RFC 952 and RFC 1123 N i t Modbus TCP ee M I want to change the password 1 Allowed are characters from A to Z and ang P from a to z mmbers from 0 to 9 and Port 1 Serial 00 N 2 It s not allowed to use symbol as the first Port 1 Modbus Type the new password or the last one Port 1 ID Rema i Pp 3 The name can t consist of numbers only Type the new password again to confirm it Pami E dhe miisi aiea ta tie Modbus ID Routing Modbus Gateway Valid value range is from to Z a to Z 0 to 9 Modbus Priority Save Next a Password Confirmation is the password entered a second time to confirm that it was Sav
19. pair DataB and DataA signal channels using half duplex operation The data lines are differential 15 3 Setup and Connections with the Data B line positive relative to Data A in the idle mark state Ground provides a common mode reference Connecting the MESR424 Depending upon the model MESR424 Modbus Gateway can be configured to support RS 232 RS 422 and RS 485 2 and 4 wire serial connectors The unit may have DB 9M connectors or 5 position terminal blocks If you select RS 232 mode when you configure the MESR424 Modbus Gateway you must connect the Modbus serial network to the MESR424 Modbus Gateway via a serial cable The MESR424 Modbus Gateway 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 15 in the direction of the arrows See figure below Modem Cable Straight Cable DB9 to DBS DTE Device Computer DBS pill DCE Device Modem DBS 1 Carrier Detector DCD c0 i 42 Receive Data Rx RD 4 77 Receive Data Rx RD 45 Signal Ground Common SG OD 6 Data Set Ready DSR e 4 6 Data Set Ready SR 7 Request to Send RTS 7 Request to Send 68 Clear to Send cS 4
20. Figure 33 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 MESR424 Serial Server on Networks without a DHCP Server e Save changes by Clicking the Save button 11 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 28 3 Setup and Connections Mac Address MESR424 000EBE000010 10 1 2 139 Modbus Gateway Contents Modbus TCP Help ect to pent identifies TCP port to o be General 5 s salt by the Modbus Gateway in TCP client Network TCP Client Settings mode Valid vahie range is from 1 to 65535 Modbus TCP Response ay i the maxinmm amount Connect to Port 502 of time to wait for a response to request that is ent to the device connected through TCP Port 1 Serial Valid value range is from 1 to 65535 Port1 Modbus Response Timeout foo Listen on port identifies TCP po Hi Ahi used Port 1IDR by the Mobus Gateway in TCP s node Port 115 Remap Valid vahe range is from 1 to 65535 7 Maximum Clie as ontrols a og ad Modbus ID Routing TCP Server Settings simmltareous TCP clients E coneeied Modbus Priority Listen on Port Connec thie Filis Mode controls which S 502 enti TCP client Limit the number of connections to 16 connection
21. ID has valid valve range from l to 755 FT IP Address FT Modbus ID F Function Code Priority 3 Function Code has valid valve range from 1 to 99 TF IP Address l Modbus ID F Function Code Priority 4 M IP Address F Modbus ID F Function Code Priority 5 Figure 57 Modbus Priority 53 6 Application Examples Serial amp Ethernet Masters Serial amp Ethernet Slaves Your Modbus Gateway can also integrate multiple master devices onto serial and Ethernet Networks Ethernet i IP Slave IP Slave MENA ID 150 ID 151 160 Serial 1 Serial 2 115 2 Kbps RS 485 57 6 Kbps ASCII Slave ASCII Slave ASCII Slave ID 1 ID 5 ID 205 Figure 58 Serial 8 Ethernet Masters Serial 8 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 1 Modbus screen and configure it the port for Modbus Master and RTU 54 6 Application Examples ligi a 2 2 8 Open Diagnostic i Modbus Gateway Contents Port 1 Modbus Help Attached is selectable between Master and Staves If Master is selected the Modbus Attached Master Gateway will run in TCP server mode if Slaves is selected it will run in TCP client mode Modbus RTU x Modbus indicates the protocol of the device connected to the port It can be either RTU or ASCIL F Enable modbus broadcast Modbus Bro
22. Maximum Ime Average One Save Cancel Figure 51 Testing a Modbus Gateway Connection 47 6 Diagnostics VlinxMESR9xx 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 automatic 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 48 5 Diagnostics 49 6 Application Examples 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 Ethernet IP Slave IP Slave Serial 1 RS 232 Serial 2 19 2 Kbps RTU Slave ID 200
23. Power Supply Connect a DC power supply to the power terminals on the top of the MESR424 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 6 W Power 0 Reset Ww og Figure 14 MESR Power Connection Connecting MESR424 Modbus Gateways to Modbus networks MESR424 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 15 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 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 15 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
24. Vlinx MESR424 4 Port Industrial Modbus Gateway Vlinx MESR424 Documentation Number MESR424 R001 2113m This product was designed and manufactured in Ottawa Illinois USA Using domestic and imported parts by B SSB ELECTRONICS International Headguarters 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 One November 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 endorsement by the trademark holder
25. X copper or several different fiber optic options Model Number Ethernet Port 1 Ethernet Port 1 Serial Ports MESR424D 10 100 RJ45 10 100 RJ45 RS 232 422 485 DB9 male MESR424D MT 10 100 RJ45 Multi mode ST RS 232 422 485 DB9 male MESR424D SC Single mode SC RS 232 422 485 DB9 male MESR424T RS 232 422 485 Terminal Block MESR424T MT Multi mode ST RS 232 422 485 Terminal Block MESR424T SC Single mode SC RS 232 422 485 Terminal Block 1 Introduction MESR 424 Features Fiber models available Multi interface serial ports DB 9M and pluggable terminal block serial port connector options All ports are software selectable as RS 232 RS 422 or RS 485 2 and 4 wire Configuration can be done via network or direct serial connection Slim line DIN rail mountable case Accepts DC power over a wide voltage range 10 100 Mbps Ethernet with Auto Selection Auto MDI MDIX LAN and WAN Communications TCP Client or Server operation configurable Firmware Upload for future revisions upgrades 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 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
26. adcast is wad to send Modbus broadcasts to 2 specific serial port Modbus broadcast is Slave ID Oh If selected the F Enable OBh Exception Gateway will send broadcast messages ost the serial port and will not expect a response If unselected it will use slave ID Oh as a standard F Enable serial message buffering all Modbus OBh Exception When the Modbus ki A slave device does not respond before the 1 x 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 2000 Milliseconds Modbus Message Timeout that initiated the Modbus message Modbus Serial Message Buffering If a 5 option is selected the gateway will buffer up to too Miliseconds TX Delay 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 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 3 Modbus Message Timeout is the maximom amount of time to wait for a response to the menage Valid valve range is from to 65535 Figure 59 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 Mod
27. ap Modbus ID Routing Modbus Priority Modbus Slave ID Routing D fi 247 To IPAddress fior 0213 D O To IPAddress D C TofiPAddress mD Of TofiPAddress w O TofiPAddress E D Of 1 To P Address D C 7 1 IPAdaress E D 0 1 TofiP Adaress D O TofiP Address pofl r Aaaress Save Back Next Advanced Help The first box in line is the starting ID of a range you want to route Valid v range from 1 to 247 The second box in line is the last ID of that range Valid value range is from 1 to 247 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 Copyright 9 2007 2012 All rights reserved Figure 40 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 247 d The second box in line is the last ID of that range Valid value range is from 1 to 247 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 1s chosen in the third box g Save settings by clicking the Save button 16 Modbus Priority a To access this screen click the Next button or click the Modbus Pr
28. ateway CONNECTION sescrssaticceandscstdcauhcarandersucats lavamaad aasatl LB 46 IWIQNIEOr FUNCUON ua aka 48 6 APPIIGATION EXAMPISS sassis 50 Ethernet Master and SerlakS AVES eener EEEE E avause maa kandu A k he miau eR 50 Serial amp Ethernet Masters Serial amp Ethernet Slave S nrin dt kuke san e a A a E kaosele kai Aue oma 54 Seal Masters 1E SIAVES mia a sa aal t taandatud aima eR A valama da 56 Seat Master dP SUVE S asi instant alia emamaa maaameti alad 59 Seidi Mas teks ASI 8 1 ca NE aOR NES ENED I A NP Nis STERNER SNES BR E gt ala BITRE OP APSE RR SPE 60 7 Modbus HelD erson aa as tatvebeiihineceneusvetesberie A abiiunnnta iba uhivaniese 61 Modbus ASCIVR EO BOSI S ernn ae na ea nade leaves aa n EER 61 RNCS ONO TIDS En T A A T A 62 Si APPENdICES Auna aaasta aaa aaa la 63 Appendix A Default Gateway Settings isi tk lt k ia aiaite amaan lisati i as casa nareadaaa at kiaaa 64 Appendix Be PEOGUCESBECIMCALIONS ora usa n eiandes malakat malta kaak N EENE laeka 65 67 1413 821851 01 10 24 1805 M ATA MSS E EA AE TA ETA RTA 66 Controls Indicators and Connector Specifications vnvenvennnnnoneennnnneneen nn nennennnneenen nne neenea nn neena 67 Sernaliliitemaee SOECITI CATIONS mkiisi lina a a a 68 Network Specifications kaasaaitajaid ae aeda lna Gaia laval vadi aaa odd 69 Appendix C Dimensional Diagrams en0saenoseenoseensseeneserrsseenssernssernsserssserssserrssersssersssersssersoserssserssserssserss
29. ay Re apply power Open the Vlinx Modbus Manager Software and select Network as the method to connect to the device 39 3 Setup and Connections Configuring the MESR424 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 l NI Figure 45 Console Mode Setup To configure the Modbus gateway it must be put into Console Mode using the Mode Reset switch To enter Console Mode press and hold the Mode Reset 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 To configure the Modbus gateway open the Vlinx Modbus Manager software and set up the Modbus gateway s parameters as required 2 Under Connection select Serial Port 40 3 Setup and Connections Modbus Configuration Manager 1 0 0 FE iol x e i y 1 lt Modbus Gateway Connection Progress How do you want to connect to the device C Network Serial Port Serial Port Options Search all serial ports for the device The device is connect to this serial port com e l ea Figure 46 Connection 3 If you do not know which COM port your gateway 1s connect to select Sear
30. bus Configuration Manager 1 0 0 MESR424 000EBE000010 10 1 2 139 Modbus Gateway Contents Modbus Slave ID Routing Help ID 50 150 x To iP Address 1012200 maare pre jc from 1 to 255 ID V _ B j To Serial Port2 v 070 The second box in line is the last ID of that ID F 205 205 To Serial Pon2 0705 range Valid valve range is from 1 to 255 The third box in line is a port or IP address ID 151 i60 To iP Address 101 257 viiks kas slave devices attached Arians i The fourth box in lin IP address of th ID F To P Address slave device if IP abcess is chosen in the third Dr To 1P Address box wolf Tefr Dom of 77 TofiP Address D r 0 To P Address Save Back New Advanced Copyrigh 9 2007 2008 B amp B Elecronic Manufacturing Company Inc All right reserved Figure 60 Modbus Slave ID Routing 55 6 Application Examples Serial Masters IP Slaves Serial Masters can be used to control IP Slaves IP Slave ID 1 100 RS 422 19 2 Kbps ASCII Master RTU Master Figure 61 Serial Masters IP Slaves 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 lol x a amp E amp amp Open Save Search Upgrade Diagnostic Monitor About Which device do y
31. ch all serial ports for the device under Serial Port Options If you do know you may specify the COM port by selecting The device 1s connected to this serial port under Serial Port Options and using the pull down menu to choose the COM port Modbus Configuration Manager 1 0 0 arst Gateway Progress How do you want to connect to the device C Network Serial Port Serial Port Options Search all serial ports for the device The device is connect to this serial port comi COM1 Connect Exit Connest Figure 47 Serial Port Selection 4 The remaining screens are identical to those shown in configuring your gateway using a network connection To exit Console Mode press and hold the Mode Reset switch for two seconds 41 3 Setup and Connections The LEDs go back to their normal states when the device resumes normal operation MESR424 Modbus Gateway Operational Connections MESR424 Modbus Gateways can operate in Direct IP Mode Using MESR424 Modbus Gateways 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 conne
32. creen for each port and configure as appropriate In this case Port 1 has an ASCII Master and Port 2 has an RTU Master attached amp H 2 9 GY Open Save 3 i Modbus Gateway Contents Port 1 Modbus Help Attached is selectable between Master and Staves If Master is selected the Modbus Attached Master x Gateway will run in TCP server mode if Slaves is selected it will run in TCP client mode Modbus Asci Modbus indicates the protocol of the device F Enable modbus broadcast F Enable OBh Exception CO Enable serial message buffering TE Modbus Serial Retries 2000 Milliseconds Modbus Message Timeout fioo Milliseconds TX Delay Save Back Next Advanced Figure 64 Port 1 Modbus 57 connected to the port It can be either RTU or ASCII Modbus Broadcast is used to send Modbus broadcasts to a specific serial port Modbus broadcast is Slave ID Oh If selected the Gateway will send broadcast messages oot the serial port and will not expect a response If unselected it will use slave ID Oh as a standard address Modbus OBh 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 OBA 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 unse
33. ction 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 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 RS 232 422 485 Serial Devices Figure 48 Direct IP Connection 42 3 Setup and Connections Initiating a Hardware Reset on the Modbus Gateway To initiate a Hardware Reset on the Modbus gateway press the Mode Reset switch for less than two seconds and 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 Port 1 LED is On and the Ready LED 1s Off 3 The LEDs go back to their normal states when the device resumes normal operation Reloading Factory Defaults To reload Factory Defaults press and hold the Mode Reset 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 reloads all factory default configuration parameters 3 The LEDs go back to their normal states when the device resumes normal operation Note Factory default parameters are listed in Appendix A 43 4 Upgrading Firmware 4 Upgrading
34. e 6 Ethernet Connectors E2 is pass through connection on model shown Fiber Optic Connectors MESR424 Modbus Gateway models using fiber optic network connections use either SC or ST connectors depending on the specific model GS gt Figure 7 SC and ST Fiber Optic Cable Connectors 2 Hardware Serial Port Connectors MESR424 Modbus Gateways use a variety of serial port connector configurations depending on the model MESR424D RS 232 422 485 DB9 male MESR424D MT Multi mode ST RS 232 422 485 DB9 male MESR424D SC Single mode SC RS 232 422 485 DB9 male MESR424T 10 100 RJ45 10 100 RJ45 RS 232 422 485 Terminal Block MESR424T MT 10 100 RJ45 Multi mode ST RS 232 422 485 Terminal Block MESR424T SC 10 100 RJ45 Single mode SC RS 232 422 485 Terminal Block Figure 8 DB 9 Female Serial Port Connector Figure 9 Five Position Pluggable Terminal Block 2 Hardware Power Connector Power may be supplied by terminal block or a barrel jack Power Supply 10 to 48 VDC N Reset a Figure 10 Power Connection 2 Hardware Mounting Hardware MESR424 Modbus Gateway modules can be panel or DIN rail mounted Mounting hardware is included with each module Figure 11 Mounting clips Mounting Screws Figure 12 Mounting clips 6 mounting bracket options Figure 13 Panel mount bracket options 3 Setup and Connections 3 Modbus Gateway Setup and Connections Connecting the
35. e entered correctly Valid value range is from nm to Z a to Z 0 to 9 Logout Copyright 2007 2012 All rights reserved Figure 31 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 26 3 Setup and Connections 10 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 VI vlinx Modbus Gateway Manager 1 3 2 128 n x 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 Contents Network Help General DHCP controls whether or not a DHCP server V Iwa t 1 etwork is used to set the IP address subnet mask and TE I want DHCP to setup the network leiab tha Modes Galair Modbus TCP s Back N When DHCP option is enabled but the DHCP ave ac ext server is not found the Modbus Gateway will automatically configure IP address in the an Port 1 Serial range of 169 254 0 0 through 169 254 255 255 with a subnet mask Port 1 Modbus 255 255 0 0 Port 1 1D Remap Modbus ID Routing Modbus Priority Copyright 2007 2012 All rights reserved Figure 32 Network Settings Screen DHCP Selected
36. ene 22 Configuring with Modbus Configuration Manager ccc sssscccccssscccccsesseccesaeeccecsaeescceseeeaeeeessaaeeeeessageeeeees 22 Configuring With the Web INterm ace scission sccsasdesoscasnrsdccwievanesceusiaccnuedyeaceuadsaeuPuaweaissvncdosseueunacde ui ova dia 36 Configuring the MESR424 Modbus Gateway on Networks without a DHCP Server rrerrnese 37 Configuring the MESR424 Modbus Gateway via the Serial Port Console Mode rr 40 MESR424 Modbus Gateway Operational CONNECTIONS scccccsseeccsseescccsescccsanseccaussccsausecssueessauseessauseessausessaunsesaaes 42 Table of Contents Using MESR424 Modbus Gateways in Direct IP Mode 6nnntevennnnneennnnnenn never nenee na nenen n nane nen 42 Initiating a Hardware Reset on the Modbus GateWwa ssccccsseecccsessccsauseccacnseccasecssausecssusessaussessauseesauusessaunsessges 43 REIOGOING FACTO TOETAME kiida yeasts de ad kalad ts a taval kak aa kaelal da EOE EOS 43 4 Woerading the EI MWAFG carnin a 44 DOWNIOGGING Firnware Fe a bebe yagi eine Manet be ciliata gecl ee 45 Uploading the Firmware to the Modbus Gateway ccsssscccsseeeccnescccaussccsaseccscsecssuusessausecssauseessuecesausecssaussessaages 45 5 DIAENOSLICS cescvevesis avecessccivacacatecscocestvasodenavacenesacecionehecectneteveceussoveseaste cevsaanecasscakevessuensvasedebsvesousbecedeuaneverauesaraues 46 Testing Modbus G
37. erver sethngs sinultaneous TCP clients that can be ka connected Modbus Priority Listen on Port 502 Connection Filter Mode controls which i 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 and allow a specific range of IP addresses to connect These are the IP addresses I want to allow to connect M IP address D000 C IP address 0 0 00 C IP addres 0000 07 CO IP address pooo Figure 35 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 VA Vlinx Modbus Gateway Manager 1 3 2 24 lolx 8 P rod op 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 3 TON po niies port to be use E by the Modbus Gateway in TCP server mode Port 110 Remap Valid value range is from 1 to 65535 Maximum Clients controls the mumber of Modbus ID Routin TCP Server Settings a TCP clients that can be Dai connected Modbus Priority Listen on Port Connection Filter Mode control which M 502 TCP clients can connect Save Limit the number of connections to ie connections x Logout
38. from 1 to 247 Modbus TCP on r E To P Address D F C To IP Address Port 1 Serial ID F To IP Address Port 1 Modbus The second bo a b ie S tha lat ID of that range Valid value range is from 1 t The third box in line is a port or IP address which has slave Teias 20 ached Port 11D Remap ID F To IP Address slave save devi WIP slivers sis ple mea in the rd ID 0 To P Address Modbus ID Routing i ES CG ee Modbus Priority D 0 7 ka ID O To IP Address at D E To IP Address Logout ID O 0 C TTo Address Save Back Next Advanced Copyright 2007 2012 All rights reserved Figure 56 Modbus ID Routing 52 6 Application Examples 13 Access Modbus Priority and configure as necessary l hi 8 fa 2 Vv E 2 Open Save Search Upgrade Diagnostic Monitor About Which device do you want to co 1 Choose the device by clicking on one of the devices in the list below Modbus Priority Help Priority 1 These settings allow the gateway to move high kd priority messages to the front of the serial message buffer The priority can be based on l IP Address the originating IP address the Modbus ID the Modbus function code or any combination of FT Modi ID the three Up to five different priorities can be set F Function Code IP Address sets a static Internet protocol s address for the Modbus Gateway Priority 2 Modbus
39. hat 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 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 no
40. ill respond with a 06h it has a message out on the port with no Save Back Next Advanced response yet Modbus Serial Retri the maximum mumber of timas that the Mobo ateway will retry to send a ai message to a Modbus client be fo re reportin a0Bh exception if it is selected Number of n tee is limited to 5 Modbus Message creer tae Ae maxinnum at time to wait for e to the alid value Tanga i fon aito 65 535 Figure 38 Modbus Port Screen c 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 d Modbus indicates the protocol of the device connected to the port It can be either RTU or ASCII e 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 f 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 g Enable Serial Message Buffering If this option is selected the gateway will buffer up to 32 messages request per port If this option is
41. ing information describes this installation i Thank you for purchasing the MESR product Software Release Notes 06 01 2012 v1 3 2 This is a release version of the manager software and was changed to limit the range of slave device IDs configurable from1 to 247 10 29 2010 v1 3 1 This is a release version of the manager software to support Microsoft Windows 7 32 bit 64 bit Windows 2008 Server 32 bit 64 bit Windows 2003 Server 32 bit 64 bit gt Wise Installation Wizard FR lt Back Cancel Figure 23 Information Screen h Click Next The Installation Complete screen will be displayed on your computer Click Finish to finish the installation i Vlinx Modbus Gateway Manager Setup Ioj x Vlinx Modbus Gateway Manager has been successfully installed Click the Finish button to exit this installation Cancel Figure 24 Installation Complete Screen 21 3 Setup and Connections Configuring the MESR424 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 MESR424 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 Vl
42. inx Modbus Gateway Manager An alternate method is to double click the shortcut installed on the desktop IF Accessories Manager gt a gt End User License greemeri t Instruction Manual krdi Quick Start Guide Read Me Windows Media Player 3 windows Messenger E AAR T E VIINX MOADUS Gateway Figure 26 Vlinx Modbus Gateway Manager Shortcut Icon 22 3 Setup and Connections 3 The Vlinx Modbus Configuration Manager Device Discovery window appears VA vlinx Modbus Gateway Manager 1 3 2 Modbus Gateway Connection Progress How do you want to connect to the device Network Serial Port Network Options don t know the IP address of the device The device is at this IP address ca Figure 27 Vlinx Modbus Configuration Manager Discovery Window 4 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 Modbus 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 VA viin Modbus Gateway Manager 1 3 2 12l 8 fem it Open Save Search Upgrade Olagnostic Montor About C
43. ion Ethernet Adapter Local Area Connection MESR424 000EBE 00001 0 IPF Address 10 1 5 23 MESA Information Subnet Mask 255 255 0 0 Server Name MESR424 Default ateway 10 1 0 33 000E BE OOOO 0 IP Address 10 1 2 139 Progress Save Cancel Figure 50 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 2 In the drop down box select the specific Modbus gateway you want to check 3 Click the Start button 46 6 Diagnostics VlinxMESR9xx Modbus Gateway Information about the progress of the pinging process is displayed in the Test Progress box IF vlinx Modbus Gateway Manager x want to test Computer Information MESF424 000EBE 00001 g Ethernet Adapter Local Area Connection 2 l IF Address 10 1 5 23 MESA Informations Subnet Mask 255 255 0 0 Server Name MESB474 Default ateway 10 1 0 33 000EBE000010 IF 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 lt Tims TTL 255 Reply from 10 1 2 139 bytes 32 time lt Tims TTL 255 Reply from 10 1 2 139 bytes 32 time lt Tims TTL 255 Reply from 10 1 2 139 bytes 32 time lt Tims TTL 255 Ping statistics for 10 1 2 139 Packets Sent 4 Received 4 Lost 0 0 logs Approximate round tip times in milli seconds Minimum Ome
44. iority 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 34 3 Setup and Connections f VA vVlinx Modbus Gateway Manager 1 3 2 3 69 Open Save Search Upgrade Diagnostic Monitor About Which device do you want to configure Choose the device by clicking on one of the device Server Name Connection ll Modbus Gateway Contents Modbus Priority Help These settings allow the gateway t i General Priority 1 patie acme dpt Gr Network er The priority can be bas i the ting IP address the Modbus ID the Modbus TCP IP Address M ieee ode or an bination of O Modbus ID C the three Up to five different priorities can be set Port 1 Serial A a O IP Addre t tatic Internet protocol Part1 Modbus D Function Code lema Parga Port ID Rema Priority 2 Modbus ID has valid vahe range from 1 to 247 i O IP Address i Modbus ID Routin reas Code has valid vahe range from 1 Modbus Priority D Modbus ID CO Function Code Save Priority 3 Logout I IP Address l Modbus ID C Function Code Priority 4 O IP Address CO Modbus ID O Function Code Priority 5 4 Figure 41 Modbus Priority Screen These settings allow the gateway to move high priority messages to the front of the serial message buffer The priority can be based
45. k connection 37 3 Setup and Connections General Authentication Advanced Connect using 88 3Com 3C920 Integrated Fast Ethernel This connection uses the following items M 151055 Packet Scheduler a wW 7 Network Monitor Driver Internet Protocol TCP IP vr b Install Properties Description Transmission Control Protocol Internet Protocol The default wide area network protocol that provides communication across diverse interconnected networks Uninstall MV Show icon in notification area when connected IV Notify me when this connection has limited or no connectivity b Click on Internet Protocol TCP IP and click the Properties button 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 You 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 Alternate DNS server A Advanced Cancel c Use the Vlinx Modbus Ma
46. lected 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 OBh exception if it is selected Number of retries is limited to 5 Modbus Message Timeout is the maximom amount of time to wait for a response to the message Valid valve range is from l to 65535 6 Application Examples Modbus Configuration Manager 1 0 0 lo xj a uU 2 8 e E Open Save Search Upgrade Diagnostic Monitor About Port 2 Modbus Help Attached is selectable between Master and Staves If Master is selected the Modbus Attached Master Gateway will ron in TCP server mode if Slaves is selected it will run in TCP client mode Modbus RTU x Modbus indicates the protocol of the device connected to the port It can be either RTU or ASCIL F Enable modbus broadcast Modbus Broadcast is ved to send Modbus broadcasts to 2 specific serial port Modbus broadcast ts Slave ID Oh If selected the F Enable OBh Exception Gateway will send broadcast messages ost the serial port and will not expect a response If unselected it will use slave ID Oh as a standard M Enable serial message buffering a Modbus OBh Exception When the Modbus A slave device does not respond before the fi Modbus Serial Retries timeout has been reached or has a bad respo
47. nager Software to search for discover and configure the Modbus Gateway 2 Method 2 Change the Modbus Gateway s network settings to match your PC using Console Mode 38 3 Setup and Connections a Connect a null modem serial cable crossover cable from port on the Modbus Gateway to an available COM port on your PC Enter Console Mode Press and hold the Modbus Gateway s Mode Reset switch for 2 to 10 seconds The LED indicators will respond as follows Port LED Ready LED OFF ON OFF Release the Mode 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 g 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 Save the settings and remove power from the Modbus Gatew
48. nse check sum does not match the OBh exception code is transmitted to the Master 2000 Milliseconds Modbus Message Timeout that initiated the Modbus message Modbus Serial Message Buffering If option is selected the gateway will buffer up to fico Milliseconds TX Delay 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 Save Back Next Advanced SSE 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 OBh exception if it is selected Number of retries is limited to 3 Modbus Message Timeout is the maximom amount of time to wait for a response to the menage Valid valve range is from to 65535 Figure 65 Port 2 Modbus 3 Setup the Slave ID Routing to associate IP addresses with the appropriate Slave ID Modbus Configuration Manager 1 0 0 p lo x Dae Upgrade Diagnostic Monitor About Modbus Gateway Contents Modbus Slave ID Routing Help ID m 150 150 To IP Address 1012200 a rai tial from 1 to 255 ID fi 00 To P Address y 10 1257 The second box in line is the last ID of that Dr 205 25 ir Al a range Valid valve range is from 1 to 255 D e isi 60 TofiPAddress t01257 weno Een Dn C C TEn t stort ces ID F 77 To i box om r TofiPAd wol j tTe m r
49. 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 IP Address Used to set a static Internet protocol address for the Modbus Gateway Modbus ID Valid range is from 1 to 247 Function Code Valid range is from 1 to 99 Save settings by clicking the Save button 35 3 Setup and Connections Configuring with the Web Interface MESR424 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 Solutions Tech Support Product Lines gt Industrial Automation gt Energy 8 Natural Resources n A lt Transportation Ethernet Infrastructure elematics amp MRM Ethernet Serial Servers 8 Gateways Controllers 8 Computing gt Enterprise IT Serial activi Remote UO Transaction Management P S8 Connectivity Wirel lutar a More Industry Solutions Done Internet Protected Mode On fa 100 Figure 42 Open Web Browser 2 In the browser s address bar type the IP address of the Modbus gateway as B amp B Electronics Microsoft Inte B Industrial Cormmunication 4 NEUN OT Ing Solutio Figure 43 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 Se
50. ontents Login Help Mo Figure 28 Configuration Manager Screen 6 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 23 3 Setup and Connections 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 7 The default password is no password Click the Login button The General Settings screen will be displayed on your computer 8 Vlinx Modbus Manager Settings Screen Overview Wi vlinx Modbus Gateway Manager 1 3 2 S P iB 9 Pi Open Save Search Upgrade Diagnostic Monitor About Which device do you want to configure Choose the device by clicking ond devices i pesca nals A Mac Address 3 MESR424 000EBE000010 10 1 2 139 Contents General Help General Modbus Gateway Name is a unique name TESTE na sf this a o Th 7 assigned to the Modbus Gateway It nust be a Natwoik The name of this Modbus Gateway is MESR424 100EBE000010 valid hostname as defined by RFC 952 and Modbus TCP RFC 1123 Name reguirements are O Iwantto change the password 1 Allowed are characters from A to Z and from a to Z mumbers from 0 to 9 and Port 1 Serial jaaa Save Next 2 It s not allowed to use symbol as the first
51. ou want to configure Choose the device by clicking on one Modbus Gateway _ Contents Port 1 Serial Senzral Description fSenalPon 09090909 Mode Baud Rate Data Bits Stop Bits Stop Bits controls the Pari indicate the and of a character anty ven Parity controls the error checking mode Copyrigh 2007 2008 B amp B Elecronic Manufacturing Company Inc All rights reserved Figure 62 Port 1 Serial 56 6 Application Examples Modbus Configuration Manager 1 0 0 gt MESR424 000EBE000010 10 1 2 139 ka S Modbus Gateway Contents Port 2 Serial Help Description sets the description for this serial Ca Ee port Maximum length is 32 symbols Allowed Description Serial Port2 characters are symbols from A to Z from 2 to z numbers from 0 to Y and the space Mode RS 422 4 Wire Baud Rate controls the communications Baud Rate speed of the serial port Mode controls the physical commenications mode j Data Bits controls the number of bits of data Data Bits 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 of bits to indicate the end of a character Parity controls the error checking mode Copyright 2007 2008 B amp B Elecrronic Manufacturing Company Inc All right reserved Figure 63 Port 2 Serial 2 Access the Modbus s
52. r 1 3 2 3S p 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 g Server Name Connection O MESR424 000EBE000010 10 1 2 139 Port 1 Serial Port 1 Modbus Port 1 ID Remap General The name of this Modbus Gateway is MESR424 00EBE000010 O I wantto change the password Save Next Modbus ID Routing Modbus Priori Help Modbus Gateway Name is a assigned to the Modbus Gateway It nust be valid hostname as defined by RFC 952 and RFC 1123 Name requirements are 1 Allowed are characters from A to Z and from a to Z mumbers from 0 to 9 and 2 It s not allowed to use symbol as the first the last one 3 The name can t consist of numbers only Copyright 2007 2012 All rights reserved Figure 30 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 15 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
53. r E2 LED is OFF if the connection is 10BaseT and ON if the Ethernet connections is 100BaseT E1 is used for all models to connect to the network E2 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 2 Hardware Serial Port LEDS MESR424 Modbus Gateways feature multiple serial ports Each serial port has an associated LED Serial Port LEDs blink green when data is being transmitted or received on the serial port Figure 4 Serial Port LEDs Mode Reset Switch A recessed momentary Mode Reset switch is located next to the power ports To activate the switch insert a small plastic tool through the hole in the enclosure and press lightly Power f 0 Reset ww ive zh Figure 5 Mode Reset Switch The Mode Reset switch can be used to e Initiate a Hardware Reset e Enter Console Mode e Reload factory defaults 2 Hardware Ethernet Connector MESR424 Modbus Gateway models using 10BaseT 100BaseTX network connections use RJ45 receptacles The MESR424 Modbus Gateway is connected to a standard Ethernet network drop using a straight through RJ45 male Ethernet cable ta 19419413 D n i gt i Z 19013413 Figur
54. rm 00 as om 3 start the Port 1 Modbus C From D 0 E JT Port p 0 range is from CE pa ass GENN D Foam trem 1 ci ad bt So a Modbus ID Routing kli Modbus Priority Save Back Nex Save Logout Figure 39 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 to 247 d The second box in line is the last serial port of that range Valid value range 1s 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 15 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 33 3 Setup and Connections b This screen allows you to set the Modbus Slave ID routing VI vlinx Modbus Gateway Manager 1 3 2 3 9 T i5 E 02 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 o x a Modbus Gateway j MESR424 000EBE000010 10 1 2 139 Contents General Network Modbus TCP Port Serial Port 1 Modbus Port1 ID Rem
55. rol the mmber of bits of data Data Bits 8 Bits E in each character Modbus ID Routing Only 8 data bits is valid when the protocol of Modbus Priori Stop Bits 1 Bit gt the device connected to the port is RTU Stop Bits controls the number of bits to Pari No Pari indicate the end of a character arity o Parity gt Save Parity controls the error checking mode Logout Save Back Next Copyright 2007 2012 All rights reserved Figure 37 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 75 150 300 600 1200 2400 4800 7200 9600 14 4k 19 2k 14 4k 28 8k 38 4k 57 6k 115 2k or 230 4k 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 13 Port X Modbus 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 1 4 b This screen allows you to change the Modb
56. rver is not available on your network it will default to 169 254 102 39 36 3 Setup and Connections The web interface Login page appears O WW linx Modbus Gateway Manager 1 3 2 S WE 2 E 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 MESR424 000EBE000010 10 1 2 139 Contents Login Help l ooo Enter the password to login to the Password device then click on the Login i button Login Model MESR424 Firmware Version 1 3 2 Hardware Version 1 MAC Address 00 0E BE 00 00 10 Link Status 100BaseTX full duplex Copyright 9 2007 2012 All rights reserved Figure 44 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 MESR424 Modbus Gateway on Networks without a DHCP Server Your MESR424 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 networ
57. s 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 34 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 a You can select allow specific IP addresses to connect This filter is limited to 4 IP addresses 29 3 Setup and Connections Modbus Configuration Manager 1 0 0 2 x P BB W Pi 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 Modbus ID Routing E p
58. serssserne 70 Appendix D Comnector PIN QUES isaseid Ane E EE EEE E EEE E EAEE E S 71 DBO ksd e Msn cence suas A a aN 71 T eminal BIOCK Seria PO PINOUT S ars a O miki A TN 72 1 Introduction 1 Introduction Thank you for purchasing an MESR424 Modbus Gateway This product has been manufactured to the highest standards of quality and performance to ensure your complete satisfaction Figure 1 MESR424 Modbus Gateways 1 Introduction About MESR424 Modbus Gateways MESR424 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 MESR424 Modbus Gateways feature 10BaseT or 100BaseTX copper network media and fiber optic media options depending on the model MESR424 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 MESR424 Modbus Gateways have an additional Ethernet port which functions much like an Ethernet Switch MESR424 Modbus Gateway Model Numbering MESR424 Modbus Gateways are a growing family of products Models are available with DB9 or Terminal Block connections Network connection options include 10BaseT 100BaseT
59. spond before the Save Ma 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 Buffering If M option is selected the gateway will buffer up to fi 00 Milliseconds TX Delay 32 messages reguest 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 response yet A Modbus Serial Retries is the maxinum mumber 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 Modbus Message Timeout is the maximum amount of time to wait for a response to the message Valid value range is from 1 to 65535 Figure 54 Port 1 Modbus 51 6 Application Examples 9 Configure the Port 1 Modbus Settings In this case Attached should be slaves Modbus should be RTU The other settings depend on your application 10 Configure Port 2 Serial and Modbus is the same fashion 11 Access Modbus ID Remapping for each port and configure as necessary VM linx Modbus Gateway Manager 1 3 2 101 A gt 5 9 D Open Save Search ei Diagnostic Monitor About Mac Address MESR424 000EBE000010 10 1 2 139
60. t 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 61 7 Modbus Help Hints and Tips A few simple suggestions that may assist you 1f your system is experiencing problems include 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 may also find its way onto the network These conditions make isolation necessary in many settings 62 8 Appendices 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 63 8 Appendices Appendix A Default Gateway Settings Setting Gateway Name Password DHCP IP Address Net Mask Gateway MAG Address Port Serial port mode Baud Rate Data bits Parit
61. the 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 VA vlinx Modbus Gateway Manager x want to change the firmware of this senal server ME 5SR424 B 000E BE 00001 C from firmware version 1 4 0 to the firmware contained ir Browse The selected firmware file contains Progress Internet Upgrade Close Figure 49 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 Information about the selected firmware file 1s shown in the third text box 44 4 Upgrading Firmware 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
62. unselected the gateway will respond with a 06h if it has a message out on the port with no response yet h 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 1s limited to 5 1 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 32 3 Setup and Connections 3 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 k Save settings by clicking the Save button gs Dy 8 14 Port x ID Remap a To accessthis 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 VA link Modbus Gateway Manager 1 3 2 101 x 2 w Aen ne Pain AA KL Which device do you want to configure Choose the device by clicking on one of the devices in the list below Contents Port 1 Modbus Slave ID Remapping Help ear I From D 0 154 To Port no 0 s rang Fou Want Temas Va eae maces Modbus TCP CO From ID o o To Port ID C CO Tia aacand bas ih iad itha Tint TD laa Port 1 Serial C FromD __ Topot
63. ur 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 Choose 1386 MESR32 exe for 32 bit Windows or amd64 MESR64 exe for 64 bit Windows a The following screen will be displayed on your computer iz linx Modbus Gateway Manager Setup m x Welcome to the Vlinx Modbus Gateway Manager Installation Wizard It 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 i Cancel Figure 17 Modbus Gateway Manager Installation Welcome Screen b Click Next The License Agreement Screen will be displayed on your computer fe Ylinx Modbus Gateway Manager Setup m x License Agreement You must agree with the license agreement below to proceed 7 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
64. us settings for the port 31 3 Setup and Connections VA vlinx Modbus Gateway Manager 1 3 2 a P p fey BE 02 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 Modbus Gateway Contents Port 1 Modbus Help Attached is aer t able betwe ster General Slaves If Mas is select L ike Mobs Network Attached Slaves x Gateway will run CP se erve zan if Slaves Modbus TCP is selected it Palen in TOP client mode Modbus IRTU gt Modbus indicates the protocol of the device connected to the port It c Hie eithe MET Oe Port Serial ASCII Port 1 Modbus O Enable modbus broadcast Modbus Broadcast is used to send Modbus Port 11D Remap sh ia bon M Enable OBh Exception s i e se ort and will not expect a res Modbus ID Routing unse selec ted it will use slave ID Oh as asa sive Modbus Priority M Enable serial message buffering A Modbus keg Exception When the dbus i slave dev does not respond before the Save ga Modbus Serial Retries timeout hias bein reached or has a bad apain ae sum ou not match the OBh eption code is tra an to the Master Logout 2000 Milliseconds Modbus Message Timeout that initiated the Modbus me Heda Serial Message Buffering If M ption is selected the gateway will buffer up to 10 Milliseconds TX Delay 32 messages reguest per port If this option is unselected the gateway w
65. x Destination Folder Select a folder where the application will be installed The Wise Installation Wizard will install the files for Vlinx 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 Vlinx Modbus Gateway Manager by clicking Cancel to exit the Wise Installation Wizard m Destination Folder C Program Files4BB Electronics Wlinx Vlinx Modbus Gatewa Browse Wise Installation Wizard R lt Back Cancel Figure 20 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 3 Setup and Connections 1 Vlinx Modbus Gateway Manager Setup Ready to Install the Application Click Next to begin installation Figure 21 Ready to Install Application Screen f Click Next The software will begin installing jie Vlinx Modbus Gateway Manager Setup Updating System The features you selected are currently being installed Figure 22 Software Installing Screen 20 3 Setup and Connections g After the installation is complete an information screen will be displayed containing contact information and release notes Click Next a Vlinx Modbus Gateway Manager Setup 215 x Readme Information The follow
66. y Stop bits Flow Control Protocol Serial timeout Inter character timer TCP port Max connection 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 1 1 Fixed see bottom label 1 2 3 4 RS 485 9600 8 None 1 None TCP 0 seconds 0 ms 502 1 64 8 Appendices 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 65 8 Appendices General Specifications Hardware and included accessories MESR424 Modbus gateway module CD with Vlinx Modbus Manager software for Windows XP 32 64 bit 2003 Server 32 64 bit Vista 32 64 bit 2008 Server 32 64 bit Windows 7 32 64 bit A 232NM9 Null Modem Crossover Cable for Optional Accessories DTE to DTE connection ERS35 one meter length of steel 35mm DIN Rail Using Vlinx Modbus Manager via a serial Via serial port connection press Mode Reset button to enter Console Mode Using Vlinx Modbus Manager via an VA EION Ethernet connection Using a standard web browser such as Internet Explorer or Firefox Vlinx Modbus Manager Windows XP 32 64 bit 2003 Server for Modbus gateway 32 64 bit m ae bit 2008 Server configuration 32 64 bit

Download Pdf Manuals

image

Related Search

Related Contents

  WV-CU360CJ/G - psn  Lincoln Electric V350-PRO User's Manual  HP BladeSystem C-Class Interconnect Component User's Manual  

Copyright © All rights reserved.
Failed to retrieve file