16 - instruction list programming, Programming examples, Instruction list programming – Rockwell Automation 1761-HHP-B30 MicroLogix 1000 with Hand-Held Programmer (HHP) User Manual

Page 305

Advertising
background image

16

Chapter

16–1

Instruction List Programming

This chapter uses programming examples to teach you instruction list
programming. The chapter also lists programming considerations.

In the section Applying Logic to Your Schematics, page 6–11, you learned
the concepts behind ladder logic. You were also shown the instruction list
(Boolean) equivalent of a simple rung of logic. This section builds on that
by showing you some more rung examples and their equivalent instruction
list(s).

Important: Although the rung examples shown here use only bit

instructions, you can apply the methodology that is shown to
any of the instructions you learned about in chapters 8–14.

Because of the flexibility of instruction list programming, there is often more
than one instruction list representation possible for the same rung. However,
there is always one representation that is considered to be the most
optimized. This is the shortest list representation possible for the rung.

Important: For instruction list programming, you must begin every rung by

pressing the key shown here:

NEW

RUNG

T

To help you remember to do this, each instruction list example
in this chapter begins with the words

NEW RUNG

. (See page

17–2 for more information.)

Input Rung Examples

Examples of input rungs and their optimized instruction list representation
are provided below. Since many of these rungs have more than one possible
instruction list representation, optional representations are shown to the right
of the optimized list.

Series Inputs

This example shows the instruction list for a simple series connection.

a

b

c

NEW RUNG
LD a
AND b
OUT c

Optimized

NEW RUNG
LD a
LD b
ANB
OUT c

Option 1

Programming Examples

Advertising