EnumVar
Hint: This command cannot be used in a FOR loop.
Syntax:
EnumVar [ filter ]
Arguments:
filter : filtering strings - may contain '*' and '?' wildchars
|
This function is used for variables, parameters of sub-programs and UDFBs or for items of data structures. The filtering string must be prefixed with its group name and the '.' separator. Variables are considered as GLOBAL if no prefix is specified. Some examples are attached below. |
Examples:
|
|
|
Argument |
Description |
|
* |
A global variable. |
|
RETAIN.* |
A RETAIN variable. |
|
ProgName.* |
A variable local to a program. |
|
UDFBName.* |
A parameter of a UDFB. |
|
StructName.* |
An item of a data structure. |
|
|
|
|
CreateVar - Create a variable CreateInParam - Create an input parameter CreateOutParam - Create an output parameter DimVar - Set variables dimensions DeleteVar - Delete a variable InitVar - Set variable initial value SybVar - Specifies whether the symbol of a variable must be embedded ProfileVar - Set variable profile and embedded properties GetVar - Get information about a variable GetVarProp - Get variable embedded properties
Managing program folders Managing data types (structures)
|
|
EnumVar |
IEC 61131-3 Automation platform > IEC 61131-3 Programming Environment > Tools > The console > Managing variables > EnumVar |
Created with the Personal Edition of HelpNDoc: Create help files for the Qt Help Framework