Omron CS1G/H-CPUxxH Instructions Manual page 186

Sysmac cs series; sysmac cj series
Hide thumbs Also See for CS1G/H-CPUxxH:
Table of Contents

Advertisement

Sequence Input Instructions
Precautions
Examples
Name
Equals Flag
Negative Flag
Note In CS1 and CJ1 CPU Units, these are turned OFF.
In CS1-H, CJ1-H, and CJ1M CPU Units, these Flags are left unchanged.
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).
LD TST(350) and LD TSTN(351)
In the following example, CIO 000001 is turned ON when bit 3 of D00010 is
ON.
In the following example, CIO 000001 is turned ON when bit 3 of D00010 is
OFF.
AND TST(350) and AND TSTN(351)
In the following example, CIO 000001 is turned ON when CIO 000000 and bit
3 of D00010 are both ON.
In the following example, CIO 000001 is turned ON when CIO 000000 is ON
and bit 5 of D00010 is OFF.
OR TST(350) and OR TSTN(351)
In the following example, CIO 000001 is turned ON when CIO 000000 or bit 3
of D00010 is ON.
Label
=
OFF or unchanged (See note.)
N
OFF or unchanged (See note.)
&3
&3
&3
&5
&3
Section 3-3
Operation
165

Advertisement

Table of Contents
loading

Table of Contents