Uploaded by Dowell Arc

cosico-exercise-6 compress

advertisement
Department of Mechanical and Manufacturing Engineering
EXERCISE 6 FLASH CONTROL MODULE
A Report in ME 3226
PROGRAMMABLE LOGIC CONTROL
Submitted by:
Cosico, Chito Jr. C.
Submitted to:
Engr. Junmar Laranjo
November 2021
Exercise 6
FLASH CONTROL MODULE
I. Purpose
1.1 Learn PLC Flash Control Module fundamental and I/O port connection, and PLC
Programming.
1.2 Learn I/O port wiring methods.
1.3 Learn PLC programming Language
II. Components
2.1 PLC-Controller
2.2 PLC-Flash Control module
2.3 Computer or Programmer
2.4 PLC serial Communication cable.
III. Fundamentals
Responder control working modes:
Push start button, all lights will turn on individually one at a time for 1 second interval
following the sequence, L1, L2, L3, L4, L5, L6, L9, L11, L13, L15, L7, L8, L10, L12, L14
AND L16. When the last lamp, L16 is on, all the red lights in the outer pentagon will turn on
simultaneously (i.e. L8, L10, L12, L14 AND L16) for 1 second only. After 1 second, it will be
off and at the same time all the yellow lights will turned on simultaneously followed by all the
green lights all for 1 second interval. After 1 second, all green lights will be turned off and all
the lights (L1-L16) will be turned on and off for 5 times with 1 second on/off interval. Then
the cycle repeats and will be terminated only by pushing a reset button.
IV. Requirements
4.1 Truth table
INDIVIDUAL SEQUENCE
LIGHTS
ALL LIGHTS
INDIVIDUAL COLOR
L1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
1
0
1
0
1
0
L2
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
1
0
1
0
1
0
1
0
L3
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
1
0
1
0
1
0
1
0
L4
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
1
0
1
0
1
0
1
0
L5
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
1
0
1
0
1
0
1
0
L6
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
1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6-
L9L11L13L15-
R21
T20
L1+
L2+
L3+
L4+
L5+
L6+
L7+
L8+
L9+
L10+
L11+
L12+
L13+
L14+
L15+
L16+
T21
L1L2L3L4L5L6L7L8L9L10L11L12L13L14L15L16-
R21
T20
L1+
L2+
L3+
L4+
L5+
L6+
L7+
L8+
L9+
L10+
L11+
L12+
L13+
L14+
L15+
L16+
T21
L1L2L3L4L5L6L7L8L9L10L11L12L13L14L15L16-
R21
T20
L1+
L2+
L3+
L4+
L5+
L6+
L7+
L8+
L9+
L10+
L11+
L12+
L13+
L14+
L15+
L16+
T21
L1L2L3L4L5L6L7L8L9L10L11L12L13L14L15L16-
R21
T20
L1+
L2+
L3+
L4+
L5+
L6+
L7+
L8+
L9+
L10+
L11+
L12+
L13+
L14+
L15+
L16+
T21
L1L2L3L4L5L6L7L8L9L10L11L12L13L14L15L16-
R21
T20
L1+
L2+
L3+
L4+
L5+
L6+
L7+
L8+
L9+
L10+
L11+
L12+
L13+
L14+
L15+
L16+
T21
L1L2L3L4L5L6L7L8L9L10L11L12L13L14L15L16-
STOP
START
R17
T16
L1
L2
L3
L4
L5
L6
L7
L8
L9
L10
L11
L12
L13
L14
L15
L16
ALL LIGHTS
INDIVIDUAL COLOR
RESET
LIGHTS
4.3 Ladder Diagram
4.4 Solution Description
All timer relays are configured to a one-second delay. Timer relay RESTART is a delay switchoff relay, while T1 through T21 are delay switch-on relays. When the START button is pressed,
relay R1 is energized, closing the normally open relay switch R1 parallel to the START button.
When the push-button START is released, this will provide a steady current to the circuit. R1
closes the normally open relay switch on the next electrical line, allowing current to flow
through relay R2 and time relay T1. Relay R2 closes the normally open relay switch R2 to light
up L1, and the timer relay T1 starts when it is powered. The timer relay will actuate and close
the normally open relay switch T1 after 1 second. The current will flow towards relay R3,
which will turn off L1 by opening the normally closed relay switch R3 and turning on light L2
by closing the normally open relay switch R3. The timer relay T2 will be energized at the same
time, starting the timer. The timer relay actuates and closes the normally open relay switch T2
after 1 second, allowing current to flow towards relay R4 and timer relay T3. Lights L3 - L12,
and L14 are activated in order using the same approach. Lights L8, L10, L12, and L14 use the
same relays as light L16, relay R17, and R18 for activation and deactivation; both relay
switches for these relays are in parallel with the relay switches used for the individual
sequences of L8, L10, L12, and L14, but these are connected to light L16 in series. Relay 17
will be engaged as the normally open relay switch T15 closes, closing the normally open relay
switches R17 for lights L8, L10, L12, L14, and L16. As a result, the outer pentagon's red lights
are turned on. To start the one-second timer, the timer relay T16 will be energized
simultaneously as the relay R17. Relays R18 and R19 activate and deactivate the lights L7, L9,
L11, L13, and L15. Both relay switches for these relays parallel the relay switches for the L7,
L9, L11, L13, and L15 individual sequences. Relay 18 will be engaged as the normally open
relay switch T16 closes, opening the normally closed relay switches R18 to deactivate the outer
pentagon's red lights and closing the normally open relay switches R17 for L7, L9, 11, L13,
and L15. As a result, the pentagon's yellow lights are turned on. To start the one-second timer,
the timer relay T17 will be energized simultaneously as the relay R18. For activation and
deactivation, lights L2, L3, L4, L5, and L6 use the same relays, relay R19 and R20, with both
relay switches in parallel with the relay switches used for the individual sequence of L2, L3,
L4, L5, and L6. Relay 19 will be engaged as the normally open relay switch T17 closes,
opening the normally closed relay switches R19 to deactivate the pentagon's yellow lights and
closing the normally open relay switches R19 for lights L2, L3, L4, L5, and L6. As a result,
the pentagon's green lights are turned on. The timer relay T18 will also be activated to start the
one-second timer. The normally open relay switch T18 closes after 1 second to energize relay
R20. The normally closed relay switches R20 will open, turning off the pentagon's green lights.
T19, the timer relay, will be energized at the same moment to start the one-second timer. They
normally open relay switch T19 shuts after 1 second to energize relay R21. To activate all of
the lights, the normally open relay switches R21 will close. The timer relay T20 is activated at
the same time as relay 21 to start a one-second timer. The normally open relay switches T20,
in series with the closed normally open relay switches R21, in series with the timer relay T21,
and in series with the actuation terminal of the relay counter C1 5 pulses when the timer
approaches zero. All of the lights will turn off when the normally closed relay switch T20
opens. When the normally open relay switch T20 closes, the timer relay T21 is energized,
initiating the one-second timer. To allow electricity to flow via the counter relay C1, the
normally open relay switch R21 closes. The normally closed relay switch T21 opens after 1
second of the timer relay T21, cutting off the current flowing through the T20. This will turn
off all of the T20 relay switches. The counter of the relay counter will decrease by one pulse
when the relay switch in series with the actuation of the terminal of the relay counter C1 opens.
When current is supplied, the opened normally closed relay switch T20 will close, allowing
current to flow across the circuit. Finally, the timer relay is deactivated when the closed
normally open relay switch T20 opens. This will close the opening normally closed relay
switch T21, allowing electricity to flow through the timer relay T20, allowing the cycle to
repeat. When the counter hits 0 pulses, the counter relay activates. When the normally open
relay switch C1 is triggered, it closes, energizing the 1-second delay switch-off relay RESET.
This will open the normally closed relay switch RESET, cutting off the circuit's supplying
current. The normally open relay switch RESET closes at the same moment, resetting the
counter relay's counter. The opened, normally closed relay switch RESET will close after 1
second, supplying current to the circuit and repeating the cycle. Only hitting the STOP button,
which is connected in series to the parallel connection of the START button and the relay R1,
will end the cycle. This is to verify that current is no longer provided to the complete circuit.
Download