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

2011-03-13 Thread Tony Zampini
ot; Sent: Saturday, March 12, 2011 1:54 PM Subject: Re: [Emc-users] Help with PWM spindle control > On 12 March 2011 16:18, Tony Zampini wrote: > >> addf pwmgen.make-pulses base-thread >> addf pwmgen.update servo-thread >> net spindle-cmd <= motion.spindle-speed-out =&g

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

2011-03-12 Thread andy pugh
On 12 March 2011 16:18, Tony Zampini 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 pwmgen.0.pwm-fr

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

2011-03-12 Thread Tony Zampini
ool-prepare-loopback iocontrol.0.tool-prepare => iocontrol.0.tool-prepared ***** Tony ----- Original Message - From: "andy pugh" To: "Enhanced Machine Controller (EMC)" Sent: Thursday, March 10, 2011 12:53 PM Subject: Re: [Emc-users

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

2011-03-10 Thread andy pugh
On 10 March 2011 22:28, Tony Zampini 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 is needed. How

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

2011-03-10 Thread Tony Zampini
011 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. Y

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 p

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

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

2011-03-09 Thread andy pugh
On 9 March 2011 13:55, Tony Zampini 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 tried MDI

[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 fairl