0% found this document useful (0 votes)
11 views

Logic Design of The Operation

The document describes the logic design for an automated liquid filling and capping process. It outlines the logic in terms of inputs like start button, sensors S1-S3, and outputs like motor M1, valve V1, piston P1. The logic ensures M1 runs when start is pressed and no bottle is detected. When a bottle is detected by S2, M1 stops and V1 opens. When the liquid reaches the maximum level detected by S1, V1 closes and M1 resumes. When a capped bottle is detected at S3 by the capping station, P1 retracts for sufficient time to complete capping. A counter counts the total processed bottles. Diagrams and simulations confirm the designed
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views

Logic Design of The Operation

The document describes the logic design for an automated liquid filling and capping process. It outlines the logic in terms of inputs like start button, sensors S1-S3, and outputs like motor M1, valve V1, piston P1. The logic ensures M1 runs when start is pressed and no bottle is detected. When a bottle is detected by S2, M1 stops and V1 opens. When the liquid reaches the maximum level detected by S1, V1 closes and M1 resumes. When a capped bottle is detected at S3 by the capping station, P1 retracts for sufficient time to complete capping. A counter counts the total processed bottles. Diagrams and simulations confirm the designed
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 11

(Complex Engineering Problem)_

REPORT
Student Name:_Yasir Hussain
Nutech ID: F19603013
Course Name: Robotics & Automation
Professor Name:Dr.Muhammad abubakr

Submission Date
09-02-2023

Logic Design Of The Operation:


Before going to ladder programming, we should design the logic of the operation
to build guidelines on which we can develop the ladder logic. According to the
operation description we stated aforementioned above, we can express the logic in
lines as follows:
 If start is ON, no filling is in progress meaning sensor S2 does not see a bottle,

and no stop is requested, then motor M1 is ON.

 If sensor S2 is ON, that means there is a bottle at a position to be filled so motor

M1 will be stopped or OFF.

 If sensor S2 is ON, that means a filling process is in progress, therefore, Valve V1

will open

 If S1 is ON, that means the liquid in the bottle that is being filled reached the

maximum level, So valve V1 closes and motor M1 now goes on running.

 If S3 is ON, that means there is a bottle that presents at the capping station, So the

piston P1 is retracted to process the capping of the bottle.

 INPUTS and OUTPUTS List with Address and initial address:


 Sensor S1 that tells the bottle that is being filled is already filled and all
set to move to cap station in addition to the latching consideration. So,
we have two parallel branches, one branch for the sensor S1 and the
other one from the valve status contact for latching. Those parrel
branches connected in series to show “AND” logic with the sensor S2
to make sure of the presence of a bottle in the filling station. On the
other hand, the stop push button represents an ending request received
at any time from the user to close the valve.
 Now, the process goes on and the bottle has just left the filling station
and has reached to capping station. That has been recognized thanks to
sensor S3 that detects a bottle that has just arrived at the capping
station. As a result, the piston should be activated. Firstly, a timer has
been utilized to let the piston activated for some amount of time that is
enough to let the capping process be comfortably completed. So, in-
network 3 shown in fig. 4, a timer which is of off-delay type is utilized
to activate the capping piston for plenty of time to let the capping
process be completed as shown in fig. 5.

Fig:04
Fig:05
And finally, in-network 5 shown in fig.6, the falling edge signal of the piston
denotes the completion of the capping process. So, a counter which is of type
count-up timer is triggered to count up to determine the number of the
processed bottle so far. The preset value has been set to a specific value i.e.
100 which can be used to perform maintenance or end a batch process for
100 bottles to be filled and capped.

FIG:06
Compiling the Ladder Logic of the Project
After translating the writing logic to a ladder program that is composed of a
couple of rungs, the second compulsory step is to verify the syntax of the
ladder program and make sure that the program is free of error. So, we show
you in fig. 7 the compilation results to show there is no error with the written
code so far. By doing this verification, we are all set now to upload the
program to the controller and check the logic and operations.

Simulating and Testing


Figure 8 shows the initial state of the program before starting the process. It
is clear that the conveyor belt is stopped and the status of all sensors,
pushbuttons, actuators are as their aforementioned initial states.
Fig. 8: Initial State of the Inputs and Outputs Before Starting the Process
Now, let’s hit the start push button to start the process and watch what is
going on. Figure 9 shows good news!!! By hitting the start button, the process
correctly started and the motor M1 that drives the conveyor belt starts
spinning.

Fig. 9: The status After Hitting Start the Process


latching is working as shown in fig. 10 as the conveyor continues spinning
even after releasing the start button thanks to applying the latching technique.
Fig. 10: Conveyor Still Running Even after Release start Push Button
Thanks to Latching
Once a bottle is presented at the filling station, sensor S2 is activated.
Consequently, the conveyor stops waiting for the filling process to complete.

Fig. 11:Conveyor Stops when a Bottle Presents at S2 for Filling


Sensor S1 is there to watch the level to which the liquid reaches in the bottle
that is being filled. Once the limit is reached, sensor S1 is activated telling
hey here we go, the filling process is over and now we ready to go further to
the next step which is the capping station as shown in fig. 12.
Fig. 12: The Valve is Closed by reaching the Limit Level and S1 is ON
Because the valve is closed after the filling limit is reached, the conveyor
continues spinning and sensor S2 is deactivated showing the bottle has been
filled and left the filling station. However, the conveyor belt keeps running

Fig. 13: The Conveyor belt Goes Running by Closing The Valve V1

we put there our agent to tell us a bottle has arrived for capping which is
sensor S3, once that happened, sensor S3 is activated and hence activates the
piston to retract and keep retracted for a sufficient amount of time to let the
capping process be completed So first fig. 14 shows in network number 3,
the timer is activated and starts counting the time that is preset to 2 seconds
and in the same time activates the piston to keep retracted during that time
based on the nature of operation of an off-delay timer.

Fig. 14: The Piston is Activated by Reaching at Capping station When S3


is ON
And finally, the counter is utilized to count the processed bottles which are
triggered by the falling edge of the piston denoting completion of a filling
and capping process.

Fig. 15: The Counter Counts up Every item After the Capping Process

You might also like