Functions in the ScriptWizard

The ScriptWizard in WinCC OA version 3.11 provides the following functions, which allow the realization of functional requirements.

Function Description
Panel Navigation

Enables navigating to panels via 3 different possibilities:

- The panel topology

- The panel history

- To an arbitrary panel, which may be specified including dollar-parameters

Open Childpanel Enables opening a new panel.
Close Childpanel Enables closing the current panel.
Write value on datapoint Enables applying the given value to the datapoint.
Read value from datapoint Enables reading the current value from the datapoint
Invert boolean datapoint element Enables inverting the given bool datapoint element.
User-defined script Enables inserting a user-defined script, which should be called by a function.
Define variable Enables inserting a new variable specified by name, type and initial value.
Run calculation Enables creating expressions using arithmetic and logic operations.
Set shape property Enables setting the specified value on the property of a graphical object, e.g. text, background color, etc.
Get shape property Enables reading the specified property of a graphical object
Get user permission Enables reading the current user permission level and coping it into the specified variable.
Read message catalog text Enables reading out the elements from the given message catalog and write it onto the target variable.