Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual page 214

Sysmac cs/cj/one nsj series programmable controllers
Table of Contents

Advertisement

Sequence Input Instructions
Applicable Program Areas
Description
Flags
Precautions
Example
Block program areas
OK
OK
AND LD connects in parallel the logic block just before this instruction with
another logic block.
LD
Logic block A
to
LD
to
Logic block B
OR LD
Parallel connection between logic block A and logic block B.
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.
The following diagram requires an OR LOAD instruction between the top logic
block and the bottom logic block. An ON execution condition would be pro-
duced either when CIO 000000 is ON and CIO 000001 is OFF or when
CIO 000002 and CIO 000003 are both ON. The operation of and mnemonic
code for the OR LOAD instruction is exactly the same as those for a AND
LOAD instruction except that the current execution condition is ORed with the
last unused execution condition.
There are no flags affected by this instruction.
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 subse-
quent ones in order. It is also possible to continue placing this instruction after
three or more logic blocks and connect them together in parallel.
When a logic block is connected by AND LOAD or OR LOAD instructions, the
total number of AND LOAD/OR LOAD instructions must match the total num-
ber of LOAD/LOAD NOT instructions minus 1. If they do not match, a pro-
gramming error will occur.
Step program areas
Subroutines
OK
Section 3-3
Interrupt tasks
OK
175

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents