Hello, in this tutorial, we will learn.
Competition, instructions and control is in here, you can see instructional block, how can be inserted
control B and I will use it, control B and let's take a look to competition instructions so we need
a greater OK.
I'm trying to it um.
It's OK.
I selected that.
Now this one I came down for this apparent as the key needs to be greater than this one.
So we will get an output.
Let's test once these and the two and four output.
OK, I will just use uh M0.
OK.
And one more network control B just click two here and then I will use this one.
So in here you will see as one must be greater than is two.
OK, this is um you can see opposite the for the competition then what we need, we need for example
the four and the six and for an output out M one.
OK, and then one more network control B and click to empty area and then come to here than for example
for the quality like that.
OK, and this moment as one is greater than or equal to a student, we will get an output and the eight
and ten.
OK, and then here out to.
Then one more and then control be to hear click A. And then OK, then you will see.
This one, so it must be greater than or equal to one.
So again, the 12 and 14 and at the end of the road, for example, entry.
So one more not equal control, B, a..
OK, like that.
And this is not equal instruction.
And for example, the 16 and the 18.
OK, and then we will get out, put out M four.
OK, now I will make a complete.
This is the first thing and I will do a download and stop transmission, and it's sending to.
P.L.C. processing, OK, and finished, then let's start it can go online and we have no output for
the M0.
Why?
Because it's too must be greater than S1, so the two must be greater than the zero.
So I will make it five minutes right here and five, for example.
So five greater than zero.
So we have an output in here.
This must be bigger than OK, so we have an output in here because of the quality.
OK, there is an output and this must be greater than or equal still output.
But let's make it three.
The ten is three now so there is no output.
The competition instructions are working correctly.
OK, now this must be bigger.
OK, five still output.
And if I make it six, there is not.
But this zero equals zero because of there is no output.
Let's make.
There's no equality zero not equal to one, so there is an output.
These are the basically competition instructions, OK, and then if you want to use, for example,
uh, competition with the double or Doubler, because these are all work we need to use now.
Um, OK.
Now control be OK.
And this right here.
OK, like that.
OK then in here we need is apparent OK at top level to twenty, twenty two.
OK, so there is an output for example out and five.
Just one more thing and I will explain to you operation and project comp..
The project is compiled.
Now let's send it to simulator and now start the transmission.
It will be finished.
OK, very good.
Then go line, then if I try to write to the 14, for example, what is the maximum value?
Let's write here, OK?
Then I write a bigger value, but nothing is changed.
Again, I will change it to, for example, fifty thousand.
OK, but it is not written.
OK if I try to write here for example.
Thirty thousand.
OK you can see because the this is the word to exponential by 16 six to five thousand five hundred thirty
seven.
OK, and then if you divide it thirty two thousand seven hundred sixty seven, this is the maximum value
in here.
We will compare is double.
OK, so maybe in here we can create a duplicate variable, for example.
Right.
Click and add a variable and this will be a double to the variable and then add one more the name variable
to double.
Very good.
And this come to here, for example.
Let's write here variable one.
This one and this will be able to OK and OK.
And operation and project to compile and send it to simulator.
OK, it is downloading the.
Close that online so we can right here as double word, for example, bigger than 30000, for example.
One hundred thousand.
OK, so you can see 100000.
It's written to double what we're able to.
And then I will come to here, for example.
Two hundred thousand.
The biggest, biggest value, not the biggest failure, because we can write it a million, for example,
like that.
Okay, so you can see it one minute, one million.
Two hundred thousand, OK.
Then there is the not so the opposite side we can use not greater than lower than or equal down with
the double comparisons like that for the flood.
I will take a look in the next class.
OK, for this story.
I am finished here.
We can use the competition instructions like that.
Just you can come to a new network.
OK, then, controlled by this one box and click A..
And then come here.
And what you need, for example, more than or greater than an executor of your instruction, competition
instructions and according to your appearance, OK, like variable one, variable two or the 16 or the
18.
OK, you will get an output in the logic in the Delta passes for this tutorial are finished here.
See you in the next tutorial.