Basic Ladder Diagrams
4-3-7
Coding Multiple Right-hand Instructions
tion condition of block c with the execution condition resulting from the nor-
mally closed condition assigned IR 00003. The rest of the diagram can be
coded with OR, AND, and AND NOT instructions. The logical flow for this
and the resulting code are shown below.
Block a
00000
00001
LD
00000
AND
00001
OR LD
00500
OR
00500
00002
00003
AND
00002
AND NOT 00003
Address Instruction
00000
LD
00001
AND
00002
LD
00003
AND
00004
OR LD
00005
OR
00006
AND
00007
AND NOT
00008
LD
00009
AND
00010
OR
00011
AND LD
00012
OUT
If there is more than one right-hand instruction executed with the same exe-
cution condition, they are coded consecutively following the last condition on
Block b
01000
01001
LD
01000
AND
01001
Block c
00004
00005
LD
00004
AND
00005
00006
OR
00006
AND LD
00500
Operands
00000
00001
01000
01001
--
00500
00002
00003
00004
00005
00006
--
00500
Section 4-3
57