3- Diagnostics Services Menu
...
Make selection: 1
================ System Status ==============
ElecSys(V:5.7.2017-08-07-1200) Sun Sep 3 21:17:07 2017
UnitName : 1 @ 192.3.1.10 REDIGATE <46247-0004>-SerialNumb
---------------------------------------------
Linux UnitName 3.15.10-00073-ge03f088 #0 PREEMPT Thu Nov 20 10:42:18 CST 2014 armv5tel GNU/Linux
Press ENTER to continue
------ Message Queues --------
key msqid owner perms used-bytes messages
0x00000290 0 root 666 0 0
0x00002dc8 1409025 user 666 0 0
0x00000bed 720899 root 666 0 0
0x00000bf2 753668 root 666 0 0
0x00000bf6 786437 root 666 0 0
0x00000bfa 819206 root 666 0 0
0x00000bff 851975 root 666 0 0
0x00000c05 884744 root 666 0 0
0x00000c06 917513 root 666 0 0
0x00000c07 950282 root 666 0 0
0x00000c09 983051 root 666 0 0
0x00000c0c 1015820 root 666 0 0
0x00000c0e 1048589 root 666 0 0
0x00000c0f 1081358 root 666 0 0
0x00000c10 1114127 root 666 0 0
0x00000c12 1146896 root 666 0 0
0x00000c14 1179665 root 666 0 0
0x00000c16 1212434 root 666 0 0
0x00000c18 1245203 root 666 0 0
0x00000c19 1277972 root 666 0 0
0x00000c5f 1376277 root 666 0 0
0x00000c1a 1310742 root 666 0 0
0x00000c1b 1343511 root 666 0 0
Press ENTER to continue
...
2- Network Interfaces
Main Menu → Diagnostics Services → Network Interfaces
...
View the Debug Level for all running processes in the RediGate code. The Debug Level is used for RediGate task logging and can be set using menu option 6 and others. Real-time diagnostics can be viewed using menu option 99 - Monitor Diagnostics.
Enter 5 for Task Status.
The tasks are numbered sequentially (referred to as "slot numbers"), starting from 0. The name following each task is the mnemonic that appears in the real-time view as events occur.
The word following the task name (Status, Display, Dump, etc.) indicates the current Debug Level of the task (see Debug Levels).
Tasks are marked with All, None, or Some, to indicate whether debugging is enabled/disabled for all or part of the units associated with that task.
...
Set the Debug Level for a process. (You can also set Debug Levels by using option 8 for Master Channel diagnostics, 10 for Field Unit protocol diagnostics, 12 for Slave Channel diagnostics, or 16 for RTDB diagnostics.) Use option 99 - Monitor Diagnostics to observe the real-time diagnostics of each task after setting the Debug Levels.
...
Enter 0=Disable : 1=Enable [Default=1] ? 1
...
Note | ||
---|---|---|
| ||
NOTE: If a task controls multiple Node Addresses (such as Field Units), diagnostics for each Node Address can be enabled or disabled separately. One or more units may have debugging enabled simultaneously—enabling diagnostics for a single unit does not automatically disable diagnostics for all the others. For instance, to enable diagnostics for only 3 out of 10 Field Units on a master channel, first Disable diagnostics for "All" units; then select the Task Diagnostics menu multiple times to Enable diagnostics for only certain Field Unit node addresses. The last Debug Level selected applies to ALL enabled units controlled by this task. |
...
After entering all information related to the task Debug Level modification, a single line output will indicate the change in status, and the list of tasks will generally be shown again.
...
- Master Channel number from configuration
- Master Channel name from configuration
- Current channel status (see Master Channel Status Indications for a list of status values)
- Number of Field Units (RTUs) configured on the channel
- System timestamp of the last event on the channel.
...
- FieldUnit Address from configuration
- FieldUnit Name from configuration
- Status of debugging (enabled or disabled) for the FieldUnit
- Protocol enumeration as it appears in the Task List
- Status (see RTU Status for a list of these indications)
...
Enter 8 for Channel Diags. Enter the number of the Master Channel or Internal Channel for the FieldUnit that you want to change Debug Level. (See Master Channel Status Indications for a list of status values.)
...
Addr Name Dbg? Protocol Status
----- ---------------- ---- -------- ------
1 DNP3 Field Unit ON DNPMST00 Timeout
Enter RTU Address (-1 for all) ? 1
Enter 0=Disable : 1=Enable [Default=1] ?
1
After entering all information related to the task Debug Level modification, a single line output will indicate the change in status, and the list of tasks will generally be shown again.
Setting Scan-Rtu 1 to Enable Dump
================ Channel Diags ==============
ElecSys(V:5.7.2017-08-07-1200) Sun Sep 3 21:17:07 2017
UnitName : 1 @ 192.3.1.10 REDIGATE <46247-0004>-SerialNumb---------------------------------------------
Chan Name Status Rtus Time
==== ============== ======== ==== ==================
0 Channel0 w/Errors 1 Tue Dec 14 09:37:57 1999
1 Channel0 w/Errors 1 Tue Dec 14 09:37:56 1999
15 Channel15 Normal 1 Tue Nov 30 06:00:02 1999
Enter Channel (0 to 15)
?
Once you have modified the Debug level for all FieldUnits that you wish to change, press Enter to return to the Diagnostics Services menu, or enter another channel number.
Anchor | ||||
---|---|---|---|---|
|
...
Enter 9 for RTU Status. Enter the Master Channel number to view Channel, Circuit, and Field Unit status. Or enter -1 to view the status for units on all channels.
(See Master Channel Status Indications for a list of status values.)
================ Rtu Status ==============
ElecSys(V:5.7.2017-08-07-1200) Mon Aug 14 02:10:12 2017
UnitName : 1 @ 192.3.1.10 REDIGATE <46247-0004>-SerialNumb
---------------------------------------------
Chan Name Status Rtus Time
==== ============== ======== ==== ==================
0 Channel0 Normal 3 Mon Aug 14 02:10:07 2017
2 Master Channel w/Errors 1 Mon Aug 14 02:02:14 2017
15 Channel15 Normal 1 Mon Aug 14 02:02:14 2017
Enter Channel (0 to 15, -1 for all) ? 0
-----------------RTU---------------- -----POLL------- -------ERRORS-------
Addr Name Protocol Status Time Count TimOut BadData Frame
----- ---------------- -------- -------- -------- -------- ------ ------- -----
1 Modbus01 MBMAST00 PollDone 02:10:07 9 2 0 0
2 Modbus02 MBMAST00 Timeout 02:09:15 0 9 0 0
3 Modbus03 MBMAST00 Polling 02:09:15 7 2 0 0
Redisplay (Y/N/E where E is Extended Info)
?
See Channel Status for details on the Master Channel status information.
...
- Addr – FieldUnit address from configuration
- Name – FieldUnit name from configuration
- Protocol – Enumeration indicating both the protocol and Master Channel instance number. For example, MBMAST00 refers to Modbus Master protocol on Channel 0. The Protocol enumeration is also used for diagnostic messages in the Monitor Diagnostics log.
- Status – Current state of each Field Unit.
- PollDone - Device is in communication and last poll was completed successfully.
- Timeout - Last poll to device timed out with no valid response.
- BadData - Last poll received some data but it was not a correct expected response (including an exception code).
- FrameErr - Last poll received a framing error (possibly part of the message was received but not all – ?? check with John)
- Stopped - Field Unit or Channel is disabled or not being polled
- Polling - Poll has been sent but response not yet received, or a response to one poll has been received but not all polls are completed, so the device status cannot be completely confirmed yet.
- No Polls - No polls have been sent to Field Unit since last restart.
- Time – Last time the Field Unit was accessed (started, polled, command sent).
- Count – Number of polls which have successfully received a response.
- TimOut – Number of polls which have timed out after all configured retries.
- BadData – Number of polls which have received a bad data response.
- Frame – Number of polls which have received a framing error response.
...
Enter 10 for RTU Diags. Enter the number of the Master Channel or Internal Channel for the FieldUnit that you want to change Debug Level.
(See Master Channel Status Indications for a list of status values.)
...
This is a legacy menu for the DialBackup task, which is currently not supported in the RediGate.
Anchor | ||||
---|---|---|---|---|
|
...
Enter 99 for Monitor Diagnostics.
510- Trend a Point
...
535- View Custom Rpt
If one or more Custom Report is configured for this RediGate, view the contents of the report. The Custom Report is a pre-defined set of RTDB registers with a tag descriptor. This is a more convenient way to view the values of registers than option 18, and it allows registers that have been defined as read/write to be written to through the user menu.
Enter 535 for View Custom Rpt.