Weidmuller SL-MOD-GW User Manual

Modbus/tcp to modbus rtu gateway

Advertisement

Quick Links

SL-MOD-GW
Modbus/TCP Gateway
User manual

Advertisement

Table of Contents
loading

Summary of Contents for Weidmuller SL-MOD-GW

  • Page 1 SL-MOD-GW Modbus/TCP Gateway User manual...
  • Page 2 SL-MOD-GW Modbus/TCP Gateway: User manual No part of this material may be reproduced or transmitted in any form or by any means or used to make any derivative work without express written consent from the copyright holders. Weidmller is a registered trademark of Weidmller Interface GmbH & Co. KG. Modbus is a registered trademark of Schneider Automation...
  • Page 3: Table Of Contents

    4.1 IP setup using a terminal program like HyperTerminal ............. 11 4.2 Temporarily changing the IP settings on your PC ..............12 5 Web browser based management ....................15 5.1 Connecting to the SL-MOD-GW .................... 15 5.2 Monitoring and diagnostic ..................... 16 5.2.1 Device status ......................16 5.2.2 Modbus connection status ..................
  • Page 4 Tables 2.1 LED diagnostic codes ........................4 3.1 Power supply connector pinout ....................... 7 3.2 RS-485/RS-422 connector pinout ....................7 3.3 Modbus RS-232 connector pinout ....................8 3.4 Ethernet connector pinout ....................... 9 UMSLMODGW-1006...
  • Page 5: Important User Information

    Important user information This manual explains how to install, operate and configure a SL-MOD-GW. This device may only be used for the applications described in this document. This manual is to be used with a SL-MOD-GW with firmware version 1.6.
  • Page 6: Document Conventions

    Document conventions Throughout this manual we use the following symbols and typefaces to make you aware of safety or other important considerations: Indicates a potentially hazardous situation that, if not avoided, could result in death or serious injury. Indicates a potentially hazardous situation that, if not avoided, could result in damage to equipment.
  • Page 7: Introduction

    1. Introduction The SL-MOD-GW is a Modbus/TCP to Modbus RTU gateway. The gateway features one serial port which can be configured as either RS-232, RS-485 or RS-422 and an Ethernet port. It can be mounted on a DIN rail. Usage and configuration of the gateway is simple and conveniently performed using a web browser which connects to the embedded web server.
  • Page 8: Features

    1.1 Features The SL-MOD-GW gateway provides the following key features: • Modbus/TCP protocol (Ethernet) • Modbus RTU protocol (either RS-232, RS-485 or RS-422, software configurable) • Embedded web server for easy configuration and commissioning using a web browser • Firmware upgradeable via Ethernet •...
  • Page 9: Description

    2. Description The power and RS-485/RS-422 terminals are placed on the top side of the unit. The RS-232 and Ethernet connectors are placed on the bottom side of the unit as shown in the following illustration: TOP VIEW BOTTOM VIEW FRONT VIEW Illustration 2.1: Location of connectors Clear front cover RS-232 connector...
  • Page 10: Led Diagnostic Codes

    The following table outlines the indicator condition and the corresponding status after the power-on self test has been completed: Function Condition Indication No power applied to the device. Power Power Green Power supply OK No Ethernet link Link Ethernet link Green Ethernet link OK The device has an unrecoverable fault;...
  • Page 11: Installation

    3.1 Regulatory notes 1. The SL-MOD-GW is suitable for use in non-hazardous locations only. 2. The SL-MOD-GW is not authorized for use in life support devices or systems. 3. Wiring and installation must be in accordance with applicable electrical codes in accordance with the authority having jurisdiction.
  • Page 12: Din Rail Mounting And Removal

    3.4 DIN rail mounting and removal The SL-MOD-GW gateway is designed to be mounted on a 35 mm DIN rail according to DIN/EN 50022. The enclosure features a 35 mm profile at the back which snaps into the DIN rail. No tools are required for mounting.
  • Page 13: Powering The Sl-Mod-Gw

    3.7 Wiring the RS-485/422 interface The RS-485/422 port is used for integrating the SL-MOD-GW into a two-wire or four-wire Modbus over Serial Line network. The use of either the RS-485 or RS-422 interface must be configured using the web interface (See Section 5.3.2, “Configuring serial line Modbus”).
  • Page 14: Wiring The Rs-232 Interface

    • The shield must not be connected to the GND pin. Note To connect the SL-MOD-GW to a PC (Personal Computer) or any other device with data terminal equipment (DTE) pinout you need a null-modem or cross-over cable. UMSLMODGW-1006...
  • Page 15: Connecting Ethernet

    3.9 Connecting Ethernet The following table describes the 10BASE-T Ethernet RJ-45 connector pinout: Signal Function Non-inverting transmit signal Inverting transmit signal Non-inverting receive signal Internal termination network Internal termination network Inverting receive signal Internal termination network Internal termination network Table 3.4: Ethernet connector pinout •...
  • Page 16 UMSLMODGW-1006...
  • Page 17: Ethernet & Ip Configuration

    PC”). Note In order to connect to the SL-MOD-GW via TCP/IP, your PC must be on same IP subnet as the gateway. In most situations this means that the first three numbers of the IP address have to be identical.
  • Page 18: Temporarily Changing The Ip Settings On Your Pc

    This method involves manually assigning an IP address to your PC in the same subnet as the gateway. The default subnet of the gateway is 192.168.1.0/8. 1. Connect the SL-MOD-GW to your Ethernet network. 2. On a Windows PC, open the Control Panel and double-click on Network Connections. Right-click...
  • Page 19 8. Click Configuration… and then Ethernet & IP in the menu on the left side of the page. 9. Enter the IP address, subnet mask, and gateway address assigned to your SL-MOD-GW, then click Save. 10. Restore your computer’s original settings.
  • Page 20 UMSLMODGW-1006...
  • Page 21: Web Browser Based Management

    5.1 Connecting to the SL-MOD-GW Once you made sure that your PC is configured to be on the same subnet as the SL-MOD-GW, start your web browser. In the address box, type the IP address of your device (192.168.1.130 is the default), and then press Enter.
  • Page 22: Monitoring And Diagnostic

    Use the menu bar shown on the left side to navigate the different pages. Note In order to connect to the SL-MOD-GW via TCP/IP, your PC must be on same IP subnet as the gateway. In most situations this means that the first three numbers of the IP address have to be identical.
  • Page 23: Modbus Connection Status

    Illustration 5.3: Modbus status page Note This page shows accumulated readings since the SL-MOD-GW was last activated or reset. If power to the SL-MOD-GW is lost, all cumulative values are reset to zero. The following statistics are maintained: TCP status Status of the TCP/IP connection as per TCP finite state machine (refer to RFC 793).
  • Page 24: Finding The Firmware Version And Serial Number

    Rx time-outs (Modbus/TCP) A counter that increments if the master connection has timed out. Subsequently the connection is terminated by the SL-MOD-GW. A time-out occurs if no Modbus request is received from a connected client within a 10 second period.
  • Page 25: Configuring And Commissioning

    Serial number The serial number of the SL-MOD-GW. The serial number is specific to your device. 5.3 Configuring and commissioning The configuration pages are accessed by clicking on the Configuration… menu entry on the menu bar which then expands a configuration sub-menu. All configuration settings are kept in the device' non-volatile memory.
  • Page 26: Configuring Serial Line Modbus

    Can be set to two-wire RS-485, RS-422 or RS-232 mode. RS-485 is the default. Depending on this setting either the D-sub (RS-232) connector or the terminal block connector (RS-485/422) of the SL-MOD-GW is utilized. The (RS-485 + RS-422) mode is a special mode which allows operating one RS-422 device and a RS-485 bus one the same serial interface.
  • Page 27: Remote Restarting The Device

    Data bits Only 8 data bits can be selected here which is a requirement for RTU. Stop bits Can be configured to be 1 or 2. The Modbus standard mandates that 2 stop bits are configured when using no parity. Parity Changes parity mode to either none, even or odd.
  • Page 28 UMSLMODGW-1006...
  • Page 29: Decommissioning

    1. Ensure that the system power and external supplies have been turned off. 2. Disconnect power supply plug. 3. Disconnect all I/O cables. 4. Remove the SL-MOD-GW from the DIN rail following the procedure described in Section 3.4, “DIN rail mounting and removal”. 6.2 Disposal This product must be disposed of at a specialized electronic waste recycling facility.
  • Page 30 UMSLMODGW-1006...
  • Page 31: A Specifications

    Appendix A.  S pecifications SL-MOD-GW Modbus/TCP Gateway Interfaces Ethernet Serial ports 1, software configurable as either 1 x RS-232 or 1 x RS-485 or 1 x RS-422 User interface LED indicators Power (green), Ethernet link (green), 2 status (bi-color red/green) Monitoring & configuration...
  • Page 32 Emissions (radiated and conducted) AS/NZS CISPR 22 / EN 55022 (Class A) Immunity EN 55024 Electrostatic discharge EN 61000-4-2 Radiated RF EN 61000-4-3 Fast transients EN 61000-4-4 Conducted RF EN 61000-4-6 Enclosure Material Self-extinguishing PC/ABS blend (UL 94-V0) Mounting 35 mm DIN rail (EN 60715) Classification / Type rating IP 20 / NEMA Type 1 Cooling...
  • Page 33: Dimensions

    A.1 Dimensions 120.0 mm 22.5 mm 4.72 in 0.89 in Illustration A.1: Enclosure dimensions UMSLMODGW-1006...
  • Page 34 UMSLMODGW-1006...
  • Page 35: Glossary

    Glossary Ethernet The standard for local area networks developed jointly by Digital Equipment Corp., Xerox, and Intel. Ethernet is used as the underlying transport vehicle by several upper-level protocols, including TCP/IP. 10BASE-T Gateway 10 Mbit/s twisted pair Ethernet standard. A network device that passes data between Standardized in IEEE 802.3i different networks or fieldbusses.
  • Page 36 RS-422 See EIA-422. RS-485 See EIA-485. Subnet mask A numeric address used in conjunction with an IP address to segment network traffic; used to restrict transmissions to certain subnets. Switch A device that facilitates transmissions between nodes in a star-formed network. TCP/IP Transport Control Protocol/Internet Protocol.
  • Page 37: Index

    Index faults, 16 features, 2 Firmware version, 18 About, 18 Accumulative connections, 17 Gateway address, 19 grounding, 5 Baud rate, 20 Brown out reset, 16 Hardware version, 18 HyperTerminal, 11 cable RS-232, 8 RS-422, 8 Invalid frames, 18 RS-485, 8 cable length settings, 11, 19 Ethernet length, 9...
  • Page 38 removal, 6 Replies, 17 Requests, 17 Reset to factory defaults, 17 restart, 21 RJ-45, 9 RS-232, 8 RS-422, 7 RS-485, 7 run-time faults, 16 Rx time-outs, 18 Serial number, 19 settings Ethernet, 19 IP, 11, 19 Modbus, 20 shield, 8, 8 shielding, 5 shock, 6 Slave ID for RS-422 node, 21...
  • Page 39 2148 Suburb: Huntingwood, NSW Tel: +61 2 9671 9999 Fax: +61 2 9671 9900 Version: 1.0, October 2010 Software-Version: Model: SL-MOD-GW Description: Modbus/TCP Gateway Document Type: User manual IP-Address: 192.168.1.130 WebSite: www.weidmuller.com.au Warenzeichen1: Ethernet is a trademark of Xerox Corporation.
  • Page 40 UMSLMODGW-1006...

Table of Contents