You are on page 1of 14

EXPERIMENT NO.

2 (Timer and Counters) Controls Engineering Laboratory

LABORATORY EXPERIMENT NO.2 (TIMERS AND COUNTERS)

GROUP 1 CONTROL ENGINEERING 10/21/2021


- BERMAS
- CABAS
- CASTANEDA
- GAJO
- JUNIO
- LAVADO
- MANANGAN
- TU

ACTIVITY NO. 1: Write a program that when the start button is pressed,
pump 1 and pump 2 will be turned on 10 seconds alternately.

SIMULATED PROGRAM:

EXPERIMENT OBSERVATION:
EXPERIMENT NO. 2 (Timer and Counters) Controls Engineering Laboratory
EXPERIMENT NO. 2 (Timer and Counters) Controls Engineering Laboratory

I/O ADDRESS USED:

INPUT/ OUTPUT ADDRESS SYMBOL


%I0.0 START_BUTTON
%I0.1 STOP_BUTTON
%M0 AUTO_RUN
%Q0.1 PUMP_1
%Q0.2 PUMP_2
%TM0 PUMP_ON_TIMER
%TM1 PUMP_OFF_TIMER

EXPERIMENT OBSERVATIONS:

As I input all the data from the picture shown, it is now time for it to run the
program. As the simulator launches, input %I0.1, %Q0.1 and %Q0.2 are run
immediately. Then I start controller. First, I press 1 the input %I0.1 will
suddenly turn off, then after that I press 0 and the input %I0.0 will suddenly
open and the last I press is 1 again the pump 1 and pump 2 will start turned
on 10 seconds alternately.
EXPERIMENT NO. 2 (Timer and Counters) Controls Engineering Laboratory

ACTIVITY NO. 2 Write a ladder program that will light the lamp when the
counter sensor reaches 10. And will reset the count when “Reset button” is
pressed.

SIMULATED PROGRAM:

EXPERIMENT OBSERVATION:
EXPERIMENT NO. 2 (Timer and Counters) Controls Engineering Laboratory

I/O ADDRESS USED:

INPUT/ OUTPUT ADDRESS SYMBOL


%I0.0 RESET
%M0 COUNT_COMP
%I0.1 COUNT_SENSOR
%C0 COUNTER
%Q0.0 LAMP_ON

EXPERIMENT OBSERVATIONS:

Question: What happened to the output when you on the start button and off
it again?

Regarding the simulation, when the preset is on 0 then if I’m going to click
the start button or the ‘In 0’, nothing will happen since the symbol is just
‘reset’ which means the preset will just start to 0 and it will not move until
the end of the preset range. But if I’m going to click the second contact or
input (Count_Sensor)– on and off, the preset will move. If it reaches the final
range which is 10, the lamp will be lighted through the coil (Counter_Comp)
which is located on the Rung 1 that is connected to it. Also, I observed that
we must be careful in placing contact or coil in a counter since it’s the
function block that counts up or down until it reaches a limit. It means that if
we’re not able to place it correctly, there will be an error in lighting up the
lamp.
EXPERIMENT NO. 2 (Timer and Counters) Controls Engineering Laboratory

ACTIVITY NO. 3 Write a program that when the start button is pressed as 5
seconds Lamp 1 is on, after 5 seconds Lamp 2 is on, after 5 seconds Lamp 3
is on and after 5 seconds Lamp 4 is on.

SIMULATED PROGRAM:

EXPERIMENT OBSERVATION:
EXPERIMENT NO. 2 (Timer and Counters) Controls Engineering Laboratory
EXPERIMENT NO. 2 (Timer and Counters) Controls Engineering Laboratory

I/O ADDRESS USED:

INPUT/ OUTPUT ADDRESS SYMBOL


%I0.0 START BUTTON
%Q0.0 LAMP 1
%Q0.2 LAMP 2
%Q0.3 LAMP 3
%Q0.4 LAMP 4
%TM0 TIMER
%TM1 TIMER
%TM3 TIMER
%TM4 TIMER

EXPERIMENT OBSERVATIONS:

Through this Activity 3, create a program that when the start button is
pressed for 5 seconds, Lamp 1 turns on, Lamp 2 turns on, Lamp 3 turns on,
and Lamp 4 turns on. This is a PLC program that turns on the lamp after a 5
second timer and uses an indicator, which is the lamp. TON (ON Delay Timer)
was used in this case. Figure 1 shows when the user presses the start
button, and then after 5 seconds, the lamp 1 energizes and remains ON, as
shown in Figure 2. The cycle will continue until the lamp 4 (shown in Figure
3-5) is turned on. Several observations were made as a result of this
experiment, which helped me understand the timer and counter better.
EXPERIMENT NO. 2 (Timer and Counters) Controls Engineering Laboratory

ACTIVITY NO. 4 Write a program that when an object is detected by the


detect sensor, the timer will start for 5 seconds before counting the detected
object. When the counter reaches 10 the lamp will turn on.

SIMULATED PROGRAM:
EXPERIMENT NO. 2 (Timer and Counters) Controls Engineering Laboratory
EXPERIMENT NO. 2 (Timer and Counters) Controls Engineering Laboratory
EXPERIMENT NO. 2 (Timer and Counters) Controls Engineering Laboratory

I/O ADDRESS USED:

INPUT/ OUTPUT ADDRESS SYMBOL


%I0.1 RESET_BUTTON
%I0.0 DETECT_SENSOR
%TM0 TIMER
%C0 COUNTER
%Q0.0 LAMP

EXPERIMENT OBSERVATIONS (WHEN WILL THE OUTPUT BE ENERGIZED?):

Question: At what input state(s) will the output be off? What other
observations did you noticed?

I observed that the output will be energized when the counter reaches 10
that’s when the lamp will turn green which indicates it is turn on. The output
is off when it is in state where the counter is between 1-9. When the detect
sensor detects that an object pass through it, the timer will start then the
counter also began to start. Then you will repeat it 10 times so that it
reaches counter 10. I only click the start and stop button or the rung 0.
EXPERIMENT NO. 2 (Timer and Counters) Controls Engineering Laboratory

ACTIVITY NO. 5 Write a program that will alternately on off 2 motors. When
the motors are in “on” state the counters for the respective motors will count
until it reaches 20 “on” state. Once the counters reach 20. The indicator
lights will turn on. When both indicator lights are already on the automatic
run signal will turn off, turning off the entire system.
EXPERIMENT NO. 2 (Timer and Counters) Controls Engineering Laboratory

SIMULATED PROGRAM:

EXPERIMENT OBSERVATION:

I/O ADDRESS USED:

INPUT/ OUTPUT ADDRESS SYMBOL

EXPERIMENT OBSERVATIONS:

___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________

You might also like