Using User parameter fields in Structured Text

<< Click to Display Table of Contents >>

Navigation:  Project > Scripts > ST language >

Using User parameter fields in Structured Text

Previous pageReturn to chapter overviewNext page

You can include User parameter fields in your project’s scripts by using keyword Users. Then type dot (.), name of your User or you can use key word current for choosing current user, again type dot (.) and name of parameter field. For possibility to compile this code the name of the user and user parameter fields should contain only English letters without white spaces and any signs.

Example:

Users.Operator.controlfunctions = true;

In this example value true will be assigned to the user with name Operator and field property name controlfunctions. Name of the property fields you can find out in parentheses of user and parameter descriptions above.