Coding Multiple Right-Hand Instructions - Omron SYSMAC mini SP10 Operation Manual

Table of Contents

Advertisement

Basic Programming
Block a
0000
0001
LD
0000
AND
0001
0100
OR
0002
AND
AND NOT 0003
3-4-7

Coding Multiple Right-hand Instructions

50
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 fol-
lows:
Block a
0000
0001
0010
0011
0100
Block b
The first logic block instruction is used to combine the execution conditions
resulting from blocks a and b, and the second one is to combine the execu-
tion condition of block c with the execution condition resulting from the nor-
mally closed condition assigned bit 0003. 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
0010
0011
LD
0010
AND
0011
OR LD
LD
0100
AND
0003
0002
LD
AND LD
0100
If there is more than one right-hand instruction executed with the same ex-
ecution condition, they are coded consecutively following the last condition
0002
0003
0004
0005
0106
Address
000
001
Block c
002
0004
0005
003
004
0004
0005
005
006
0106
007
008
0106
009
010
011
012
Section 3-4
0100
Block c
Instruction
Operands
LD
0000
AND
0001
LD
0010
AND
0011
OR LD
OR
0100
AND
0002
AND NOT
0003
LD
0004
AND
0005
OR
0106
AND LD
OUT
0100
--
--

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?

This manual is also suitable for:

Sysmac mini sp16Sysmac mini sp20

Table of Contents