HandbuchEibPC_USA-30.odt, 2017-05-11, Version
P.
318 of 349
Keywords - reference
Logical instructions
if ... then ... endif
If – then
if ... then ... else ... endif
If – then – else
!Var
Bitwise inverting
Var1 or Var2
Bitwise or
Var1 and Var2
Bitwise and
Var1 xor Var2
Bitwise exclusive-or
Var1 > Var2
Comparison of sizes
Var1 < Var2
Comparison of sizes
Var1 == Var2
Comparison of sizes
Var1 >= Var2
Comparison of sizes
Var1 =< Var2
Comparison of sizes
Var1 != Var2
Comparison of sizes
Hysteresis
(Var,LowerLimit,UpperLimit)
The argument Var is compared with the variables LowerLimit and UpperLimit with a hysteresis function.
Conversion
convert(Var1, Var2)
Converts the data type of Var1 to that of Var2 (Caution: Data may be lost!).
Arithmetic operators
Var1 + Var2 + VarN
Addition
Var1 – Var2 - VarN
Subtraction
Var1 * Var2 * VarN
Multiplication
Var1 / Var2 / VarN
Division
abs(Var1)
Absolute value
acos(Var1)
Arc cosine
asin(Var1)
Arc sine
atan(Var1)
Arc tangent
cos(Var1)
Cosine