Hello. 1
Let's continue to with DRVI/DDRVI. 2
command 3
This is also another one Delta plc pulse command with this command the desired number of pulses at the 4
desired frequenct is produced incrementally and ramped. 5
Really important. 6
Another one verse or another one. 7
command desired number of pulses. 8
The first thing the desired frequency. 9
The second thing produced incrementally and ramped the third thing. 10
This is really important here the usage of the command these two hundred in here the number of pulses 11
to be produced is written in this register. 12
It can be positive or negative. 13
Another one important point D202 pulse frequency value is written to this register. 14
SoD202 pulse frequency volume will be keep this frequency value inside of it. 15
Y0 16
Y0 pulse output part. 17
So we will view output pulse output from this output and Y1 is the output selected as the direction 18
output port so Y1 will decide to direction of our drives or motors not acceleration and deceleration. 19
Time for drvı command which is ramped pulse command is set by 20
D1343 register. 21
If this value is not change the ramp time is two hundred milliseconds. 22
This is really important. 23
Another point so ramped pulse command in here. 24
Acceleration and deceleration time decided by 25
d1343 register. 26
So if somebody that does not change or didn't change this will do it this will be 200 27
milliseconds but you can change this data register index or this data registers value so you can adopt 28
your ramp time from 200 milliseconds to for example 500 milliseconds an etc. in here we have 29
an example let's put here one condition this condition will be m 0 for example it's a program application 30
that generates one hundred thousand heads or 100 kilohertz pulse at a frequency of 1 kilohertz inhaled 31
we selected or we assigned like this this value of S2 is 1000 hertz or 1 kilohertz it is the pulse output 32
for where port is dedicated or assigned Y0 4 channel 0 if the condition is on before the DDRVI 33
command if m 0 is high so what will happen we will generate 100000 pulse at 1 kilohertz frequency from 34
y 0 and Y1 because of our values is positive in S2 in here you can see Y1 will turn clockwise. 35
The important feature of this command is ramped so we will reach these pulses one hundred thousand pulses 36
with the ramp time two hundred milliseconds. 37
This is really important. 38
If you increase or decrease this millisecond time we will reach this value earlier or late. 39
This is DDRVI command. 40
So you need to take care of number of pulses desired frequency and the really really difference between 41
other commands incrementally and ramped and you never forget these data registers . 42
D1343 43
That's all so I'm finished for this video. 44
See you in the next video.