Hello to all.
I have written a plugin for Mach3, that uses my USB movement controller. I have a problem with a misunderstanding of units, in which DDA values are measured. I assumed, that DDA frequencies are 4467843509235 (yes, about 4 trillion!) times greater than my real frequencies, and everything works fine. But I would like to discover this magic constant and understand how it works. Can anyone helps me?
I have used standard settings in my code:
MainPlanner->ExBufferHi = 350;
MainPlanner->ExTime = 0.001;
for(int x = 0; x < 7; x++)
MainPlanner->ExternalPulseRates [ x ]=75000;
In window "Motor Tuning and Setup":
Steps per - 2000
Velocity - 120
Acceleration - 4
Mach3 gave me these strange numbers for command G01 X3 Y2 Z1 F2000 (for X axis):
DDA1 = -4294967296
When I change some settings, for example, axis velocity, my magic constant also changes and I don't know why!