Basic Instructions
2 − 144
Outline Performs AND operation by comparing two double word data items with
the comparison condition. The contact goes on or off depending on the
result of the comparison. The contacts are connected in series.
16
Program example
Boolean
Ladder Diagram
Address Instruction
Y30
0
D> =, DT 0, DT100
S1 S2
X0
0
1
10
ST X 0
AND >=
DT 0
DT 100
OT Y 30
S1 32-bit equivalent constant or lower 16-bit area of 32-bit data to be compared
S2 32-bit equivalent constant or lower 16-bit area of 32-bit data to be compared
Operands
modifier
S1 A A A A A A A A A A N/A A A A
S2 A A A A A A A A A A N/A A A A
(*1) This cannot be used with the FP0/FP−e.
(*2) This cannot be used with the FP0/FP0R/FP−e/FPΣ/FP−X.
(*3) With the FPΣ,FP−X, FP0R, FP2, FP2SH, and FP10SH, this is I0 to IC.
(*4) With the FPΣ,FP−X, FP0R, FP2, FP2SH, and FP10SH, this is ID.
AND =
AND <>
AND >
AND >=
AND <
AND <=
32−bit data comparison:
AND equal
32−bit data comparison:
AND equal not
32−bit data comparison:
AND larger
32−bit data comparison:
AND equal or larger
32−bit data comparison:
AND smaller
32−bit data comparison:
AND equal or smaller
A: Available
N/A: Not Available