Файл: Programmable logic controllers. Methods and Applications (Hackworth J., Prentice Hall).pdf

ВУЗ: Не указан

Категория: Не указан

Дисциплина: Не указана

Добавлен: 15.06.2025

Просмотров: 2108

Скачиваний: 0

ВНИМАНИЕ! Если данный файл нарушает Ваши авторские права, то обязательно сообщите нам.

Chapter 1 - Ladder Diagram Fundamentals

is pressed, we have a current path through the pressed switch to the coil of TDR1. The time delay relay TDR1 begins to count time. As long as we hold either switch depressed,

TDR1 will time out in ½ second. When this happens, the N/C TDR1 contact in the first rung will open, and the rung will be disabled from energizing, which, in turn, prevents the machine from running. At this point, the only way the first rung can be enabled is to first reset the time delay relay by releasing both S1 and S2.

If S1 and S2 are both pressed within ½ second of each other, the TDR1 N/C contact in the first rung will have not yet opened and CR1 will be energized. When this happens, the N/O CR1 contact in the first rung seals across the TDR1 contact so that when the time delay relay TDR1 times out, the first rung will not be disabled. As long as we hold both palm switches on, CR1 will remain on and TDR1 will remain timed out.

If we momentarily release either of the palm switches, CR1 de-energizes. When this happens, we loose the sealing contact across the N/C TDR1 contact in the first rung. If we re-press the palm switch, CR1 will not re-energize because TDR1 is still timed out and is holding its N/C contact open in the first rung. The only way to get CR1 re-energized is to reset TDR1 by releasing both S1 and S2 and then pressing both again.

LEFT

RIGHT

RUN

START

START

TDR1

CR1

S1

S2

CR1

TDR1, 0.5s

S1

ANTI-TIE DOWN

S2

Figure 1-32 - 2-Handed Operation with Anti-Tie Down and

Anti-Repeat

Single Cycle

When actuated, the machine must perform only one cycle and then stop, even if the operator is still depressing the RUN switches. This prevents surprises and possible injury for the operator if the machine should inadvertently go through a second cycle. Therefore,

1-24

Chapter 1 - Ladder Diagram Fundamentals

circuitry is usually needed to assure that once the machine has completed one cycle of operation, it stops and waits for the RUN switch(es) to be released and then pressed again.

In order for the circuitry to be able to determine where the machine is in its cycle, a cam-operated limit switch (like the one previously illustrated in Figure 1-11) must be installed on the machine as shown in Figure 1-33. The cam is mounted on the mechanical shaft of the machine which rotates one revolution for each cycle of the machine. There is a spring inside the switch that pushes the actuator button, lever arm, and roller to the right and keeps the roller constantly pressed against the cam surface. The mechanism is adjusted so that when the cam rotates, the roller of the switch assembly rolls out of the detent in the cam which causes the lever arm to press the switch’s actuator button. The actuator remains pressed until the cam makes one complete revolution and the detent aligns with the roller.

ROLLER CAM

ACTUATOR BUTTON

TERMINALS

C

N/O

LEVER ARM

PIVOT

N/C

SWITCH

Figure 1-33 - Cam-operated Limit Switch

The cam is aligned on the shaft so that when the machine is at the stopping point in its cycle (i.e., between cycles), the switch roller is in the cam detent. The switch has three terminals, C (common, or wiper), N/O (normally open), and N/C (normally closed).

When the machine is between cycles, the N/O terminal is open and the N/C is connected to C. While the machine is cycling, the N/O is connected to C and the N/C is open.

The circuit to implement the single-cycle feature is shown in Figure 1-34. Note that we will be using both the N/O and N/C contacts of the cam-operated limit switch LS1. Also note that, for the time being, the START switch S1 is shown as a single pushbutton switch. Later we will add the 2-handed anti-tie down, and anti-repeat circuitry to make a complete cycle control system. Follow along on the ladder diagram as we analyze how this circuit works.

1-25


Chapter 1 - Ladder Diagram Fundamentals

START

RUN

CR1

S1

CR1

CR3

RUN LATCH

CYCLE

CR2

LS1A

CYCLE

CR1

CYCLE LOCK

LS1B

CR3

CR3

Figure 1-34 - Single-Cycle Circuit

When the rails are energized, we will assume that the machine is mechanically positioned so that the cam switch is sitting in the cam detent (i.e., the N/O contact LS1A is open and the N/C contact LS1B is closed). At this point, CR1 in the first rung will be off (because the START switch has not yet been pressed), CR2 in the second rung is off (because CR1 is off and LS1A is open), and CR3 in the third rung is on because LS1B is closed and the N/C CR1 contact is closed. As soon as CR3 energizes, the CR3 N/O contact in the third rung closes. At this point, the circuit is powered and the machine is stopped, but ready to cycle.

Now we press the START switch S1. This energizes CR1. In the second rung, the

N/O CR1 contact closes. Since the N/O CR3 contact is already closed (because CR3 is on), CR2 energizes. This applies power to the machine and causes the cycle to begin.

As soon as the cam switch rides out of the cam detent, LS1A closes and LS1B opens. When this happens, LS1A in the second rung seals CR2 on. In the third rung,

LS1B opens which de-energizes CR3. Since CR2 is still on, the machine continues in its cycle. The operator may or may not release the START switch during the cycle. However, in either case it will not affect the operation of the machine. We will analyze both cases:

1. If the operator does release the START switch before the machine finishes it’s cycle, CR1 will de-energize. However, in the second rung it has no immediate effect

1-26

Chapter 1 - Ladder Diagram Fundamentals

because the contacts CR1 and CR3 are sealed by LS1A. Also, in the third rung, it has no immediate affect because LS1B is open which disables the entire rung. Eventually, the machine finishes it’s cycle and the cam switch rides into the cam detent. This causes LS1A to open and LS1B to close. In the third rung, since the N/C CR1 contact is closed (CR1 is off because S1 is released), closing LS1B switches on CR3. In the second rung, when LS1A opens CR2 de-energizes (because the N/O CR1 contact is open). This stops the machine and prevents it from beginning another cycle. The circuit is now back in it’s original state and ready for another cycle.

2. If the operator does not release the START switch before the machine finishes it’s cycle, CR1 remains energized. Eventually, the machine finishes it’s cycle and the cam switch rides into the cam detent. This causes LS1A to open and LS1B to close. In the third rung, the closing of LS1B has no effect because N/C CR1 is open. In rung 2, the opening of LS1A causes CR2 to de-energize, stopping the machine. Then, when the operator releases S1, CR1 turns off, and CR3 turns on. The circuit is now back in it’s original state and ready for another cycle.

There are some speed limitations to this circuit. First, if the machine cycles so quickly that the cam switch “flies” over the detent in the cam, the machine will cycle endlessly. One possible fix for this problem is to increase the width of the detent in the cam. However, if this fails to solve the problem, a non-mechanical switch mechanism must be used. Normally, the mechanical switch is replaced by an optical interrupter switch and the cam is replaced with a slotted disk. This will be covered in a later chapter. Secondly, if the machine has high inertia, it is possible that it may “coast” through the stop position. In this case, some type of electrically actuated braking system must be added that will quickly stop the machine when the brakes are applied. For our circuit, the brakes could be actuated by a N/C contact on CR2.

Combined Circuit

Figure 1-35 shows a single cycle circuit with the START switch replaced by the two rungs that perform the 2-handed, anti-tie down, and anti-repeat functions. In this circuit, when both palm switches are pressed within 0.5 second of each other, the machine will cycle once and stop, even if both palm switches remain pressed. Afterward, both palm switches must be released and pressed again in order to make the machine cycle again.

1-27


Chapter 1 - Ladder Diagram Fundamentals

LEFT

START

S1

S1

S2

CR1

CYCLE

LS1A

CYCLE

LS1B

RIGHT

START RUN TDR1 CR1

S2

CR1

TDR1, 0.5s

ANTI-TIE DOWN

CR3

RUN LATCH

CR2

CR1

CYCLE LOCK

CR3

CR3

Figure 1-35 - 2-Handed, Anti-Tie Down, Anti-Repeat, Single-

Cycle Circuit

1-28


Chapter 1 - Ladder Diagram Fundamentals

1-5. Machine Control Terminology

There are some words that are used in machine control systems that have special meanings. For safety purposes, the use of these words is explicit and can have no other meaning. They are generally used when naming control circuits, labeling switch positions on control panels, and describing modes of operation of the machine. A list of some of the more important of these terms appears below.

ON

This is a machine state in which power is applied to the machine and

to the machine control circuits. The machine is ready to RUN. This

is also sometimes call the STANDBY state.

OFF

Electrically, the opposite of ON. Power is removed from the machine

and the machine control circuits. In this condition, pressing any

switches on the control panel should have no effect.

RUN

A state in which the machine is cycling or performing the task for

which it is designed. This state can only be started by pressing RUN

switches. Don’t confuse this state with the ON state. It is possible for

a machine to be ON but not RUNNING.

STOP

The state in which the machine is ON but not RUNNING. If the machine is

RUNNING, pressing the STOP switch will cause RUNNING to cease.

JOG

A condition in which the machine can be “nudged” a small amount to

allow for the accurate positioning of raw material while the operator is

holding the material. The machine controls must be designed so that

the machine cannot automatically go from the JOG condition to the

RUN condition while the operator is holding the raw material.

INCH

Same as JOG.

CYCLE

A mode of operation in which the machine RUNs for one complete

operation and then automatically STOPs. Holding down the CYCLE

button will not cause the machine to RUN more than one cycle. In

order to have the machine execute another CYCLE, the CYCLE

button must be released and pressed again. This mode is sometimes

called SINGLE CYCLE.

1-29


Chapter 1 - Ladder Diagram Fundamentals

2 HAND OPERATION

A control design method in which a machine will not RUN or CYCLE unless two separate buttons are simultaneously pressed. This is used on machines where it is dangerous to hand-feed the machine while it is cycling. The two buttons are positioned apart so that they both cannot be pressed by one arm (e.g., a hand and elbow). Both buttons must be released and pressed again to have the machine start another cycle.

1-6. Summary

Although this chapter gives the reader a basic understanding of conventional machine controls, it is not intended to be a comprehensive coverage of the subject. Expertise in the area of machine controls can best be achieved by actually practicing the trade under the guidance of experienced machine controls designers. However, an understanding of basic machine controls is the foundation needed to learn the programming language of Programmable Logic Controllers. As we will see in subsequent chapters, the programming language for PLCs is a graphic language that looks very much like machine control electrical diagrams.

1-30

Chapter 1 - Ladder Diagram Fundamentals

Chapter 1 Review Questions

1.What is the purpose of the control transformer in machine control systems?

2.Whys are fuses necessary in controls circuits even though the power mains may already have circuit breakers?

3.What is the purpose of the shrouded pushbutton actuator?

4.Draw the electrical symbol for a two-position selector switch with one contact. The switch is named “ICE” and the selector positions are “CUBES” on the left and “CRUSHED” on the right. The contact is to be closed when the switch is in the “CUBES” position.

5.Draw an electrical diagram rung showing a N/O contact CR5 in series with a N/C contact CR11, operating a lamp L3.

6.A delay-on (TON) relay has a preset of 5.0 seconds. If the coil terminals are energized for 8 seconds, how long will its contacts be actuated.

7.If a delay-on (TON) relay with a preset of 5.0 seconds is energized for 3 seconds, explain how it reacts.

8.If a delay-off (TOF) relay with a preset of 5.0 seconds is energized for 1 second, explain how the relay reacts.

9.Draw a ladder diagram rung similar to Figure 1-30 that will cause a lamp L5 to illuminate when relay contacts CR1 is ON, CR2 is OFF, and CR3 is OFF.

10.Draw a ladder diagram rung similar to Figure 1-30 that will cause a lamp L7 to be OFF when relay CR2 is ON or when CR3 is OFF. L7 should be ON at all other times. (Hint: Make a table showing all the possible states of CR2 and CR3 and mark the combinations that cause L7 to be OFF. All those not marked must be the ones when L7 is ON.)

11.Draw a ladder diagram rung similar to Figure 1-30 that will cause relay CR10 to energize when either CR4 and CR5 are ON, or when CR4 is OFF and CR6 is ON. Then add a second rung that will cause lamp L3 to illuminate 4 seconds after CR10 energizes.

1-31