Basic Instructions
2 − 136
Outline Performs start operation by comparing two word data items with the
comparison condition. The contact goes on or off depending on the
result of the comparison.
Program example
Boolean
Ladder Diagram
Address Instruction
Y30
0
=, DT 0, K 50
S1 S2
Y31
6
>=, DT0, K60
S1 S2
0
5
6
11
ST =
DT 0
K50
OT Y 30
ST > =
DT 0
K60
OT Y 31
S1 16-bit equivalent constant or 16-bit area to be compared
S2 16-bit equivalent constant or 16-bit area to be compared
Operands
modifier
S1 A A A A A A A A A A A A A A
S2 A A A A A A A A A A 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.
ST =
ST <>
ST >
ST >=
ST <
ST <=
16−bit data comparison: Start equal
16−bit data comparison: Start equal not
16−bit data comparison: Start larger
16−bit data comparison: Start equal
or larger
16−bit data comparison: Start smaller
16−bit data comparison: Start equal
or smaller
A: Available