Rockwell Automation 1761-HHP-B30 MicroLogix 1000 with Hand-Held Programmer (HHP) User Manual

Page 310

Advertising
background image

Chapter 16
Instruction List Programming

16–6

Output Branching with Block Connections

The example below shows how you use ANB and ORB instructions in a
rung’s output circuit. (See page 8–12 for more information regarding the use
of these instructions.)









NEW RUNG
LD a

 MPS

LD b
AND c
OR d

 ANB

OUT e

 MPP

LD f
AND g
LD h
AND i

 ORB

 ANB

AND j
OUT k

Optimized

h

i

a

f

g

d

b

c

j

k

e

NEW RUNG
LD a
MPS
LD b
LD c
ANB
LD d
ORB
ANB
OUT e
MPP
LD f
LD g
ANB
LD h
LD i
ANB
ORB
ANB
AND j
OUT k

Option 1



Nested Output Branches

The example below requires multiple MPS/MPP instructions in a rung. (See
page 8–10 for more information regarding the use of these instructions.)







NEW RUNG
LD a

 MPS

AND b
OUT c

 MRD

AND d

 MPS

AND e
OUT f

 MPP

AND g
OUT h

 MPP

AND i
OUT j

Optimized

d

i

a

g

b

c

NEW RUNG
LD a
MPS
LD b
ANB
OUT c
MRD
LD d
ANB
MPS
LD e
ANB
OUT f
MPP
LD g
ANB
OUT h
MPP
LD i
ANB
OUT j

Option 1

f

j

h

e





Advertising