Abstract
The Show Diagnostics Information feature in the Sixnet I/O Tool Kit can pull information from Sixnet series IPm RTUs to help troubleshoot issues. Diagnostic information can be queried from RS232 or Ethernet. The output in the Sixnet I/O Tool Kit report views pane shows the result helpful linux commands ‘ps,’ ‘ifconfig,’ ‘df -h’ and ‘uptime’ without any knowledge or access to Linux commands.
Products
RTU Products:
ST-IPm-8460/VT-mIPm-248-D/VT-mIPm-138-D/ST-IPm-6350/ST-IPm-2350/ST-IPm-1350/VT-IPm-1410/VT-IPm-2410/VT-mIPm-245-D/VT-mIPm-241-D/VT-mIPm-135-D/VT-mIPm-131-D/VT-IPm2m-213-D/VT-IPm2m-113-D/VT-uIPm-431-H/VT-uIPm-441-H/ST-GT-1210/ET-GT-ST-3
Use Case: Querying useful Linux commands to aid in troubleshooting.
Required Software
Sixnet I/O Tool Kit 5.0.103
How to Show Diagnostic Information
- To show Diagnostic information connect to the RTU with a serial or IP connection.
- Open the Sixnet I/O Tool Kit and select the desired communication method in the Device > Select menu.
- Select the RTU in the Sixnet I/O Tool Kit project file or create an new station.
- Go to Operations > Advanced Operations > Show Diagnostic Information.
- The resulting information will be populated in the Report Views Pane of the Sixnet I/O Tool Kit.
PS command shows all processes running in the RTU
- One command sent to the RTU is ‘ps’ this results in a list of all the processes running in the RTU. Below is list of processes that are common and explanation of their function.
- ./sxmbeth_client – Modbus slave functionality.
- ./sxpeerlink – Master IP and Serial Modbus/Sixnet communication, Wait for Reply.
- ./sxetherpeer – Master IP Modbus/Sixnet Communication, Rapid Fire.
- ./sxtagload – Tag names reference for C programs used in the RTU.
- ./aDispatch – Alarms in the RTU.
- ./ioAgent – Alarms in the RTU.
- ./ioMonitor – Alarms in the RTU.
- ./sxredundancy – Manages controller redundancy
- ./sxseria_ttyS# - Serial port processes; the quantity will depend on the amount serial ports on the RTU.
- ./sxmanager – Manages communications.
- ./sxether_client – UDR communication over Ethernet ports.
- ./sxspecfeat – Scales analog and float values. Manages retained I/O.
- ./sxdatalog – Datalog functionality.
- ./sxpeerlink – peer to peer communications.
- ./sxsivm – Updates the system information module values.
- ./sxnbtwdg – Heartbeat and watchdog functionality.
- ./sxportload – Manages changes to serial ports.
- ./sxdnp… - DNP3 driver. Requires a separate driver to be installed. Not started in most versions of firmware.
- ./sxaga… - AGA driver. Requires a separate driver to be installed. Not started in most versions of firmware.
IFCONFIG command shows Ethernet port information.
- The ‘ifconfig’ command is sent to show the IP interface information. The eth0 interface is Network 1 on the device, eth1 is Network 2 and lo is the loopback address.
- What information can be derived from if command?
- IP address, broadcast address and subnet configuration can verified.
- MAC Address can be verified or used for attached switch MAC address filtering.
- Sent and received packets, errors, dropped, overruns and collisions can help to identify Ethernet network issues. A high percentage of collisions or dropped packets may point to invalid network configuration, faulty cables or lossy network.
- Note: ST-IPm-6350, ST-IPm-2350 and ST-IPm-1350 Network 2 connection from the on-board switch to CPU has a half-duplex connection, so in some cases it will have higher number of collisions than Network 1.
DF -H command shows information on the mounted file systems
File systems in firmware 7.0.xxx and above
- Applies to ST-IPm-8460, VT-mIPm-138-D and VT-mIPm-248-D. This shows the file systems and relative path, total space and amount available.
- Mtdblock3 mounted on /nvram is the status of the NVRAM.
- If datalogging to NVRAM the stats here can indicate when the RTU is running out of NVRAM. Adjust datalog configurations to fix this.
- The 512MB of Flash is partitioned into multiple file systems. The amount available for user use is the partition mounted on ‘/’ called “ubi0_0.” When loading files or datalogging to FLASH monitor the usage.
File systems in firmware 4.9.152 and below.
- Applies to ST-IPm-6350/ST-IPm-2350/ST-IPm-1350/VT-IPm-1410/VT-IPm-2410/VT-mIPm-245-D/VT-mIPm-241-D/VT-mIPm-135-D/VT-mIPm-131-D/VT-IPm2m-213-D/VT-IPm2m-113-D/VT-uIPm-431-H/VT-uIPm-441-H/ST-GT-1210/ET-GT-ST-3.
- /dev/mtdblock4 is the memory dedicated to NVRAM. This may fill up if datalogging is not configured correctly.
- /dev/mtdblock4 is memory used for Flash. Loading files and datalogging to flash can cause this to fill up.
Disclaimer
It is the customer's responsibility to review the advice provided herein and its applicability to the system. Red Lion makes no representation about specific knowledge of the customer's system or the specific performance of the system. Red Lion is not responsible for any damage to equipment or connected systems. The use of this document is at your own risk. Red Lion standard product warranty applies.
Red Lion Technical Support
If you have any questions or trouble contact Red Lion Technical Support by clicking here or calling 1-877-432-9908.
For more information: http://www.redlion.net/support/policies-statements/warranty-statement