Manual – IPOSplus®
359
23
Comparison commands
Assembler – Commands
NOTL/LOGICAL
NOT
The NOTL command carries out the logical negation of a variable. The result is written
to variable X1. Variable X2 remains unchanged. The result is one when variable X2 = 0.
The result is zero when variable X2 != 0.
Structure
Example 1
SET H02 = 100
NOTL H01 NOT
(H02)
After the program has been processed, H01 has the value zero.
Example 2
SET H02 = 0
NOTL H01 NOT
(H02)
After the program has been processed, H01 has the value one.
Command structure
Mxxx NOTL X1 = NOT (X2)
Mxxx: Label
(optional)
X1:
Variable (result)
X2:
Variable
P
i
f
kVA
Hz
n
P
i
f
kVA
Hz
n