0:11
hello everyone welcome to automation
0:13
Community today in this video we are
0:16
going to discuss an example which will
0:19
be about automat test bench so let's
0:24
first automator test bench when a test
0:27
specimen is placed on the bench a series
0:30
of three test should run sequentially
0:32
each lasting for 10 seconds the time
0:35
delay between two test should be 5
0:38
seconds so there will be a sensor that
0:40
will detect the presence of a test
0:42
specimen and then there will be test one
0:46
for 10 seconds and after that it will
0:48
wait for 5 seconds then there will be
0:50
test two for 10 seconds and then there
0:53
will be a delay of 5 Seconds and then
0:57
three so for this example we will use
1:00
normally open contacts and with that we
1:03
will be also using a timers like TP and
1:06
T on so let's move to TI portal where we
1:10
will draw a ladder diagram for this
1:13
example so this is a interface of TI
1:15
portal version 16 so firstly we'll go to
1:19
PLC tags and default tag table so here
1:22
we need to add our inputs and outputs so
1:26
firstly we have one input that is a
1:28
sensor which detects the presence
1:32
of the test specimen and then there will
1:35
be machinery for test one so this is an
1:40
output so this will be Q
1:44
0.0 and then we have the machinery for
1:50
three after that we'll go to program
1:53
blocks and then Main ob1
2:00
so here we will draw the ladder diagram
2:02
so firstly when the sensor gets
2:05
activated when the sensor gets
2:07
activated test one will be done so this
2:12
test one will be for 10 seconds so there
2:16
will be a timer operation TP here and
2:19
the preset value for this will be 10
2:23
seconds and then I will open the branch
2:25
here add a coil and then there will be
2:30
test two so this test two will be after
2:34
test one and with a delay of 5 Seconds
2:38
so there will be a total time delay of
2:40
15 seconds so the preset value for t on
2:43
will be 15 seconds and this test two
2:46
will happen for 10 seconds so this the
2:50
preset value for the test two will be 10
2:54
seconds and then again I will open the
2:57
branch add a coil and this coil file
3:02
three and this test three will be after
3:06
test two so there will be 15 + 10 is 25
3:10
and + 5 that is the delay that is there
3:14
should be a delay of 5 Seconds between
3:16
two consecutive tests so there will be
3:19
it will wait again for 5 seconds and
3:21
then the test three will happen so there
3:23
will be 15 + 10 is 25 so there will be
3:27
30 seconds so we'll use T on
3:30
and there will be a delay of 30 seconds
3:33
and then there will be a TP here that
3:37
will send the pulse for 10 seconds only
3:40
so when sensor gets activated we can put
3:44
here the start button I
3:49
0.1 and the tag will be
3:58
start we can go to PLC tags
4:02
here default tag table so we can put
4:07
start button so this will be I
4:27
0.2 so now when start but but is pressed
4:30
and there is a test specimen placed over
4:38
there then the test one will happen for
4:41
10 seconds and after 10 seconds it will
4:44
wait again for 15 seconds so it will
4:46
wait for 15 seconds and test two will
4:49
happen for 10 seconds and then again it
4:51
will wait for 5 seconds more and then
4:54
the test three will happen so we'll
4:56
start the simulation here
5:20
finish after that I will start the
5:27
monitoring after that I will CH to
5:30
project view where we need to create a
5:34
project let's create a new project click
6:07
go to simulation tables and simulation
6:11
one so here I will right click load
6:17
tags and then when I turn on the start
6:20
button nothing happens but when sensor
6:26
one the machiner for test one activate
6:30
and it does a test for 10 seconds and
6:32
after that the test one will stop and
6:35
then there will be a delay of 5 Seconds
6:37
and after 5 Seconds test two will happen
6:39
the machinery for test two will operate
6:43
and it will operate for 10 seconds so
6:46
after 10 seconds the basry will stop
6:49
working and again it will wait for 5
6:52
seconds more and after 5 Seconds test
6:54
three starts the machinery for test
6:56
three starts and after that it will also
7:01
stop so after 10 second test three
7:04
machiney fall test three also
7:08
stopped it was all about this example
7:11
thank you for watching