Omron CPM1 - PROGRAMING MANUAL 02-2001 Programming Manual page 365

Hide thumbs Also See for CPM1 - PROGRAMING MANUAL 02-2001:
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
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 mne-
monic 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 com-
bines 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
LR 0000
00000
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
Address
LR 0000
00000
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
Address Instruction
LR 0000
00000
00001
00002
00003
00004
00005
00006
00007
00008
00009
Blocks d and e
Block c with result of above
00010
Block b with result of above
00011
Block a with result of above
00012
Section
Instruction
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
Instruction
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
6-3
--
--
--
--
--
--
--
--
--
--
347

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CPM1 - PROGRAMING MANUAL 02-2001 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents