1
00:00:07,560 --> 00:00:16,620
Hello, in this video, we are going to do an application for DPL is our instruction for the stepper

2
00:00:16,620 --> 00:00:17,100
motor.

3
00:00:17,220 --> 00:00:19,650
OK, I will create a new project.

4
00:00:20,710 --> 00:00:28,720
For TDP 12 is E and I will create also a new project for soft himi to be.

5
00:00:32,040 --> 00:00:42,990
This is our himI type, and I would say finish, OK, DPL, as are let's put here DPL as are left collected

6
00:00:42,990 --> 00:00:43,710
and the takes.

7
00:00:45,030 --> 00:00:50,190
DPL S.R. words like this first parameter.

8
00:00:53,300 --> 00:01:00,980
Maybe like this maximum speed and the second parameter is palls.

9
00:01:02,010 --> 00:01:03,030
No.

10
00:01:05,570 --> 00:01:07,130
Not like this.

11
00:01:08,930 --> 00:01:11,750
Like this and the second parameter.

12
00:01:13,420 --> 00:01:21,880
Third parameter, I am sorry, acceleration and deceleration time, and the fourth parameter is.

13
00:01:24,430 --> 00:01:26,020
Pulse output.

14
00:01:27,590 --> 00:01:27,860
Port.

15
00:01:28,190 --> 00:01:34,100
OK, and this can be joint aid like these.

16
00:01:35,970 --> 00:01:37,230
Make it like this.

17
00:01:39,700 --> 00:01:41,740
OK, a little bit more.

18
00:01:43,180 --> 00:01:46,480
Like this, OK, let's put here input's.

19
00:01:48,530 --> 00:01:50,150
Maximum speed.

20
00:01:51,580 --> 00:01:59,800
And this can be, for example, the 50 and parameters.

21
00:02:01,180 --> 00:02:03,730
Pulse number can be from here.

22
00:02:05,420 --> 00:02:05,640
It.

23
00:02:06,780 --> 00:02:19,320
OK, it can be 52 and acceleration and deceleration time the fifty four, and this is out part already

24
00:02:19,680 --> 00:02:25,620
will be y zero programs area and new and OK.

25
00:02:27,350 --> 00:02:40,880
And the M, for example, five and DPL s R and D fifty fifty to the fifty four and Y zero.

26
00:02:43,120 --> 00:02:43,840
This is correct.

27
00:02:43,900 --> 00:02:46,330
OK, then one more thing we will.

28
00:02:47,880 --> 00:02:49,980
Put a button to hear the.

29
00:02:51,550 --> 00:02:52,930
Maintained button.

30
00:02:52,970 --> 00:02:53,550
OK.

31
00:02:55,240 --> 00:02:58,330
Stop stepper and.

32
00:02:59,520 --> 00:03:00,210
Start.

33
00:03:02,670 --> 00:03:03,330
Starpower.

34
00:03:04,220 --> 00:03:15,170
This can be 22 like this and the dark, OK, and options and communication settings come to for me,

35
00:03:15,170 --> 00:03:18,400
arrest for under the age of five and send it.

36
00:03:19,010 --> 00:03:25,370
But one error, why this can be, should be and must be in five.

37
00:03:25,940 --> 00:03:27,350
It can't be empty.

38
00:03:27,980 --> 00:03:29,210
Now it's searching.

39
00:03:29,330 --> 00:03:31,850
And also I will send it to my.

40
00:03:33,140 --> 00:03:38,390
CPU, but first, we need to open comedia.

41
00:03:39,400 --> 00:03:46,360
And in God, it's OK, it's OK and started and send it.

42
00:03:51,390 --> 00:03:52,650
It's not sending.

43
00:03:52,710 --> 00:03:56,570
I need to take a look once is everything OK?

44
00:03:57,940 --> 00:04:03,780
Hmm, just I need to take a look once to correctly.

45
00:04:05,010 --> 00:04:12,990
Connected, yes and yes and yes, OK, everything seems OK, communication time out there or in here

46
00:04:13,560 --> 00:04:14,540
for my dog.

47
00:04:14,580 --> 00:04:16,530
Thought it didn't find it.

48
00:04:17,770 --> 00:04:26,270
It's search once, because this is my mistake, I forgot to put one cable.

49
00:04:26,470 --> 00:04:29,020
OK, now.

50
00:04:30,290 --> 00:04:32,280
Search again, Sergeant.

51
00:04:36,710 --> 00:04:40,880
Transfer again, this is working and you refresh.

52
00:04:42,000 --> 00:04:43,860
They are trying to find the himI.

53
00:04:46,910 --> 00:04:50,720
It's founded and we are standing and close.

54
00:04:59,080 --> 00:05:03,190
Maybe I need to adopt my camera a little bit more.

55
00:05:04,960 --> 00:05:05,920
Like this.

56
00:05:05,980 --> 00:05:06,490
OK.

57
00:05:08,170 --> 00:05:10,090
And this is our step all.

58
00:05:13,610 --> 00:05:15,620
And now we can start.

59
00:05:18,220 --> 00:05:26,860
But now the maximum speed that we I'm going to put here, for example, five hundred.

60
00:05:27,610 --> 00:05:32,780
And the second parameter is Paul's output number.

61
00:05:33,100 --> 00:05:42,730
OK, Paul's number, so this can be, for example, 500 and acceleration and deceleration time can be

62
00:05:43,180 --> 00:05:43,840
300.

63
00:05:45,120 --> 00:05:47,760
And now we can.

64
00:05:49,300 --> 00:05:51,910
Just check the latest piece of site.

65
00:05:53,090 --> 00:05:54,140
I will go on line.

66
00:05:55,040 --> 00:05:58,340
Now, five hundred and five hundred and three hundred and stop.

67
00:05:59,130 --> 00:06:11,040
CPU and we need to run our CPU, CPU is running now, and I will press run now, our stepper is stopped.

68
00:06:12,320 --> 00:06:16,280
Maybe we need to look together again.

69
00:06:18,580 --> 00:06:29,250
Stop and start and then maximum speed and pass number and maybe we can give you a little bit more pass

70
00:06:29,260 --> 00:06:33,310
five thousand, OK, and start.

71
00:06:34,360 --> 00:06:37,150
It's turning and turning and turning.

72
00:06:42,270 --> 00:06:43,510
Just I stopped.

73
00:06:43,680 --> 00:06:52,980
Maybe I need to we need to close a little bit more our stepper motor like this and change it to, for

74
00:06:52,980 --> 00:06:57,810
example, fifty thousand and maximum speed.

75
00:06:57,820 --> 00:06:58,580
Five hundred.

76
00:06:58,590 --> 00:07:01,500
Let's change it to two thousand, OK?

77
00:07:02,070 --> 00:07:04,770
And activate our system again.

78
00:07:04,770 --> 00:07:06,780
Check the stepper motor from here.

79
00:07:10,750 --> 00:07:13,750
It is turning and turning.

80
00:07:17,490 --> 00:07:19,260
And it is a little bit.

81
00:07:20,630 --> 00:07:24,060
Faster than and a little bit more and a little bit more.

82
00:07:24,810 --> 00:07:28,530
OK, you can see it and I will stop it.

83
00:07:29,270 --> 00:07:29,960
It stopped.

84
00:07:30,230 --> 00:07:34,590
So not a three hundred, I will say just 50.

85
00:07:35,030 --> 00:07:35,660
OK.

86
00:07:36,600 --> 00:07:37,650
We will see.

87
00:07:41,240 --> 00:07:43,910
It's turning and turning and turning.

88
00:07:46,320 --> 00:07:57,090
And stopped maximum speed can be, for example, five thousand and this can be, for example, three.

89
00:07:59,210 --> 00:08:00,950
I'm just changing to.

90
00:08:01,870 --> 00:08:04,900
Acceleration and deceleration time and the maximum speed.

91
00:08:05,990 --> 00:08:06,920
You can see it.

92
00:08:07,830 --> 00:08:13,650
And stopped, and if I say 30 acceleration and deceleration time.

93
00:08:15,660 --> 00:08:18,900
It's turning and turning and turning.

94
00:08:22,880 --> 00:08:23,300
To.

95
00:08:24,610 --> 00:08:35,470
Stopped because we produced 50000 pounds, and then I will change this to, for example, one hundred

96
00:08:35,470 --> 00:08:36,260
thousand.

97
00:08:36,950 --> 00:08:43,720
OK, now one hundred thousand pounds and the maximum speed is can be, for example, again.

98
00:08:45,310 --> 00:08:53,530
Five thousand and this can be three thousand, for example, the time is too long, really too long

99
00:08:53,530 --> 00:08:55,990
and start stay again.

100
00:08:59,090 --> 00:09:02,890
It's turning and speed is increasing.

101
00:09:02,930 --> 00:09:03,830
You can see it.

102
00:09:06,060 --> 00:09:09,630
Speed is increasing and increasing and stop any game.

103
00:09:16,040 --> 00:09:23,620
And you can see the difference between the speed for the DPL as our instruction.

104
00:09:23,750 --> 00:09:27,020
OK, I will stop now it stop.

105
00:09:27,290 --> 00:09:32,930
So this is the deeper our instruction usage and the reaction of the stepper motor.

106
00:09:33,200 --> 00:09:35,450
And I am finished for this video.

107
00:09:35,660 --> 00:09:37,390
See you in the next video.
