Basic Instructions
2 − 138
Outline Performs start 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.
13
Program example
Boolean
Ladder Diagram
Address Instruction
D=, DT0, DT100
Y30
0
S1 S2
Y31
10
S1 S2
D>, DT0, DT100
0
9
10
19
STD =
DT 0
DT 100
OT Y 30
STD >
DT 0
DT 100
OT Y 31
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/FP−e/FPΣ/FP−X/FP0R.
(*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.
STD =
STD <>
STD >
STD >=
STD <
STD <=
32−bit data comparison:
Start equal
32−bit data comparison:
Start equal not
32−bit data comparison:
Start larger
32−bit data comparison:
Start equal or larger
32−bit data comparison:
Start smaller
32−bit data comparison:
Start equal or smaller
A: Available
N/A: Not Available