Siemens SINUMERIK Commissioning Manual page 413

Sinumerik 840di sl/840d sl/840dbase software and hmi advanced
Hide thumbs Also See for SINUMERIK:
Table of Contents

Advertisement

Example
DEF VAR1=(S//////"DB20.DBB1")
CHANGE(VAR1)
IF VAR1.Val <> 1
VAR1.st="Tool OK!"
ELSE
ENDIF
VAR2.Var=2
END_CHANGE
"Global" programming
Syntax:
Description:
Parameters:
Example
CHANGE()
EXIT
END_CHANGE
Expanding the user interface
Commissioning Manual, 11/2006, 6FC5397-0DP10-0BA0
otto=1
VAR1.st="Attention: Error!"
otto=2
;
A system variable is assigned to Var1
;
If the value of the system variable ≠ 1,
the short text of the variable states:
Tool OK!
;
If the value of the system variable = 1,
the short text of the variable states:
Attention: Error!
CHANGE()
...
END_CHANGE
Changes any variable value
- None -
; If any of the variable values change, the dialog will
be terminated.
Programming
2.6 Methods
2-63

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents