EasyManua.ls Logo

Omron CJ - INSTRUCTIONS

Omron CJ - INSTRUCTIONS
1308 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
157
3. Instructions
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Sequence Input Instructions
3
OR TST/OR TSTN
Function
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).
Example Programming
i
z OR TST
OR TST(350) is used in the program like OR; the execution condition is ON when the specified bit in the
specified word is ON, and OFF when the bit is OFF.
z OR TSTN
OR TSTN(351) is used in the program like OR NOT; the execution condition is OFF when the specified
bit in the specified word is ON, and ON when the bit is OFF.
&3
In the left example, CIO 0.01 is turned ON
when CIO 0.00 or bit 3 of D10 is ON.
In the left example, CIO 0.01 is turned ON
when CIO 0.00 is ON or bit 3 of D10 is OFF.
&3
D10
D10
0.01
0.01
0.00
0.00

Table of Contents

Related product manuals