And Ld/Or Ld - Omron CJ - REFERENCE MANUAL 02-2010 Reference Manual

Table of Contents

Advertisement

3. Instructions

AND LD/OR LD

Instruction
AND LOAD
OR LOAD
Symbol
Applicable Program Areas
Function block
Area
definitions
Usage
OK
Flags
There are no flags affected by this instruction.
Function
AND LD
AND LD connects in series the logic block just before
this instruction with another logic block.
The logic block consists of all the instructions from a
LOAD or LOAD NOT instruction until just before the
next LOAD or LOAD NOT instruction on the same
rungs.
OR LD
OR LD connects in parallel the logic block just before
this instruction with another logic block.
The logic block consists of all the instructions from a
LOAD or LOAD NOT instruction until just before the
next LOAD or LOAD NOT instruction on the same
rungs.
Hint
AND LD
• Three or more logic blocks can be connected in series using this instruction to first connect two of the
logic blocks and then to connect the next and subsequent ones in order. It is also possible to continue
placing this instruction after three or more logic blocks and connect them together in series.
OR LD
• Three or more logic blocks can be connected in parallel using this instruction to first connect two of
the logic blocks and then to connect the next and subsequent ones in order. It is also possible to
continue placing this instruction after three or more logic blocks and connect them together in
parallel.
144
Mnemonic
Variations
AND LD
---
OR LD
---
AND LD
Logic block
Logic block
Block program areas
Step program areas
OK
OK
Function
code
---
Takes a logical AND between logic blocks.
---
Takes a logical OR between logic blocks.
Logic block
Logic block
Subroutines
Interrupt tasks
OK
LD
Logic block A
to
LD
Logic block B
to
AND LD
Serial connection between logic block A and
logic block B.
LD
Logic block A
to
LD
to
Logic block B
OR LD
Parallel connection between logic block A and
logic block B.
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Function
OR LD
SFC action or
transition programs
OK
OK

Advertisement

Table of Contents
loading

Table of Contents