MBRG-300 Modbus Router/ Gateway User manual UMMBRG300-1101
MBRG-300 Modbus Router/Gateway: User manual Copyright © 2011 proconX Pty Ltd. All rights reserved. Document revision history 2011-03-28 Initial Release 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. Modbus is a registered trademark of Schneider Automation Inc. proconX and FieldTalk are trademarks of proconX Pty Ltd.
Contents Important user information ........................................................................................ v Safety Precautions ............................................................................................... v Document conventions ....................................................................................... vi 1 Introduction ............................................................................................................. 1 Features ....................
5.5 Ethernet and IP settings page ............................................................................ 5.6 IP settings changed confirmation ....................................................................... 5.7 Modbus settings page ........................................................................................ 5.8 Restart device page ............................................................................................ 5.9 Restart confirmation page ...............................
Important user information Important user information This manual explains how to install, operate and configure a MBRG-300. This device may only be used for the applications described in this document. This manual is to be used with a MBRG-300 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.
Introduction Chapter 1. Introduction The MBRG-300 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.
Features The MBRG-300 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 Quick start checklist • Read this set of instructions properly and in its entire
Description Chapter 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 Figure 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 Communication 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.
Installation Chapter 3. Installation Regulatory notes 1. The MBRG-300 is suitable for use in non-hazardous locations only. 2. The MBRG-300 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.
2. Check the system supply voltage with a multimeter for correct voltage range and polarity. 3. Connect the power supply cable and switch on the system power. Check if the Power LED is lit. 4. Turn off system power. 5. Connect all I/O cables. 6. Once you are certain that all connections have been made properly, restore the power. DIN rail mounting and removal The MBRG-300 gateway is designed to be mounted on a 35 mm DIN rail according to DIN/EN 50022.
Installation • Avoid dusty environments. • Avoid shock or vibration • Do not exceed the specified operational temperatures and humidity range. • Mount inside an electrical switchboard or control cabinet. • Make sure there is sufficient air ventilation and clearance to other devices mounted next to the unit. • Observe applicable local regulations like EN60204 / VDE0113.
CD RXD TDX DTR GND The Modbus RS-232 connector is a male 9-pin D-sub type located at the bottom side of the mounted unit (refer to Figure 2.1, “Location of connectors”).
Installation • Maximum cable length is 100 m (3000 ft).
This page intentionally left blank 10 UMMBRG300-1101
Ethernet & IP configuration Chapter 4. Ethernet & IP configuration Before configuring the MBRG-300, obtain a unique static IP address, subnet mask, and default gateway address from your network administrator. The factory default IP address of the MBRG-300 is 169.254.0.10 which is in the Automatic Private IP Addressing (APIPA) address range. There are several methods of configuring the unit’s IP address: 1.
IP setup using a terminal program like HyperTerminal 1. Connect a null modem RS-232 cable between your PC and the MBRG-300’s Serial Port 1. 2. In Windows XP, click Start, point to All Programs, point to Accessories, point to Communications, and then click HyperTerminal. 3. When HyperTerminal starts, it opens a dialog box and asks for a name for the new connection. Enter a name (for example, deviceconfig) then click OK. 4. The Connect to dialog opens.
Ethernet & IP configuration 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 169.254.0.0/16. 1. Connect the MBRG-300 to your Ethernet network. 2. On a Windows PC, open the Control Panel and double-click on Network Connections.
3. Select the Internet Protocol (TCP/IP) entry and click on Properties to open the TCP/IP Properties dialog as shown below: 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 169.254.0.1 and the subnet mask 255.255.0.0. Click OK to save the changes. 6. Start Internet Explorer. 7. In the address box, type 169.254.0.10 and then press Enter. 8.
Web browser based management Chapter 5. Web browser based management The MBRG-300 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. Connecting to the MBRG-300 Once you made sure that your PC is configured to be on the same subnet as the MBRG-300, start your web browser.
In order to connect to the MBRG-300 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. Monitoring and diagnostic The MBRG-300 offers several web pages which allow monitoring of the status of the different communication networks and the device performance. Device status The Overview page shows the principal device status as shown in the following picture: Figure 5.
Web browser based management Figure 5.3: Modbus status page This page shows accumulated readings since the MBRG-300 was last activated or reset. If power to the MBRG-300 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). If no client is connected the status indicates LISTEN. If a client is connected, it’s IP address is shown.
Finding the firmware version and serial number Click on the About menu entry on the menu bar to show the product information as shown below: Figure 5.4: About page This product information is important for service and support inquiries. The following product information is provided: Product name The name of the product. Hardware version MBRG-300 hardware version. Firmware version The firmware version that is installed on the MBRG-300. Serial number The serial number of the MBRG-300.
Web browser based management The following Ethernet parameters are shown: MAC address The device' unique MAC address. This number is hard coded and cannot be changed. The following Internet protocol (IP) settings can be entered: IP address The IP address assigned to this device. Subnet mask (also known as indexterm2:[network mask]) If you have a router, enter the subnet mask for the segment to which this device is attached. Gateway address If your network segment has a router, enter its IP address here.
Baud rate 9600 and 19200 are the most common baud rates for Modbus. 19200 is the default setting. 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.
Web browser based management Please allow a few seconds before continuing working with the device as it has to fully start-up first, before being able to respond to further web browser requests. After a remote restart a Watchdog reset alarm is shown on the device' home page. This is a side-effect of the remote restart procedure and the alarm shall be ignored and cleared.
This page intentionally left blank 22 UMMBRG300-1101
Decommissioning Chapter 6. Decommissioning Before disconnecting the MBRG-300 unit please follow the rules in the section called “Safety Precautions”. 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 MBRG-300 from the DIN rail following the procedure described in the section called “DIN rail mounting and removal”.
This page intentionally left blank 24 UMMBRG300-1101
Specifications Appendix A.
Speed 10 Mbit/s Max. cable length 100 m (328 ft) Ethernet frame types 802.3 Protocols Modbus/TCP slave, HTTP, IP, TCP, ARP Concurrent connections 4 Modbus/TCP slave, 2 HTTP Power supply Connector 3.
Specifications 101.0 mm 3.98 in 101.0 mm 3.98 in Dimensions 120.0 mm 4.72 in 22.5 mm 0.89 in Figure A.
This page intentionally left blank 28 UMMBRG300-1101
Glossary Glossary EMI Electromagnetic interference ESD Electrostatic discharge. ESD can damage electronic equipment. 10BASE-T 10 Mbit/s twisted pair Ethernet standard. Standardized in IEEE 802.3i APIPA Automatic Private IP Addressing Class A Class A equipment is that used in commercial or light industrial environments. Ethernet The standard for local area networks developed jointly by Digital Equipment Corp., Xerox, and Intel.
NEMA National Electrical Manufacturers Association. NEMA defines standards for various grades of electrical enclosures. Node A communications device on the network. PC/ABS Polycarbonate-ABS. thermoplastic material. PLC Widely used Programmable Logic Controller RS-232 See EIA-232. 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.
Index Index A About, 18 Accumulative connections, 17 APIPA, 11 B Baud rate, 20 Brown out reset, 16 C cable RS-232, 8 cable length Ethernet length, 9 RS-232, 8 Class A, 5 connector Ethernet, 8 location, 3 power, 7 RS-232, 8 CRC errors, 17 cross-over network cable, 11 D Data bits, 20 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 web server
Requests, 17 Reset to factory defaults, 16 restart, 20 RJ-45, 8 RS-232, 8 run-time faults, 16 Rx time-outs, 17 S Serial number, 18 settings Ethernet, 19 IP, 11, 19 Modbus, 19 shield, 8 shielding, 5 shock, 7 Slave ID for RS-422 node, 20 Specifications, 25 Stop bits, 20 storage, 5 Subnet mask, 19 supply voltage, 7 T TCP status, 17 temperature operating, 7 terminal program, 12 Transmission mode, 19 Tx time-outs, 17 U Unpacking, 5 V ventilation, 7 vibration, 7 W Watchdog reset, 16 Watchdog reset alarm, 21
Notes Notes UMMBRG300-1101 33
This page intentionally left blank 34 UMMBRG300-1101