Programming
2.7 Functions
Expanding the user interface
2-86 Commissioning Manual, 11/2006, 6FC5397-0DP10-0BA0
Note
Please note that a valid value must be assigned to a variable after the LA function has been
used to assign another array to the toggle field of the variable.
2.7.15 Load Block (LB)
Description
The LB (Load Block) function can be used to load blocks containing subprograms during
runtime. LB should be configured in a LOAD method so that the loaded subprograms can be
called at any time.
Note
Subprograms can also be defined directly in a dialog so that they do not have to be loaded.
Programming
Syntax: LB
("Block name"[,"File"])
Description: Loads subprogram during runtime
Parameters: Block name Name of block identifier
File Path name of configuration file
Default setting = Current configuration file
Example
LOAD
LB("PROG1") ; Block "PROG1" is searched for in the current
configuration file and then loaded.
LB("PROG2","XY.COM") ; Block "PROG2" is searched for in the
configuration file XY.COM and then loaded.
END_LOAD