Programming
2.3 Variables
Expanding the user interface
2-30 Commissioning Manual, 11/2006, 6FC5397-0DP10-0BA0
Syntax:
CLRHTX (Identifier)
Description: Deletes the Help loop
Parameters: Identifier Name of the variable whose Help loop is to be deleted
Help file:
Index:
Help text:
Path specification of the file (PDF format)
Index in the Help text file to the Help text
Help text for display in the Help text file
Example
CLRHTX(VAR1)
2.3.8 Application examples
Help variables
Help variables are internal arithmetic variables. Arithmetic variables are defined like other
variables, but have no other properties apart from variable value and status, i.e., Help
variables are not visible in the dialog. Help variables are of the VARIANT type.
Programming
Syntax: DEF
Identifier
Description: Internal arithmetic variables of the VARIANT type
Parameters: Identifier: Name of Help variables
Example
DEF OTTO ;Definition of a Help variable
Syntax: Identifier.val =
Help variable value
Identifier =
Help variable value
Description: A value is assigned to a Help variable in a method.
Parameters: Identifier: Name of Help variables
Help variable value: Content of the Help variables
Example
LOAD
OTTO = "Test"
END_LOAD
;
Assign the value "Test" to the Otto Help variable
LOAD
OTTO = REG[9].VAL
END_LOAD
;
Assign value of register to the Help variable