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 paint pay Booth so let's look
0:22
at the example first paint spraying
0:25
Booth when an object enters a booth the
0:28
spray should start and continue for 10
0:30
seconds after that drying fans will turn
0:34
on for 10 seconds and then puncher will
0:36
be activated to push the
0:39
object that means there is a start
0:42
button that will start the process and
0:44
then there will be a sensor that detects
0:47
that the object has entered the Boo or
0:50
not if the sensor gets activated the
0:57
spray the spray will start at spray the
1:00
pain for 10 seconds to the object and
1:03
after that drying fans will turn on and
1:05
it will dry the object for 10 seconds
1:08
and after drying the puncher will be
1:10
activated to push the
1:12
object so for this example we will use
1:14
normally open contacts as well as
1:16
normally Clos contacts with that we will
1:19
be also using some timers like TP and T
1:22
on so let's move to T portal where we
1:25
will draw a ladder diagram for this
1:27
example this is the interface of of di
1:30
portal version 16 so firstly we'll go to
1:34
PLC tags and default tag table so here
1:38
we need to add our inputs and outputs so
1:41
the first input is start
1:45
button and then we have one more input
1:49
that is the sensor and after that we
1:52
have some outputs like the nozle the
2:00
spray nozle so it is an output so its
2:03
address will be Q 0.0 and after that
2:08
there will be one more input that is the
2:10
fans let's say drying
2:18
fans and then there will be the
2:22
puncher after that we'll go to program
2:25
blocks and then Main ob1
2:31
so here we will draw the ladder
2:36
diagram so firstly I will insert a
2:38
normally open contact that will
2:40
represent a start button and then there
2:42
will be one more normally open contact
2:44
that will represent the sensor and this
2:47
will be the nozzle so this will be start
2:51
button and then this will be
2:55
sensor and it will be spray
2:58
nozzle and the spray nozle will continue
3:01
for 20 uh sorry 10 seconds for that
3:05
we'll use a timer operation that will be
3:07
TP and the pret value for TP will be 10
3:14
that I will open the branch at a coil
3:18
after that the the dry fans will get on
3:22
and it will get on after the spray
3:25
nozzle will turn off so for spray nozle
3:27
we will use a normally Clos
3:31
and the dry fans will turn on for 10
3:34
seconds so for that we'll use a timer TP
3:38
and the preset value for this will be 10
3:41
seconds and after that so the spray
3:44
nozzle will turn on for 10 seconds and
3:46
dry fans for 10 seconds so after that
3:50
there will be turning on of the puncher
3:53
so I will insert a coil and for coil
3:55
there will be an on delay timer of 20
3:59
seconds so the preset value for t on
4:01
will be 20 seconds and this coil will be
4:06
puncher and let's say puncher gets
4:08
activated for 2 seconds for that we will
4:10
use one more timer that is TP and the
4:13
preset value for this will be 2
4:20
seconds after that I will uh so when
4:23
start button is turned on and sensor
4:25
gets activated when an object is placed
4:27
there the firstly the spray nozle will
4:29
turn on and it will spray the paint on
4:32
the object for 10 seconds and when spray
4:34
nozle gets off the current flows through
4:37
this and dry fans gets on for 10 seconds
4:40
and after dry fans when spray nozzle was
4:43
on for 10 seconds and dry fans was uh
4:46
open for 10 seconds so after total of 20
4:49
seconds the puncher gets activated for 2
4:52
seconds so now I will start simulation
5:16
that I will start CPU click on okay and
5:23
monitoring after starting monitoring I
5:25
will switch to project View
5:33
here we need to create a new project
6:07
after that I will go to simulation
6:08
tables and simulation table
6:12
one right click here and click on load
6:15
project TXS so as you can see
6:26
here when I turn on the start button
6:32
the spray nozzle doesn't get on so for
6:35
that the sensor should get activated so
6:38
when sensor gets activated you can see
6:41
the spray nozzle is spraying the paint
6:45
on the object for 10 seconds and after
6:48
10 seconds it will stop and dry fans
6:51
will dry the object for another 10
6:53
second and for whole 20 second the
6:56
puncher is waiting and you can see after
6:59
10 second the puncher gets activated for
7:03
seconds it was all about this example
7:06
thank you for watching