B&B Electronics Vlinx MESP211 Instruction Manual

Manual is about: Ultra Compact Modbus Gateway

Summary of Vlinx MESP211

  • Page 1

    1 www.Bb-elec.Com www.Bb-europe.Com vlinx mesp211 ultra compact modbus gateway.

  • Page 2

    1 www.Bb-elec.Com www.Bb-europe.Com international headquarters b&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&b electronics ltd. Westlink commercial park, oranmore, co. Galway, ire...

  • Page 3

    Introduction vlinx mesp211 modbus gateway 2 table of contents 1. Introduction ......................................................................................................................................................... 5 about mesp211 modbus gateways .......................................

  • Page 4

    Introduction vlinx mesp211 modbus gateway 3 3. Setup and connections .................................................................................................................................. 11 connecting the power supply ........................................................................

  • Page 5

    Introduction vlinx mesp211 modbus gateway 4 general specifications ......................................................................................................................................... 60 controls, indicators and connector specifications .............................................

  • Page 6

    Introduction vlinx mesp211 modbus gateway 5 1. Introduction thank you for purchasing an mesp211 product. This product has been manufactured to the highest standards of quality and performance to ensure your complete satisfaction. About mesp211 modbus gateways mesp211 modbus gateways connect modbus n...

  • Page 7

    Introduction vlinx mesp211 modbus gateway 6 mesp211 features db9m and pluggable terminal block serial port connector options software selectable as rs-232, rs-422 or rs-485 2- or 4-wire configuration of ethernet and serial port settings using software configuration can be done via network, web page ...

  • Page 8

    Hardware vlinx mesp211 modbus gateway 7 2. Mesp211 hardware mesp211 modbus gateways are enclosed in panel mountable cases with din rail mount options and feature led indicators, power, ethernet and serial connectors and a recessed reset/mode switch. Package checklist mesp211 modbus gateways are ship...

  • Page 9

    Hardware vlinx mesp211 modbus gateway 8 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. Mode/reset switch figure 2. The mode/reset switch can be u...

  • Page 10

    Hardware vlinx mesp211 modbus gateway 9 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. Ethernet connector. Figure 3. ...

  • Page 11

    Hardware vlinx mesp211 modbus gateway 10 power connector power connection figure 6. Mounting hardware an optional din rail mount adapter is available from b&b electronics. Din clip for modbus gateway module. Figure 7..

  • Page 12

    Setup and connections vlinx mesp211 modbus gateway 11 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 modbus gateway. Acceptable v...

  • Page 13

    Setup and connections vlinx mesp211 modbus gateway 12 lines are differential pairs (a & 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: data b(+)...

  • Page 14

    Setup and connections vlinx mesp211 modbus gateway 13 mesp211 connections figure 11. Connecting mesp211 modbus gateways to a network network connection (10baset/100basetx) when connecting a modbus gateway equipped with a 10baset/100basetx network connection (rj45 connector) a standard network cable ...

  • Page 15

    Setup and connections vlinx mesp211 modbus gateway 14 mesp211 configuration connections mesp211 modbus gateways can be configured over the network or via a serial port. Installing modbus gateway manager software 1. The modbus gateway manager software is contained on the cd which is packaged with the...

  • Page 16

    Setup and connections vlinx mesp211 modbus gateway 15 modbus license acceptance screen figure 13. 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 u...

  • Page 17

    Setup and connections vlinx mesp211 modbus gateway 16 destination folder screen figure 15. 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. Ready to install application screen figure 16..

  • Page 18

    Setup and connections vlinx mesp211 modbus gateway 17 f. Click “next.” the software will begin installing. Software installing screen figure 17. G. Click “next.” the installation complete screen will be displayed on your computer. Click “finish” to finish the installation. Installation complete scre...

  • Page 19

    Setup and connections vlinx mesp211 modbus gateway 18 configuring the mesp211 via the network connection when configuring via the network, either modbus gateway manager software or the web interface can be used. Configuring the modbus gateway manager mesp211 modbus gateways can be configured over th...

  • Page 20

    Setup and connections vlinx mesp211 modbus gateway 19 vlinx modbus gateway manager shortcut icon figure 20. The vlinx modbus gateway manager device discovery window appears . Modbus gateway manager discovery window figure 21. If you do not know the ip address, check the “network” and “i don’t know t...

  • Page 21

    Setup and connections vlinx mesp211 modbus gateway 20 configuration manager screen figure 22. 2. All modbus gateways on the network will be displayed in the top portion of the screen. To select a gateway, simply click the appropriate device on the top portion of the screen. A. The main portion of th...

  • Page 22

    Setup and connections vlinx mesp211 modbus gateway 21 settings screen overview figure 23. A. 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 scr...

  • Page 23

    Setup and connections vlinx mesp211 modbus gateway 22 4. “upgrade” allows you to upgrade your modbus gateway’s firmware. 5. “diagnostic” allows you to test a configured modbus gateway. See section 5. 6. “monitor” allows you to monitor a modbus gateway. See section 5. 7. “about” contains information ...

  • Page 24

    Setup and connections vlinx mesp211 modbus gateway 23 general settings general settings screen figure 24. 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,...

  • Page 25

    Setup and connections vlinx mesp211 modbus gateway 24 changing the password figure 25. 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. 4. Network settings a. To get to the netw...

  • Page 26

    Setup and connections vlinx mesp211 modbus gateway 25 network settings screen (dhcp selected) figure 26. 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 g...

  • Page 27

    Setup and connections vlinx mesp211 modbus gateway 26 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.2...

  • Page 28

    Setup and connections vlinx mesp211 modbus gateway 27 modbus tcp settings screen figure 28. 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 wa...

  • Page 29

    Setup and connections vlinx mesp211 modbus gateway 28 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. B. You can select “a ...

  • Page 30

    Setup and connections vlinx mesp211 modbus gateway 29 tcp connection filter “allow specific range of ip addresses to connect” figure 30. 6. 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..

  • Page 31

    Setup and connections vlinx mesp211 modbus gateway 30 a. This screen allows you to change the serial port settings. Serial port screen figure 31. B. 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',...

  • Page 32

    Setup and connections vlinx mesp211 modbus gateway 31 modbus port screen figure 32..

  • Page 33

    Setup and connections vlinx mesp211 modbus gateway 32 modbus port screen advanced figure 33. B. 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. C. Modbus – indicates...

  • Page 34

    Setup and connections vlinx mesp211 modbus gateway 33 modbus client, before reporting a 0bh exception if it is selected. Number of retries is limited to 5. H. 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 t...

  • Page 35

    Setup and connections vlinx mesp211 modbus gateway 34 c. The first box in line is the start of the remap range on the serial port you want to remap. Valid value range is from 1 to 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 b...

  • Page 36

    Setup and connections vlinx mesp211 modbus gateway 35 b. The first box in line is the starting id of a range you want to route. Valid value range is from 1 to 247. C. The second box in line is the last id of that range. Valid value range is from 1 to 247. D. The third box in line is a port or ip add...

  • Page 37

    Setup and connections vlinx mesp211 modbus gateway 36 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...

  • Page 38

    Setup and connections vlinx mesp211 modbus gateway 37 type ip address figure 38. 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 inter...

  • Page 39

    Setup and connections vlinx mesp211 modbus gateway 38 configuring the mesp211 on networks without a dhcp server your modbus gateway comes from the factory set up to receive an ip assignment from a dhcp server. If there is not a dhcp server on your network, the modbus gateway will default to ip addre...

  • Page 40

    Setup and connections vlinx mesp211 modbus gateway 39 b. Use the vlinx modbus manager 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. (console mode works in rs-232 only.) a. Connect a n...

  • Page 41

    Setup and connections vlinx mesp211 modbus gateway 40 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 h. Save the settings and remove power from the modbus gateway. I. Re-apply power....

  • Page 42

    Setup and connections vlinx mesp211 modbus gateway 41 configuring the mesp211 via the serial port (console mode) 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 ...

  • Page 43

    Setup and connections vlinx mesp211 modbus gateway 42 connection figure 41. 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 t...

  • Page 44

    Setup and connections vlinx mesp211 modbus gateway 43 to exit 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. Mesp211 operational connect...

  • Page 45

    Setup and connections vlinx mesp211 modbus gateway 44 direct ip connection figure 43. 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...

  • Page 46

    Upgrading firmware vlinx mesp211 modbus gateway 45 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 b...

  • Page 47

    Upgrading firmware vlinx mesp211 modbus gateway 46 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 firmw...

  • Page 48

    Diagnostics vlinx mesp211 modbus gateway 47 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...

  • Page 49

    Diagnostics vlinx mesp211 modbus gateway 48 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 informati...

  • Page 50

    Diagnostics vlinx mesp211 modbus gateway 49 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...

  • Page 51

    Setup examples vlinx mesp211 modbus gateway 50 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 fo...

  • Page 52

    Setup examples vlinx mesp211 modbus gateway 51 port 1 modbus figure 48. 4. Configure the port 1 modbus settings. In this case attached 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...

  • Page 53

    Setup examples vlinx mesp211 modbus gateway 52 port 1 modbus slave id remapping figure 49. 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..

  • Page 54

    Setup examples vlinx mesp211 modbus gateway 53 modbus id routing figure 50. 8. Access modbus priority and configure as necessary..

  • Page 55

    Setup examples vlinx mesp211 modbus gateway 54 modbus priority figure 51..

  • Page 56

    Modbus help vlinx mesp211 modbus gateway 55 www.Bb-elec.Com www.Bb-europe.Com 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 simpl...

  • Page 57

    Modbus help vlinx mesp211 modbus gateway 56 www.Bb-elec.Com www.Bb-europe.Com 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...

  • Page 58

    Appendices vlinx mesp211 modbus gateway 57 www.Bb-elec.Com www.Bb-europe.Com 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.

  • Page 59

    Appendices vlinx mesp211 modbus gateway 58 www.Bb-elec.Com www.Bb-europe.Com appendix a: default gateway settings setting default value gateway name user assigned password password field is blank from factory dhcp enabled from factory ip address dhcp will configure. If a dhcp server is not available...

  • Page 60

    Appendices vlinx mesp211 modbus gateway 59 www.Bb-elec.Com www.Bb-europe.Com appendix b: product specifications this section includes the following specifications: general specifications controls, indicators and connector specifications serial interface specifications network specifications.

  • Page 61

    Appendices vlinx mesp211 modbus gateway 60 www.Bb-elec.Com www.Bb-europe.Com general specifications hardware and included accessories device modbus gateway module cd cd with software for win xp (32/64 bit), 2003 server (32/64 bit), vista (32/64 bit), windows 7 (32/64 bit), windows 2008 server (32/64...

  • Page 62

    Appendices vlinx mesp211 modbus gateway 61 www.Bb-elec.Com www.Bb-europe.Com controls, indicators and connector specifications switches reset button hold in for 0 to 2 seconds for hardware reset hold in for 2 to 10 seconds for console mode (do a hardware reset or recycle power to exit console mode) ...

  • Page 63

    Appendices vlinx mesp211 modbus gateway 62 www.Bb-elec.Com www.Bb-europe.Com approvals and certifications fcc part 15 class a ce.

  • Page 64

    Appendices vlinx mesp211 modbus gateway 63 www.Bb-elec.Com www.Bb-europe.Com serial interface specifications mode selection rs-232/422/485 software selectable rs-232 lines txd, rxd, rts, cts, dtr, dsr, dcd, gnd rs-422 lines (4 wire) txda(-), txdb(+), rxda(-), rxdb(+), gnd rs-485 lines (2 wire) data(...

  • Page 65

    Appendices vlinx mesp211 modbus gateway 64 www.Bb-elec.Com www.Bb-europe.Com network specifications memory serial memory 8 kb per port network memory 4 kb tcp ports 80 web server 502 modbus client/server port – user configurable 7000 tcp configuration 10000 monitor port udp ports 7000 udp configurat...

  • Page 66

    Appendices vlinx mesp211 modbus gateway 65 www.Bb-elec.Com www.Bb-europe.Com appendix c: dimensional diagram.

  • Page 67

    Appendices vlinx mesp211 modbus gateway 66 www.Bb-elec.Com www.Bb-europe.Com appendix d: connector pinouts mesp211 serial port pinouts db9 male pin direction (rs-232) rs-232 rs-422 rs-485 4-wire rs-485 2-wire 1 input dcd rda (-) **** 2 input rxd rdb (+) **** 3 output txd tdb (+) data b (+) 4 output ...

  • Page 68

    Appendices vlinx mesp211 modbus gateway 67 www.Bb-elec.Com www.Bb-europe.Com mesp211 terminal block pinouts 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 ...