112
Sequence Input Instructions Section 3-2
Precautions TST(350) and TSTN(351) are intermediate instructions, i.e., they cannot be
used as right-hand instructions. Be sure to program a right-hand instruction
after TST(350) or TSTN(351).
Examples LD TST(350) and LD TSTN(351)
In the following example, CIO 100.01 is turned ON when bit 3 of D10 is ON.
In the following example, CIO 100.02 is turned ON when bit 3 of D10 is OFF.
AND TST(350) and AND TSTN(351)
In the following example, CIO 100.01 is turned ON when CIO 0.00 and bit 3 of
D10 are both ON.
In the following example, CIO 100.02 is turned ON when CIO 0.01 is ON and
bit 3 of D10 is OFF.
OR TST(350) and OR TSTN(351)
In the following example, CIO 100.01 is turned ON when CIO 0.00 or bit 3 of
D10 is ON.
&3
D10
100.01
&3
D10
100.02
&3
0.00
100.01
D10
&3
0.01
100.02
D10
&3
0.00
D10
100.01