Command Call Stack

Symbol: Command Call Stack 1:

Function: The command opens the Call Stack view.

Call: Menu PLC > Window

Callstack view

This view is useful if you want to run programs step-by-step. It shows the currently reached position with the complete call path.

Command Call Stack 2:

Application

Name of the active PLC project that controls the currently reached program block.

Task

Name of the task that controls the currently reached program block.

POU

Name of the program block in which the program execution is located.

The first line in the list describes the current execution position. It is marked with a yellow arrow. If this position is in a function block called by another function block, the position of the call is described in the second line. If the caller is called by another function block, this call position is described in the third line and so on.

Location

Position within the program block where the program execution is located

  • Row and column number for text editors
  • Network or element number for graphical editors

Instance path

Instance in which the program is executed.

The Call Stack is also available in offline mode and in normal online mode if you are not using any debugging functions. In this case, it contains the last position displayed during a step-by-step execution, but in "gray" font.

Command Call Stack 3:

In contrast to the Call Stack view, the Call Tree view provides call information on a function block at any time.

See also: