Lab 1
Introduction to PLC programming
Industrial Automation
ELE 2613
2020
Instructor’s name:
Student name Student ID
Date of Submission
Objective:
The objective of this practical exercise series is to introduce the logosoft basic functions and commands
through practical exercise. The lab also improves your interaction skill with practical PLC and mastering
basic plc operations.
Introduction :
Equipment:
Computer with installed LogoSoft Comfort to control and program the PLC
Problem 1
Simulate the following problems, Develop the LAD and FBD program for each
Q1.1 Lamp L1 should glow when switch S1 is made ON and it gets OFF when switch S1 is made OFF
Q1.2 Lamp L2 should not glow when switch S2 is made ON Lamp should glow when S2 is made OFF.
Q1, 3 Lamp L3 should glow when both switch S1 & S2 are ON. If any one is OFF then L3 will not glow.
Problem 2
Q2.1. The lamp should glow when either the switch (S1 & S2) or S3 is ON.
Q2, 2 Lamp L3 should glow if any one of the switch (S1 OR S2) is ON .
Problem 3 ̅̅
̅
For a system modelled by the following equation 𝑥=[𝐴̅+𝐵̅]̅̅∙𝐵𝐶
Construct the ladder logic diagram for the system.
Problem 4.
An emergency stop system is to be designed for a certain automatic production machine. A single
"start" button is used to turn on the power to the machine at the beginning of the day. In addition,
there are three "stop" buttons located at different locations around the machine, any one of which can
be pressed to immediately turn off power to the machine.
Construct the ladder logic diagram for the system.
Activity:
a) Prepare a table of schedule for your inputs and outputs
b) Attach the neat schematic of your entire circuit
c) Attach the typical PLC program for this control process
d) Explain working of all the ladder networks with proper clarification and with the help of
simulation images.
e) Demonstrate the operation using your panel & PLC
PLC PLANNING SHEET
Inputs Outputs
PLC
PLC
Inputs
No. Address Description Logic Operation
Level
1 I1 NORMALLY OPEN PB 0 NOT PRESSED
1 WHEN PRESSED
2 I2 NO PB
Outputs
No. Address Description Logic Operation
Level
1 Q1 MACHINE 0 OFF
1 ON
Analysis and Discussion
Questions and Answers
1. Explain the difference between NC and NO contacts
2. Mention any 5 important rules of PLC Ladder programming .
Conclusion
Lab 2
Latch and De Latch
Industrial Automation
ELE 2613
2020
Instructor’s name:
Student name Student ID
Date of Submission
Objective:
To understand the concept of Latch and De Latch in PLC programming. Also to perform one Latch –
De Latch program and download it to the PLC to verify the working.
Introduction
Students needs to write some introduction about Latch –De Latch in PLC
Equipments and Softwares
LogoSoft Comfort to write control program for the PLC, LOGO! Siemens PLC,(or any other PLC and its
programming platform ) , Breadboard, Connectors, Motor
Problems
1. Draw a ladder diagram to switch ON one lamp when a normally open push button PB1 is
pressed and OFF when it is released.
2. Draw a ladder diagram to switch OFF one lamp when a normally open push button PB1 is
pressed and ON when it is released
3. Draw a ladder diagram to switch ON one lamp when a normally closed push button PB1 is
pressed and OFF when it is released.
4. Draw a ladder diagram to switch OFF one lamp when a normally closed push button PB1 is
pressed and ON when it is released
5. Draw a ladder diagram to switch ON one lamp when a normally open push button PB1 is
pressed and continue to be ON until another normally open push button PB2 is pressed .
Operation
A simple but safe drilling operation controlled by Start and Stop push buttons requires the drill
press to turn on only when:
1. There is a part present (part sensor is high) and
2. The operator has a hand on each of the start switches at the same time.
This will ensure that the operator’s hands are not in the way of the drill
Fig 1: Sketch of the Drill Motor control process
Activity:
f) Prepare a table of schedule for your inputs and outputs
g) Attach the neat schematic of your entire circuit
h) Attach the typical PLC program for this control process
i) Explain working of all the ladder networks with proper clarification and with the help of
simulation images.
j) Demonstrate the operation using your panel & PLC
PLC PLANNING SHEET
Inputs Outputs
PLC
PLC
Inputs
No. Address Description Logic Operation
Level
Outputs
No. Address Description Logic Operation
Level
1
2
Analysis and Discussion
Questions and Answers
3. Mark the Latch and De Latch part in our program.
4. How to select a hardware NC and NO pushbutton in LOGOSOFT .Explain with the help
of images
Conclusion
Lab 3
Programming a Motor Start/Stop control
Industrial Automation
ELE 2613
2020
Instructor’s name:
Student name Student ID
Date of Submission
Objective:
To understand the use of software for programming the PLC. To be able to enter and upload a Ladder
Logic Program to the PLC memory, Debug and Run the program. To observe the working and use of
the NC, NO Push Buttons and relays.
Introduction
Students needs to write some introduction about interlocks in PLC
Equipments and Softwares
LogoSoft Comfort to write control program for the PLC, LOGO! Siemens PLC,(or any other PLC and its
programming platform ) ,LEDs, Breadboard, Connectors
Problems
1. Translate the relay ladder diagram shown below to an equivalent PLC Ladder Logic Program.
Fig 1: The relay ladder diagram for motor control
Activity:
k) Prepare a table of schedule for your inputs and outputs
l) Attach the neat schematic of your entire circuit
m) Attach the typical PLC program for this control process
n) Explain working of all the ladder networks with proper clarification and with the help of
simulation images.
o) Demonstrate the operation using your panel & PLC
PLC PLANNING SHEET
Inputs Outputs
PLC
PLC
Inputs
No. Address Description Logic Operation
Level
5
Outputs
No. Address Description Logic Operation
Level
Analysis and Discussion
Questions and Answers
5. How interlocks helps in PLC programming
6. What are the main differences between a relay ladder diagram and PLC Ladder Logic
program
Conclusion
Lab 4
Position Control of Pneumatic Actuators & Level control with Offset
Industrial Automation
ELE 2613
2020
Instructor’s name:
Student name Student ID
Date of Submission
Objective:
To experience the ladder diagram programming some industrial related problems such as piston
position control and Level control
Introduction
Students needs to write some introduction about this Lab
Equipments and Softwares
LogoSoft Comfort to write control program for the PLC, LOGO! Siemens PLC,(or any other PLC and its
programming platform ) ,…………………….
Problems
Operation 1
To Control the position of a simple double acting reciprocating piston. The requirements are
given as follows:
Control the entire process using a start and stop normally open push button.
Connect each sensors (s1,s2 ) exactly where the actions to be performed and feed the
output of these sensors to your PLC as inputs.
Activate the solenoid valves Sol 1 and Sol 2 for to and fro motion.
Fig 1 : Block diagram of Position control –Pneumatic Actuators
Activity:
p) Prepare a table of schedule for your inputs and outputs
q) Attach the neat schematic of your entire circuit
r) Attach the typical PLC program for this control process
s) Explain working of all the ladder networks with proper clarification and with the help of
simulation images.
t) Demonstrate the operation using your panel & PLC
PLC PLANNING SHEET
Inputs Outputs
PLC
PLC
Inputs
No. Address Description Logic Operation
Level
Outputs
No. Address Description Logic Operation
Level
Operation 2
To Control the Level of a tank by using two sensors positioned at the upper (ULS) and lower part
(LLS) of the tank. The pump should be ON to fill the water if water goes below LLS and remains
ON until water reaches ULS .The pump should be OFF if water reaches ULS and should remain
in OFF state until water goes below LLS.Also control the entire process using a master start and
stop push button.
Fig 2 : Block diagram of Level control in a tank
Activity:
a) Prepare a table of schedule for your inputs and outputs
b) Attach the neat schematic of your entire circuit
c) Attach the typical PLC program for this control process
d) Explain working of all the ladder networks with proper clarification and with the help of
simulation images.
e) Demonstrate the operation using your panel & PLC
PLC PLANNING SHEET
Inputs Outputs
PLC
PLC
Inputs
No. Address Description Logic Operation
Level
Outputs
No. Address Description Logic Operation
Level
Analysis and Discussion
Questions and Answers
7. Compare the working of sensors in both operations with switch or push button
Conclusion
Lab 5
Timers in PLC –PART 1
Programming a bottle filling control system
Industrial Automation
ELE 2613
2020
Instructor’s name:
Student name Student ID
Date of Submission
Objective:
To understand and practice timer programming in PLC. Also to design a ladder program for a bottle
filling control operation
Introduction
Write a short note on ON delay and OFF delay timers
Write a short note on retentive and non-retentive timers
Equipments and Softwares
LogoSoft Comfort to write control program for the PLC, LOGO! Siemens PLC,(or any other PLC and its
programming platform ) , Breadboard,……………….
Problems
1. Draw a ladder diagram to switch on one motor three seconds after the push button START is
pressed .The motor should be turned OFF when STOP push button is pressed.(use ON delay
timer).Attach and explain the working of ladder program here
2. Draw a ladder diagram to switch off one motor one second after one fire sensor is detected.
The motor should return to normal ON when reset switch is activated. (use OFF delay timer).
Attach and explain the working of ladder program here
Operation 1:
This system has a START/STOP button for the operation. When running:
1. When START button is pressed after 1 Sec,Conveyor should turn ON
2. Bottle present entry sensor (BP_EN) detects bottles and stops the conveyor.
3. 3 seconds later, control valve opens to fill the bottle
4. Bottle full (BF) sensor will monitor fill level.
5. When full, control valve should close at the same time.
6. 2 seconds later, conveyor resumes running next bottle is present.
7. This is a continuous cycle.
Fig 1: Sketch for bottle filling control process
Activity:
u) Prepare a table of schedule for your inputs and outputs
v) Attach the neat schematic of your entire circuit
w) Attach the typical PLC program for this control process
x) Explain working of all the ladder networks with proper clarification and with the help of
simulation images.
y) Demonstrate the operation using your panel & PLC
PLC PLANNING SHEET
Inputs Outputs
PLC
PLC
Inputs
No. Address Description Logic Operation
Level
Outputs
No. Address Description Logic Operation
Level
Analysis and Discussion
Questions and Answers
8. What is the difference between ON and OFF delay timer
9. Why reset switch is used in timer
Conclusion
Lab 6
Timers in PLC –Part 2
Two way Traffic signal using PLC
Industrial Automation
ELE
2020
Instructor’s name
Student name Student ID
Date of Submission
Prepared By: Eng. Anas Abdulkadar
Objective :
Write the objectives /Aim of your system in one sentence here
Introduction :
Write a brief description about your system as a whole.
Operation :
Exercise 1
Design a TWO way traffic light signaling system which the following requirements.
1. There should be a START and STOP push button to start the signaling process.
2. Once ON Side-1 lights should follow the patters below
Side -1 Green light should be ON for 30 seconds
Then Side -1 Amber light should be ON for 3 seconds
Then Side-1 Red light should be ON for 30 seconds
….And the process repeats.
At the same time Side-2 Lights would on following stages.
Side -2 Red light should be ON for 33 seconds
Then Side-2 Green light should be ON for 27 seconds
Then Side -2 Amber light should be ON for 3 seconds .
..And the process repeats.
Figure 1 : Two-Way Traffic signal
Activity:
z) Explain inputs and outputs
aa) Prepare a typical PLC ladder program for this control process, attach it here and explain it
with the help of simulated results’ images.
bb) Also attach the FBD of the same
Exercise 2
Add a pedestrian push button for both sides and turn ON the pedestrian indicator of
corresponding side when it’s red state and the button is pressed there .Also turn OFF this
indicator once Green starts to glow.
Screen shot of exercise 1
+ pedestrian part
Activity:
a) Prepare a table of schedule for your input and output
b) Prepare a typical PLC ladder program for this control process, attach it here and explain it
with the help of simulated results images.
c) Draw a schematic of your complete system
d) Also attach the FBD of the same
PLC PLANNING SHEET
Inputs Outputs
PLC
PLC
Inputs
No. Address Description Logic Operation
Level
Outputs
No. Address Description Logic Operation
Level
5
Analysis and Discussion
Conclusion:
Lab 7
Counters in PLC –PART 1
Programming a bottle filling control system
Industrial Automation
ELE 2613
2020
Instructor’s name:
Student name Student ID
Date of Submission
Prepared By: Eng. Anas Abdulkadar
Objective:
To understand and practice counter programming in PLC. Also to design a ladder program for a
Hopper continuous filling operation
Introduction
Write a short note on counters.
Equipments and Softwares
LogoSoft Comfort to write control program for the PLC, LOGO! Siemens PLC,(or any other PLC and its
programming platform ) , Breadboard,……………….
Problems
1. Create a ladder diagram to turn OFF a fan when three times a push button PB1 is pressed
.Reset button PB2 is provided to continue the operation. Attach and explain the working of
ladder program here.
Operation 1
A continuous filling operation requires boxes moving on a conveyor to be automatically
positioned and filled. Sequence of operation is as follows:
1. When the START button is pressed.
2. After one sec,Conveyor starts moving until the edge of the box is first sensed by the
photo-switch (PS _EN ).
3. 3 seconds later, open the solenoid valve and allow the box to fill.
4. Filling stops when the LEVEL switch is energized (active).
5. After one sec, conveyor moves again and ready for the next one to arrive.
6. When three boxes completed, the process should goes to standby mode until the reset
pushbutton is pressed. A stand by amber light should be ON at that time .
Fig 1 : Continuous Hopper Filling System
Activity:
cc) Prepare a table of schedule for your inputs and outputs
dd) Attach the neat schematic of your entire circuit
ee) Attach the typical PLC program for this control process
ff) Explain working of all the ladder networks with proper clarification and with the help of
simulation images.
gg) Demonstrate the operation using your panel & PLC
PLC PLANNING SHEET
Inputs Outputs
PLC
PLC
Inputs
No. Address Description Logic Operation
Level
Outputs
No. Address Description Logic Operation
Level
Analysis and Discussion
Questions and Answers
10. What are the three main types of counters in PLC- Explain
Conclusion
Lab 8
Smart irrigation system
Industrial Automation
ELE
2020
Instructor’s name:
Student name Student ID
Date Submit
Prepared By: Eng. Anas Abdulkadar
Objective :
Write the objectives /Aim of your system in one sentence here
Introduction :
Write a brief description about your system as a whole.
Operation :
Design a smart Irrigation system which satisfy the following requirements. The requirement
specified here is only for one plant line in the system. The same can be repeated for entire
system.
1. There should be a START and STOP push button to select the automatic smart irrigation
system
2. Once the SMART mode is ON, the pumping system should sprinkle the water for half an hour
for every 12 hour interval.
(here for simulation- take 12 hr as 12 s and 30 min as 3 seconds.)
3. A moisture sensor will be provided to sense the water/moisture content of the soil. Whenever
the moisture sensor is LOW, The pump should be ON until it become HIGH irrespective of the
routine sprinkling.
4. Whenever the water pump is working, Turn ON one indicator light with water flowing
symbol.
Activity:
hh) Prepare a table of schedule for your input and output
ii) Prepare a typical PLC ladder program for this control process, attach it here and explain
it with the help of simulated results images.
jj) Draw a schematic of your system
kk) Also attach the FBD of the same
ll) Print final result and update your portfolio
PLC PLANNING SHEET
Inputs Outputs
PLC
PLC
Inputs
No. Address Description Logic Operation
Level
2
3
Outputs
No. Address Description Logic Operation
Level
Analysis and Discussion
Questions and Answers
11. Draw the extra network to be added if the level control of tank also needs to be
performed with the help of two level sensors .
Conclusion:
Lab 9
Controlling Roll-down Shutters
Industrial Automation
2020……. ELE
Instructor’s name:
Student name Student ID
Date of Submission
Prepared By: Eng. Anas Abdulkadar
Objective :
Write the objectives /Aim of your system in one sentence here
Introduction :
Write a brief description about your system as a whole.
Write a brief description about the Logo soft Weekly Timer By showing its block and
configuration window.
Operation :
Design a PLC Ladder Diagram Program for Roll-down shutter control process to control the
shutters of a Shop. The requirements are given below
Manual operation or automatic control can be selected via a selector switch.
Depending on the time, darkness and day the shutters are either automatically rolled up or
down.
Manual operation:
Via the switches UP and DOWN, the shutters can be manually opened and closed,
provided that the selector switch is not set at automatic.
The position switches at TOP and BOTTOM side of the shutter will determine whether
the shutters are open or closed
Automatic operation:
For automatic operation the selector switch must be set at automatic.
If the photo-sensitive switch is activated, the shutters are closed in the period between
6:00 in the evening and 7:00 in the morning.
They are opened during the day between 7:00 in the morning and 6:00 in the evening.
The position switches at TOP and BOTTOM side of the shutter will determine whether
the shutters are open or closed.
Figure 1 : Roll-Down Shutter control system-Front View
Activity:
e) Prepare a table of schedule for your input and output
f) Prepare a typical PLC ladder program for this control process, attach it here and explain it
with the help of simulated results images.
g) Draw a schematic of your complete system
h) Also attach the FBD of the same
Figure 2 : Roll-Down Shutter control system -Schematic
NB: This Schematic is only partial .Please complete it
PLC PLANNING SHEET
Inputs Outputs
PLC
PLC
Inputs
No. Address Description Logic Operation
Level
5
Outputs
No. Address Description Logic Operation
Level
Analysis and Discussions:
Questions:
1. Explain the working of Auto/Manual Selector switch
2. How the weekly timer is useful
3. What you mean by interlocks in PLC control system
Conclusion:
Lab 10
CAR PARKING AVAILABILITY INDICATOR
Industrial Automation
ELE
2020
Instructor’s name:
Student name Student ID
Date Submit
Prepared By: Eng. Anas Abdulkadar
Objective :
Write the goals/Aim of your system in one sentence here
Introduction :
Write a brief description of your system as a whole.
Operation :
This operation is to design an indicator part of a smart car parking system, consisting of the
following facilities.
1. The full parking facility is made for a total of 20 Cars.
2. The parking Area has two sides for the cars to enter and exit.
3. Each side are equipped with corresponding entrance and exit sensors as shown in figure
4. There are three lights to indicate the availability of parking slots.
5.There also contains four barricades that can be controlled by motors. But this controlling part is
not in our interest for the time being.
Fig 1: Car parking area with slot availability indicator
Design a PLC program that should satisfy the following requirements.
1.Each time when cars enter the parking area should count up the number of parking slots
occupied by one.
2. Each time when cars exit the parking area should count down the number of parking slots
occupied by one.
3. whenever there is an availability greater than 20 percent of the total ,then the green light
should glow.
4.If eighty percent occupied, then Amber light should glow to indicate that the car parking
facility will be finished soon.
5.The red light should glow when all parking slots are occupied.
6.This is a continuous process.
Activity:
a) Prepare a table of schedule for your input and output
b) Prepare a specific PLC ladder program for this control process, attach it here, and explain
it with simulated results’ images.
c) Draw a schematic of your system
d) Also, attach the FBD of the same
e) Print final result and update your portfolio
PLC PLANNING SHEET
Inputs Outputs
PLC
PLC
Inputs
No. Address Description Logic Operation
Level
5
Outputs
No. Address Description Logic Operation
Level
Analysis and Discussions:
Conclusion: