Rockwell Automation 1772-L8_LW_LWP_LX_LXP,D17726.5.8 User Manual User Manual

Page 23

Advertising
background image

Fundamentals of a

Programmable Controller

Chapter 2

2-9

Let’s look at a simple example to see the sequence of events that take place
in controlling a machine with a programmable controller (Figure 2.1).
Suppose you are making a part. The motor driven conveyor carries a unit
to the work area. The limit switch detects wen the part arrives at the work
area. when that happens, we want the conveyor to stop so you can work on
the part.

Figure 2.1

A Simplified Example of a Machine with a Programmable Controller

Conveyor

Motor

Limit

Switch

Conveyor

Unit

Controller

Input

Output

11594

Notice how the limit switch and motor are wired to the programmable
controller. The limit switch, wired to terminal 02, is normally-closed. The
arriving part will open the switch. Therefore, the program statement
controlling the conveyor motor must read: “If there is voltage at input
terminal 02 (limit switch), then energize output terminal 02 (conveyer
motor).” The conveyor motor is wired to output terminal 02.

Important: Figure 2.1 is for demonstration purposes only. We do not
show the associated wiring, a motor starter, or an emergency stop button.

Since the limit switch is wired normally-closed, the conveyor motor runs
until the arriving part opens the switch. At that time, the condition for
energizing the motor is not longer met. Therefore, the motor is
de-energized.

When the condition is met, we say it is true. When the condition is not
met, we say it is false. There may be more than one condition which must
be met before an action is executed. When all the conditions are met, the
action is executed and we say the statement is true. When one or more of
the conditions are false, the action is not executed and we say the statement
is false.

Control Sequence

Advertising