Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: ROCKO86 on October 24, 2010, 06:23:27 AM
-
//I have already posted it another category - maybe I did it wrong, sorry.
Hello!
Is there a way that I can use Mach3 Pulsing Engine?
I mean, as you may know, there are io.dll or inpout32.dll. With these I can control the parallel port, but they are not precise at all.
I'm using WinXP SP3 and interested in any solution (especially Delphi, but I would be very thankful for any visual basic, visual c++, visual c# ideas).
Thank you very much!
Zoltan Szabo
-
Guys, no one? Nothing? :(
Any idea?
-
I suppose the question is why and for what purpose do you want to use it ?
Tweakie.
-
If I use io.dll or inpout32.dll the signal is bad, there are "stucks" in it. I mean, let's say the frequency is 1 unit long. But when the signal stucks (in +1 or 0), the length is 3-4 unit (or more). In the stucks, there's no pulse, so the stepper motor stops a little bit, and it doesn't work properly, only with the Mach3 Pulsing Engine.
-
I suppose the question is why and for what purpose do you want to use it ?
Tweakie.
I would like to use it if it's possible, to make a pin pulser at some rate, for the purpose of setting my Geckodrive 320 gain and damping pots, while using an oscilloscope.
The instructions (Mariss wrote them, I believe) show to set a pulse count of around 40 steps/second, and also control the direction pin at the same time, while adjusting the pots, to obtain a properly damped control.
If the pulsing engine is capable of doing that, and the software interface is known, then I can write the program to enable the pulse for each of my 3 axis step and direction pins.
Alternatively, if some of you could point me to a similar tool that allows pulse rate on a particular pin, while controlling another pin high/low, that would suffice.
-
why not just set your axis(s) max vel to 60 units/min i.e. 1 unit/sec and set 40 steps/unit (for your 40Hz) and then issue a g0 with some big number that gives you as long as you want to setup the axis gain.
-
There is an option in Mach3 to do that. It does a back and forth motion to be able to tuned a servo.
(;-) TP
-
even better
-
There is an option in Mach3 to do that. It does a back and forth motion to be able to tuned a servo.
(;-) TP
Where would I find the option in Mach3 to do the back and forth motion?
k
-
Servo frequency generator : Diagnostics page
-
Thank each of you for your ideas.
There's another method, and that's to make a rectangular pocket, and along with stirling's suggestion to set the pulse rate.
Along the way, I also wrote an application to mess with the port bits, using C++ Builder.
...but the Servo Frequency Generator is the best.
k