Monitoring and Debugging Functionalities

In order to monitor a control application it is necessary to switch the engineering environment into an online mode for a system. Currently this can be done in two different ways:

  1. Right click on a system in the system manager or the download selection tree:

    Select elements to be monitored

  2. Via enabling it in the toolbar under the toolbar icon: Monitoring

A check sign shows that the monitoring is enabled for the system. After that, the Engineering environment opens the debug perspective.

Watch Interface Elements

Within this view, it is possible to select the elements which should be monitored. This is done with a right mouse click on the specified element (either the whole function block, or a single interface element of a function block).

Select elements to be monitored

After that the current values of the selected elements will be displayed in the engineering environment next to the interface elements.

Current monitored values displayed next to the interface elements

Trigger Events

Additionally, it is possible to trigger new events. Therefore, it is necessary to select the Trigger Event menu from the context menu of an event interface element.

Trigger Event

Force Values

The values of function block Input data can be overwritten by the force command form the context menu:

Enable Force Value

The next time, the function block is executed the forced value will be used with the next event. The old value will be visualized in brackets:

Forced Value

Breakpoints

NOTE: Currently NOT supported!!!!!

Breakpoints allows to stop/break the event propagation of the control application. Therefore it is necessary to specify at which event element the execution should be stopped. A breakpoint can be specified by selecting the breakpoint menu form the context menu.

Enable Breakpoint

After the next event the execution of the function block will be stopped and the current active breakpoint will be highlighted in the engineering environment.

Current Active Breakpoint

The Continue menu of the context menu or the Breakpoints view allows to continue the execution the control application.

Continue Execution after Breakpoint

Additionally it is possible, to specify a condition for a breakpoint. This means that the breakpoint will be only active, if the condition is true. In the current implementation only an event counter is a valid condition. Additionally it needs to be stated that the evaluation of the condition is executed in the engineering environment and automatically resumed if the condition is not true.