10 Configuration level 1
66
Logic formula Logic operators
Edge recognition
Variables
ABS(a)
absolute value of a
Examples: ABS(-12) (returns the value 12)
ABS(13.5+E3)
EXP(a)
exponential function e
a
Examples: EXP(1) (returns the value 2.718)
EXP(E1/100)
INT(a)
integer portion of a
Examples: INT(8.3) (returns the value 8)
INT(E1)
FRC(a)
decimal portion of a
Examples: FRC(8.3) (returns the value 0.3)
FRC(E1)
Syntax Function
Priority Operator
Note
high ( )
brackets
NOT, !
negation
AND, &
AND linkage
XOR, ^
exclusive OR linkage
low OR, ¦
OR linkage
Edge
Note
/
variable is “TRUE” only with rising edge (e.g. /B1)
\
variable is “TRUE” only with falling edge (e.g. \B1)
Variable name
Note
RXK1
RXK2
controller output 1
controller output 2
ADRB
storage address (binary)
Lk1
…
LK8
output limit comparator 1
…
output limit comparator 8
B1
…
B8
logic input 1
…
logic input 8
SK1
…
SK8
operating contact 1
…
operating contact 8
L1
logic 1
L2
logic 2