N-Tron ESERV-M12T User Manual

Other manuals for ESERV-M12T: Quick Start Manual
Manual is about: Modbus Gateway

Summary of ESERV-M12T

  • Page 1

    Eserv-m12t modbus gateway user manual.

  • Page 2

    Table of contents i eserv-m12t (rev. 1210) table of contents introduction...................................................................................................................................... 1 about eserv-m12t modbus gateways ............................................................

  • Page 3

    Table of contents ii eserv-m12t (rev. 1210) eserv-m12t modbus gateway operational connections .................................................................................... 16 using eserv-m12t modbus gateways in direct ip mode ......................................................................

  • Page 4

    Table of contents iii eserv-m12t (rev. 1210) modbus serial control ......................................................................................................................................... 21 modbus tcp message ............................................................................

  • Page 5

    Table of contents iv eserv-m12t (rev. 1210) hints and tips ...................................................................................................................................................... 46 appendices ...............................................................................

  • Page 6

    Introduction eserv-m12t modbus gateway 1 eserv-m12t (rev. 1210) introduction thank you for purchasing an eserv-m12t modbus gateway product! This product has been manufactured to the highest standards of quality and performance to ensure your complete satisfaction. Figure 1. An eserv-m12t modbus gate...

  • Page 7

    Introduction eserv-m12t modbus gateway 2 eserv-m12t (rev. 1210) eserv-m12t product features two serial ports with pluggable terminal blocks, single ethernet port) multi-interface serial ports all ports are software selectable as rs-232, rs-422 or rs-485 2- and 4-wire configuration can be done via ne...

  • Page 8

    Hardware eserv-m12t modbus gateway 3 eserv-m12t (rev. 1210) eserv-m12-t modbus gateway hardware eserv-m12t modbus gateways are enclosed in din rail mountable enclosures and feature led indicators, power, ethernet and serial connectors and a recessed mode switch. Package checklist eserv-m12t modbus g...

  • Page 9

    Hardware eserv-m12t modbus gateway 4 eserv-m12t (rev. 1210) led indicators eserv-m12t modbus gateways have three types of led indicators: ethernet link leds , a ready led and serial port leds . Figure 3. Ready ethernet port led ethernet link led the ethernet link led illuminates (green) if the ether...

  • Page 10

    Hardware eserv-m12t modbus gateway 5 eserv-m12t (rev. 1210) mode switch a recessed momentary reset switch is located on the top of the enclosure. To activate the switch, insert a small plastic tool through the hole in the enclosure and press lightly. Figure 5. Mode switch the mode switch can be used...

  • Page 11

    Hardware eserv-m12t modbus gateway 6 eserv-m12t (rev. 1210) serial port connectors the eserv-m12t modbus gateway features two serial ports, both using five-position removable terminal blocks for rs-232, rs-422 and rs-485 connections. Figure 7. Five-position pluggable terminal block note: refer to ap...

  • Page 12

    Hardware eserv-m12t modbus gateway 7 eserv-m12t (rev. 1210) figure 9. Eserv-m12t din clips.

  • Page 13

    Setup and connections eserv-m12t modbus gateway 8 eserv-m12t (rev. 1210) modbus gateway setup and connections this section describes how to setup and connect eserv-m12t modbus gateways. Note: in this section devices to be connected to the modbus gateway’s serial connection are simply referred to as ...

  • Page 14

    Setup and connections eserv-m12t modbus gateway 9 eserv-m12t (rev. 1210) when configured for 4-wire operation the connection supports two signal pairs: rxa(-), rxb(+) and txa(-), txa(+), plus gnd. This makes full-duplex operation possible. The data lines are differential pairs (a & b) in which the b...

  • Page 15

    Setup and connections eserv-m12t modbus gateway 10 eserv-m12t (rev. 1210) connecting eserv-m12t modbus gateways to a network network connection (10baset/100basetx) when connecting a modbus gateway equipped with a 10baset/100basetx network connection (rj45 connector) a standard network cable is conne...

  • Page 16

    Setup and connections eserv-m12t modbus gateway 11 eserv-m12t (rev. 1210) the modbus gateway manager device discovery window appears. Figure 12. Modbus gateway manager discovery window 2. Configure your modbus gateway as required. Note: for more information on configuration options refer to section ...

  • Page 17

    Setup and connections eserv-m12t modbus gateway 12 eserv-m12t (rev. 1210) figure 13. Modbus gateway manager login screen 3. Configure your modbus gateway as required. Note: for more information on configuration options refer to section 4: description of modbus gateway properties. Configuring the ese...

  • Page 18

    Setup and connections eserv-m12t modbus gateway 13 eserv-m12t (rev. 1210) b. Click on internet protocol (tcp/ip) and click . Change the parameters to the following: ip address = 169.254.102.1 subnet mask = 255.255.0.0 default gateway = 169.254.102.100 c. Use the modbus gateway manager software to se...

  • Page 19

    Setup and connections eserv-m12t modbus gateway 14 eserv-m12t (rev. 1210) 2. Method 2: change the modbus gateway’s network settings to match your pc using console mode a. Connect a null modem serial cable (crossover cable) from port 1 on the modbus gateway to an available com port on your pc. B. Ope...

  • Page 20

    Setup and connections eserv-m12t modbus gateway 15 eserv-m12t (rev. 1210) j. Save the settings and remove power from the modbus gateway. K. Re-apply power. Open the ethernet modbus gateway manager software and select “network” as the method to connect to the device. Configuring the eserv-m12t modbus...

  • Page 21

    Setup and connections eserv-m12t modbus gateway 16 eserv-m12t (rev. 1210) to exit console mode, press and hold the reset switch for two seconds, or turn off the power from the eserv- m12t, wait a few seconds, and turn the power on again. The leds go back to their normal states when the device resume...

  • Page 22

    Setup and connections eserv-m12t modbus gateway 17 eserv-m12t (rev. 1210) initiating a hardware reset on the modbus gateway to initiate a hardware reset on the modbus gateway, press and hold the mode switch for 0 to 2 seconds, and then release it. The led indicators respond as follows: 1. The ready ...

  • Page 23

    Properties eserv-m12t modbus gateway eserv-m12t modbus gateway 18 eserv-m12t (rev. 1210) description, modbus gateway properties the following eserv-m12t modbus gateway properties are ordered alphabetically to assist you in finding the information you need. Attached the attached is selectable between...

  • Page 24

    Properties eserv-m12t modbus gateway eserv-m12t modbus gateway 19 eserv-m12t (rev. 1210) default gateway the default gateway address sets the default route to remote networks, enabling users to access the modbus gateway from outside the local network. Dhcp dhcp (dynamic host configuration protocol) ...

  • Page 25

    Properties eserv-m12t modbus gateway eserv-m12t modbus gateway 20 eserv-m12t (rev. 1210) by filling in the drop down menu of ports with slave devices attached, adding ip addresses of slaves, up to 10 address ranges can be routed. By default all boxes are unchecked, the drop down menu is set to seria...

  • Page 26

    Properties eserv-m12t modbus gateway eserv-m12t modbus gateway 21 eserv-m12t (rev. 1210) modbus serial retries this is the maximum number of times that the modbus gateway will retry to send a modbus message to a modbus client, before reporting a 0bh exception if it is selected. This should be limite...

  • Page 27

    Properties eserv-m12t modbus gateway eserv-m12t modbus gateway 22 eserv-m12t (rev. 1210) character timeout the character timeout is the maximum time the gateway allows between characters from the slave device, used only in rtu mode. The default is 10ms. Crc/lrc error check the crc/lrc check calculat...

  • Page 28

    Properties eserv-m12t modbus gateway eserv-m12t modbus gateway 23 eserv-m12t (rev. 1210) password when you first receive the eserv-m12t modbus gateway from the factory the password is blank so that you can initially access the modbus gateway without entering a value into this field. To ensure securi...

  • Page 29

    Properties eserv-m12t modbus gateway eserv-m12t modbus gateway 24 eserv-m12t (rev. 1210) rs-485 4-wire - similar speed and distance specifications as rs-422 but allows multi-drop and full duplex connections. Select the appropriate serial interface mode for the type of connection between the modbus g...

  • Page 30

    Properties eserv-m12t modbus gateway eserv-m12t modbus gateway 25 eserv-m12t (rev. 1210) for a class d network (ip addresses 224.0.0.0 through 239.255.255.255) and class e networks (ip addresses 240.0.0.0 through 255.255.255.255) the subnet mask is ignored. Eserv-m12t modbus gateways come from the f...

  • Page 31

    Upgrading firmware eserv-m12t modbus gateway 26 eserv-m12t (rev. 1210) upgrading the modbus gateway firmware occasionally, updated firmware may become available for your modbus gateway. The firmware can be upgraded using the ethernet modbus gateway manager software. The following procedure describes...

  • Page 32

    Upgrading firmware eserv-m12t modbus gateway 27 eserv-m12t (rev. 1210) 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. I...

  • Page 33

    Diagnostics eserv-m12t modbus gateway 28 eserv-m12t (rev. 1210) 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 ne...

  • Page 34

    Diagnostics eserv-m12t modbus gateway 29 eserv-m12t (rev. 1210) information about the progress of the pinging process is displayed in the test progress box. Figure 18. Testing a modbus gateway connection.

  • Page 35

    Modbus help eserv-m12t modbus gateway 30 eserv-m12t (rev. 1210) 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 sp...

  • Page 36

    Modbus help eserv-m12t modbus gateway 31 eserv-m12t (rev. 1210) figure 20. Serial port 1 setup 3. Configure serial port 1. In this case it is rs-232, 19.2 kbps, 8 data bits, 1 stop bit, and even parity. Save the settings 4. Access port 1 modbus by clicking the link on the left side of the screen..

  • Page 37

    Modbus help eserv-m12t modbus gateway 32 eserv-m12t (rev. 1210) figure 21. Port 1 modbus 5. Configure the port 1 modbus settings. In this case attached should be slaves, modbus should be rtu. The other settings depend on your application. 6. Configure port 2 serial and modbus is the same fashion. 7....

  • Page 38

    Modbus help eserv-m12t modbus gateway 33 eserv-m12t (rev. 1210) figure 22. Port x modbus slave id remapping 8. Access modbus id routing. Configure as necessary. In this example, slave id 200 is mapped to serial port 1, slave id 1 through 5 and 205 are mapped to serial port 2..

  • Page 39

    Modbus help eserv-m12t modbus gateway 34 eserv-m12t (rev. 1210) figure 23. Modbus id routing 9. Access modbus priority and configure as necessary..

  • Page 40

    Modbus help eserv-m12t modbus gateway 35 eserv-m12t (rev. 1210) figure 24. Modbus priority.

  • Page 41

    Modbus help eserv-m12t modbus gateway 36 eserv-m12t (rev. 1210) serial & ethernet masters, serial & ethernet slaves your modbus gateway can also integrate multiple master devices onto serial and ethernet networks. Figure 25. Serial & ethernet masters, serial & ethernet slaves 1. In this example, ser...

  • Page 42

    Modbus help eserv-m12t modbus gateway 37 eserv-m12t (rev. 1210) figure 26. Port 1 modbus 2. Configure the modbus slave id routing. In this case modbus slaves 1 through 5 and 205 are on serial port 2. Modbus slaves 150 and 151 through 160 have ip assignments..

  • Page 43

    Modbus help eserv-m12t modbus gateway 38 eserv-m12t (rev. 1210) figure 27. Modbus slave id routing serial masters, ip slaves serial masters can be used to control ip slaves. Figure 28. Serial masters, ip slaves.

  • Page 44

    Modbus help eserv-m12t modbus gateway 39 eserv-m12t (rev. 1210) 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. Figure 29. Port 1 serial.

  • Page 45

    Modbus help eserv-m12t modbus gateway 40 eserv-m12t (rev. 1210) figure 30. Port 2 serial 2. Access the modbus screen for each port and configure as appropriate. In this case, port 1 has an ascii master and port 2 has an rtu master attached..

  • Page 46

    Modbus help eserv-m12t modbus gateway 41 eserv-m12t (rev. 1210) figure 31. Port 1 modbus.

  • Page 47

    Modbus help eserv-m12t modbus gateway 42 eserv-m12t (rev. 1210) figure 32. Port 2 modbus 3. Setup the slave id routing to associate ip addresses with the appropriate slave id..

  • Page 48

    Modbus help eserv-m12t modbus gateway 43 eserv-m12t (rev. 1210) figure 33. Modbus slave id routing.

  • Page 49

    Modbus help eserv-m12t modbus gateway 44 eserv-m12t (rev. 1210) identical hard coded slaves in this example, two slave devices that are hard coded with the same id are required. This is accomplished by putting them on different serial ports. Figure 34. Identical hard coded slaves.

  • Page 50

    Modbus help eserv-m12t modbus gateway 45 eserv-m12t (rev. 1210) identical production lines in this example, identical or backup production lines can be controlled by the same ip master. This allows the duplicate networks to be configured identically, saving documentation and maintenance time. Figure...

  • Page 51

    Modbus help eserv-m12t modbus gateway 46 eserv-m12t (rev. 1210) 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 protoc...

  • Page 52

    Appendices eserv-m12t modbus gateway 47 eserv-m12t (rev. 1210) appendices this section includes the following appendices: appendix a: default gateway settings appendix b: product specifications appendix c: dimensional diagrams appendix d: connector pin outs.

  • Page 53

    Appendices eserv-m12t modbus gateway 48 eserv-m12t (rev. 1210) appendix a: default gateway settings setting default value gateway name tbd password password field is blank from factory dhcp enabled ip address dhcp will configure. If a dhcp server is not available, the unit will default to 169.254.10...

  • Page 54

    Appendices eserv-m12t modbus gateway 49 eserv-m12t (rev. 1210) flow control none protocol tcp serial timeout 0 seconds inter-character timer 0 ms tcp port port 1 = 4000 port 2 = 4001 max connection 1.

  • Page 55

    Appendices eserv-m12t modbus gateway 50 eserv-m12t (rev. 1210) appendix b: product specifications this section includes the following specifications: general specifications controls, indicators and connector specifications serial interface specifications network specifications.

  • Page 56

    Appendices eserv-m12t modbus gateway 51 eserv-m12t (rev. 1210) general specifications hardware and included accessories device eserv-m12t modbus gateway module cd cd with ethernet gateway modbus manager software for windows 2000, 2003 server/xp/vista x32 optional accessories ntps-24-1.3 power supply...

  • Page 57

    Appendices eserv-m12t modbus gateway 52 eserv-m12t (rev. 1210) en61000-4-2 to 11 esd, rfi, eft, surge, and ci ul 508 enclosure rating ip30 mounting din rail mount (35 mm) dimensions, small case 1.2 in x 3.3 x 4.7 in (3.1 x 8.4 x 11.9 cm) power supply (external supply required) voltage requirements 1...

  • Page 58

    Appendices eserv-m12t modbus gateway 53 eserv-m12t (rev. 1210) 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) hold in for mo...

  • Page 59

    Appendices eserv-m12t modbus gateway 54 eserv-m12t (rev. 1210) serial interface specifications mode selection rs-232/422/485 software selectable rs-232 lines txd, rxd, rts, cts, dtr, dsr, dcd, gnd rs-422 lines txda(-), txdb(+), rxda(-), rxdb(+), gnd rs-485 lines (2 wire) data a(-), data b(+), gnd rs...

  • Page 60

    Appendices eserv-m12t modbus gateway 55 eserv-m12t (rev. 1210) fiber interface specifications fiber interface fiber mode multimode range 2km cable 62.5/125μm connector st tx power min -19 dbm rx sensitivity max -32 dbm wavelength 1310 nm.

  • Page 61

    Appendices eserv-m12t modbus gateway 56 eserv-m12t (rev. 1210) network specifications memory serial memory 10 k bytes per port network memory 10 k bytes i/p port addresses 5300 configuration setting in tcp mode 8888 eserv-m12t update network communications lan 10/100 mbps auto-detecting 10baset or 1...

  • Page 62

    Appendices eserv-m12t modbus gateway 57 eserv-m12t (rev. 1210) appendix c: dimensional diagrams figure 36. Dimensional diagram of an eserv-m12t modbus.

  • Page 63

    Appendices eserv-m12t modbus gateway 58 eserv-m12t (rev. 1210) appendix d: connector pinout eserv-m12t serial port pinouts terminal rs-232 rs-422/rs-485 4- wire rs-485 2-wire a rts (output) txa(-) data a(-) b td (output) txb(+) data b(+) c cts (input) rxa(-) --- d rd (input) rxb(+) --- e gnd gnd gnd...

  • Page 64

    Appendices eserv-m12t modbus gateway 59 eserv-m12t (rev. 1210) standard ethernet cable rj-45 pin-out rj-45 pin signal wire color 1 tx+ white-green 2 tx+ green 3 rx+ white-orange 4 not used blue 5 not used white-blue 6 rx- orange 7 not used white-brown 8 not used brown.

  • Page 65

    Appendices eserv-m12t modbus gateway 60 eserv-m12t (rev. 1210) glossary term definition adu application data unit ascii american standard code for information interchange baud rate number of bits per second crc cyclical redundancy checking data bits number of bits per byte, normally 7 with modbus as...

  • Page 66

    Appendices eserv-m12t modbus gateway 61 eserv-m12t (rev. 1210) term definition stop bit number of bit times after a character is transmitted before the next character can start transmission. Tcp transmission control protocol unit id unit identifier. This is the same as the slaves address..

  • Page 67

    Safety eserv-m12t modbus gateway 62 eserv-m12t (rev. 1210) copyright, © n-tron corp., 2010 820 s. University blvd., suite 4e mobile, al 36609 usa all rights reserved. Reproduction, adaptation, or translation without prior written permission from n-tron corp. Is prohibited, except as allowed under co...

  • Page 68

    Safety eserv-m12t modbus gateway 63 eserv-m12t (rev. 1210) contact information n-tron corp. 820 south university blvd. Suite 4e mobile, al 36609 tel: (251) 342-2164 fax: (251) 342-6353 website: www.N-tron.Com e-mail: n-tron_support@n-tron.Com environmental safety warning: disconnect the power and al...

  • Page 69

    Safety eserv-m12t modbus gateway 64 eserv-m12t (rev. 1210) warning never install or work on electrical equipment or cabling during periods of lightning activity. Never connect or disconnect power when hazardous gasses are present. Unpacking remove all the equipment from the packaging, and store the ...

  • Page 70

    Warranty eserv-m12t modbus gateway 65 eserv-m12t (rev. 1210) n-tron limited warranty n-tron, corp. Warrants to the end user that this hardware product will be free from defects in workmanship and materials, under normal use and service, for the applicable warranty period from the date of purchase fr...

  • Page 71

    Warranty eserv-m12t modbus gateway 66 eserv-m12t (rev. 1210) kind, or for loss of revenue or profits, loss of business, loss of information or data, or other financial loss arising out of or in connection with the sale, installation, maintenance, use, performance, failure, or interruption of its pro...