I forgot to tell you that I'm driving the spindle open loop yet. But again I don't think that could be the problem.
El jue., 30 abr. 2020 10:03, Leonardo Marsaglia <[email protected]> escribió: > Well I just corrected my scale and activate the encoder filter and now I'm > pretty much spinning the spindle at the rpms it's asked to. > > The problem is still my g96 code. When the program tries that command with > a 700 rpm limit, the lathe starts to spin to that maximum speed no matter > the position of the x axis. > > I don't have spindle at speed connected but I don't know if that can be > the problem. > > I really don't know what's going on. Please let me know of I'm missing > something. > > Thank you! > > Leonardo Marsaglia > > El mié., 29 abr. 2020 22:31, Leonardo Marsaglia <[email protected]> > escribió: > >> Hello Gene, >> >> I'm using a step generator from the 7i52 to feed the pulse command input >> on the Yaskawa v1000. So I have to play with the scale factor to modify the >> frequency. The driver accepts a maximum frequency of 32 khz and it has a >> max freq setting inside that range to set up the maximum velocity. I'll try >> to play with that tomorrow. >> >> What I don't understand is why I don't have a ramping velocity when using >> G96 for grooving for example. May be I'm clipping onto max rpm when I set >> up the cam software? Because I'm limiting the RPMs for the grooves to 700 >> RPM max no matter the surface speed. Needless to say, I'm still getting >> myself used to make my programs with CAM software. >> >> But there's still the feed override problem on axis, wich is not a big >> concern because I'm not planning to override the spindle from that slider, >> but It worries me that it's not working like it should be. >> >> Thanks! >> >> >> >> El mié., 29 abr. 2020 a las 21:10, Gene Heskett (<[email protected]>) >> escribió: >> >>> 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 >>> >> _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
