Omron CQM1H - PROGRAM Programming Manual page 217

Programmable controllers; inner boards
Table of Contents

Advertisement

Basic Ladder Diagrams
00000
00002
00004
00005
00006
00007
00002
00003
00001
00004
00005
00006
00007
00000
00001
00002
Block b
Block a
Block c
00003
00004
192
The following diagram requires an OR LOAD followed by an AND LOAD to
code the top of the three blocks, and then two more OR LOADs to complete
the mnemonic code.
00001
00003
Although the program will execute as written, this diagram could be drawn as
shown below to eliminate the need for the first OR LOAD and the AND LOAD,
simplifying the program and saving memory space.
00000
The following diagram requires five blocks, which here are coded in order
before using OR LOAD and AND LOAD to combine them starting from the
last two blocks and working backward. The OR LOAD at program address
00008 combines blocks d and e, the following AND LOAD combines the
resulting execution condition with that of block c, etc.
Block d
00005
00006
00007
Block e
Address Instruction
LR 0000
00000
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
Address Instruction
00000
LR 0000
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
Address Instruction
LR 0000
00000
00001
00002
00003
00004
00005
00006
00007
00008
Blocks d and e
00009
Block c with result of above
00010
Block b with result of above
00011
Block a with result of above
00012
Section 4-3
Operands
LD
00000
LD
00001
LD
00002
AND NOT
00003
OR LD
AND LD
LD NOT
00004
AND
00005
OR LD
LD NOT
00006
AND
00007
OR LD
OUT
LR
0000
Operands
LD
00002
AND NOT
00003
OR
00001
AND
00000
LD NOT
00004
AND
00005
OR LD
LD NOT
00006
AND
00007
OR LD
OUT
LR
0000
Operands
LD
00000
LD
00001
AND
00002
LD
00003
AND
00004
LD
00005
LD
00006
AND
00007
OR LD
AND LD
OR LD
AND LD
OUT
LR
0000
--
--
--
--
--
--
--
--
--
--

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cqm1h seriesSysmac cqm1h-cpu series

Table of Contents