Sie sind auf Seite 1von 3

nfi

Transforming knowledge into competence


1

Industrial Automation
Training Academy

PLC Lab Exercises: Allen Bradley


Addressing Input Output Timers Counters Memory Bits Data Registers
Format I:0/0, I:0/1 O:0/0, O:0/1 T4:0, T4:1 C5:0, C5:1 B3:0/0, B3:0/1 N7:0, N7:1
s
Section 1- Series & Parallel Circuits (XIO, XIC, OUT)
1. Device a circuit when IN0 is ON, OUT0 should be ON
2. Device a series circuit such that when IN0 & IN1 is ON, OUT0 is ON
3. Device a Parallel Input circuit such that when either of IN0 or IN1 is ON, OUT0 is ON
4. Device a Parallel Output Circuit such that when IN0 is ON, OUT0 & OUT1 are ON
5. Device a circuit when IN0 is ON, OUT0 is ON & OUT1 is OFF & when IN0 is OFF, OUT1 should be
ON & OUT0 should be OFF

Section 2- Latching & Interlocking Circuits – Using OUT & Latch/ Unlatch Commands
1. Device a circuit IN0 is ON, OUT0 should be latched & when IN1 is ON, OUT0 should be unlatched.
(In this case consider IN0 as NO Push Button & IN1 as NC Push Button)
2. Device a circuit IN0 is ON, OUT0 should be latched & when IN1 is ON, OUT0 should be unlatched.
(In this case consider IN0 as NC Push Button & IN1 as NO Push Button)
3. Device a circuit IN0 is ON, OUT0 should be latched & when IN1 is ON, OUT0 should be unlatched.
(In this case consider IN0 & IN1 NO Push Button)
4. Device a circuit IN0 is ON, OUT0 should be latched & when IN1 is ON, OUT0 should be unlatched.
(In this case consider IN0 & IN1 NC Push Button)
5. Device a Circuit to interlock OUT0 & OUT1 using IN0 & IN1 to fulfil the following conditions:
(Consider IN0 & IN1 as NO Push Buttons & IN2 as NC Push Button)

IN0 IN1 IN2 OUT0 OUT1


OFF OFF OFF OFF OFF
Pressed (ON) OFF OFF ON OFF
Released (OFF) OFF OFF ON OFF
OFF Pressed (ON) OFF OFF ON
OFF Released (OFF) OFF OFF ON
OFF OFF ON (Pulse) OFF OFF

6. Similarly Interlock 3 Outputs OUT0, OUT1 & OUT2 using IN0, IN1 & IN2. Using IN4 as NC
Push button to turn off the Outputs OUT0 ~ OUT2 at any event.
Section 3- Use of Rising/Falling Edge (ONS & OSF) & Memory Bits (B)

PLC LAB EXERCISES WWW.NFIAUTOMATION.ORG


2

1. Device a Circuit such that when IN0 is pressed, OUT0 gets latched. When IN1 is pressed, nothing
should happen, but when IN1 is released OUT0 should unlatched.

Section 4- Use of Timers (T4:0 – 100 ms, 10 ms & 1 ms)


1. Device a Circuit such that when IN0 is pressed OUT0 gets ON after delay of 5 seconds
2. Do the similar operation, but delay should change to 0.5 seconds
3. Device a circuit when IN0 is pressed OUT0 gets ON after 3 seconds delay & then after delay of 3
more seconds OUT1 should be on & after delay of 3 seconds OUT2 should be ON.
4. Device a circuit, when IN0 is pressed, OUT0 is ON for 10 seconds then OFF.
5. Devise a circuit that can be used to start a motor and then after a delay of 10 sec start a pump.
When the motor is switched off there should be delay of 10 sec before the pump is off.
6. Device a circuit in which OUT0 is on only when IN1 is pressed in 10 sec. just after start of the
machine(IN0). Otherwise if IN1 is pressed after 10 sec. Nothing should happen
7. Device a circuit in which if IN1 does not get pressed just after 5 second after output OUT0 is on by
pressing IN0, alarm (OUT1) is ON and blinking with frequency of 2Hz.

Section 5- Use of Timers (T4:0) with Comparison Commands | =, >, <, >=, <=, <>
8. Use one push button (IN1) turn ON OUT0 in following sequence:
OUT0 on for 2 sec. then off for 2 sec. then on for 3 sec. then off for 3 sec then on for 4 sec. then
continuously off.
9. Use IN0 to blink OUT0. (On Time 0.5 second & OFF time 0.5 second).
10. Use IN0 to blink OUT0. (On Time 0.5 second & OFF time 1 second).
11. When you press IN0, OUT0 and OUT1 should blink with the delay of 1 sec continuously (such that
1 sec. ON & 1 sec. OFF) and when you press IN1, OUT0 and OUT1 should blink with the delay of
1.5 sec.
12. Device a Traffic Light Simulator such that when you press IN0 following sequence should occur

Time {Sec(s)} OUT0 (Red) OUT1 (Yellow) OUT2 (Green)


0 ~ 10 ON OFF OFF
10 ~ 12 ON ON OFF
12 ~ 15 OFF ON OFF
15 ~ 25 OFF OFF ON
>25 Timer should reset & Cycle should repeat

Section 6- Use of Counters (C5:0) with Comparators Commands


1. Device a circuit such that When IN0 is pressed 3 times, OUT0 should be ON.
2. Device a circuit such that When IN0 is pressed 3 times, OUT0 should be ON & when IN1 is pressed
OUT0 should be OFF (Use Counter reset command)
3. Device a circuit which Sensor (IN1) is being used to count the bottles on the conveyor (OUT0)
which is being latched by IN0. Use IN0 to latch the conveyor & after IN1 counts 10, conveyor
should be unlatched.

PLC LAB EXERCISES WWW.NFIAUTOMATION.ORG


3

4. Device a circuit in which


 When IN1 is pressed once– OUT0 gets ON, OUT1,OUT2 get off,
 When IN1 is pressed twice – OUT1 gets ON and OUT0, OUT2 get OFF
 When IN1 is pressed thrice – OUT2 gets ON and OUT0, OUT1 get OFF
 When IN1 is pressed fourth time, all outputs should be OFF & Cycle should repeat
on pressing IN1 again

Section 6- Use of Data Register (N7:0) & related commands- MOV, RST, ADD, SUB, MUL, DIV &
INC/DEC
1. Switch ON a Lamp (OUT0) after 5 sec. Make a provision using “MOV” command to change the
delay time to 10 second by pressing IN1 & then back to 5 sec by pressing IN2. You have 1
maintained button (IN0) and 2 push buttons only. Maintained button to switch on/off the lamp.
Other two push button for changing the time from 5 to 10 sec and vice-versa
2. Device a circuit to Change the time of above timer using Increment & (IN3- PB) Decrement (IN4-
PB) commands.
3. Device a circuit to blink the output OUT0 using following delay time sequence using MOV
command
a. Default Delay Time = ON time 1 Second & OFF Time 1 second
b. Case A, When IN1 is pressed = ON time 2 seconds & OFF time 1 second
c. Case B, When IN2 is pressed = ON time 1.5 seconds & OFF Time 2 seconds
4. I have a constant K10 in D0
a. Multiply it with 100
b. Add 56 to it
c. Subtract 14 from it
d. Finally store it in D10
5. Device a similar circuit as above but to change the time use Increment (IN1) & Decrement (IN2)
functions such that minimum blinking time should be 0.5 seconds (ON/OFF) & maximum should
be 3 seconds (ON/OFF). The step of Increment & Decrement should be 0.1 second

PLC LAB EXERCISES WWW.NFIAUTOMATION.ORG

Das könnte Ihnen auch gefallen