Addressing system variables indirectly
A system variable can also be addressed indirectly, i.e. as a function of another variable:
PRESS(HS1)
ACHSE=ACHSE+1
WEG.VAR="$AA_DTBW["<<ACHSE<<"]"
END_PRESS
Changing softkey labels
Example:
HS3.st = "New text"
SINUMERIK Integrate Run MyScreens (BE2)
Programming Manual, 12/2017, 6FC5397-1DP40-6BA1
;Address axis address via variable
;Change softkey label
Variables
5.2 Application examples
83