Lecture Notes and Exercises: For Self-Learning Only
Lecture Notes and Exercises: For Self-Learning Only
Lecture Notes and Exercises: For Self-Learning Only
Exercises
1. Code a circuit when X0 is ON, Y0 should be ON and when X0 is OFF, Y0 should be OFF.
X0 Y0
X0 Y0
2. Code a series circuit such that when X0 & X1 is ON, Y0 is ON
X0 X1 Y0
X0 X1 Y1
X0 X1 Y1
X0 X1 Y1
X0 X1 Y0
X0 X1 Y1
X0 X1 Y1
X0 X1 Y1
4. Code a Parallel Output Circuit such that when X0 is ON, Y0 & Y1 are ON
X0 Y0 Y1
X0 Y0 Y1
---- Subscribe us on YouTube (Learn PLC in Hindi) to get more Free Tutorials and Exercises ----
2
5. Code a circuit when X0 is ON, Y0 is ON & Y1 is OFF & when X0 is OFF, Y1 should be ON
& Y0 should be OFF
X0 Y0 Y1
X0 Y0 Y1
1. Code a circuit when X0 is pressed, Y0 should be latched & when X1 is Pressed, Y0 should
be unlatched.
(In this case consider X0 and X1 as NO Push Button)
X0 X1 Y0
X0 X1 Y0
X0 X1 Y0
X0 X1 Y0
X0 X1 Y0
2. Perform the same operation.
(In this case consider X0 as NO Push Button & X1 as NC Push Button)
X0 X1 Y0
X0 X1 Y0
X0 X1 Y0
X0 X1 Y0
X0 X1 Y0
---- Subscribe us on YouTube (Learn PLC in Hindi) to get more Free Tutorials and Exercises ----
3
X0 X1 Y0
X0 X1 Y0
X0 X1 Y0
X0 X1 Y0
X0 X1 Y0
4. Code a circuit X0 is ON, Y0 should be latched & when X1 is ON, Y0 should be unlatched.
(In this case consider X0 & X1 NC Push Button)
X0 X1 Y0
X0 X1 Y0
X0 X1 Y0
X0 X1 Y0
X0 X1 Y0
5. Code a Circuit to interlock Y0 & Y1 using X0 & X1 to fulfil the following conditions:
(Consider X0 & X1 as NO Push Buttons & X2 as NC Push Button)
X0 X1 X2 Y0 Y1
X0 X1 X2 Y0 Y1
X0 X1 X2 Y0 Y1
X0 X1 X2 Y0 Y1
X0 X1 X2 Y0 Y1
X0 X1 X2 Y0 Y1
X0 X1 X2 Y0 Y1
---- Subscribe us on YouTube (Learn PLC in Hindi) to get more Free Tutorials and Exercises ----
4
X0 X1 Y0
X0 X1 Y0
X0 X1 Y0
X0 X1 Y0
X0 X1 Y0
2. Perform the same operation.
(In this case consider X0 as NO Push Button & X1 as NC Push Button)
X0 X1 Y0
X0 X1 Y0
X0 X1 Y0
X0 X1 Y0
X0 X1 Y0
3. Perform the same operation.
(In this case consider X0 as NC Push Button & X1 as NO Push Button)
X0 X1 Y0
X0 X1 Y0
X0 X1 Y0
X0 X1 Y0
X0 X1 Y0
---- Subscribe us on YouTube (Learn PLC in Hindi) to get more Free Tutorials and Exercises ----
5
4. Code a circuit X0 is ON, Y0 should be latched & when X1 is ON, Y0 should be unlatched.
(In this case consider X0 & X1 NC Push Button)
X0 X1 Y0
X0 X1 Y0
X0 X1 Y0
X0 X1 Y0
X0 X1 Y0
5. Code a Circuit to interlock Y0 & Y1 using X0 & X1 to fulfil the following conditions:
(Consider X0 & X1 as NO Push Buttons & X2 as NC Push Button)
X0 X1 X2 Y0 Y1
X0 X1 X2 Y0 Y1
X0 X1 X2 Y0 Y1
X0 X1 X2 Y0 Y1
X0 X1 X2 Y0 Y1
X0 X1 X2 Y0 Y1
X0 X1 X2 Y0 Y1
---- Subscribe us on YouTube (Learn PLC in Hindi) to get more Free Tutorials and Exercises ----
6
6. Code a Circuit such that when X0 is pressed, Y0 gets latched. When X1 is pressed,
nothing should happen, but when X1 is released Y0 should unlatched.
(Note: Use Rising or Falling Edge Bits)
X0 X1 Y0
X0
X1 Y0
(pressed)
X0 X1 Y0
X1
X0 Y0
(pressed)
X1
X0 Y0
(Released)
1. Code a Logic such that when X0 is ON, Y0 gets ON after delay of 5 secs
(or 5000 ms). When X0 is OFF, Y0 should be OFF
2. Do the similar operation, but delay should change to 0.05 seconds (or 50ms)
3. Do the similar operation, but delay should change to 0.005 seconds (or 5ms)
4. Code a Logic when X0 is ON, Y0 gets ON after 3 seconds delay & then after delay of
3 more seconds Y1 should be on & after delay of 3 seconds Y2 should be ON.
5. Code a Logic, when X0 is ON, Y0 is ON for 10 seconds then OFF.
6. Code a Logic that can be used to start a Motor 1 (Y0) using X0 (NO) and then after a
delay of 10 sec start Motor 2 (Y1). When the Motor 1 is switched off using X1(NC)
there should be delay of 10 sec before the Motor 2 is off.
7. Code a Logic in which Y0 is ON (latch) only when X1 (NO) is ON in 10 sec. just after
start of the Switch X0 (NO). Otherwise if X1 is pressed after 10 sec. Nothing should
happen. Unlatch Y0 when X0 is OFF.
---- Subscribe us on YouTube (Learn PLC in Hindi) to get more Free Tutorials and Exercises ----
7
2. Use X0 to blink Y0. (On Time 0.5 second & OFF time 0.5 second).
3. Use X0 to blink Y0. (On Time 0.5 second & OFF time 1 second).
4. When you press X0, Y0 and Y1 should blink with the delay of 1 sec continuously
(such that 1 sec. ON & 1 sec. OFF) and when you press X1, Y0 and Y1 should blink
with the delay of 1.5 sec. (such that 1.5 sec. ON & 1.5 sec. OFF)
5. Code a basic Traffic Light Simulator such that when you press X0 following sequence
should occur
Time (in Y0 Y1 Y2
secs) (red) (Orange) (Green)
0 ~ 10
10 ~ 12
12 ~ 23
23 ~ 25
>=25 Timer reset and cycle repeats
---- Subscribe us on YouTube (Learn PLC in Hindi) to get more Free Tutorials and Exercises ----
8
1. Switch ON a Lamp (Y0) after 5 sec. Make a provision using “MOV” command to change
the delay time to 10 second by pressing X1 & then back to 5 sec by pressing X2. You
have 1 maintained button (X0) 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. Code a logic to Change the time of above timer using Increment & (X3- PB) Decrement
(X4- PB) commands.
3. Code a logic to blink the output Y0 using X0 with following delay time sequence using
MOV command
a. Default Delay Time = ON time 1 Second & OFF Time 1 second
b. Case A, When X1 is pressed = ON time 2 seconds & OFF time 1 second
c. Case B, When X2 is pressed = ON time 1.5 seconds & OFF Time 2 seconds
4. Code a logic as above but change the time using Increment (X1) & Decrement (X2)
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
5. I have a constant 10 in D0
a. Multiply it with 100
b. Add 56 to it
c. Subtract 14 from it
d. Finally store it in D10
---- Subscribe us on YouTube (Learn PLC in Hindi) to get more Free Tutorials and Exercises ----