Logical Or: Orw(035) - Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 Reference Manual

Programmable controllers
Hide thumbs Also See for SYSMAC CJ - REFERENCE MANUAL 08-2008:
Table of Contents

Advertisement

Logic Instructions
Description
Flags
Precautions
Examples

3-13-3 LOGICAL OR: ORW(035)

Purpose
Ladder Symbol
ANDL(610) takes the logical AND of data specified in I
outputs the result to R, R+1.
(I
I
+1), (I
I
+1)
(R, R+1)
1,
1
2,
2
I
I
+1
I
I
1,
1
2,
1
1
1
0
0
1
0
0
Name
Label
Error Flag
ER
Equals Flag
=
Negative Flag
N
When ANDL(610) is executed, the Error Flag will turn OFF.
If as a result of the AND, the content of R, R+1 is 00000000 hex, the Equals
Flag will turn ON.
If as a result of the AND, the leftmost bit of R+1 is 1, the Negative Flag will
turn ON.
When the execution condition CIO 00000000 is ON, the logical AND is taken
of corresponding bits in CIO 0011, CIO 0010 and CIO 0021, CIO 0020 and
the results will be output to corresponding bits in D00201 and D00200.
S
:
0010 CH
1
S
+1: 0011 CH
1
Note: The vertical arrow indicates logical AND.
Takes the logical OR of corresponding bits in single words of word data and/or
constants.
ORW(035)
I
1
I
1
I
2
I
2
R: Result word
R
+1
R, R+1
2
1
0
0
0
Operation
OFF
ON when the result is 0.
OFF in all other cases.
ON when the leftmost bit of R is 1.
OFF in all other cases.
S
:
0020 CH
2
S
+1: 0021 CH
2
: Input 1
: Input 2
Section 3-13
I
+1 and I
I
+1 and
1,
1
2,
2
D:
D00200
D+1: D00201
551

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cs seriesSysmac one nsj seriesSysmac cj series

Table of Contents