Refresh Function - Siemens SINUMERIK 840D sl Commissioning Manual

Commissioning cnc part 2 (hmi)
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

08/2005
LOAD
...
LB("PROG1") ;Load block
...
END_LOAD
CHANGE()
...
CALL("UP1") ;Call and execute subprogram
...
END_CHANGE
...
//END
Aborting the current subprogram (RETURN)
The RETURN function can be used to prematurely terminate execution of the
current subprogram and to return to the branch point of the last CALL command. If
no RETURN command is configured in the subprogram, the branch point is not
reached again until the end of the current subprogram.
RETURN
//B(PROG1)
SUB(UP2)
IF VAR1.val=="Otto"
VAR1.val="Hans"
RETURN
ENDIF
VAR1.val="Otto"
END_SUB
//END
3.6.5

REFRESH function

The function has no parameters. It can be called in any block (e.g., PRESS ...
END_PRESS).
Activation
1. All active variable content (input/output fields) in the display range are output
again with the background and foreground.
2. All active and visible short description texts, graphic texts and unit texts are
output again without clearing the text background first.
© Siemens AG, 2005. All rights reserved
SINUMERIK 840D sl/840D/840Di/810D HMI Installation and Start-Up Guide (IAM) – 08/2005 Edition
Expanding the Operator Interface (BE1)
;Block start
;Subprogram start
;If the variable value = Otto,
;the value Hans is assigned to the
;variable and the subprogram
;is terminated at this point
;If the variable value ≠ Otto,
;the value Otto is assigned to the
;variable
;Subprogram end
;Block end
3 Syntax
BE1/3-87

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 810dSinumerik 840diSinumerik 840d

Table of Contents