On Wednesday 29 April 2020 19:02:17 Leonardo Marsaglia wrote: > It's me again, > > We managed to get the spindle VFD working with pulse input command. > The problem is, I can't get to work the G96 code or the feed override > on axis. I'm able to set different speeds via MDI and it responds well > but that's all. The feed override slider is behaving like a on/off > switch turning off the spindle when it reaches to zero. Also, If I > increase the speed using the buttons on manual mode on axis the RPMs > jump in a very staggered way. In MDI this doesn't happen. > > Checking the *spindle.M.speed−in* it seems to receive the RPS from the > encoder module. The only thing that's not looking good is how noisy > the signal is. I didn't activate the encoder filter but I can try that > tomorrow, although I don't think that's what's avoiding G96 to work. > > I tried the same g-code on axis sim lathe and it works ok. Any ideas? > I suspect it's the same thing that's causing both problems but I don't > know where to look. Please let me know what you think. > > Thank you as always!
If the pwmgen you are using has a "PDM" mode, try that along with reducing the frequency. A kilohertz s/b plenty. The vfd will average it nicely, and the lower frequency will give more, different speeds. In PDM mode and low speeds it will skip pulses, or should. > > _______________________________________________ > Emc-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-users Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis Genes Web page <http://geneslinuxbox.net:6309/gene> _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
