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<<"]" ;Address axis address via variable
END_PRESS
Changing softkey labels
Example:
HS3.st = "New text" ;Change softkey label
Variables
5.2 Application examples
SINUMERIK Integrate Run MyScreens (BE2)
Programming Manual, 12/2017, 6FC5397-1DP40-6BA1 83