Example 1: Assigning The Variable Type, Texts, Help Display, Colors, Tooltips - Siemens SINUMERIK 828D Commissioning Manual

Hide thumbs Also See for SINUMERIK 828D:
Table of Contents

Advertisement

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"
5.3
Example 1: Assigning the variable type, texts, help display, colors,
tooltips
Example 1a
The following example defines a variable for which the properties variable type, texts, help
display and colors are set.
DEF Var1 = (R///,"Actual value",,"mm"//"Var1.png"////8,2)
SINUMERIK Integrate Run MyScreens
Programming Manual, 10/2015, 6FC5397-3DP40-5BA3

5.3 Example 1: Assigning the variable type, texts, help display, colors, tooltips

Variable type:
Texts:
Short text:
Unit text:
Help screen:
Colors:
Foreground color:
Background color:
;Address axis address via variable
;Change softkey label
REAL
Actual value
mm
Var1.png
8 (brown)
2 (orange)
Variables
63

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents