0:11
hello everyone welcome to automation
0:14
Community today in this video we are
0:17
going to discuss an example which will
0:19
be about pumping and mixing so let's
0:23
look at the example first pumping and
0:26
mixing process the pump should run for
0:28
30 second to fill a tank then Val one
0:32
and Val two will get open for 2 seconds
0:34
each one after other and then a mixer
0:37
should operate for 30 second and finally
0:40
the pump should drain the tank for 30
0:43
second that means when a start button is
0:46
turned on pump one will operate for 30
0:49
seconds and after 30 second Val one will
0:53
open for 2 seconds and after that Val
0:56
two will also open for 2 seconds and
0:59
after that the mixer will operate and it
1:02
will turn on for 30 seconds and after
1:05
that pump two will turn on and it will
1:10
the material and it will operate for 30
1:14
seconds so let's move TI portal where we
1:17
will draw a ladder diagram for this
1:19
example I use normally open contacts
1:23
some timers like TP and
1:26
TR this is the interface of TI portal
1:29
version 16 Ste so we need to go to PLC
1:33
tags then default tag table so here we
1:37
need to add our inputs and outputs so we
1:40
have an input that is a
1:42
start button and then we have some
1:49
one as it is an output so its address
1:54
0.0 and then we have W 1 and then we
1:59
have wve two and then we have also Palm
2:03
two that will transfer the material and
2:08
after writing all these inputs and
2:11
outputs we'll go to program blocks and
2:16
ob1 so here we will draw the ladder
2:19
diagram so I will zoom into it like this
2:21
so firstly I will insert a normally open
2:23
contact that is a start button and then
2:27
I will insert a coil that will represent
2:31
one so this pump one will turn on for 30
2:35
seconds for that we will use a timer
2:37
operation here for pump one and it will
2:40
be TP so the preset value for this TP
2:45
seconds and after that this P fun will
2:48
turn off and then when start button is
2:53
on after uh pump one gets off that means
2:57
there is a delay of 30 seconds so we
3:01
on so this t on the preset value for
3:03
this will be 30 seconds and in those 30
3:06
seconds pump one was on and after
3:09
getting the pump one off Val one will
3:12
turn on this Val this Quil represents
3:16
Val one and it will open for 2 seconds
3:22
use so this will be 2 second preset
3:27
seconds and after that
3:30
while two will operate so I will insert
3:32
a normally open contact that will
3:34
represent start button and 30 + 2 is 32
3:38
seconds so there will be a delay of 32
3:41
seconds so I will write 32 here and
3:44
after 32 seconds this coil will get on
3:47
and this coil is valve 2 so this Val 2
3:51
will operate for 2 seconds for that will
3:54
insert a timer that is a TP so this TP
3:57
the pret value will be 2 seconds and
4:00
after 32 and 2 seconds and after 34
4:03
seconds mixer will operate so I will
4:05
insert an orally open contact for start
4:08
button and there will be a delay of 34
4:11
seconds so I will insert t on here and
4:15
the preset value will be 34 seconds so
4:18
this 32 + 2 and in those 32 seconds in
4:22
30 seconds pump 1 was on and then for 2
4:25
seconds Val one and then
4:35
and for 2 seconds while two was on and
4:37
then after 34 seconds one more coil will
4:41
turn on and that will be for a
4:46
mixer so we haven't added the mixer here
4:50
so I will will go again to the uh PLC
4:54
tags and default tag table so there will
4:57
be one more output that is a mixer so
5:00
I'll minimize this and then select mixer
5:04
from the list so this will be mixer so
5:07
mixer will operate for 30 seconds so I
5:11
will insert a timer that will be a TP
5:14
and the preset value will be 30
5:19
seconds and then and after 34 seconds
5:23
and 30 second that mean that is 64
5:26
seconds pump two will turn on so I will
5:29
insert a normally open contact for start
5:31
button and then there will be a delay of
5:34
64 seconds so I will insert a t on here
5:37
and the pret value for t on will be 64
5:40
seconds and after 64 second one more
5:43
coil gets on and that is pump two so pal
5:46
two gets on and it gets on for 30
5:49
seconds so there will be a TP
5:52
here so the pret value for this DP will
5:55
be 30 seconds and after that we will
5:58
directly go to start simulation
6:18
load and then finish and after that I
6:21
will start the CPU here and after
6:37
monitoring and then I will switch to
6:43
view so here we need to create a new
6:46
project enter it's creating the new
7:23
we'll go to simulation tables and then
7:28
one right click here and click on load
7:31
project TS so here we need to uh turn on
7:36
button I will turn on the start
7:41
button as you can see
7:44
here pump one gets on and it remains on
7:53
seconds and for those 30 seconds this
8:08
so as you can see here 27 28 29 30 so
8:12
pump one gets on Val one gets on for 2
8:15
seconds and then Val two gets on for 2
8:17
seconds and then mixer gets on for 30
8:26
seconds so the mixer will remain on for
8:29
30 seconds and after 30 seconds it will
8:32
turn off so for those 30 seconds it will
8:35
wait this pum to had waited for 64
8:38
seconds so after 30 seconds mixer gets
8:43
off so mixer got off after 30 second and
8:47
this Palm two will operate for another
9:17
so after 30 seconds palum 2 also got off
9:20
it was all about this example thank you