SL-MOD-GW Modbus/TCP Gateway User manual
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 Inc. All other product and brand names mentioned in this document may be trademarks or registered trademarks of their respective owners.
Contents Important user information .................................................................................................................... v Safety Precautions ........................................................................................................................ v Document conventions ................................................................................................................. vi 1 Introduction ..............................................................
Tables 2.1 3.1 3.2 3.3 3.4 iv LED diagnostic codes ..................................................................................................................... Power supply connector pinout ....................................................................................................... RS-485/RS-422 connector pinout .................................................................................................... Modbus RS-232 connector pinout ............................................
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. These instructions are intended for use by trained specialists in electrical installation and control and automation engineering, who are familiar with the applicable national standards and safety procedures.
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. Indicates information that is critical for successful application and understanding of the product.
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.
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 • DIN rail mountable • 24 V DC (10-30 V) power supply • Status LEDs for power, Ethernet link, device status and communication status 1.
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 Ethernet connector DIN rail clip Power LED Ethernet link LED Device status LED Communication status LED Power terminals RS-485/RS-422 terminals 2.
The following table outlines the indicator condition and the corresponding status after the power-on self test has been completed: LED Function Power Power Link Ethernet link Status1 Status2 Device status Condition Indication Off No power applied to the device. Green Power supply OK Off No Ethernet link Green Ethernet link OK Off The device has an unrecoverable fault; may need replacing.
3. 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. 4. This is a Class A device and intended for commercial or industrial use.
6. Once you are certain that all connections have been made properly, restore the power. 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. Please observe the rules outlined in Section 3.5, “Mounting rules”.
3.6 Powering the SL-MOD-GW Before connecting power please follow the rules in the section called “Safety Precautions” and Section 3.3, “Before connecting anything”. Power is supplied via a 3.81 mm 2-pin pluggable terminal block located at the top side of the mounted unit (refer to Figure 2.1, “Location of connectors”).
• Stub connections off the main line should be avoided if possible or at least be kept as short as possible. Stub connections must not have terminating resistors. • Maximum cable length to 1200 m (4000 ft). • To assure a high degree of electromagnetic compatibility and surge protection the cable should be twisted pairs and shielded. An additional cable conductor or pair may be used for the GND reference.
3.9 Connecting Ethernet 1 RX- TX+ TXRX+ The following table describes the 10BASE-T Ethernet RJ-45 connector pinout: Pin Signal Function 1 TX+ Non-inverting transmit signal 2 TX- Inverting transmit signal 3 RX+ Non-inverting receive signal 4 Internal termination network 5 Internal termination network 6 RX- Inverting receive signal 7 Internal termination network 8 Internal termination network Table 3.4: Ethernet connector pinout • We recommend to use Category 5 UTP network cable.
10 UMSLMODGW-1006
4. Ethernet & IP configuration Before configuring the SL-MOD-GW, obtain a unique static IP address, subnet mask, and default gateway address from your network administrator. The factory default IP address of the SL-MOD-GW is 192.168.1.130. There are several methods of configuring the unit’s IP address: 1. Via the Serial Port 1 and a terminal program like HyperTerminal (see Section 4.1, “IP setup using a terminal program like HyperTerminal”). 2.
9. Type SETIP, then press Enter within 10 seconds after the prompt is shown: DIAG MODE Ver: x.y S/N: 1234 MAC: 00:50:C7:67:71:97 IP Address: 192.168.1.130 Subnet Mask: 255.255.255.0 Gateway Address: 0.0.0.0 >SETIP IP Address (192.168.1.130): 10.0.0.100 Subnet Mask (255.255.255.0): 255.255.255.0 Gateway Address (0.0.0.0): 0.0.0.0 RUN MODE 10. The device will show current values and prompt for new values for IP address, net mask and gateway address. Enter the new values and press Enter.
This will show the Local Area Connection Properties Dialog: 3. Select the Internet Protocol Properties dialog as shown below: (TCP/IP) entry and click on Properties to open the TCP/IP 4. Write down your current settings so they can be restored later. 5. Select Use the following IP address and configure a static IP address in the same subnet as the device, for example 192.168.1.1 and the subnet mask 255.255.255.0. Click OK to save the changes. 6. Start Internet Explorer. 7. In the address box, type 192.
14 UMSLMODGW-1006
5. Web browser based management The SL-MOD-GW incorporates an embedded web server. This allows you to connect to the device and monitor and configure it using a web browser. Most browsers should work, provided they support JavaScript. We recommend Internet Explorer 6.0 or higher. 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.
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. 5.2 Monitoring and diagnostic The SL-MOD-GW offers several web pages which allow monitoring of the status of the different communication networks and the device performance. 5.2.
Reset to factory defaults This alarm indicates that the device' configuration data was reset to factory defaults. The device requires re-commissioning. 5.2.2 Modbus connection status The Modbus Status page shows status and statistics about the Modbus traffic. These values provide valuable information used to troubleshoot Modbus network problems. This page is automatically updated every 5 seconds. Illustration 5.
CRC errors A counter that increments each time a message is received that has a CRC that does not match what is calculated. Typically the result of wiring issues. Messages with CRC errors are discarded and not replied to. Invalid frames A counter that increments each time a malformed Modbus frame is detected. Malformed frames are for example messages larger than the allowed maximum PDU size defined in the Modbus standards. This can be caused by non-Modbus traffic on the network.
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. Note If you make changes to any settings, remember to save each page before changing to a different page! 5.3.
Once you click Save the new settings are stored and applied instantly. The new settings are confirmed with the following page: Illustration 5.6: IP settings changed confirmation Important Please write down the new IP address so you are able to communicate with the device in the future! 5.3.2 Configuring serial line Modbus The Modbus settings for serial line can be configured to match the network configuration of your Modbus master 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. The default parity mode for Modbus is even parity. Slave ID for RS-422 node This setting is only valid for the combined RS-485 + RS-422 mode which allows operating one RS-422 device and a RS-485 bus one the same serial interface.
22 UMSLMODGW-1006
6. Decommissioning Before disconnecting the unit please follow the rules in the section called “Safety Precautions”. 6.1 Disconnecting 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.
24 UMSLMODGW-1006
Appendix A.
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 Convection Environmental Operating temperature 0 to 60 °C / 32 to 140 °F Storage temperature -25 to 85 °C / -13 to 185 °F Humidit
101.0 mm 3.98 in 101.0 mm 3.98 in A.1 Dimensions 120.0 mm 4.72 in 22.5 mm 0.89 in Illustration A.
28 UMSLMODGW-1006
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 10 Mbit/s twisted pair Ethernet Standardized in IEEE 802.3i standard. APIPA Automatic Private IP Addressing Class A Class A equipment is that used in commercial or light industrial environments.
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. Connection-orientated transfer protocol. Telnet A network protocol (RFC 854) for character based terminal access to remote machines.
Index A About, 18 Accumulative connections, 17 B Baud rate, 20 Brown out reset, 16 C cable RS-232, 8 RS-422, 8 RS-485, 8 cable length Ethernet length, 9 RS-232, 8 RS-485, 8 Class A, 5 connector Ethernet, 9 location, 3 power, 7 RS-232, 8 RS-422, 7 RS-485, 7 CRC errors, 18 D Data bits, 21 default IP address, 11 Device configuration data write failure, 16 Device out of memory, 16 device status register, 16 DIN rail mounting, 6 removal, 6 Disconnecting, 23 Disposal, 23 E electronic waste, 23 embedded w
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 S 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 Specifications, 25 Stop bits, 21 storage, 5 Stub connections, 8 Subnet mask, 19 supply voltage, 7 T TCP status, 17 temperature operating, 6 terminal program, 11 termination RS-422, 7 RS-485, 7 Transmission mode, 20 twisted pai
References Name: Weidmller Company: Weidmller Australia Pty Ltd Street Address: 43 Huntingwood Drive, Postcode: 2148 Suburb: Huntingwood, NSW Tel: +61 2 9671 9999 Fax: +61 2 9671 9900 Version: 1.0, October 2010 Software-Version: 1.6 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.
34 UMSLMODGW-1006