Siemens SINUMERIK 840DE sl Commissioning Manual page 1285

Basesoftware and operating software
Hide thumbs Also See for SINUMERIK 840DE sl:
Table of Contents

Advertisement

Tips and tricks
B.1
General tips
● If possible, use the OPI version for system variables ($ variables).
Reason:
Avoids complex name resolution.
Example:
Instead of "$R[10]", it is better to use "/Channel/Parameter/R[u1,10]".
● Avoids cyclic (similar) setting, e.g. of the screen and variable HLP property. Compare the
value to be set with the current value first, and only set it when it is different.
Reason:
Avoid a time-consuming search of the resolution-dependent help screens.
Example:
DEF MyVar=(R3///,"X1",,"mm"/WR1//"$AA_IM[0]")
CHANGE(MyVar)
END_CHANGE
Recommendation:
CHANGE(MyVar)
END_CHANGE
SINUMERIK Integrate Run MyScreens (BE2)
Programming Manual, 12/2017, 6FC5397-1DP40-6BA1
IF MyVar.VAL < 100
HLP="mypic1.png"
ELSE
HLP="mypic2.png"
ENDIF
IF MyVar.VAL < 100
IF HLP <> "mypic1.png"
HLP="mypic1.png"
ENDIF
ELSE
IF HLP <> "smypic2.png"
HLP="mypic2.png"
ENDIF
ENDIF
B
299

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents