PLC Basic Exercises For Siemens
PLC Basic Exercises For Siemens
Industrial Automation
Training Academy
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)
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)
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 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
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