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 level control so let's look at
0:25
first level control if the lowlevel
0:28
sensor detects that the tank is low then
0:31
the pump will run for 20 seconds if the
0:34
high level sensor detects that the tank
0:37
is full the pump should stop for 30
0:40
second so for this example we will use
0:44
normally open contacts and normally
0:46
closed contacts we will be also using a
0:49
timer known as pulse timer TP and we
0:53
will also use a memory bit so let's move
0:56
to TI portal where we will draw a l
0:59
diagram for this level control
1:03
example this is the interface of TI
1:06
portal version 16 firstly we need to go
1:10
to PLC tags PLC tags and then here
1:22
table here we need to add our inputs and
1:25
outputs so we have two
1:37
sensor that is the sensor that detects
1:40
the level of the tank is low and then we
1:43
have one more sensor output uh sorry
1:52
sensor it is a sensor that detects the
1:56
level of the of the uh system is high
2:00
and then we have an output that is a
2:04
pump so it is an output so its address
2:14
0.0 so here we have added our inputs and
2:17
outputs after that we will go to program
2:20
blocks and then Main ob1
2:38
so here we will draw the ladder diagram
2:40
I will minimize this and then zoom into
2:43
it so firstly I will insert a normally
2:47
open contact and then a
2:50
coil this normally open contact will be
2:53
for lowlevel sensor so I will write
2:57
L and select low level sensor and the
3:04
palum so I will write p and select pump
3:09
list so when lowlevel sensor detects the
3:13
level of the tank is low then this pump
3:17
will turn on and this pump should turn
3:24
seconds so I will insert a timer here
3:27
timer operations and then
3:34
TP and then I will click on okay so this
3:38
pump should remain on for 20 seconds so
3:42
here we will write 30 s that is 30
3:47
seconds and we have one more sensor that
3:51
detects the level of the tank that is a
3:53
high level sensor so I will insert a
3:56
normally open contact and a
3:58
coil so this normally open contact it
4:02
represents the high level sensor so I
4:04
will write H and select high level
4:13
coil which gets on when high level
4:16
sensor detect the level is high so after
4:19
that the pump should turn off so for
4:23
that we will use a memory bit here so
4:29
and this pump should remain off for 30
4:33
seconds so this m 0.0 should uh remain
4:38
on for only 30 seconds so for
4:41
that I will insert a timer here that is
4:45
a TP and the preset value will be
4:51
302 and after that this this m 0.0 will
4:55
be used here as normally closed contact
5:00
so the address for this normally closed
5:05
0.0 for now we have completed the ladder
5:08
diagram so when lowlevel sensor detects
5:11
the level is low the pump will turn on
5:15
seconds and then if high level sensor
5:18
detects the level is high then this m
5:21
0.0 gets through and when it it gets
5:24
through this pump will turn
5:27
off and then when again low level uh is
5:31
sens then the Palm will turn on again so
5:35
in this way it will go on and on so I
5:38
will start simulation here
6:23
finish after that I will start
6:26
CPU okay and then start mon
6:33
and after that uh switch up the project
6:47
view let's create a new project here
8:01
after that you go to simulation tables
8:08
one so here I will right click here and
8:14
tags so now we can start the simulation
8:17
so when a lowlevel sensor detects the
8:56
as you can see here when lowlevel sensor
8:58
gets activated waited the pump gets on
9:03
seconds and it will remain on for 30
9:06
seconds lowlevel sensor detect the level
9:08
is low the tank is uh the level of the
9:12
tank is low then the pump gets on and it
9:14
will remain on for 30 seconds and after
9:17
that it will turn off if the uh level of
9:20
the sensor is not low uh even though
9:23
this pump will turn will remain on for
9:26
seconds and after that it will turn off
9:30
so when the lowlevel sensor again gets
9:36
case the level of the tank gets high so
9:40
when this high level sensor gets
9:43
activated when this high level sensor
9:50
activated this pump will turn off as
9:52
this m.0 gets through and this m 0.0
9:56
breaks the circuit and this pump will
10:00
so after uh 30 seconds and after 30
10:03
seconds the high level sensor gets
10:05
deactivated because the water is being
10:10
used and after that if again lowlevel
10:16
detected the pump will not turn on after
10:20
uh 30 seconds it will turn on it was all
10:23
about this example thank you for