Hello, in this video, we are going to learn DPL is we instruction for the stepper motor.
OK, how it is working.
Let's start with the eldest and one hundred and let's put our instruction to hear DPL as we and the
eighty, for example.
Why zero and why one?
So what is the meaning of these three operand the eighty is Paul's.
Frequency value, why zero is.
Our pulse.
Output and why one is our direction.
OK, now let's start.
I will send it to my C.P.U.
Now it is transferring and it's executed and I will go to my running state.
Let's put here pulse frequency value, like, for example, twenty five two thousand five hundred for
a moment.
That's correct.
And now this is a positive value.
OK, now I would like to activate this one.
So it is turning to decide you can focus here.
I will try to make a little bit more clear for you.
It is turning to counterclockwise and after two thousand five hundred pulses is not going to finish.
Why?
Because we have a frequency value, not a number of produced pol's.
So if I change it to, for example, let's change it to five thousand now it is more faster and ten
thousand more faster and 100 suslow and 1000 a little bit more faster.
So according to our speed value stepper motor is running this.
Correct.
And if I put here minus 1000, what will happen?
Look, another site now, our value for Christabella, why one is giving or output or now our why one
output is high.
OK, minus, for example, two thousand five hundred you can see a little bit more faster and four thousand
a little bit more faster.
If I make it a positive value.
Why one is off now and our stepper motor is turning another side and minus 4000 and other side.
So this is how can the P.
L.
S v instruction is works for stepper motors in that I have finished for this video.
See you in the next video.