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 cut and polish so let's look at
0:22
the example first cut and polish a
0:27
machine is used to cut and polish glass
0:30
push button by pressing and releasing is
0:33
used to carry on the cutting the glass
0:35
process which takes 10 seconds then
0:38
again on pressing and releasing the same
0:40
button for the second time we will be
0:42
able to do polishing the glass which
0:45
will take place for 15 seconds that
0:47
means there is a push button when it is
0:50
being pressed and released first
0:52
time then the process of cutting the
0:55
glass will take place for 10 seconds and
0:58
after 10 seconds when push button is
1:00
again second time pressed and released
1:03
then second process of polishing the
1:05
glass will take place for 15 seconds so
1:08
for this example we will use normally
1:10
open contacts and normally close
1:12
contacts we will be also implementing
1:15
latching using memory bits and some
1:17
timers like TP so let's move to TI
1:20
portal where we will draw a ladder
1:24
example this is the interface of TI
1:27
portal so firstly we need to go to the
1:31
PLC tags and default tag
1:35
table so here we have to add our inputs
1:38
and outputs so we have only one input
1:47
button push button and then we have some
1:51
outputs we have two output that is
1:54
cutting that may be a
1:57
cutter cutting we'll write the name of
2:02
here the address will be Q 0.0 and then
2:05
we have one more output that is
2:10
polishing after that we'll go to program
2:16
ob1 so here we need to add our inputs
2:19
and outputs so I will add a normally
2:23
here that will be a push button and then
2:27
we will insert a coil
2:30
that will represent a memory bit M 0.0
2:35
and then I will open the branch at a
2:38
normally open contact then close so we
2:40
are latching this m 0.0
2:45
then when M 0.0 gets through and push
2:48
button is released then the process will
2:58
0.0 and this is is push
3:01
button and it is one more coil that is M
3:06
0.1 and we will atch it here so I will
3:08
open the branch add a normally open
3:20
0.1 and after that this m 0.1 will be
3:24
used here as normally open contact M
3:32
0.1 to turn on the ma for cutting the
3:37
glass so we'll insert a coil that will
3:40
represent the process of cutting and
3:42
this process will take place for 10
3:46
seconds so for that we'll use a timer
3:51
TP and the pret value for TP will be 10
3:57
seconds and then when M 0.1 is true and
4:00
M 0.1 is true and push button is being
4:05
pressed second time so this represent
4:08
the push button when it is being pressed
4:10
second time then one more memory bit
4:12
gets through that is M
4:15
0.2 and this m 0.2 will be led
4:21
here so I will open the branch add a
4:24
normally open contact and then connect
4:26
it like this so this will be m
4:30
0.2 and then when this m 0.0 gets
4:34
through and push button is being
4:35
released when M 0.2 gets on and this
4:40
push button is being released then one
4:42
more process will start
4:45
and this process will be
4:49
of cutting the glass sorry polishing the
4:52
glass so it will represent polishing and
4:55
this polishing process will go on for 15
4:59
seconds so the timer uh the preset value
5:01
for this timer will be 15 seconds so
5:04
this will be 15 seconds so we will move
5:10
this so we'll start the simulation here
5:36
load and then finish after that we'll
5:39
start the CPU click on
5:54
okay then start monitoring and then
5:57
switch to project View
6:04
so here we need to create a new project
6:48
go to simulation tables and simulation
6:50
table one so here we need to uh right
6:54
click and then load project TXS so when
6:58
push button is pressed
7:00
nothing happens as you can see
7:03
here only this m 0.0 gets through and
7:11
released this cutting process has
7:14
started and it will cut the glass for 10
7:20
seconds after that the cutting process
7:22
has stopped and then when I press it
7:25
again then this m 0.2 gets through but
7:29
the point polishing start doesn't start
7:31
so for that we need to release a push
7:33
button and then only the polishing
7:36
process will start and it will polish
7:41
second and after 15 seconds the
7:43
polishing process will
7:46
stop so as you can see here polishing
7:49
process has stopped it was all about
7:51
this example thank you for watching