0% found this document useful (0 votes)
23 views5 pages

Control Exp 6 Student Manual

This document serves as a student manual for Experiment 6 in the Control Systems Laboratory at American International University-Bangladesh, focusing on Programmable Logic Controllers (PLCs). It outlines the objectives, theory, methodology, and experimental procedures for using timers and counters in PLC programming. The manual also includes safety precautions, apparatus needed, and questions for report writing to assess understanding of the experiment.

Uploaded by

James Mark
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views5 pages

Control Exp 6 Student Manual

This document serves as a student manual for Experiment 6 in the Control Systems Laboratory at American International University-Bangladesh, focusing on Programmable Logic Controllers (PLCs). It outlines the objectives, theory, methodology, and experimental procedures for using timers and counters in PLC programming. The manual also includes safety precautions, apparatus needed, and questions for report writing to assess understanding of the experiment.

Uploaded by

James Mark
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Experiment 6 Student Manual

American International University- Bangladesh


Department of Electrical and Electronic Engineering
EEE 4101: Control Systems Laboratory

Title: An Introduction to Industrial Programmable Controllers Using PC45/ML. (Part I)

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:

In industry, many manufacturing processes demand a sequence of operations, which are to be


performed repetitively. Early automation systems were mechanical in design, timing, and
sequencing being affected by gears and cams. Slowly these design concepts were replaced by
electrical drives, which were controlled by relays.
The main objective of this experiment is-

1) To learn the use of different switches and timers

Theory and Methodology:

Basic PLC Operation:

Fig. 1: Basic PLC Operation

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 System:

The PLC, like a computer, employ a microprocessor chip to do the processing and memory
chips to store the program.

© Dept. of EEE, Faculty of Engineering, American International University-Bangladesh (AIUB) 1


The PLC consists of three sections:

1. A processor.
2. Input/ Output (I/O).
3. A programming unit

The input and output units are connected via an INTERFACE.

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.

Timer in Allen Bradley PLC (TON Delay)

© Dept. of EEE, Faculty of Engineering, American International University-Bangladesh (AIUB) 2


Pre-Lab Homework:

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.

4) PC49 Hand held compressor


pump.

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:

Implementation of different logic gates by using ladder logic program:

© Dept. of EEE, Faculty of Engineering, American International University-Bangladesh (AIUB) 3


Timer:
In this programming exercise you will use the Timer ON instruction in order to see how each
of its instruction bits operate in a real life system.

 Turn on your PC and ensure that Windows is running


 Click the Start button and choose Programs. The main Programs menu appears.
Choose the Rockwell Software folder, then choose the RSLogix 500 Starter folder,
and click on the RSLogix 500 starter program.
 When RSLogix has started, press the New icon in the standard icon bar in order to
begin a new project.
 Start a new project. Below a ladder logic diagram for the program that you will be
developing in this exercise.
 Enter the instructions shown in the Figure into the ladder diagram. The timer ON
(TON) instruction can be found in the Timer\Counter category of the instruction
toolbar.
 The timer ON instruction should appear in rung 0000 as shown in figure
 Enter addresses I:0. 0/0 and O:0. 0/7 as shown in the figure. You will be told how to
enter the Timer ON instruction parameters and Examine ON address next.
 Double-click your left mouse button on the question mark (?) to the right of Timer
and enter the address T4:0 into the box that appears. Press the Enter key on your
keyboard. A drop down list will now appear to the right of Time Base
 Select the value 0.01 from the list and press the Enter key
 Type 250 into the box that has now appeared next to Preset, then press Enter.
 Press Enter to clear the box that appears next to Accum in order to allow the timed
count to start from 0.
 You have set up the parameters for the Timer ON instruction and should now appear
as shown in figure below.
 Click on the Examine ON instruction in rung 0001 in order to highlight it, type
T4:0/EN, then press the Enter Key
 This examine ON instruct will become true when the Enable (EN) bit of timer T4:0 is
active

Simulation and Measurement:

Compare the simulation results with your experimental data/ wave shapes and comment on
the differences (if any).

Questions for report writing:

1. Explain how each program works.


2. What is normally open and normally closed relay?
3. What do you understand by the rung of a ladder logic program?
4. Implement various logic gates by using Ladder Diagram?
5. What is the basic difference between normal timer and retentive timer operation?

© Dept. of EEE, Faculty of Engineering, American International University-Bangladesh (AIUB) 4


Discussion and Conclusion:

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

PLC Input Terminal Description


I/0 Green Push Button
I/1 Red Push Button
I/2 Sensor 1
I/3 Sensor 2
I/4 Microswitch 1
I/5 Microswitch 2
I/6 Microswitch 3

PLC Output Terminal Description


O/4 Conveyor (Forwards)
O/5 Conveyor (Reverse)
O/6 Green Lamp
O/7 Red Lamp
O/8 Cylinder 1
O/9 Cylinder 2
O/10 Cylinder 3

© Dept. of EEE, Faculty of Engineering, American International University-Bangladesh (AIUB) 5

You might also like