Professional Documents
Culture Documents
Lab Manuals Automation Lab 1-12
Lab Manuals Automation Lab 1-12
ENGINEERING
Industrial Automation:
Industrial Automation is the hybrid field in which there is a use of Control systems and Robotics and
processes are automated based on the complexity of process thus reducing human intervention and
increasing efficiency and flexibility of processes. Industrial automation includes automation applied on
industrial processes or in industries.
• Fixed Automation
• Programmable Automation
• Integrated Automation
• High Productivity
• High Quality
• High Flexibility
• High safety
A digitally operating electronic apparatus, which uses a programming memory for the internal storage of
instructions for implementing specific functions.
Advantages of PLC:
• Less Wiring
• Wiring between devices and relay contacts are done in the PLC program
• Trouble shooting aids make programming easier and reduce downtime. Relatable components
1. Power Supply: Provides the voltage needed to run the primary PLC components.
2. I/O Modules: Provides signal conversion and isolation between the internal logiclevel signals
inside the PLC and the field’s high-level signal.
3. Processor: Provides intelligence to the command and govern the activities of the entire PLC
systems.
4. Programming Device: Used to enter the desired program that will determine the sequence of
operation and control of process equipment or driven machine.
• Scan Time
• Communications
• Software
• Power On
• Run Mode
• Programming mode
• Fault
LAB # 2
Objective:
Introduction:
LogixPro software:
LogixPro is a PLC simulator that is particularly geared toward Rockwell’s RSLogix 500 software.
There is no need for any PLC hardware when using the simulator. The keyed edition of LogixPro, that
is part of thecourse materials, provides animated process simulations, including an I/O simulator with
changeable switch types, output indicators, thumbwheel switches and a BCD digital readout. Several
process animations are also included and we will be working with several of them in future homework
labs.
Dragging the window pane divider in LogixPro is a-bit odd and does not always act like a normal
Windows application. Have patience if at first you don’t succeed.
To display the project window, click the close button ‘X’ of the simulator window. The close button
will toggle the window between project view and simulator view.
9. Click the Toggle button in the upper right corner of the Instruction Tool Bar. The Instruction
Tool Bar will change to display the PLC Panel as shown in Figure 7.
10. In order to run a program, it must be downloaded to the PLC. Click the Download button in the PLC
Panel. The screen will momentarily flicker to simulate that the program is being downloaded.
11. Click the RUN radio button. This will place the PLC in the run mode.
12. Click on the switch addressed to I:1/0 in the I/O Simulator. The switch should close and the indicator
light addressed to O:2/0 should light.
13. In the ladder logic editor, instead of the instructions being highlighted to show power flow, the
addresses will glow yellow to show power flow.
Conclusion:
In this lab we learned the basics of Logixpro and made our first rung which was just a simple push
button.
LAB # 3
Objective:
1. To understand he operation of OTE, XIC and XIO and simulate the given tasks in Allen Bradley PLC.
Abstract:
In this lab we have learnt about the basic instructions used in PLC programming. We implemented different
gates using these instructions in PLC. These gates were used in future labs in implementing the industrial
automation logic.
Tasks Implementation:
AND Gate:
AND Gate is an electrical circuit that combines two signals so that the output is HIGH when both signals are
present. Mathematical notation for AND Gate is:
𝑿 = 𝑿. 𝑿 = 𝑿𝑿
A B X
0 0 0
0 1 0
1 0 0
1 1 1
OR Gate:
OR Gate is an electrical circuit that combines two signals so that the output is LOW when both signals are
absent. Mathematical notation for OR Gate is:
𝑿=𝑿+𝑿
A B X
0 0 0
0 1 1
1 0 1
1 1 1
Ladder logic for OR gate is as follows:
NAND Gate:
NAND Gate is an electrical circuit that combines two signals so that the output is LOW when both signals are
PRESENT. It is the complement of AND Gate. Mathematical notation for NAND Gate is:
𝑿=
𝑿𝑿𝑿𝑿𝑿𝑿 = 𝑿𝑿 + 𝑿𝑿
Below is the truth table for NAND Gate:
A B X
0 0 1
0 1 1
1 0 1
1 1 0
NOR Gate:
NOR Gate is an electrical circuit that combines two signals so that the output is HIGH when both signals are
ABSENT. It is the complement of OR Gate. Mathematical notation for OR Gate is:
𝑿 = 𝑿𝑿𝑿𝑿+𝑿𝑿𝑿𝑿𝑿𝑿 = 𝑿𝑿𝑿𝑿
A B X
0 0 1
0 1 0
1 0 0
1 1 0
XNOR Gate:
XNOR Gate is an electrical circuit that combines two or more signals so that the output is HIGH when all
signals are HIGH or when all signals are LOW. Mathematical notation for OR Gate is:
𝑿 = 𝑿𝑿 +
𝑿𝑿𝑿𝑿𝑿𝑿
Below is the truth table for XNOR Gate:
A B X
0 0 1
0 1 0
1 0 0
1 1 1
XOR Gate:
XOR Gate is an electrical circuit that combines two or more signals so that the output is HIGH when either
signal is HIGH or LOW. Mathematical notation for OR Gate is:
𝑿 = (𝑿 + 𝑿). (𝑿𝑿𝑿𝑿+𝑿𝑿𝑿𝑿𝑿𝑿𝑿)
Below is the truth table for XOR Gate:
A B X
0 0 0
0 1 1
1 0 1
1 1 0
NOT Gate:
NOT Gate is an electrical circuit that converts signal so that the output is LOW when incoming signal is HIGH.
A 𝑿𝑿
0 1
1 0
Alarm System:
An Alarm system given in the problem warns us about some kind of fire danger:
A PLC motor controller has a start button and two stop buttons. The motor is to run if START button
is Pressed. Motor stops by pressing any STOP button stops.
Conclusion:
In this lab we have learnt how to implement different logic gates and by using such logics how we can
control different household appliances using Allen Bradley PLC.
LAB # 04 LATCH AND UNLATCH
Objectives:
Understand the operation of latching and un-latching (OTL and OTU).
Lab Tasks:
Exercise:1
X = AB + DC’ + B’C
Simulations:
Exercise:2
We need to start/stop the motor. When the start button is pushed we want to start the motor, and when
the stop button is pushed we want to stop the motor.
Design a ladder logic for bi-directional motor (Forward/ reverse). Each direction has its own button and
only one button to stop the motor. We also need to stop the motor before we change its direction.
a) Implement using latch/unlatch
Simulations:
Exercise:4
Design a ladder logic program for simple level detector both are active low logic. Motor is active high
logic.
Simulations:
Conclusion:
We learned about the operation of OTL (latching) and OTE (unlatching) in PLC programming in this
lab. We designed the ladder logic for our lab tasks using latching and unlatching, as well as without
latching and unlatching, using the feedback approach. When we assign the address that corresponds to
the physical output address for the OTL instruction and set this bit, the output device connected to the
screw terminal is powered on. When the rung condition is no longer true, the bit remains set and the
corresponding output device is powered off. To disable the output, the other inputs must be unlocked,
i.e., the OTE must be unlatched.
LAB # 5 INTRODUCTION TO TIMERS
(TIMER ON)
Objectives:
To understand the operation of Timer On and simulate the given tasks in Allen Bradley PLC.
Abstract:
Timers are very important in ladder logic programming. Timers gives the precision in time.
Timer on delay starts timing when instruction is true. Timers are used to track time when instruction
are on or off.
They could also keep track on a retentive base.
Lab tasks:
Exercise#1:
Let’s say that we have a conveyor, siren and 1 limit switch LS-01. LS-01 is at the beginning of
the conveyor. When LS-01 is ON we want a buzzer to go on for 3 seconds (Security) and then we want
to start the conveyor. When LS-01 is cleared then we want to stop the conveyor.
Conclusion:
In this lab, we performed the given tasks by using the timer on delay. The tasks were performed
without any problem and the tasks were completed perfectly. The concept of the timer on delay was
cleared.
LAB # 6 COUNTERS
Objectives:
To understand the operation of Counters and simulate the given tasks in Allen Bradley PLC.
Abstract:
Counters are very essential in ladder logic programming. Counters are used to index, increment
or decrement values. In this lab we will implementing counters in the PLC programming.
Lab tasks:
Exercise#1:
Let us consider a system in which we have a switch to turn on a light when the switch is pressed
10 times the light should energize. We should also have a reset button.
Exercise#2:
A motor will be controlled by two switches. The Go switch will start the motor and the Stop
switch will stop it. If the Stop switch was used to stop the motor, the Go switch must be thrown twice
to start the motor. When the motor is active a light should be turned on. The Stop switch will be wired
as normally closed (Active Low).
Exercise#3:
Write a ladder logic program that does what is described below.
The flashing light will be on for 0.25 sec and off for 0.75 sec.
If button A has been pushed 5 times the light will not flash until the system is reset.
System can be stop at any time by pressing stop and remain continue working from its previous
state.
Fill each box with five balls and start conveyor 2 for 5 sec.
Conclusion:
In this lab, we performed the given tasks by using counters and timers. The tasks were
performed without any problem and the tasks were completed perfectly. The concept of the counters
and timers was cleared.
LAB # 7
COMPARISON
COMMAND
Objectives:
To understand the functions of Comparison Command in different applications and simulate
different tasks.
Abstract:
In this lab we will perform tasks related to comparison commands in PLC programming and
using these comparison commands we will perform the given tasks. Using comparison command are
an input instruction that allow much more programming possibilities. Data compare instructions
compare data that are stored in two or more words and make decisions based on the program
instructions. Numeric data comparisons that can be done are greater than (>), less than (<), equal to (=),
less than or equal to (≤), greater than and equal to (≥), not equal to (≠).
Lab tasks:
Exercise#2:
Consider a system in which we have a switch to turn on the light and fan. Light goes on when
the switch is pressed 5 times and a fan when pressed 10 times. Also, reset the switch.
Exercise#3:
Traffic Control Using 3 Lights
From the simulation menu at the top of the screen, select the Traffic Light. Using your knowledge of
timers and comparison instruction, develop a ladder logic program which will sequence a set of green,
yellow and red light in the following.
Exercise#4:
Modify your program so that the 3 lights which represent the other traffic direction are also controlled.
Conclusion:
In this lab, we performed the given tasks by using the comparison commands. The tasks were
performed without any problem and the tasks were completed perfectly. The concept of the comparison
command was cleared.
LAB # 8
SEQUENCER INSTRUCTION
Objective:
To understand the operation of Sequencer Instruction and simulate the given tasks in Allen Bradley
PLC.
Lab Tasks:
Exercise 1:
System has a Push button LS1, when user press the LS1
1st time Fan goes ON
2nd time Bulb ON and Fan goes OFF
3rd time Bulb OFF
(Implement using Sequencer)
Exercise 2:
Write a program that will turn on a flashing lights one after another for 1 sec.
Exercise 3:
Using ladder logic: Use only one start stop station consisting of only one NC contact and one NO
contact, two motor starters and three control relays create the following cycle. (No timers or counters)
1. When the start button is pressed motor 1 will start and run until stopped by pressing the stop button.
2. When the start button is pressed again motor 2 will run until stopped by pressing the stop button.
3. When the start button is pressed again motors 1 & 2 will run until stopped by pressing the stop
button. Pressing the start button again will now start the cycle over.
Exercise 4:
In this lab we understood the use of Sequencers and how it can be used to perform different task as per
our requirements.
LAB 9
FATEK PLC
Objective
To get the basic understanding of FATEK PLC . How to install the FATEK PLC supporting software.
Experimental setup
As this lab is a simulation-based lab so first we setup the WinProLadder software for the simulation
of the given lab tasks and then implement the tasks in the software.
Explanation
• For use in a Windows operating environment, completely designed in accordance with Windows
environment operation methods and habits, easy to learn and use, and allows users of all types,
beginner or expert, to operate the software in a very efficient manner.
• We use a project oriented approach, presenting your software development content visually in a
ladder diagram display, facilitating the clear and simple display of the content. All project
content, be it for software development or for program maintenance, can be viewed and worked
on in an intuitive and straight-forward manner.
• We provide a unique and specially designed keyboard and mouse that is specifically tailored to
match and suit your specific office environment conditions, so that no matter what type of
environment the user is in, they will always be able to program and test their software in a very
efficient manner.
Tasks
Task 01:
8. Winproladder is installed.
Task 02:
Toolbars
• Function Toolbar
The functions toolbar is the collection of functions included in the applications software, presented
in different categories. When the user selects any of the categories in the above functions toolbar, a
list of additional selectable functions will be displayed for the user to select.
• Tool Bar
In the process of the design of a project, it is often convenient to provide a toolbar with the most
commonly used functions included in it for the user to directly select, which can prove to be much
faster and more convenient that having to find the function through the functions toolbar.
• Component Tray
We provide a component tray which allows the user to easily select the components and command
functions that they need to use without having to search for what they want through the functions
toolbar, which is faster and more convenient. • Status Bar
The status bar displays information on the status of the current application, such as whether the
application is connected, whether it is in execution or has been disconnected, and the current
location of the cursor, etc., allowing the user to know the status of the current application at all
times.
Conclusion
We learned how to programme the PLC using the FATEK platform in this lab. We also installed
Winproladder, which is the FATEK PLCs supporting software.
LAB 10: TASK ON FATEK PLC
Abstract
In this lab we will work on the FATEK PLC. The Fatek PLC is a Programmable Controller from Taiwán
, very friendly to learn and simple to use, FREE Software and easy to make simple projects.
WinProLadder is used to program FATEK Programmable Logic Controller (PLC).
Objective
Experimental setup
As this lab is a simulation-based lab so first we setup the WinProLadder software for the simulation of
the given lab tasks and then implement the tasks in the software.
Tasks
Exercise#01:
Exercise#02:
Exercise#04:
Exercise#05:
Exercise#06:
Ladder program for LED to glow for 10 secs when the High time of the pulse at the input is equal to
10 sec:
Exercise#07:
Let us consider a system in which we have a switch to turn on a light when the switch is pressed 10
times the light should energize. We should also have a reset button.
Conclusion
In this lab, we have implemented the basic gates on FATEK PLC software WinProLadder. The gates
include AND, OR, NOT, XOR, and XNOR. We have also done two practice exercises to further explore
the software. The exercises include the glowing of a LED for 10 seconds and a counter problem of
switch pressing.
Note
This lab can serve as a standard for gates implementation on FATEK PLC. The use of timers and
counters could also be learned from this lab.
LAB 11: SIEMENS PLC (INTRODUCTION)
Abstract
In this lab we will work on the SIEMENS PLC. Step-7 Micro/Win and S7-200 simulator software is
used to program SIEMENS Programmable Logic Controller (PLC).
Objective
To get familiarize with the use of timers and counters to solve industrial automation problems and
addressing of Siemens PLC I/O instructions.
Experimental setup
As this lab is a installation-based lab so first we setup the Step-7 and S7-200 simulator for the
simulation of the given lab tasks and then implement the tasks in the software.
Explanation
The STEP 7--Micro/WIN programming package provides a user-friendly environment to develop, edit,
and monitor the logic needed to control your application. STEP 7--Micro/WIN provides three program
editors for convenience and efficiency in developing the control program for your application.
S7-200
Tasks
Example: When push button (I0.0) pressed once light should turn ON after 5 seconds and it should
turn OFF after 3 seconds. (with TON)
When push button (I0.0) pressed once light should turn ON after 5 seconds and it should turn OFF
after 3 seconds. (with TOFF)
Conclusion
In this lab, implemented different tasks in Siemens PLC simulation software using TON and TOFF
Note
This lab can be used as a reference for learning how to use the SIEMENS PLC and the software.
LAB 12: TASK ON SIEMENS PLC
Abstract
In this lab we will work on the SIEMENS PLC. Step-7 Micro/Win and S7-200 simulator software is
used to program SIEMENS Programmable Logic Controller (PLC).
Objective
To get familiarize with the use of timers and counters to solve industrial automation problems and
addressing of Siemens PLC I/O instructions.
Experimental setup
As this lab is a installation-based lab so first we setup the Step-7 and S7-200 simulator for the
simulation of the given lab tasks and then implement the tasks in the software.
Explanation
The STEP 7--Micro/WIN programming package provides a user-friendly environment to develop, edit,
and monitor the logic needed to control your application. STEP 7--Micro/WIN provides three program
editors for convenience and efficiency in developing the control program for your application.
S7-200
Tasks
Example: When push button (I0.0) pressed once light should turn ON after 5 seconds and it should
turn OFF after 3 seconds. (with TON)
When push button (I0.0) pressed once light should turn ON after 5 seconds and it should turn OFF
after 3 seconds. (with TOFF)
Conclusion
In this lab, implemented different tasks in Siemens PLC simulation software using TON and TOFF
Note
This lab can be used as a reference for learning how to use the SIEMENS PLC and the software.