Programming
2.6 Methods
Expanding the user interface
2-68 Commissioning Manual, 11/2006, 6FC5397-0DP10-0BA0
Parameters: Softkey Name of softkey: HS1 - HS8 and VS1 - VS8
RECALL <RECALL> key
PU Page Up Screen up
PD Page Down Screen down
SL Scroll left Cursor left
SR Scroll right Cursor right
SU Scroll up Cursor up
SD Scroll down Cursor down
Example
HS1 = ("another softkey menu")
HS2=("no function")
PRESS(HS1)
LS("Menu1") ; load another softkey menu
Var2 = Var3 + Var1
END_PRESS
PRESS (HS2)
END_PRESS
PRESS(PU)
INDEX = INDEX -7
CALL("UP1")
END_PRESS
2.6.8 Example Version management with OUTPUT blocks
Overview
Additional variables can be added to existing dialogs when expanding the user interface. A
version identifier in parentheses is appended to the additional variables in the definition
following the variable name: (0 = Original, is not written), 1 = Version 1, 2 = Version 2, etc.
Example
DEF var100=(R//1) ; Original, corresponds to Version 0
DEF var101(1)=(S//"Hello") ; Expansion with effect from Version 1
When writing the OUTPUT block, you can specify which variables are written, with reference
to a particular version identifier.