Omron SYSMAC C200HS Operation Manual page 87

Programmable controllers
Hide thumbs Also See for SYSMAC C200HS:
Table of Contents

Advertisement

Basic Ladder Diagrams
00006
00007
00003
00005
00001
Block a
00000
00001
LD
00000
AND
00001
00500
OR
00002
AND
AND NOT 00003
Again, this diagram can be redrawn as follows to simplify program structure and
coding and to save memory space.
00004
00000
00002
The next and final example may at first appear very complicated but can be
coded using only two logic block instructions. The diagram appears as follows:
00000
01000
00500
The first logic block instruction is used to combine the execution conditions re-
sulting from blocks a and b, and the second one is to combine the execution con-
dition of block c with the execution condition resulting from the normally 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 b
01000
01001
LD
01000
AND
01001
OR LD
00500
00003
00002
AND LD
00500
Address Instruction
LR 0000
00000
00001
00002
00003
00004
00005
00006
00007
00008
00009
Block a
00001
00002
00003
01001
Block b
Address
00000
00001
Block c
00002
00004
00005
00003
00004
LD
00004
00005
AND
00005
00006
00006
00007
00008
00009
LD
00006
00010
00011
00012
Section 4-4
Operands
LD
AND
OR
AND
AND
LD
AND
OR LD
AND
OUT
LR
00004
00005
00500
00006
Block c
Instruction
Operands
LD
00000
AND
00001
LD
01000
AND
01001
OR LD
OR
00500
AND
00002
AND NOT
00003
LD
00004
AND
00005
OR
00006
AND LD
OUT
00500
00006
00007
00005
00003
00004
00001
00002
––
00000
0000
––
––
77

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents