08/2005
VAR1.VAL = SQRT(2)
Table 3-13
Constants
PI
FALSE
TRUE
VAR1.VAL = PI
Table 3-14
Comparison operators
==
<>
>
<
>=
<=
IF VAR1.VAL == 1
VAR2.VAL = TRUE
ENDIF
3.6.10
Conditions
Condition with a command:
IF
...
ENDIF
Condition with two commands:
IF
...
ELSE
...
ENDIF
The nesting depth is unlimited.
© 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)
3.14159265358979323846
0
1
Equal to
Not equal to
Greater than
Less than
Greater than or equal to
Less than or equal to
3 Syntax
BE1/3-97