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 classroom Bell so let's look at
0:24
first classroom Bell System the Bell
0:28
should ring for 10 second after after
0:30
every 45 minutes if Ed button is
0:34
pressed then there will be a time delay
0:37
of 15 second for the Bell to get on so
0:40
instead of 45 minutes we will take only
0:42
1 minute so when the start button is
0:45
turned on the Bell will turn for 10
0:48
seconds and it will wait for 60 seconds
0:52
and then the Bell will again turn on
0:55
then again we'll wait for 60 seconds and
0:57
then again we'll turn on for 10s seconds
1:01
and if the add button is pressed then
1:05
will uh the Bell will again wait for 15
1:08
seconds and then get on so let's move to
1:11
TI portal where we will draw a lder
1:13
diagram and use normally open contacts
1:16
and normally close contacts and with
1:18
that we will be also using some memory
1:21
bits and timers like TP and T on so this
1:24
is the interface of di portal version 16
1:27
firstly I will go to PLC tags
1:30
then default tag table I will double
1:32
click on it here we need to add our
1:35
inputs and outputs so the first input is
1:38
start button and then we have one
1:42
more input that is ADD button and then
1:45
we have one output that is
1:47
alarm alarm or Bell so I will write
1:53
Bell so this is an output so its address
1:56
will start with q and then 0.0
2:00
and after that I will uh go to program
2:08
ob1 so here we will be drawing ladder
2:11
diagram so I will zoom into it like this
2:14
and then I will insert a normally open
2:16
contact and a coil so this normally open
2:20
contact is a start button and then there
2:24
will be a Quil that is for the
2:28
P so when start button is turned on Bell
2:32
gets on for 30 second sorry for 10
2:35
seconds for that we will use a timer
2:37
operation and that will be TP and the
2:40
preset value for TP is 10
2:43
seconds and after 10 seconds the Bell
2:46
will turn off and it gets off for 1
2:49
minute so for that I will open the
2:53
branch here add a coil so this coil will
2:56
be a memory bit so this will be m0 point
3:00
0 so this m 0.0 should get on after 1
3:03
minute so the preset value for t on will
3:07
seconds with that this t
3:10
on here we will insert a normally closed
3:13
contact and it will represent the
3:16
bell and with that we will use here a
3:19
normally close contact and this will be
3:24
0.0 and then we'll go to another Network
3:27
here we will use add button here as
3:33
contact and then I will insert a coil so
3:37
this Quil will be one more memory bit
3:41
and this memory bit should get on for 15
3:43
seconds so for that we'll use a TP here
3:47
and this TP will be the prec value for
3:51
this will be 15 seconds and this m 0.1
3:54
will be used here as normally closed
3:57
contact so this will be m0
4:00
.1 so what happens when start button is
4:03
turned on Bell gets on for 10 seconds
4:07
and after 10 seconds Bell gets off and
4:09
when it gets off M 0.0 gets on after 60
4:14
seconds and with when it gets on here
4:17
the current will not flow through it
4:18
this gets off and then when it gets off
4:21
this gets off and then again the current
4:24
flows through it and Bell gets again on
4:27
and then if Ed button is pressed this m0
4:29
.1 gets on for 15 seconds and for 15
4:33
seconds this m 0.1 gets on with that the
4:37
Bell will not turn on for 15 seconds so
4:40
we'll start the simulation
5:03
finish and after that I will uh start
5:15
monitoring and after starting the
5:17
monitoring I will switch to project view
5:25
here and then let's create a new project
5:58
let's go to simulation tables and then
6:13
here and then load project
6:20
here when start button is turned on the
6:24
Bell gets on and it gets on for 10
6:33
that it gets off for 1
7:31
and after 1 minute Bell gets again on so
7:33
if you need to uh if you press add
8:07
it was all about this example thank you