In Test (Online or Simulation) mode, all programming editors are animated with real time values of the edited objects:

  • Program states are displayed in the program list. Stopped programs are marked in red. Suspended programs are marked in blue.
  • Values of variables are visible in the variable window. Double-click on a variable name to force or lock the variable.
  • Values of variables, contacts and coils are displayed in FBD diagrams. Double-click on a variable name to force or lock the variable.
  • Values of variables, contacts and coils are displayed in LD diagrams. Double-click on a variable name to force or lock the variable.
  • Step activities (tokens) are displayed in the SFC editor.
  • In the text (ST or IL) editor, place the mouse cursor on a variable name to display its real time value in a tooltip. Double-click on the variable name with the SHIFT key pressed to force or lock the variable.

Locking variables

When you double-click on a variable symbol during debug, a dialog box is open and enables you to change the value of the variable. It also enables you to Lock or Unlocked variable. When a variable is locked, its value is no more changed by the Runtime Service. You can then force its value from the debugger independently from the Runtime Service operations. Note that the set of variables that accept to be locked depends on the build options.

Use the Project / Locked variables menu command to display the list of variables currently locked. This box also enables to unlock all currently locked variables.

Using the programming editors in test mode

IEC 61131-3 Automation platform > IEC 61131-3 Programming Environment > Running the application > Using the programming editors in test mode

Previous chapterNext chapter


Created with the Personal Edition of HelpNDoc: Effortlessly Edit and Export Markdown Documents