Omron CJ - REFERENCE MANUAL 02-2010 Reference Manual page 473

Table of Contents

Advertisement

Function
ANDW
ANDW(034) takes the logical AND of data specified in
I
and I
and outputs the result to R.
1
2
ANDL
ANDL(610) takes the logical AND of data specified in
I
, I
+1 and I
, I
+1 and outputs the result to R, R+1.
1
1
2
2
Example Programming
When the execution condition CIO 0.00 is ON, the logical AND is taken of corresponding bits in CIO 11,
CIO 10 and CIO 21, CIO 20 and the results will be output to corresponding bits in D201 and D200.
0.00
CS/CJ/NSJ Series Instructions Reference Manual (W474)
S
1
10
20
D200
Note: The vertical arrow indicates logical AND.
I
, I
R
1
2
I
1
1
1
0
0
(I
I
+1) (I
I
+1)
1,
1
2,
2
I
I
+1
1,
1
1
1
0
0
S
: 10CH
S
: 20CH
1
2
+1: 11CH
S
+1: 21CH
2
3. Instructions
I
R
2
1
1
0
0
1
0
0
0
(R, R+1)
I
I
+1
R, R+1
2,
2
1
1
0
0
1
0
0
0
D: D200
D+1: D201
3
437

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CJ - REFERENCE MANUAL 02-2010 and is the answer not in the manual?

Table of Contents