On Wednesday 21 November 2012 21:33:16 Scott Hasse did opine: > I've finally been able to circle back to this, thanks for the feedback. > I do use pncconf and have the spindle display selected with encoder > feedback, but it looks to me like the filtered and abs signals are from > the encoder feedback input rather than the motion command output and so > not suitable for driving the pwmgen. However, the same technique > you've pointed out of inserting an abs component inline of the > spindle-vel-cmd should work just fine. I hope to have some time this > weekend to prove it out. Thanks much for that. > > I've also noticed that the default with encoder feedback in pncconf is > still open loop with a "spindle at speed" setting. This makes me > curious how many people use a PID loop in their spindle feedback and if > you do or don't why not. > > Thanks again, > > Scott
I do on my lathe Scott, and one of its functions is to exert a machine stop if the error signal gets too high, because each time that trips, it saves me a 5x20mm fuse in the spindle controller. I don't have its time delays quite spot on, so I do lose a motor fuse if the cutoff tool hogs in & locks the spindle to a dead stop in 10 degrees from 300 rpm's, but it catches most other might blow the fuse cases. > On Sun, Nov 18, 2012 at 4:49 PM, Chris Morley <chrisinnana...@hotmail.com>wrote: > > > My problem is that the drive controller has a direction input and a > > > speed input and the speed input is 0 to +10V regardless of > > > direction. My thinking was that I could just tie the direction pin > > > feeding to the 7i33 high and wire a different I/O pin to the > > > direction input of the drive and tie that pin to the spindle > > > direction. > > > > > > Unfortunately, I can't figure out how to tie the direction pin > > > feeding > > > > the > > > > > 7i33 to high. In the pncconf-generated configuration there is no > > > > explicit > > > > > configuration that I can see tying the spindle direction to the > > > direction pin expected by the 7i33. > > > > > > Am I missing something obvious or is there a different way to > > > accomplish what I want? > > > > > > Thanks! > > > > > > Scott > > > > The problem is linuxcnc does not have a pin that supplies absolute > > spindle speed. > > So you must run it through an absolute component and use the spindle > > cw signal. > > > > Do you use the spindle display options in PNCconf? > > If you do then depending if you use spindle feedback (encoder) or not > > there will be > > one of three signals available : > > No feedback: absolute-spindle-vel ( this is in RPM) > > encoder: spindle-fb-filtered-abs-rpm or spindle-fb-filtered-abs-rps > > > > The second two are filtered but I don't imagine that matters much. > > You would have to mess with the scale of the PWM gen to match input > > signal units and range. > > > > you would disconnect spindle-vel-cmd from the spindle PWM gen and > > connect one of those signals to the PWM gen. > > > > Then you can use spindle cw signal (selected in the mesa page) to > > select the direction > > on an available output pin. > > > > I think that should work if I didn't confuse you or me :) > > > > Chris M > > > > > > > > > > ---------------------------------------------------------------------- > > -------- Monitor your physical, virtual and cloud infrastructure from > > a single web console. Get in-depth insight into apps, servers, > > databases, vmware, SAP, cloud infrastructure, etc. Download 30-day > > Free Trial. > > Pricing starts from $795 for 25 servers or applications! > > http://p.sf.net/sfu/zoho_dev2dev_nov > > _______________________________________________ > > Emc-users mailing list > > Emc-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/emc-users > > ------------------------------------------------------------------------ > ------ Monitor your physical, virtual and cloud infrastructure from a > single web console. Get in-depth insight into apps, servers, databases, > vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users 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) My web page: <http://coyoteden.dyndns-free.com:85/gene> is up! We don't believe in rheumatism and true love until after the first attack. -- Marie Ebner von Eschenbach ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users