Programming
2.6 Methods
Expanding the user interface
Commissioning Manual, 11/2006, 6FC5397-0DP10-0BA0
2-65
Programming
Syntax: LG
(Grid name, Variable name [,File name])
Description: Loads a table
Parameters: Grid name Name of the table (grid) in inverted commas
Variable name Name of the variable to which the table is to be
assigned, in inverted commas
File name Name of the file in which the table (grid) is defined,
in inverted commas. Only needs to be specified if
the table is not defined within the file that also
contains the definition of the variable.
2.6.4 LOAD
Description
The LOAD method is executed after the variable and softkey definitions (DEF Var1= ...,
HS1= ...) have been interpreted. At this time, the dialog is not yet displayed.
Programming
Syntax: LOAD
...
END_LOAD
Description: Download
Parameters: - None -
Example
LOAD ; Start identifier
Screen form1.Hd = $85111 ; Assign text for dialog header from language
file
VAR1.Min = 0 ; Assign MIN variable limit
VAR1.Max = 1000 ; Assign MAX variable limit
END_LOAD ; End code