Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: ROCKO86 on October 24, 2010, 06:23:27 AM

Title: Using Mach 3 Pulsing Engine
Post 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
Title: Re: Using Mach 3 Pulsing Engine
Post by: ROCKO86 on October 26, 2010, 05:54:45 AM
Guys, no one? Nothing? :(
Any idea?
Title: Re: Using Mach 3 Pulsing Engine
Post by: Tweakie.CNC on October 26, 2010, 06:42:12 AM
I suppose the question is why and for what purpose do you want to use it ?

Tweakie.
Title: Re: Using Mach 3 Pulsing Engine
Post by: ROCKO86 on October 26, 2010, 09:52:13 AM
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.
Title: Re: Using Mach 3 Pulsing Engine
Post by: keith20mm on April 03, 2015, 10:50:29 PM
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.
Title: Re: Using Mach 3 Pulsing Engine
Post by: stirling on April 04, 2015, 09:20:42 AM
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.
Title: Re: Using Mach 3 Pulsing Engine
Post by: BR549 on April 04, 2015, 05:04:31 PM
There is an option in Mach3 to do that. It does a back and forth motion to be able to tuned a servo.

(;-) TP
Title: Re: Using Mach 3 Pulsing Engine
Post by: stirling on April 05, 2015, 04:28:27 AM
even better
Title: Re: Using Mach 3 Pulsing Engine
Post by: keith20mm on April 05, 2015, 10:51:19 AM
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
Title: Re: Using Mach 3 Pulsing Engine
Post by: BR549 on April 05, 2015, 04:28:11 PM
Servo frequency generator : Diagnostics page
Title: Re: Using Mach 3 Pulsing Engine
Post by: keith20mm on April 07, 2015, 11:06:09 AM
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