On Wednesday, July 21, 2010 03:16:09 pm Andy Pugh did opine:

> On 21 July 2010 15:27, Mario - Promm <ma...@promm.com.br> wrote:
> > The other options could be use the WEG 0-10 V input or its electronic
> > potentiometer (one pin that increase rpm and other that decrease). It
> > hasn't a PWM input.
> 
> PWM to voltage is fairly easy (a resistor and a capacitor).
> 
> Alternatively, you could drive the electronic potentiometer with a
> stepgen function in HAL. There is a stepgen (type 1) that outputs the
> correct pulse type. There is no rule saying that stepgen has to take
> position input and drive a stepper motor, the code doesn't care and
> would happily take a spindle speed input and output digipot pulses.
> http://www.linuxcnc.org/docview/html//man/man9/stepgen.9.html
> 
> PWM is possibly better, as when the PWM stops the spindle stops. That
> might not be the case with the digipot.

And that can be a life & death matter.

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Machines take me by surprise with great frequency.
- Alan Turing

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to