You are on page 1of 6

PLC Design Problems

43.1

Design Problem #1
Press

Pneumatic System #1
Cylinder A Cylinder B

Start pushbutton (X0) Extend Cyl A After full extension of Cyl A, extend Cyl B After full extension of Cyl B, retract both Cyl A & Cyl B

Y1

X1

X2

Y2

X3

X4

PLC wiring diagram - #1


+24VDC Start Cyl A - In Cyl A - Out X2 Cyl B - In X3 Cyl B - Out X4 Inputs X0 X1 Outputs Y1 Sol-B Y2 +24VDC Sol-A

Questions to Ask for Cyl A


What

condition(s) must be true to activate condition(s) Y1 and extend Cyl A?

What

condition(s) must be true to condition(s) deactivate Y1 and retract Cyl A?

Questions to Ask for Cyl B


What

condition(s) must be true to activate condition(s) Y2 and extend Cyl B?

What

condition(s) must be true to condition(s) deactivate Y2 and retract Cyl B?

PLC Design Problems

43.2

Design Problem #2
Press

Cylinder A

Start pushbutton Cylinder A fully extends,


Delay of 5 seconds, then
Cylinder

Sol-A (Y0)

X1

X2

A fully retracts
+24VDC Start Inputs X0 X1 X2 Outputs Y0 +24VDC Sol-A

Cyl A - In Cyl A - Out

Timers (T0 - T377)


When

Timer Operation Delay


On

contacts C6 close, timer T1 will count for 2.5 seconds (K25 = 25 tenths) After 2.5 sec, contacts T1 will close (and stay closed until C6 opens and turns timer off)
C6 TMR T1 K25 T1 Y2

C6
Off 2.5 sec delay On 2.5 sec delay

T1
Off

Questions to Ask for Cyl A


What

condition(s) must be true to activate condition(s) Y0 and extend Cyl A?

What

condition(s) must be true to condition(s) deactivate Y0 and retract Cyl A?

PLC Design Problems

43.3

Design Problem #3
Press

Cylinder B

Start pushbutton (X4) Cycle Cylinder B 3 times


cycle means cylinder fully extends, then fully retracts
+24VDC Start

Sol-B (Y3)

X11

X12

Inputs X4 X11 X12

Outputs Y3

+24VDC Sol-B

Cyl B - In Cyl-B -Out

Counters (CT0 - CT177)


On

Count

X0

Each time contacts X0 close, counter increments by 1 When counter reaches 6 (K6 = 6 counts), counter output CT2 closes When contacts C9 close, counter will reset to zero (and the contacts CT2 will open)

X0 C9 CT2

Off Count Reset CNT CT2 K6 On

CT2
Off On

Y2

C9
Off

Reset

Questions to Ask for Cyl B

What condition(s) must be true to activate Y3 and extend condition(s) Cyl B? What condition(s) must be true to deactivate Y3 and condition(s) retract Cyl B?

What condition(s) must be true to reset the counter? condition(s)

PLC Design Problems

43.4

Design Problem #4
Press

Cylinder A

Cylinder B

Start pushbutton (X0) Extend Cyl A and Cyl C After full extension of Cyl A, extend Cyl B After full extension of Cyl B, retract both Cyl A & Cyl B After both Cyl A & Cyl B fully retract, then retract Cyl C

Y5

X5

X6

Y3

X3

X4

Cylinder C

Y7

X7

X8

PLC wiring diagram #4


+24VDC Start Cyl B - In Cyl B - Out X4 Cyl A - In X5 Cyl A - Out Cyl C - In Cyl C - Out X8 X6 X7 Y7 Sol-C Inputs X0 X3 +24VDC Outputs Y3 Sol-A Y5 Sol-B

PLC Design Problems

43.5

Design Problem #5
Press two Start buttons Cyl A completely extends, waits 5 seconds, then fully retracts, After Cyl A is fully retracted, Cyl B then completely extends and immediately retracts 6 times in sequence, If the Stop button is pressed at any time, the cylinders both retract and the circuit returns to the start-up configuration

Design Problem #5
Cylinder A Cylinder B

Y0

CylA-In

CylA-Out

CylB-In CylB-Out

Y1

PLC wiring diagram #5


+24VDC Start1 Start2 Stop Cyl A - In Cyl A - Out Cyl B - In Cyl B - Out Inputs X0 X1 X2 X10 X11 X20 X21 Y1 +24VDC Outputs Y0 Sol-B Sol-A

PLC Design Problems

43.6

Design Problem #6
Press Coffee and Vend activate Coffee solenoid for 10 seconds Press Coffee, Cream, and Vend activate Coffee solenoid for 8 seconds activate Cream solenoid for 2 seconds Press Coffee, Sugar, and Vend activate Coffee solenoid for 10 seconds activate Sugar solenoid for 2 seconds Press Coffee, Cream, Sugar, and activate Coffee solenoid for 7 seconds activate Cream solenoid for 2 seconds activate Sugar solenoid for 2 seconds

PLC wiring diagram #6


+120VAC Vend Coffee Cream Inputs X1 X4 X5 X6 Outputs Y4 Y5 Y6 +120VAC Coffee Cream Sugar

Vend
Sugar

You might also like