N-Tron ESERV-M12T User Manual

Modbus gateway
Hide thumbs Also See for ESERV-M12T:
Table of Contents

Advertisement

Quick Links

ESERV-M12T
Modbus Gateway
User Manual

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ESERV-M12T and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for N-Tron ESERV-M12T

  • Page 1 ESERV-M12T Modbus Gateway User Manual...
  • Page 2: Table Of Contents

    ESERV-M12T Configuration Connections......................10 Configuring the ESERV-M12T Modbus Gateway via the Network Connection ............10 Configuring the ESERV-M12T Modbus Gateway on Networks without a DHCP Server .......... 12 Configuring the ESERV-M12T Modbus Gateway via the Serial Port (Console Mode) ..........15 ESERV-M12T (Rev.
  • Page 3 Table of Contents ESERV-M12T Modbus Gateway Operational Connections ..................16 Using ESERV-M12T Modbus Gateways in Direct IP Mode ..................16 Initiating a Hardware Reset on the Modbus Gateway ..................17 Reloading Factory Defaults ..........................17 DESCRIPTION, MODBUS GATEWAY PROPERTIES ..............18 Attached ................................
  • Page 4 Testing a Modbus Gateway Connection ....................... 28 APPLICATION EXAMPLES ......................... 30 Ethernet Master and Serial Slaves ........................30 Serial Masters, IP Slaves ............................38 Identical Hard Coded Slaves ..........................44 Identical Production Lines ............................ 45 Modbus ASCII/RTU Basics ............................ 46 ESERV-M12T (Rev. 1210)
  • Page 5 Fiber Interface Specifications ..........................55 Network Specifications ............................56 Appendix C: Dimensional Diagrams ........................57 Appendix D: Connector Pinout ..........................58 ESERV-M12T Serial Port Pinouts ..........................58 Standard Ethernet Cable RJ-45 Pin-out ........................59 GLOSSARY .............................. 60 N-TRON LIMITED WARRANTY ......................65 ESERV-M12T (Rev.
  • Page 6: Introduction

    Introduction 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. ESERV-M12T Modbus Gateway Figure 1. ABOUT ESERV-M12T MODBUS GATEWAYS ESERV-M12T 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.
  • Page 7: Modbus Gateway Manager Configuration Software

    Introduction 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 network or direct serial connection...
  • Page 8: Eserv-M12-T Modbus Gateway Hardware

    Hardware ESERV-M12T Modbus Gateway 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 Gateway are shipped with the following items included:...
  • Page 9: Led Indicators

    SERIAL PORT LEDS ESERV-M12T Modbus Gateways feature two 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. When the LED is On, it indicates the serial port is open.
  • Page 10: Mode Switch

    Mode switch. ETHERNET CONNECTOR Modbus gateway models using 10BaseT/100BaseTX network connections use an RJ45 receptacle. The Modbus ESERV-M12T gateway is connected to a standard Ethernet network drop using a straight-through RJ45 (male) Ethernet cable. Fiber Optic Connectors The ESERV-M12T-ST uses a multimode fiber optic network connection with ST style connectors.
  • Page 11: Serial Port Connectors

    Note: Refer to Appendix D for connection pin-outs. POWER CONNECTOR The power connector is a 2-position pluggable terminal block. Figure 8. Power Connection MOUNTING HARDWARE ESERV-M12T modules can be DIN rail mounted. The DIN mounting clip and spring is included on each module. ESERV-M12T (Rev. 1210)
  • Page 12 Hardware ESERV-M12T Modbus Gateway Figure 9. ESERV-M12T DIN Clips ESERV-M12T (Rev. 1210)
  • Page 13: Modbus Gateway Setup And Connections

    ESERV-M12T Power Connection CONNECTING ESERV-M12T MODBUS GATEWAYS TO MODBUS NETWORKS ESERV-M12T Modbus Gateway scan 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.
  • Page 14: Connecting The Eserv-M12T

    (mark) state. Ground provides a common mode reference. CONNECTING THE ESERV-M12T The ESERV-M12T has two serial connections that support RS-232, RS-422 and RS-485 (2- and 4-wire). The unit has two connectors, both of which are 5-position terminal blocks. Make the appropriate connections to the terminal blocks to match the serial connection mode you select when configuring the Modbus gateway.
  • Page 15: Connecting Eserv-M12T Modbus Gateways To A Network

    PCs configuring and/or communicating with the Modbus gateway are also connected to the network. ESERV-M12T CONFIGURATION CONNECTIONS ESERV-M12T Modbus Gateways can be configured over the network or via a serial port. CONFIGURING THE ESERV-M12T MODBUS GATEWAY VIA THE NETWORK CONNECTION When configuring via the network, either Modbus Gateway Manager software or the web interface can be used.
  • Page 16 Note: For more information on configuration options refer to Section 4: Description of Modbus gateway Properties. Configuring with the Web Interface ESERV-M12T Modbus Gateways can be configured over the network using a standard internet browser such as Internet Explorer or Firefox. To open the web configuration interface: 1.
  • Page 17: Configuring The Eserv-M12T Modbus Gateway On Networks Without A Dhcp Server

    Note: For more information on configuration options refer to Section 4: Description of Modbus Gateway Properties. CONFIGURING THE ESERV-M12T MODBUS GATEWAY ON NETWORKS WITHOUT A DHCP SERVER Your Modbus Gateway comes from the factory set up to receive an IP assignment from a DHCP Server. If there is not a DHCP server on your network, the Modbus Gateway will default to IP address 169.254.102.39.
  • Page 18 Setup and Connections ESERV-M12T Modbus Gateway b. Click on Internet Protocol (TCP/IP) and click <properties>. Change the parameters to the following: IP Address = 169.254.102.1 Subnet Mask = 255.255.0.0 Default Gateway = 169.254.102.100 Use the Modbus Gateway Manager Software to search for, discover, and configure the Modbus Gateway.
  • Page 19 Setup and Connections ESERV-M12T Modbus Gateway 2. Method 2: Change the Modbus Gateway’s network settings to match your PC using Console Mode Connect a null modem serial cable (crossover cable) from port 1 on the Modbus Gateway to an available COM port on your PC.
  • Page 20: Configuring The Eserv-M12T Modbus Gateway Via The Serial Port (Console Mode)

    2. The Modbus gateway is in Console Mode when: Port 1 LED on the ESERV-M12T is On and the Port 2 LED is Off. To configure the Modbus gateway, open the Modbus Gateway Manager software and set up the Modbus gateway's parameters as required.
  • Page 21: Eserv-M12T Modbus Gateway Operational Connections

    The LEDs go back to their normal states when the device resumes normal operation. ESERV-M12T MODBUS GATEWAY OPERATIONAL CONNECTIONS ESERV-M12T Modbus Gateways can operate in Direct IP Mode. USING ESERV-M12T 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.
  • Page 22: Initiating A Hardware Reset On The Modbus Gateway

    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 on the ESERV-M12T is On and the Port 2 LED is Off. 3. The LEDs go back to their normal states when the device resumes normal operation.
  • Page 23: Description, Modbus Gateway Properties

    Properties ESERV-M12T Modbus Gateway 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 Master and Slaves. If Master is selected, it will run in TCP server mode, if Slaves is selected, it will run in TCP client mode.
  • Page 24: Default Gateway

    Properties ESERV-M12T Modbus Gateway 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) is a protocol used on special servers that supply IP addresses to network nodes on request.
  • Page 25: Ip Address

    ESERV-M12T Modbus gateways come from the factory preset to receive an IP assignment from a DHCP Server. If a DHCP Server is not available on your network, it will default to 169.254.102.39. If you need to change the static IP address and do not know what address to use, consult your network administrator.
  • Page 26: Modbus Serial Retries

    MODBUS MESSAGE BUFFERING The ESERV-M12T has two Modbus serial buffers, one for each serial port. Each will buffer up to 32 Modbus messages. These buffers help ensure messages don’t get lost in a data traffic jam, and are part of what makes Modbus such an outstandingly reliable serial protocol.
  • Page 27: Modbus Tcp Message

    Modbus Gateway Manager. NETWORK MODE The network mode is the method used to configure the network parameters. It is either “DHCP” or “Static IP”. NETWORK PROTOCOLS Network Protocols available for use on ESERV-M12T Modbus gateways include TCP. ESERV-M12T (Rev. 1210)
  • Page 28: Password

    ESERV-M12T Modbus Gateway 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 security you should create and save a password the first time you configure the Modbus gateway.
  • Page 29: Modbus Gateway Name

    GATEWAY SERIAL PORT NUMBER The Gateway Serial Port Number of the currently selected port is shown in this field. The ESERV-M12T Modbus Gateways features two serial ports. SUBNET MASK The Subnet Mask specifies the network mask the Modbus gateway uses when on a subnetted network.
  • Page 30: Tcp (Transmission Control Protocol)

    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 factory with a default subnet mask value of: 255.255.255.0 TCP (TRANSMISSION CONTROL PROTOCOL) TCP (Transmission Control Protocol) provides reliable connection-oriented network communication with error checking.
  • Page 31: Upgrading The Modbus Gateway Firmware

    Upgrading Firmware ESERV-M12T Modbus Gateway 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 the firmware updating process: Firmware Upgrade 1.
  • Page 32: Uploading The Firmware To The Modbus Gateway

    Upgrading Firmware ESERV-M12T Modbus Gateway 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.
  • Page 33: Diagnostics

    Diagnostics ESERV-M12T Modbus Gateway DIAGNOSTICS Diagnostics Clicking the Diagnostics icon opens the 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.
  • Page 34 Diagnostics ESERV-M12T Modbus Gateway Test Progress Information about the progress of the pinging process is displayed in the box. Figure 18. Testing a Modbus Gateway Connection ESERV-M12T (Rev. 1210)
  • Page 35: Application Examples

    The following scenarios are examples only, and many others are possible. Contact N-TRON 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.
  • Page 36 Modbus Help ESERV-M12T Modbus Gateway 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 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.
  • Page 38 Modbus Help ESERV-M12T Modbus Gateway 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 Figure 23. Modbus ID Routing 9. Access Modbus Priority and configure as necessary. ESERV-M12T (Rev. 1210)
  • Page 40 Modbus Help ESERV-M12T Modbus Gateway Figure 24. Modbus Priority ESERV-M12T (Rev. 1210)
  • Page 41 Modbus Help ESERV-M12T Modbus Gateway 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, Serial Port 1 has an RTU Master attached. Configure the serial port settings as appropriate for the device.
  • Page 42 Modbus Help ESERV-M12T Modbus Gateway 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: Serial Masters, Ip Slaves

    Modbus Help ESERV-M12T Modbus Gateway 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 ESERV-M12T (Rev. 1210)
  • Page 44 Modbus Help ESERV-M12T Modbus Gateway 1. In this example, and ASCII Master is connected to Serial Port 1 and an RTU Master is connected to Serial Port 2. Configure the serial ports as appropriate for these devices. Figure 29. Port 1 Serial ESERV-M12T (Rev.
  • Page 45 Modbus Help ESERV-M12T Modbus Gateway 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. ESERV-M12T...
  • Page 46 Modbus Help ESERV-M12T Modbus Gateway Figure 31. Port 1 Modbus ESERV-M12T (Rev. 1210)
  • Page 47 Modbus Help ESERV-M12T Modbus Gateway Figure 32. Port 2 Modbus 3. Setup the Slave ID Routing to associate IP addresses with the appropriate Slave ID. ESERV-M12T (Rev. 1210)
  • Page 48 Modbus Help ESERV-M12T Modbus Gateway Figure 33. Modbus Slave ID Routing ESERV-M12T (Rev. 1210)
  • Page 49: Identical Hard Coded Slaves

    Modbus Help ESERV-M12T Modbus Gateway 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 ESERV-M12T (Rev.
  • Page 50: Identical Production Lines

    Modbus Help ESERV-M12T Modbus Gateway IDENTICAL PRODUCTION LINES In this example, identical or backup production lines can be controlled by the same IP Master. This allows the duplicate networks to be configured identically, saving documentation and maintenance time. Figure 35.
  • Page 51: Modbus Ascii/Rtu Basics

    Modbus Help ESERV-M12T Modbus Gateway 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.
  • Page 52: Appendices

    Appendices ESERV-M12T Modbus Gateway 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 ESERV-M12T (Rev. 1210)
  • Page 53: Appendix A: Default Gateway Settings

    Appendices ESERV-M12T Modbus Gateway APPENDIX A: DEFAULT GATEWAY SETTINGS Setting Default Value Gateway Name 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.102.39...
  • Page 54 Appendices ESERV-M12T Modbus Gateway Flow Control None Protocol Serial timeout 0 seconds Inter-character timer 0 ms TCP port Port 1 = 4000 Port 2 = 4001 Max connection ESERV-M12T (Rev. 1210)
  • Page 55: Appendix B: Product Specifications

    Appendices ESERV-M12T Modbus Gateway APPENDIX B: PRODUCT SPECIFICATIONS This section includes the following specifications: General Specifications Controls, Indicators and Connector Specifications Serial Interface Specifications Network Specifications ESERV-M12T (Rev. 1210)
  • Page 56: General Specifications

    Appendices ESERV-M12T Modbus Gateway GENERAL SPECIFICATIONS Hardware and included Device ESERV-M12T Modbus gateway module accessories CD with Ethernet Gateway Modbus Manager software for Windows 2000, 2003 Server/XP/Vista x32 Optional Accessories NTPS-24-1.3 Power Supply DIN-RAIL Power Supply, 1.3 Amp @24 VDC...
  • Page 57 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) Voltage Requirements 10 to 58 VDC Power Supply (External Supply Required) Power Consumption ESERV-M12T – 4.0W (Max) ESERV-M12T (Rev. 1210)
  • Page 58: Controls, Indicators And Connector Specifications

    Appendices ESERV-M12T Modbus Gateway CONTROLS, INDICATORS AND CONNECTOR SPECIFICATIONS Hold in for 0 to 2 seconds for hardware reset Hold in for 2 to 10 seconds for Console Mode (Do a hardware reset or recycle Switches Reset button power to exit Console Mode)
  • Page 59: Serial Interface Specifications

    Appendices ESERV-M12T Modbus Gateway 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-485 lines (4 wire)
  • Page 60: Fiber Interface Specifications

    Appendices ESERV-M12T Modbus Gateway FIBER INTERFACE SPECIFICATIONS Fiber Interface Fiber Mode Multimode Range Cable 62.5/125μm Connector TX Power Min -19 dBm RX Sensitivity -32 dBm Wavelength 1310 nm ESERV-M12T (Rev. 1210)
  • Page 61: Network Specifications

    Appendices ESERV-M12T Modbus Gateway 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 10/100 Mbps Auto-detecting 10BaseT or 100BaseTX Network Physical Layer IEEE 802.3 auto-detecting &...
  • Page 62: Appendix C: Dimensional Diagrams

    Appendices ESERV-M12T Modbus Gateway APPENDIX C: DIMENSIONAL DIAGRAMS Figure 36. Dimensional Diagram of an ESERV-M12T Modbus ESERV-M12T (Rev. 1210)
  • Page 63: Appendix D: Connector Pinout

    Appendices ESERV-M12T Modbus Gateway APPENDIX D: CONNECTOR PINOUT ESERV-M12T SERIAL PORT PINOUTS RS-422/RS-485 4- Terminal RS-232 RS-485 2-Wire Wire RTS (Output) TXA(-) DATA A(-) TD (Output) TXB(+) DATA B(+) CTS (Input) RXA(-) RD (Input) RXB(+) 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.
  • Page 64: Standard Ethernet Cable Rj-45 Pin-Out

    Appendices ESERV-M12T Modbus Gateway STANDARD ETHERNET CABLE RJ-45 PIN-OUT RJ-45 Pin Signal Wire Color White-Green Green White-Orange Not used Blue Not used White-Blue Orange Not used White-Brown Not used Brown ESERV-M12T (Rev. 1210)
  • Page 65: Glossary

    Appendices ESERV-M12T Modbus Gateway GLOSSARY Term Definition Application Data Unit ASCII American Standard Code for Information Interchange Baud Rate Number of bits per second Cyclical Redundancy Checking Data Bits Number of bits per byte, normally 7 with Modbus ASCII, and 8 with Modbus RTU...
  • Page 66 Appendices ESERV-M12T Modbus Gateway Term Definition Number of bit times after a character is transmitted before the next character can start Stop Bit transmission. Transmission Control Protocol Unit ID Unit Identifier. This is the same as the slaves address. ESERV-M12T...
  • Page 67 Do not operate the equipment in a manner not specified by this manual. GENERAL SAFETY WARNINGS WARNING: If the equipment is used in a manner not specified by N-Tron Corp., the protection provided by the equipment may be impaired. ESERV-M12T...
  • Page 68 Safety ESERV-M12T Modbus Gateway 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 allow to cool 5 minutes before touching.
  • Page 69 Safety ESERV-M12T Modbus Gateway 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 packaging in a safe place. File any...
  • Page 70: N-Tron Limited Warranty

    Responsibility for loss or damage does not transfer to N-TRON until the returned item is received by N-TRON. The repaired or replaced item will be shipped to the customer, at N-TRON’s expense, not later than thirty (30) days after N-TRON receives the product.
  • Page 71 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 PRODUCTS, EVEN IF N-TRON OR ITS AUTHORIZED RESELLER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES, AND LIMITS ITS LIABILITY TO REPAIR, REPLACEMENT, OR REFUND OF THE PURCHASE PRICE PAID, AT N- TRON'S OPTION.

This manual is also suitable for:

Eserv-m12t-st

Table of Contents