Create MyConfig - Expert
4.6 Script language
Calculations must be set in brackets in order to define an unambiguous sequence.
Examples
4.6.7.4
Logic operators / comparison operators
Condition- true != false
The following logic operations and comparison operators are available to form Boolean
expressions (True/False):
Table 4-25
&&
||
!
Table 4-26
==
!=
<
>
<=
>=
Logic operations must be set in brackets in order to define an unambiguous sequence.
Example
Note
Use of functions permitted
Functions can also be used in logic operations.
Example
If Input("Number of magazine locations")>60)
288
UP.Index=UP.Index +1
$MA_MAX_AX_VELO[AX1]= $MA_MAX_AX_VELO[AX2]*1.3
GUD_1=(100-50)/3
$MN_COMPAR_TYPE_1 = $MN_COMPAR_TYPE_1 | 'B10000'
Logic operators
Logical AND operation
Logical OR operation
Negation operator
Comparison operators
Equal to
Not equal to
Less than
Greater than
Less than or equal to
Greater than or equal to
(UP.$Step&&Version(PCU, "SINUMERIK Operate")>=4.7)||
(Version(NCU, "InternalVersion")!=2.7)
SINUMERIK Integrate Create MyConfig - Diff, Expert, Topo
Operating Manual, 12/2017, A5E36537479B-AE