0:00
Everyone welcome to automation community
0:15
Today in this video we are going to discuss another example in which we will control a heater with four push buttons
0:25
So let's look at the example first. example 26. When switch 1 and switch 2 or switch 3 and switch 4 are turned on and then turned
0:37
off then heater will be on. And then when switch 4 and switch 5 or switch 6 and switch 7 are
0:47
turned on and then turned off, then heater will be off. So for this example we will use
0:54
normally open contacts as well as normally close contacts. We will We will also implement some logic gates like and or
1:04
We'll also implement latching in this example. So let move to TI Portal where we will draw a ladder logic for this example This is the interface of TI Portal version 16 Firstly we will go to PLC tags then default tag table
1:23
So we have some inputs. Switch 1, switch 2, switch 3, switch 4, switch 5
1:30
So let's write switch 1. And then we have 7 more switches
1:36
So I will click here, then click here, then click here. and then drag so we have one more switch switch 8 sorry this will be switch
1:50
8 and then we have one output that is a heater so this will be
1:58
here 0.0 and then i will go to program blocks and main opi 1
2:10
So here we will draw the ladder diagram. So firstly I will insert some normally open contacts
2:22
I will insert two normally open contacts for switch 1 and switch 2 and then we have or so I will open the branch switch 3 and switch 4 and then close the branch and then I will insert a coil so this will be switch 1
2:41
this will be this will be switch 2 this will be switch 3
2:55
and this will be 4 and then this coil will be a memory bit m 0.0 and then when this m 0.0 gets through then
3:11
then heater will turn on and this will be m 0.0 and this coil will be here 0.0 that is a heater that is a heater and then here
3:24
We'll add it so I will open the branch at a normally open contact and close
3:30
So this will be your 0.0. Then we have to turn off the heater by using switch 5 switch 6 or switch 7 and switch 8 and then close a branch so this will be
3:54
switch 5 switch 6 or switch 7 and switch 8 and switch 8
4:10
So here we'll insert a coil for one more memory bit that will be M0.1
4:17
And this M0.1 will be used here as normally close contract M0.1
4:25
So what happens is that when switch 1 and switch 2 or switch 3 and switch 4 are turned on
4:32
this M 0.0 gets through and when M 0.0 gets through, heater turns on
4:37
and when it is turned off that is it is released M0.0.0 gets off but due to latching this M0.0.0 gets off but due to latching this KO 0.0 that is a heater will still remain on
4:50
And then when switch 5 and switch 6 or switch 7 and switch 8 are turned on then M 0.1 gets through and when M 0.1 gets through this heater