Omron C200HX Operation Manual page 105

Hide thumbs Also See for C200HX:
Table of Contents

Advertisement

Basic Ladder Diagrams
00006
00007
00003
00005
00001
00002
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
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
condition 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
00004
LD
00500
AND
00003
00006
00002
LD
AND LD
00500
Address Instruction
00000
LR 0000
00001
00002
00003
00004
00005
00006
00007
00008
00009
Block a
00001
00002
00003
00004
01001
00006
Block b
Address
Instruction
00000
LD
00001
AND
Block c
00002
LD
00005
00003
AND
00004
OR LD
00004
00005
OR
00005
00006
AND
00007
AND NOT
00008
LD
00009
AND
00006
00010
OR
00011
AND LD
00012
OUT
Section 4-4
Operands
LD
00006
AND
00007
OR
00005
AND
00003
AND
00004
LD
00001
AND
00002
OR LD
AND
00000
OUT
LR
0000
00005
00500
Block c
Operands
00000
00001
01000
01001
––
00500
00002
00003
00004
00005
00006
––
00500
––
87

Advertisement

Table of Contents
loading

This manual is also suitable for:

C200hgC200he

Table of Contents