American International University-Bangladesh (AIUB) Faculty of Engineering

Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

American International University- Bangladesh (AIUB)

Faculty of Engineering

Course Name: Modern Control System Lab Course Code: EEE4102


Semester: Spring, 2019-20 Sec: C
Faculty: Md. Abid Hasan

Experiment An Introduction to Industrial Programmable Controllers Using Report 07


Name: PC45/ML (Part II) No:

Group Student ID Student Name Dept


Members:
1. 16-31956-2 Faiazur Rahman EEE
2. 17-35956-3 Abedin Zahid EEE
3. 17-35470-3 Sarkar Shubhashis EEE
4. 17-35407-3 Nobonita Sen EEE
5. 17-35927-2 Sadia Afrin Sara EEE

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


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.
Theory and Methodology:
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.

Apparatus: The PC45/ML module contains following items:


1. Allen-Bradley MicroLogix 1500 Programmable Controller.
2. PC45 Programmable Controller Trainer.
3. PC45 Accessory kit.
4. PC49 Hand held compressor pump.

Experimental Procedure:
Be familiar with the RSLogix software. All programming will be done using RSLogix programming
software. Start-programs- Rockwell Software-RSLogix 500 Starter.
Timer: In following 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
The following programming exercises primarily require that either a tall or short object is detected and
then thrown off the conveyor. You should note that Sensor 1 can detect only tall object, while Sensor 2
can detect both short and tall object. Therefore, detecting tall objects are straightforward; however,
detecting short objects are not. If the total number of objects is known, then it is easier to detect short
objects.Also require timers and counters. Note that the timers should be named as T4:0, T4:1 etc. and
counters should be named as C5:0, C5:1 etc. The timers that should be used here is the Timer ON (TON)
or Retentive Timer ON (RTO). The counters that should be used are Up Counter (CU) and Down Counter
(CD).

Programming Exercise 1: Design a ladder logic program where pressing of green push button will start
the conveyor in forward direction and pressing of red push button will stop the conveyor.
Programming Exercise 2: Design a ladder logic program where pressing of green push button will start
the conveyor in forward direction and after 45 second conveyor will stop automatically.
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
[3] Control System Laboratory Manual, American International University-Bangladesh (AIUB), 2013

You might also like