EasyManuals Logo

Siemens SINUMERIK 840D Commissioning Manual

Siemens SINUMERIK 840D
626 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #89 background imageLoading...
Page #89 background image
08/2005 Expanding the Operator Interface (BE1)
3 Syntax
© Siemens AG, 2005. All rights reserved
SINUMERIK 840D sl/840D/840Di/810D HMI Installation and Start-Up Guide (IAM) – 08/2005 Edition
BE1/3-83
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 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.
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 ;Check all variables
VS8.SE = 1 ;If all variables are correct, softkey VS8
;will be visible
ELSE
VS8.SE = 2 ;If one variable contains
;an invalid value, softkey VS8
;cannot be used
ENDIF
IF CVAR(”VAR1”, ”VAR2”) == TRUE
;Check variables VAR1 and VAR2
DLGL (”VAR1 and VAR2 are OK”)
;If the content of VAR1 and VAR2 are correct,
;"VAR1 and VAR2 are OK" appears in the dialog line
;(See DLGL function)

Table of Contents

Other manuals for Siemens SINUMERIK 840D

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK 840D and is the answer not in the manual?

Siemens SINUMERIK 840D Specifications

General IconGeneral
SeriesSINUMERIK 840D
AxesUp to 31
ChannelsUp to 10
Operating SystemWindows-based
Power Supply24 V DC
Control Unit TypeCNC
InterfaceEthernet, PROFIBUS
DisplayTFT color display
InterpolationSpline
PLCIntegrated PLC
Data StorageCompactFlash, USB

Related product manuals