![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_742030213.webp)
173
Sequence Input Instructions
Section 3-3
Description
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.
In the following diagram, the two logic blocks are indicated by dotted lines.
Studying this example shows that an ON execution condition will be produced
when either of the execution conditions in the left logic block is ON (i.e., when
either CIO 000000 or CIO 000001 is ON) and either of the execution condi-
tions in the right logic block is ON (i.e., when either CIO 000002 is ON or
CIO 000003 is OFF).
Flags
There are no flags affected by this instruction.
Precautions
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 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 series.
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 program
error will occur.
Example
Coding Example (1)
LD
LD
AND LD
Logic block A
Logic block B
Serial connection between logic block A and logic block B.
to
to
Instruction
Operand
LD
000000
OR NOT
000001
LD NOT
000002
OR
000003
AND LD
---
LD
000004
OR
000005
Содержание SYSMAC CS Series
Страница 2: ......
Страница 4: ...iv ...
Страница 30: ...xxx ...
Страница 186: ...146 List of Instructions by Function Code Section 2 4 ...
Страница 194: ...154 3 35 4 MOVE BIT MOVBC 568 1273 3 35 5 BIT COUNTER BCNTC 621 1275 3 35 6 GET VARIABLE ID GETID 286 1277 ...
Страница 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Страница 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Страница 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Страница 1392: ...1352 ASCII Code Table Appendix A ...
Страница 1404: ...1364 Revision History ...