-

Controller Diagnostics out of the Cockpit

This topic contains the following sections:

Note
This topic only applies to the standard (non-safety-related) controller. The steps for the Safety PLC are described in the help chapter "Safety PLC Commissioning: From Compiling to Debugging ‣ Safety PLC Commissioning: From Compiling to Debugging
×‣ Connecting vs. Monitoring Mode vs. Debug Mode
×‣ Safety Cockpit: Controlling the Safety Application
×‣ Safety PLC Diagnostics out of the Safety Cockpit
×‣ Monitoring/Debugging the Safety PLC
×‣ Monitoring Mode: Displaying Online Values
×‣ Debugging Safety-Related Code: Forcing/Overwriting
×‣ WATCHES: Monitoring/Debugging the Safety-Related Application
×‣ Safety PLC Simulation
×
".

The 'Cockpit' in the controller editor group provides the following functions:

Note
Poor internet connection? Performance problems due to VPN connection? You can adapt the TCP communication settings by increasing the handshake timeout value and the polling interval. See topic "TCP Communication Connection".

How to open the controller 'Cockpit'

How to display diagnostic information in the Cockpit

Proceed as follows to display the most important diagnostic information of the controller.
  1. Make sure that the controller is set as target system. For that purpose, TCP/IP must be selected in the drop-down list as shown below. If the controller provides several ports, set the port to which the LAN cable is connected.

    Note
    If you have configured a redundant control system built up with, for example, two RFC 4072R controllers, the drop-down list provides all TCP/IP LAN ports of the controllers for selection. This allows you to access both controllers in the redundant system in order to gather, for example, status information for the purpose of diagnostics of the redundant control system.
     
    For detailed information, see the topic "Configuring a Redundant Control System".

  2. Click the 'Connect to controller' button on the 'Cockpit' toolbar to establish a communication connection between PLCnext Engineer and the controller. The 'Connect' command is also available in the context menu of the controller in the PLANT and in the ONLINE STATE window (Cross Function Area).

    It is not necessary to be attached to the controller application (no debug mode required).

Available diagnostic information

The information is divided into several sections which can be selected via the list on the left. The shown information depends on the controller type involved. Example:

The LEDs on the 'Overview' page correspond to the LEDs on the controller device. Like the hardware LEDs, these virtual LEDs light up according to the device status.

Further Info
For detailed information on the LED indicators of your controller, refer to the user manual of the device.

Furthermore, the page provides information on the name of the currently loaded/executed project. It also displays details on the controller's memory utilization and the CPU load (for each core).

The further pages give various information on the memory utilization, port settings, controller status and the firmware/hardware version.

Notifications log

Diagnostic messages sent from the PLCnext Technology target (i.e., from firmware components) are loaded, logged and displayed in the 'Notification' category of the PLCnext Cockpit. Each entry shows a 'Severity' identified by a particular icon, the origin of the message ('Sender') and the name.

The NOTIFICATION LOGGER window in the cross function area also displays the notifications. The window provides the same information and operating options as provided in the cockpit's 'Notification' category. Additionally, the notifications can be filtered by various filter criteria or by text.

Note
If you have configured a redundant control system built up with, for example, two RFC 4072R controllers, the 'Notifications' log also displays information on the redundancy role (PRIMARY/BACKUP) and redundancy type (FIRST/SECOND) of the controller that initially created the notification.
 
For detailed information, see the topic "Configuring a Redundant Control System".

Further Info
For a detailed description of possible messages refer to the controller manual.

IconSeverity
Internal
Information
Warning
Error
Critical error
Fatal error

While the PLCnext Technology controller is connected, the list of notifications is updated each second. New notifications are appended at the end of the list. The total number of entries appears in the tooltip of the filter icon in the upper left corner of the list header.

Sort the notification list