Control Exp 6 Student Manual
Control Exp 6 Student Manual
Abstract:
PLC: A PROGRAMMABLE LOGIC CONTROLLER (PLC) is an industrial computer control
system that continuously monitors the state of input devices and makes decisions based upon a
custom program to control the state of output devices. In this experiment, an introduction
program will be designed using timer.
Introduction:
The basic operation for programmable logic controllers has been shown in Fig. 1. The input
devices are sensors that monitor the machine or the process being controlled. The status of
these sensors (ON or OFF) is fed to the PLC controller. Depending upon the input status of
these sensors the PLC controller will send signals to switch on (energize) or off (de-energize)
the output devices (motors, relays, valves etc.) in order to control the machine or process.
The PLC, like a computer, employ a microprocessor chip to do the processing and memory
chips to store the program.
1. A processor.
2. Input/ Output (I/O).
3. A programming unit
An interface is where two systems come together and interact or communicate, that is,
communication between the plant being controlled the PLC controller.
The basic architecture of a PLC contains a processor (microprocessor chip(s)), memory chips
and an arithmetic logic unit (ALU). It also contains all the input and output interfacing. The
programming devices, either hand-held, dedicated terminal or desktop, are remote from the
PLC controller.
The PLC must be able to perform counting and timing operations. Most PLCs have timers
and counters that can be programmed into a ladder diagram.
The timer is essentially an internal clock that can be set to count in set intervals of seconds or
parts of seconds.
The number of intervals counted is called the accumulated value (AC). For example, if each
interval is 0.1 seconds and the AC value is 10, then the time elapsed is 1 second.
Timers are used to insert a delay. Timers are enabled so that an output can be activated after a
certain time. During the time the timer is enabled, it continuously increments its accumulator
value by the timing step, until it reaches the preset value. Counters count events. Every time
it is activated, it increments or decrements the accumulator value by one, unless it reaches the
preset value. When a timer or a counter reaches the preset value a DONE (denoted as DN in
the ladder logic diagrams) signal becomes active. To restart timing or counting, the reset
signals have to be active (denoted as RES in the ladder logic diagrams).
A timer is activated by a latched input. That is why it cannot be simply activated by a switch
or an active sensor. However, a counter is generally activated by a switch or an active sensor.
The following figure illustrates this. Note that the input and output addresses are not the real
addresses of the PLC-they are just used to illustrate the above point.
You must solve the following questions and make a short report on that before the start of the
lab-
1. Get all the theoretical basics on timers and counters that will be helpful to
implement the experiment.
Apparatus:
1) Allen-Bradley MicroLogix 1500
Programmable Controller.
2) PC45 Programmable Controller
Trainer.
3) PC45 Accessory kit.
Precautions:
Students should take the following precautions while conducting the experiment –
1. Check the computer if it is working; otherwise inform lab instructor,
2. Be careful while handling the power supply buttons of computers and other accessory
kit and to keep them off when they are not needed,
3. Check if PLC is working correctly and beware of typing mistakes or drawing the
ladder diagram.
Experimental Procedure:
Compare the simulation results with your experimental data/ wave shapes and comment on
the differences (if any).
Interpret the data/findings and determine the extent to which the experiment was successful
in complying with the goal that was initially set. Discuss any mistake you might have made
while conducting the investigation and describe ways the study could have been improved.
Reference(s):
[1] Norman S. Nise, “Control Systems Engineering”, available Edition, John Wiley & Sons
Inc.
[2] An Introduction to Industrial Programmable Controllers, PC45/ML Curriculum Manual,
LJ Technical Systems
[2] Control System Laboratory Manual, American International University-Bangladesh
(AIUB), 2013
Appendix