Hello, friends.
Today I will discuss another problem related to sequence and this we use a tank and I want to control
the liquid level, not control.
I want to just fill the tank and empty the tank using that sequence for the purpose.
I just use a tank over here.
As you see, this is my tank.
And the best is, let's say, 200.
And I just go to my step right sequence, just put inside the tank.
And over here I just use a four loop and I just connect the iteration to tank input.
And over here the tank level should be 100.
So it give me up to 100.
So let's say it is 101.
So it will goes from 0 to 100 because for loop transport and minus one up to and minus one, it runs
from zero to up to MN minus one.
I put some delay inside it.
Let's say 60 seconds.
I just add another frame and over here I want to draw another for loop.
And the iterations are same as you see.
And over here I want to just subtract because in the next frame over here the tank will fill and in
the next frame, the tank will empty automatically.
So over here.
This is my.
And value.
And this is my initial value.
So over here, I want to just use a local variable.
So create a local variable.
Let's check now or some delay inside also
for continuous.
Feeling and emptiness.
I just create a control.
Control you?
Let's check.
And you see Tank is filling
now.
It is empty.
So you can use we can also call it a scatter system also.
So when first case, first frame is executing, in that case, the value is filling.
And when second frame is there, the value goes on decreasing as you see.
So this is how you can use sequence structure for your card system.
Thank you.