Siemens SINUMERIK 840DE sl Commissioning Manual page 1129

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

Advertisement

Programming
Syntax:
Description:
Parameters:
Example
IF CVAR == TRUE
VS8.SE = 1
ELSE
VS8.SE = 2
ENDIF
IF CVAR("VAR1", "VAR2") == TRUE
DLGL ("VAR1 and VAR2 are OK")
ELSE
DLGL ("VAR1 and VAR2 are not OK")
ENDIF
6.3.5
CLEAR_BACKGROUND
Description
The CLEAR_BACKGROUND function deletes the LINE, RECT, ELLIPSE, V_SEPARATOR
and H_SEPARATOR graphic elements.
See also
Line, dividing line, rectangle, circle and ellipse (Page 193)
SINUMERIK Integrate Run MyScreens (BE2)
Programming Manual, 12/2017, 6FC5397-1DP40-6BA1
VarN )
CVAR(
Checks variables for valid content
VarN
List of variables to be checked.
Up to 29 variables, each separated by a comma, can be
checked. A character length of 500 must not be exceeded.
The result of the scan can be:
1 = TRUE (all variables have valid content)
0 = FALSE (at least one variable has invalid content)
Programming commands
; Check all variables
; If all variables are error-free, soft-
key VS8 is visible
; If a variable has an invalid value,
softkey VS8 is disabled
; Check variables VAR1 and VAR2
; If the values of VAR1 and VAR2 are er-
ror-free, "VAR1 and VAR2 are OK" appears
in the dialog line
; If the values of VAR1 and VAR2 are in-
valid, "VAR1 and VAR2 are not OK" appears
in the dialog line
6.3 Functions
143

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents