Re: [Emc-users] Help with PWM spindle control

2011-03-12 Thread Tony Zampini
Machine Controller (EMC) emc-users@lists.sourceforge.net Sent: Thursday, March 10, 2011 12:53 PM Subject: Re: [Emc-users] Help with PWM spindle control On 10 March 2011 22:28, Tony Zampini zampi...@cox.net wrote: Am I correct to assume that the PWM output is different than the other outputs

Re: [Emc-users] Help with PWM spindle control

2011-03-12 Thread andy pugh
On 12 March 2011 16:18, Tony Zampini zampi...@cox.net wrote: addf pwmgen.make-pulses base-thread addf pwmgen.update servo-thread net spindle-cmd = motion.spindle-speed-out = pwmgen.0.value net spindle-enable = motion.spindle-on = pwmgen.0.enable net spindle-pwm = pwmgen.0.pwm setp

Re: [Emc-users] Help with PWM spindle control

2011-03-10 Thread Tony Zampini
: Wednesday, March 09, 2011 12:23 PM Subject: Re: [Emc-users] Help with PWM spindle control gene heskett wrote: It is my finding that the line sequence counts. IOW: S100 M3 or S2500 m3 Always works. You must set the speed at least a line prior to issuing the M3 command. Huh? I have

Re: [Emc-users] Help with PWM spindle control

2011-03-10 Thread andy pugh
On 10 March 2011 22:28, Tony Zampini zampi...@cox.net wrote: Am I correct to assume that the PWM output is different than the other outputs (like step X, dir X, etc.), in that I *must* write hal code to get it to work? Not as far as I know. I am pretty sure that Stepconf ought to do all that

[Emc-users] Help with PWM spindle control

2011-03-09 Thread Tony Zampini
Hi all, I'm attempting to set up EMC2 to generate a PWM signal for spindle speed control. I put a DVM on the PWM parallel port pin in hopes to see an average voltage of the PWM signal. But all I see is about 90mV, and it never changes. I tried MDI commands like: M03 S100 and M03 S2000 I'm

Re: [Emc-users] Help with PWM spindle control

2011-03-09 Thread andy pugh
On 9 March 2011 13:55, Tony Zampini zampi...@cox.net wrote: I'm attempting to set up EMC2 to generate a PWM signal for spindle speed control. I put a DVM on the PWM parallel port pin in hopes to see an average voltage of the PWM signal. But all I see is about 90mV, and it never changes. I

Re: [Emc-users] Help with PWM spindle control

2011-03-09 Thread gene heskett
On Wednesday, March 09, 2011 10:14:39 AM Tony Zampini did opine: Hi all, I'm attempting to set up EMC2 to generate a PWM signal for spindle speed control. I put a DVM on the PWM parallel port pin in hopes to see an average voltage of the PWM signal. But all I see is about 90mV, and it

Re: [Emc-users] Help with PWM spindle control

2011-03-09 Thread Jon Elson
gene heskett wrote: It is my finding that the line sequence counts. IOW: S100 M3 or S2500 m3 Always works. You must set the speed at least a line prior to issuing the M3 command. Huh? I have NEVER done this, I ALWAYS code it on the same line, either in my .ngc program or with