General Functions - 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
Example:
MRNP("$R[0]*$R[1]*$R[2]*$R[3]",1)
In the previous example, REG[1] to REG[4] are described with the value of
variables $R[0] to $R[3].
Reading display machine data
Display machine data can be read with RNP ($MM...) within the LOAD block.
General read/write access to display machine data is not possible using the extend
user interface function.
3.6.3

General functions

Check variables (CVAR)
Using the function CVAR (CheckVariable) it is possible to interrogate as to whether
all or only certain variables or Help variables of a screen form are error-free.
A variable is error-free if the state of the variable identifier.vld = 1 (see
Subsection 3.3.3 "Screen form elements").
Check all variables for valid content:
CVAR
Check specific variables for valid content:
CVAR(VarN)
where:
VarN
The result of the scan can be:
1 = TRUE (all variables have valid content)
0 = FALSE (at least one variable has invalid content)
It may be useful to check if variables contain a valid value before an NC code with
the GC function.
IF CVAR == TRUE
VS8.SE = 1
ELSE
VS8.SE = 2
ENDIF
IF CVAR("VAR1", "VAR2") == TRUE
DLGL ("VAR1 and VAR2 are OK")
© Siemens AG, 2005. All rights reserved
SINUMERIK 840D sl/840D/840Di/810D HMI Installation and Start-Up Guide (IAM) – 08/2005 Edition
List of variables to be checked. A total of 29 variables,
separated by commas, can be checked. The maximum
character length of 500 must not be exceeded.
;Check all variables
;If all variables are correct, softkey VS8
;will be visible
;If one variable contains
;an invalid value, softkey VS8
;cannot be used
;Check variables VAR1 and VAR2
;If the content of VAR1 and VAR2 are correct,
;"VAR1 and VAR2 are OK" appears in the dialog line
;(See DLGL function)
Expanding the Operator Interface (BE1)
3 Syntax
BE1/3-83

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 810dSinumerik 840diSinumerik 840d

Table of Contents