Part 4 Commands
1.4 Logical Operation
AND (Logical AND)
Extension condition
(LD, A, O, AB, OB)
Input condition
(I/O, flag)
Output
(Output, flag)
Operand 1 Operand 2
Optional Optional AND
Variable
number
Data ZR
Assign the logical AND operation result of the content of the variable specified in operand 1
and the value specified in operand 2, to the variable specified in operand 1.
The output will turn ON when the operation result becomes 0.
Assign 204 to variable 1.
Assign the logical AND operation result (136) of the
content of variable 1 (204) and 170, to variable 1.
Assign 204 to variable 2.
Assign 170 to variable 3.
Assign the logical AND operation result (136) of the
content of variable 1 (which is variable 2, or 204) and
the content of variable 3 (170), to the content of
AND 170
AND 10101010
Kommentare zu diesen Handbüchern