Omron CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009 Reference Manual page 188

Programmable controllers
Hide thumbs Also See for CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009:
Table of Contents

Advertisement

Function
AND TST
AND TST(350) is used in the program like AND; the execution condition is ON when the specified bit in
the specified word is ON, and OFF when the bit is OFF.
AND TSTN
AND TSTN(351) is used in the program like AND NOT; the execution condition is OFF when the
specified bit in the specified word is ON, and ON when the bit is OFF.
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).
Sample program
0.00
0.00
CS/CJ/NSJ Series Instructions Reference Manual (W474)
i
0.01
In the left example, CIO 0.01 is turned ON when
CIO 0.00 and bit 3 of D10 are both ON.
D10
&3
0.01
In the left example, CIO 0.01 is turned ON when
CIO 0.00 is ON and bit 5 of D10 is OFF.
D10
&5
3. Instructions
3
151

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009 and is the answer not in the manual?

Questions and answers

Table of Contents