1
00:00:07,310 --> 00:00:14,060
Hello, in this video, we are going to learn DPL is we instruction for the stepper motor.

2
00:00:14,090 --> 00:00:15,930
OK, how it is working.

3
00:00:16,340 --> 00:00:25,190
Let's start with the eldest and one hundred and let's put our instruction to hear DPL as we and the

4
00:00:25,190 --> 00:00:26,360
eighty, for example.

5
00:00:26,480 --> 00:00:28,270
Why zero and why one?

6
00:00:28,760 --> 00:00:34,760
So what is the meaning of these three operand the eighty is Paul's.

7
00:00:36,400 --> 00:00:41,050
Frequency value, why zero is.

8
00:00:42,180 --> 00:00:43,740
Our pulse.

9
00:00:45,900 --> 00:00:50,370
Output and why one is our direction.

10
00:00:50,730 --> 00:00:53,200
OK, now let's start.

11
00:00:53,640 --> 00:00:56,950
I will send it to my C.P.U.

12
00:00:57,240 --> 00:01:02,990
Now it is transferring and it's executed and I will go to my running state.

13
00:01:03,330 --> 00:01:11,070
Let's put here pulse frequency value, like, for example, twenty five two thousand five hundred for

14
00:01:11,070 --> 00:01:11,530
a moment.

15
00:01:11,550 --> 00:01:12,310
That's correct.

16
00:01:12,720 --> 00:01:16,680
And now this is a positive value.

17
00:01:16,710 --> 00:01:19,380
OK, now I would like to activate this one.

18
00:01:19,590 --> 00:01:24,500
So it is turning to decide you can focus here.

19
00:01:25,200 --> 00:01:28,830
I will try to make a little bit more clear for you.

20
00:01:31,700 --> 00:01:40,160
It is turning to counterclockwise and after two thousand five hundred pulses is not going to finish.

21
00:01:40,270 --> 00:01:40,760
Why?

22
00:01:41,060 --> 00:01:47,510
Because we have a frequency value, not a number of produced pol's.

23
00:01:47,690 --> 00:01:57,580
So if I change it to, for example, let's change it to five thousand now it is more faster and ten

24
00:01:57,620 --> 00:02:06,610
thousand more faster and 100 suslow and 1000 a little bit more faster.

25
00:02:06,830 --> 00:02:11,430
So according to our speed value stepper motor is running this.

26
00:02:11,450 --> 00:02:11,830
Correct.

27
00:02:12,140 --> 00:02:16,000
And if I put here minus 1000, what will happen?

28
00:02:16,340 --> 00:02:28,940
Look, another site now, our value for Christabella, why one is giving or output or now our why one

29
00:02:28,940 --> 00:02:30,180
output is high.

30
00:02:30,200 --> 00:02:39,440
OK, minus, for example, two thousand five hundred you can see a little bit more faster and four thousand

31
00:02:39,680 --> 00:02:41,420
a little bit more faster.

32
00:02:41,660 --> 00:02:43,970
If I make it a positive value.

33
00:02:44,300 --> 00:02:52,590
Why one is off now and our stepper motor is turning another side and minus 4000 and other side.

34
00:02:52,790 --> 00:02:56,090
So this is how can the P.

35
00:02:56,090 --> 00:02:56,510
L.

36
00:02:56,660 --> 00:03:04,130
S v instruction is works for stepper motors in that I have finished for this video.

37
00:03:04,340 --> 00:03:06,020
See you in the next video.
