1
00:00:07,400 --> 00:00:12,590
Hello, in this video, we will try to work with the stepper motor.

2
00:00:12,770 --> 00:00:20,840
We will try to run the stepper motor one direction and another direction according to our pulse frequency

3
00:00:21,020 --> 00:00:24,050
and produce pulse numbers.

4
00:00:24,350 --> 00:00:26,900
And now we will start with the ISP.

5
00:00:26,900 --> 00:00:34,880
So firstly, I will create a new project and new project is created, a new himi screen that I will

6
00:00:34,890 --> 00:00:36,720
going to create.

7
00:00:36,890 --> 00:00:40,160
And this is our himI and I will say finish.

8
00:00:40,160 --> 00:00:48,530
OK, and let's start first the button maintain button I will put here and this will be.

9
00:00:49,440 --> 00:00:57,030
AM 50 and for example, one condition, let's start.

10
00:00:58,130 --> 00:00:58,730
Stable.

11
00:00:59,000 --> 00:00:59,580
OK.

12
00:01:00,320 --> 00:01:05,330
And make it green one condition.

13
00:01:05,670 --> 00:01:06,310
That's OK.

14
00:01:06,620 --> 00:01:09,440
And for the zero and stop.

15
00:01:10,360 --> 00:01:10,930
Stable.

16
00:01:11,740 --> 00:01:12,160
Correct.

17
00:01:12,580 --> 00:01:21,400
OK, this is our main maintain to start this stepper motor condition and now I will put an input numeric

18
00:01:21,430 --> 00:01:28,930
entry two times and left click to it and I will make it standard OK and OK.

19
00:01:28,960 --> 00:01:39,310
And copy to here, for example, let's give a value to here, for example, the 50 and this will be.

20
00:01:42,440 --> 00:01:43,310
60.

21
00:01:46,190 --> 00:01:49,790
OK, and let's add here a text.

22
00:01:50,720 --> 00:01:52,050
Where can I find it?

23
00:01:52,070 --> 00:01:53,270
Okay, here.

24
00:01:54,640 --> 00:01:57,690
And I will put here as text.

25
00:01:59,370 --> 00:02:00,000
This is.

26
00:02:02,570 --> 00:02:05,180
Pulse frequency.

27
00:02:06,880 --> 00:02:07,230
Well.

28
00:02:12,660 --> 00:02:19,230
UN foreground, make it okay, the second one is going to be.

29
00:02:20,670 --> 00:02:22,560
Produced Paul's.

30
00:02:28,940 --> 00:02:29,660
No.

31
00:02:32,770 --> 00:02:33,690
Produced.

32
00:02:37,580 --> 00:02:38,130
Pause.

33
00:02:38,780 --> 00:02:41,570
OK, now I can send it to.

34
00:02:42,660 --> 00:02:43,280
Hi, Mia.

35
00:02:43,510 --> 00:02:53,650
Firstly, we will search and I will create a new project in here, a little diagram and all the time.

36
00:02:54,330 --> 00:02:55,970
Let's take a look once.

37
00:02:56,340 --> 00:02:57,390
Not this one.

38
00:02:58,570 --> 00:03:01,660
To design me to download the screen.

39
00:03:02,500 --> 00:03:07,150
Okay, and let's continue to write your DP l is.

40
00:03:10,260 --> 00:03:10,720
OK.

41
00:03:12,760 --> 00:03:20,630
DPL is why the 50 60 an hour output, why zero?

42
00:03:21,070 --> 00:03:21,770
That's correct.

43
00:03:22,120 --> 00:03:24,940
And let's take a look once and 50.

44
00:03:25,120 --> 00:03:25,540
Sorry.

45
00:03:25,570 --> 00:03:28,650
This should be, um, 50.

46
00:03:28,900 --> 00:03:32,620
But we forgot one thing for the communication settings.

47
00:03:32,920 --> 00:03:34,210
We are not communicating.

48
00:03:34,210 --> 00:03:35,950
We are two hundred and thirty two.

49
00:03:35,980 --> 00:03:39,400
We will communicate with others for under an eight to five.

50
00:03:40,720 --> 00:03:44,710
To see now, again, we need to do a download.

51
00:03:46,770 --> 00:03:47,850
We need to wait.

52
00:03:47,880 --> 00:03:49,350
OK, it's funded.

53
00:03:50,730 --> 00:03:58,200
Now it is standing and also this is OK, this is finished, send this to p.l.c..

54
00:03:59,870 --> 00:04:01,610
Now it is sending.

55
00:04:02,640 --> 00:04:04,620
And OK, and Klaus.

56
00:04:07,150 --> 00:04:18,980
Now we are I mean, this is OK, this is correct, and let's focus to himI I will put my pulse progressive

57
00:04:19,010 --> 00:04:28,530
value to, for example, five thousand and I will produce Pulsifer value is now five thousand.

58
00:04:28,540 --> 00:04:34,780
I put here a number of produced palls, let's say one thousand.

59
00:04:34,780 --> 00:04:39,880
OK, and I will go to my kell's done ok.

60
00:04:39,880 --> 00:04:43,870
Five thousand and one thousand and I will start.

61
00:04:45,520 --> 00:04:49,170
Now it is round and stopped again.

62
00:04:50,550 --> 00:04:52,490
Stopped again.

63
00:04:54,300 --> 00:04:54,870
Again.

64
00:04:57,680 --> 00:05:05,240
And it stopped, so let's increase pulse frequency value is going to be ten thousand.

65
00:05:06,280 --> 00:05:12,550
But exceeds the limit and debate is nine thousand nine hundred and ninety nine, we can solve it, but

66
00:05:12,880 --> 00:05:17,090
number of produced past nine thousand nine hundred ninety nine.

67
00:05:17,160 --> 00:05:19,330
OK, that is a start again.

68
00:05:22,270 --> 00:05:22,870
Stopped.

69
00:05:25,360 --> 00:05:29,080
Stopped one of.

70
00:05:30,660 --> 00:05:38,580
And we are just producing a pulse, OK, number of produce polls, let's say 50.

71
00:05:40,590 --> 00:05:44,430
It is not OK for frequency our value.

72
00:05:44,460 --> 00:05:51,930
I will make it, for example, 500 number of produce pulse is going to be 5000.

73
00:05:53,910 --> 00:06:03,120
You can see now it is turning slowly, so slowly because of why we decreased our frequency to five hundred

74
00:06:03,360 --> 00:06:11,700
and this frequency, we, uh, produced five thousand pounds for this stepper motor.

75
00:06:11,890 --> 00:06:16,640
Again, you can see it is also low if I increase the frequency.

76
00:06:16,890 --> 00:06:18,870
Two thousand and five hundred.

77
00:06:18,900 --> 00:06:23,540
OK, now to turn and stop again.

78
00:06:23,940 --> 00:06:24,660
One more.

79
00:06:25,790 --> 00:06:26,490
And stop.

80
00:06:26,810 --> 00:06:27,740
And one more.

81
00:06:28,870 --> 00:06:31,640
And stop, if I produce a pulse.

82
00:06:31,750 --> 00:06:34,390
Make it nine thousand nine hundred and ninety nine.

83
00:06:34,840 --> 00:06:36,280
OK, let's start.

84
00:06:37,160 --> 00:06:38,060
It's turning.

85
00:06:39,980 --> 00:06:41,900
Turning and stop one more.

86
00:06:46,580 --> 00:06:47,840
Again, one more.

87
00:06:51,050 --> 00:07:01,400
So it is correctly working what we did, we give a percussive value to our stepper motor and also we

88
00:07:01,400 --> 00:07:08,070
get a pulse numbers to be produced from the PRC and this one is work.

89
00:07:08,360 --> 00:07:14,670
So this is DPL is why command instruction in ICE is OK.

90
00:07:14,840 --> 00:07:21,770
And we can say, for example, from the HIMI, this is the limit, but we can change it to for example,

91
00:07:22,610 --> 00:07:27,500
we can give a value like 50000 like this.

92
00:07:28,330 --> 00:07:36,520
OK, this is the frequency tend to stay like this and again, start now focus to hear.

93
00:07:39,560 --> 00:07:47,030
It's turning till fifty thousand pounds is going to be produced and stepper motor is going to stop.

94
00:07:47,830 --> 00:07:55,980
This is the working of the supermoto, and if we increase this frequency, it will turn much more faster,

95
00:07:55,990 --> 00:08:00,180
like if we say to here, for example, um.

96
00:08:01,160 --> 00:08:07,310
Ten thousand, OK, now check the speed of the stepper motor.

97
00:08:08,330 --> 00:08:09,710
Now you can see.

98
00:08:13,360 --> 00:08:14,000
That's OK.

99
00:08:14,350 --> 00:08:17,440
So this is a DPL is why?

100
00:08:18,400 --> 00:08:24,640
Instruction usage for the application for the step or motto I have finished for this video.

101
00:08:24,850 --> 00:08:26,530
See you in the next video.
