5. Web browser based management. Weidmuller SL-MOD-GW
Weidmuller SL-MOD-GW is an industrial-grade Modbus/TCP gateway designed to seamlessly integrate Modbus RTU/ASCII devices into an Ethernet network. It enables transparent data exchange between Modbus serial devices and Modbus TCP clients, making it easy to monitor and control your devices from a remote location or SCADA system. The SL-MOD-GW supports up to 5 simultaneous Modbus TCP client connections.
Advertisement
Advertisement
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.130 is the default), and then press
Enter. (See Chapter 4, Ethernet & IP configuration)
The web browser will establish communication with the embedded web server and an overview page similar to the following picture will appear:
Illustration 5.1: Device management and configuration via the web browser
Gateway IP address
Main menu
Configuration sub-menu
Information area
UMSLMODGW-1006 15
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.1 Device status
The Overview page shows the principal device status as shown in the following picture:
Illustration 5.2: Overview page
The value shown in the Device row represents the device status register which keeps track of run-time faults.
All run-time faults are latched and must be reset by the user. The following faults can be listed here:
OK
The device is fault free.
Watchdog reset
This warning indicates that the device was reset by it’s internal watchdog supervision circuit.
Brown out reset
This warning indicates that the device was reset by it’s internal supply voltage monitoring circuit. This fault occurs when the supply voltage drops below the lower limit.
Device out of memory
This warning indicates that the internal dynamic memory has been exhausted and due to this a certain function could not be completed.
Device configuration data write failure
This alarm indicates that the configuration data could not be written to the non-volatile memory.
Configuration data changes will be lost once the device is power-cycled or reset.
16 UMSLMODGW-1006
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.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). If no client is connected the status indicates LISTEN. If a client is connected, it’s IP address is shown.
Accumulative connections
A counter that increments each time a client opens a Modbus/TCP connection.
Requests
A counter that increments each time an inbound request message is successfully received.
Replies
A counter that is incremented each time a reply message is sent back to the master. This includes exception replies.
UMSLMODGW-1006 17
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.
Rx time-outs (Modbus serial line)
A counter that increments each time an inter-character time-out occurred during the reception of an inbound message.
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.
Tx time-outs
Number time-outs occurred when attempting to send a reply message.
The cumulative diagnostic data is reset when the device is power cycled or reset. The data is also reset by pressing the Clear Counter button.
5.2.3 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:
Illustration 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
SL-MOD-GW hardware version.
Firmware version
The firmware version that is installed on the SL-MOD-GW.
18 UMSLMODGW-1006
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.1 Configuring Ethernet and IP
Select the Configuration→Ethernet & IP sub-menu from the menu bar to open the Ethernet and
IP settings which are shown below:
Illustration 5.5: Ethernet and IP settings page
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. Otherwise leave the address as 0.0.0.0.
UMSLMODGW-1006 19
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. Select the Configuration→Modbus sub-menu from the menu bar to open the Modbus settings which are shown below:
Illustration 5.7: Modbus settings page
The following Modbus settings can be entered:
Physical layer
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.
Transmission mode
Only RTU mode can be selected here.
Baud rate
9600 and 19200 are the most common baud rates for Modbus. 19200 is the default setting.
20 UMSLMODGW-1006
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. This setting determines based on the slave ID whether a Modbus message is transmitted onto the RS-485 bus or the RS-422 interface. Configure here the slave ID of the RS-422 device.
Once you click Save the new settings are stored and applied instantly. A confirmation message is shown.
5.3.3 Remote restarting the device
You can perform a remote restart of the device from the web interface. A remote restart is similar to power cycling the device. Possibly connected clients are disconnected and communication is interrupted until the device has rebooted.
To perform a remote restart, click on the Configuration sub-menu and then click on the Restart menu entry. This will open the device restart page as shown below:
Illustration 5.8: Restart device page
Click on the Restart button to perform a restart of the device. The restart is confirmed with the following notification:
Illustration 5.9: Restart confirmation page
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.
Note
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.
UMSLMODGW-1006 21
22 UMSLMODGW-1006
Advertisement