9 - relay-like instructions, Relayćlike instructions – Rockwell Automation 1772-L8_LW_LWP_LX_LXP,D17726.5.8 User Manual User Manual

Page 127

Advertising
background image

Chapter

9

9-1

RelayĆLike Instructions

This chapter describes the relay-like instructions. This chapter shows
how to:

define the conditions needed before the action takes place
enter, edit or remove relay-like instructions

A program is a list of instructions that the processor executes. These
instructions can examine or change the status of bits in the data table of the
processor. The status of these bits can determine the operation of
other instructions.

The program you specifies the order of things you want done in your
application and the conditions that must be met before those things are
done. For example, if you want a solenoid energized when a limit switch
is closed, you specify:

Condition:

if limit switch is closed

Action:

energize solenoid

Programming logic differs from relay logic in an important way.
Programming logic is only concerned with whether or not conditions have
been met. These conditions may be open or closed input or output devices.
We must have a continuous or unbroken path or true logic conditions for
an action to be taken. The number of conditions is not important. There
can be none, one, or many conditions preceding an output action.

Perhaps an example might make this clearer:

C1

True

C2

True

C3

True

A

True
False

Chapter Objectives

Programming Logic

Advertising