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 #90 background imageLoading...
Page #90 background image
Expanding the Operator Interface (BE1) 08/2005
3 Syntax
© Siemens AG, 2005. All rights reserved
BE1/3-84 SINUMERIK 840D sl/840D/840Di/810D HMI Installation and Start-Up Guide (IAM) – 08/2005 Edition
ELSE
DLGL (”VAR1 and VAR2 are not OK”)
;If the content of VAR1 and VAR2 are incorrect,
;"VAR1 and VAR2 are not OK" appears in the
;dialog line (see DLGL function)
ENDIF
Dialog line (DLGL)
It is possible to configure short texts (messages or input tips) for output in the
dialog line in response to certain situations.
If default font size is selected:
With HMI Embedded approximately 50 characters in the dialog line
With HMI Advanced approximately 100 characters in the dialog line
For HT6 approximately 48 characters in the dialog line
DLGL ("String")
where:
String Text, which is displayed in the dialog line
(notated according to 1.4)
IF Var1 > Var2
DLGL("Value too high!") ;The text "Value too high!" appears
;in the dialog line if variable1 > variable2.
ENDIF
Evaluate expression (EVAL)
The EVAL function evaluates a transferred expression and then executes it. With
this function, expressions can be programmed during runtime. This can be useful,
for example, for indexed access operations to variables.
EVAL(exp)
where:
exp ;Logical expression to be evaluated
VAR1=(S)
VAR2=(S)
VAR3=(S)
VAR4=(S)
CHANGE()
REG[7] = EVAL("VAR"<<REG[5]) ;The expression in parentheses
;is the value of VAR3 if the value of
;REG[5] equals 3. REG[7] is
;assigned the value of VAR3.
;(See Subsection 3.6.11)
END_CHANGE
Conventional configuring of the above function would be performed as follows:
VAR1=(S)
VAR2=(S)
VAR3=(S)
VAR4=(S)
CHANGE()

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