Example 3: Assigning The Variable Type, Default, System Or User Variable, Input/Output Field Position Properties; Example 4: Toggle Field And List Field - Siemens SINUMERIK 828D Commissioning Manual

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

Advertisement

5.5
Example 3: Assigning the Variable Type, Default, System or User
Variable, Input/Output Field Position properties
Example 3
The following example defines a variable for which the properties variable type, default setting,
system or user variable and position are set.
DEF Var3 = (R//10////"$R[1]"//300,10,200//)
See also
Variable parameters (Page 69)
5.6

Example 4: Toggle field and list field

Example 4a
Various entries in the toggle field:
DEF Var1 = (I/* 0,1,2,3)
DEF Var2 = (S/* "On", "Off")
DEF Var3 = (B/* 1="On", 0="Off")
DEF Var4 = (R/* ARR1)
SINUMERIK Integrate Run MyScreens
Programming Manual, 10/2015, 6FC5397-3DP40-5BA3
Variable type:
Default setting:
System or user variable:
Position of short text:
Position of input/output field:
Distance from left:
Distance from top:
Width:
;Simple toggle field to toggle numeric values
;Simple toggle field to toggle strings
;Extended toggle field to toggle numeric values whereby a
display text is assigned to each numeric value
;Toggle field which obtains its values to be toggled from an
array
5.6 Example 4: Toggle field and list field
REAL
10
$R[1] (R-Parameter 1)
Default position in relation to input/output field
300
10
200
Variables
65

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents