100% found this document useful (2 votes)
896 views3 pages

PLC Basic Exercises For Siemens

This document provides instructions for various PLC lab exercises using Siemens equipment. The exercises cover topics such as basic logic circuits, latching circuits, use of timers, counters, data registers, and arithmetic operations. The goal is to program circuits that control outputs based on different combinations of input signals and timed delays. A total of 52 individual programming scenarios or circuits are described across 6 sections involving increasing levels of complexity.

Uploaded by

Mudassar Mustafa
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (2 votes)
896 views3 pages

PLC Basic Exercises For Siemens

This document provides instructions for various PLC lab exercises using Siemens equipment. The exercises cover topics such as basic logic circuits, latching circuits, use of timers, counters, data registers, and arithmetic operations. The goal is to program circuits that control outputs based on different combinations of input signals and timed delays. A total of 52 individual programming scenarios or circuits are described across 6 sections involving increasing levels of complexity.

Uploaded by

Mudassar Mustafa
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

nfi

Transforming knowledge into competence


1

Industrial Automation
Training Academy

PLC Lab Exercises: Siemens


Addressing Input Output Timers Counters Memory Bits Data Registers
Format I0.0, I0.1 Q0.0, Q0.1 T0, T1 C0, C1 M0.0, M0.1 VB0, VD0, VW0
s
Section 1- Series & Parallel Circuits (XIO, XIC, OUT)
1. Device a circuit when I0.0 is ON, Q0.0 should be ON
2. Device a series circuit such that when I0.0 & I0.1 is ON, Q0.0 is ON
3. Device a Parallel Input circuit such that when either of I0.0 or I0.1 is ON, Q0.0 is ON
4. Device a Parallel Output Circuit such that when I0.0 is ON, Q0.0 & Q0.1 are ON
5. Device a circuit when I0.0 is ON, Q0.0 is ON & Q0.1 is OFF & when I0.0 is OFF, Q0.1 should be ON
& Q0.0 should be OFF

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

I0.0 I0.1 I0.2 Q0.0 Q0.1


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 Q0.0, Q0.1 & Q0.2 using I0.0, I0.1 & I0.2. Using I0.4 as NC
Push button to turn off the Outputs Q0.0 ~ Q0.2 at any event.
Section 3- Use of Rising/Falling Edge (P & N) & Memory Bits (M0.0)

PLC LAB EXERCISES WWW.NFIAUTOMATION.ORG


2

1. Device a Circuit such that when I0.0 is pressed, Q0.0 gets latched. When I0.1 is pressed, nothing
should happen, but when I0.1 is released Q0.0 should unlatched.

Section 4- Use of Timers (T – 100 ms, 10 ms & 1 ms)


1. Device a Circuit such that when I0.0 is pressed Q0.0 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 I0.0 is pressed Q0.0 gets ON after 3 seconds delay & then after delay of 3
more seconds Q0.1 should be on & after delay of 3 seconds Q0.2 should be ON.
4. Device a circuit, when I0.0 is pressed, Q0.0 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 Q0.0 is on only when I0.1 is pressed in 10 sec. just after start of the
machine (I0.0). Otherwise if I0.1 is pressed after 10 sec. Nothing should happen
7. Device a circuit in which if I0.1 does not get pressed just after 5 second after output Q0.0 is on by
pressing I0.0, alarm (Q0.1) is ON and blinking with frequency of 2Hz.

Section 5- Use of Timers (T) with Comparison Commands | =, >, <, >=, <=, <>
8. Use one push button (I0.1) turn ON Q0.0 in following sequence:
Q0.0 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 I0.0 to blink Q0.0. (On Time 0.5 second & OFF time 0.5 second).
10. Use I0.0 to blink Q0.0. (On Time 0.5 second & OFF time 1 second).
11. When you press I0.0, Q0.0 and Q0.1 should blink with the delay of 1 sec continuously (such that 1
sec. ON & 1 sec. OFF) and when you press I0.1, Q0.0 and Q0.1 should blink with the delay of 1.5
sec.
12. Device a Traffic Light Simulator such that when you press I0.0 following sequence should occur

Time {Sec(s)} Q0.0 (Red) Q0.1 (Yellow) Q0.2 (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 (C) with Comparators Commands


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

PLC LAB EXERCISES WWW.NFIAUTOMATION.ORG


3

4. Device a circuit in which


 When I0.1 is pressed once– Q0.0 gets ON, Q0.1,Q0.2 get off,
 When I0.1 is pressed twice – Q0.1 gets ON and Q0.0, Q0.2 get OFF
 When I0.1 is pressed thrice – Q0.2 gets ON and Q0.0, Q0.1 get OFF
 When I0.1 is pressed fourth time, all outputs should be OFF & Cycle should repeat
on pressing I0.1 again

Section 6- Use of Data Register (VB0, VD0, VW0) & related commands- MOV, RST, ADD, SUB,
MUL, DIV & INC/DEC
1. Switch ON a Lamp (Q0.0) after 5 sec. Make a provision using “MOV” command to change the
delay time to 10 second by pressing I0.1 & then back to 5 sec by pressing I0.2. You have 1
maintained button (I0.0) 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 & (I0.3- PB) Decrement (I0.4-
PB) commands.
3. Device a circuit to blink the output Q0.0 using following delay time sequence using MOV
command
a. Default Delay Time = ON time 1 Second & OFF Time 1 second
b. Case A, When I0.1 is pressed = ON time 2 seconds & OFF time 1 second
c. Case B, When I0.2 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 (I0.1) & Decrement (I0.2)
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

You might also like