VA Motion Controller Programming Manual
162
Note : IL, ST language programming needs to insert variables IN1, IN2 and OUT or use
constants in the current POU variable worksheet
Data type processed by
NE
instruction
Result :
When
IN1 <> IN2
,
OUT
is
1;
When
IN1 = IN2
,
OUT
is
0;
Funtion and Action examples
Compare the values
of addresses V517 and V518
When
the contact C300 is ON when this instruction
is executed, the address V5 . 17 values
of the address V5 18 is the value of
the comparison, the output is not equal to 1
Execution result: V517 * V5 18 =V5 19
10.1.32 NOT ( logical non-instruction )
LD, FBD programming language
Function: The
NOT
instruction is used to invert the input value by bit, such
as
BYTE#2#11001100
, which is calculated by
NOT
.
BYTE#2#00110011
.
Note : IL, ST language programming needs to insert variables IN and OUT or use constants in
the current POU variable worksheet