Omron SYSMAC mini SP10 Operation Manual page 56

Table of Contents

Advertisement

Basic Programming
Block
Block
a1
b1
0000
0001
0004
0002
0003
0008
Block
Block
a2
b2
Block
Block
a
b
0000
0002
0004
0005
0106
0107
48
ever, OR LOAD must be used to combine the top and bottom blocks on both
sides, i.e., to combine a1 and a2; b1 and b2.
0005
0103
0009
The following type of diagram can be coded easily if each block is coded in
order: first top to bottom and then left to right. In the following diagram,
blocks a and b would be combined using AND LOAD as shown above, and
then block c would be coded and a second AND LOAD would be used to
combined it with the execution condition from the first AND LOAD. Then
block d would be coded, a third AND LOAD would be used to combine the
execution condition from block d with the execution condition from the sec-
ond AND LOAD, and so on through to block n.
Block a
Block b
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.
0001
0003
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.
Address Instruction
000
LD
001
AND NOT
002
LD NOT
003
AND
004
OR LD
005
LD
006
AND
007
LD
008
AND
009
OR LD
010
AND LD
011
OUT
Block c
Block n
Address
Instruction
LR 0000
000
LD
001
LD
002
LD
003
AND NOT
004
OR LD
005
AND LD
006
LD NOT
007
AND
008
OR LD
009
LD NOT
010
AND
011
OR LD
012
OUT
Section 3-4
Operands
0000
0001
0002
0003
Blocks a1
0004
and a2
0005
0008
0009
Blocks b1
and b2
Blocks a
and b
0103
0100
Operands
0000
0001
0002
0003
--
--
0004
0005
--
0106
0107
--
LR
0000

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SYSMAC mini SP10 and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Sysmac mini sp16Sysmac mini sp20

Table of Contents