0
1
00:00:21,630 --> 00:00:22,140
Hello.
1

2
00:00:22,140 --> 00:00:26,250
Let's continue to with DRVI/DDRVI.
2

3
00:00:26,250 --> 00:00:26,750
command
3

4
00:00:26,760 --> 00:00:34,960
This is also another one Delta plc pulse command with this command the desired number of pulses at the
4

5
00:00:34,960 --> 00:00:39,710
desired frequenct is produced incrementally and ramped.
5

6
00:00:39,940 --> 00:00:41,150
Really important.
6

7
00:00:41,170 --> 00:00:45,640
Another one verse or another one.
7

8
00:00:45,640 --> 00:00:49,350
command desired number of pulses.
8

9
00:00:49,470 --> 00:00:52,950
The first thing the desired frequency.
9

10
00:00:52,950 --> 00:00:58,350
The second thing produced incrementally and ramped the third thing.
10

11
00:00:58,350 --> 00:01:04,740
This is really important here the usage of the command these two hundred in here the number of pulses
11

12
00:01:04,740 --> 00:01:07,590
to be produced is written in this register.
12

13
00:01:07,650 --> 00:01:10,070
It can be positive or negative.
13

14
00:01:10,080 --> 00:01:16,330
Another one important point D202 pulse frequency value is written to this register.
14

15
00:01:17,220 --> 00:01:26,720
SoD202 pulse frequency volume will be keep this frequency value  inside of it.
15

16
00:01:26,730 --> 00:01:27,110
Y0
16

17
00:01:27,160 --> 00:01:29,470
Y0 pulse output part.
17

18
00:01:29,520 --> 00:01:37,080
So we will view output pulse output from this output and Y1 is the output selected as the direction
18

19
00:01:37,440 --> 00:01:46,590
output port so Y1 will decide to direction of our drives or motors not acceleration and deceleration.
19

20
00:01:46,590 --> 00:01:53,780
Time for drvı command which is ramped pulse command is set by 
20

21
00:01:53,790 --> 00:01:57,020
D1343 register.
21

22
00:01:57,360 --> 00:02:02,780
If this value is not change the ramp time is two hundred milliseconds.
22

23
00:02:02,880 --> 00:02:04,240
This is really important.
23

24
00:02:04,270 --> 00:02:09,120
Another point so ramped pulse command in here.
24

25
00:02:09,120 --> 00:02:13,790
Acceleration and deceleration time decided by 
25

26
00:02:13,800 --> 00:02:16,380
d1343 register.
26

27
00:02:16,650 --> 00:02:23,520
So if somebody that does not change or didn't change this will do it this will be 200
27

28
00:02:23,880 --> 00:02:33,860
milliseconds but you can change this data register index or this data registers value so you can adopt
28

29
00:02:33,870 --> 00:02:42,180
your ramp time from 200 milliseconds to for example 500 milliseconds an etc. in here we have
29

30
00:02:42,180 --> 00:02:50,640
an example let's put here one condition this condition will be m 0 for example it's a program application
30

31
00:02:50,640 --> 00:03:00,330
that generates one hundred thousand heads or 100 kilohertz pulse at a frequency of 1 kilohertz inhaled
31

32
00:03:00,890 --> 00:03:12,000
we selected or we assigned like this this value of S2 is 1000 hertz or 1 kilohertz it is the pulse output
32

33
00:03:12,000 --> 00:03:20,910
for where port is dedicated or assigned Y0 4 channel 0 if the condition is on before the DDRVI
33

34
00:03:20,910 --> 00:03:32,310
command if m 0 is high so what will happen we will generate 100000 pulse at 1 kilohertz frequency from
34

35
00:03:32,490 --> 00:03:44,250
y 0 and Y1 because of our values is positive in S2 in here you can see Y1 will turn clockwise.
35

36
00:03:44,250 --> 00:03:55,220
The important feature of this command is ramped so we will reach these pulses one hundred thousand pulses
36

37
00:03:55,700 --> 00:03:59,640
with the ramp time two hundred milliseconds.
37

38
00:03:59,840 --> 00:04:01,320
This is really important.
38

39
00:04:01,520 --> 00:04:10,020
If you increase or decrease this millisecond time we will reach this value earlier or late.
39

40
00:04:10,190 --> 00:04:11,960
This is DDRVI command.
40

41
00:04:12,200 --> 00:04:19,400
So you need to take care of number of pulses desired frequency and the really really difference between
41

42
00:04:19,910 --> 00:04:27,280
other commands incrementally and ramped and you never forget these data registers .
42

43
00:04:27,290 --> 00:04:29,400
D1343
43

44
00:04:29,750 --> 00:04:32,790
That's all so I'm finished for this video.
44

45
00:04:32,810 --> 00:04:34,370
See you in the next video.
