Hello, in the studio, we will learn S.O.P W.L. instructions, so how it is working now, we are writing
just one parameter we are writing or overeaten to one parameter or we are writing one parameter.
If we want to write, uh, at one, two or three parameter with one instruction if you want it.
How can we do this.
Let's learn it.
I mean if we are using for example Aldy OK then we can say to here, um see all this is uh our instruction,
OK.
And I will use it and I will say, OK, and then let's write here our instruction, this one.
Then this instruction is how to write parameters each one time, like one instruction, one slot and
three or four or five, whatever you want.
You can write a data to parameters.
OK, first of all, I will go to here and now I want to use, for example, another celebration and
celebration times, for example, five thirty and five thirty one.
I want to write the data with the one instruction to five thirty and to five thirty one.
And then let's go to here.
And five is five again is hexadecimal.
OK, and let's take a look once the thirty.
OK, no sorry.
And thirty is one eight and plus two thousand is hexadecimal.
I'm sorry.
And then what are we going to use.
Zero five one E plus two thousand two thousand five one E.
OK, this is the address and we will use thirty one.
But first of all it's got our picture which is instruction.
OK, for example to First Salvo.
OK, starting from the ten we will write 2.0 or 3.0 in example and this is the communication is OK and
in the right side in the table ok you can see it and see what p w l the message number one and two,
we will use just two message and we will write index address to the ten subindex address will be hexadecimal
zero to here and the output will be ten written data uh will come from the 12 and 13 and 14 and 15.
OK, let's test it and you will see OK.
And I will write here first and then to hear the ten and then to the later on I will say s.o.p w.l..
OK, ok.
And this will be bu.
And what can we do now.
We can go to the monitor table and I will create a new monitor table and I will write here the ten from
the ten I will add here six.
OK and I will make it ok.
Uh send it to p.l.c..
And I will do I don't want this project to p.l.c..
OK, and then I will go program zero.
In this area, I will start my communication again and I will make it on, but it set it on for me and
then I will come to here and then.
Before to start this instruction, we need to write the data to here, OK, and the third, let's go
to here and let's try to detail.
Let's check your index address and 13 will be index address.
And the index address is hexadecimal.
OK, we need to right here.
OK.
Zero baht plus 2000, 2005 and one and OK, because of Y and in here you will see that some of this
is one OK, decimal thirteen, OK, and.
I will write here present value like that.
OK and OK, and now you can see it is scientism.
I will show it hexadecimal to five one E OK, and let's check where is the 31 year acceleration and
deceleration time?
Eleven.
OK.
It will be 31 and I will come to here and I will write 31.
It must be one F and then I will go here than 13 is going to be to five is hexadecimal to five one.
OK.
Uh like that.
OK.
And this can be hexadecimal and this can be the decimal and this can be the decimal.
Uh no this can be decimal because we will write the data.
This can make the decimal.
These are the index and these are the subindex.
So this change the present value as hexadecimal must be zero like that and zero is OK.
And also you can write here like that.
OK.
OK, so everything is OK, which we're going to write, I will write here, um six to nine OK.
And I will write here for example, uh fifty eight.
OK, and then you will see index subindex and which Theta is going to be written.
Index subindex and which theta it starts from Ditton.
Let's go to our program.
It starts from Ditton and I will say set on, OK, then this is OK, you will see broken is OK and I
will say set off and I will go.
My program in the side will try and I will check my acceleration and deceleration time 30, end 31.
OK, and you will see this is written with the one instruction we write to that the six to nine and
fifty eight.
OK, this is how S.O.P W.L. Instruction working and for the DC or W.L. you can write to.
And I mean, you can write a lot of data, but the data are changed to 32 bit, OK?
I mean, if you want to write 32 bit data and big data, for example, one bit, I mean 16 bit.
OK, let's go to calculator.
You can, uh, insert from here and make it one in one and one one one.
OK, you will see it must be a maximum sixty five thousand divided by two minus and plus.
This is your maximum that if you want to write a big data from the thirty two thousand, OK, you can
use the S.O.P W.L. instruction and you can use the 12 and 13 that us and we double what you can write,
for example, one million to one parameter in Sarut.
Right.
This is House GOP W.L. Instruction working OK.
And you can use it.
You can test it.
If you stuck at any point, you can ask me a question immediately.
See you in the next tutorials.