The at-speed signal on my inverter (the infamous Huanyang), stays false when the spindle-on signal is false. Ergo, a simple connection to the motion component would inhibit jogging unless the spindle is running. If I want to utilize a wait-for-spindle function, I guess I'll need to cobble up some logic so that the signal is forced active unless a spindle-on command is in place.
Thanks for the responses -ldw On 12/29/2015 11:35 AM, Todd Zuercher wrote: > That is fine if he has spindle feed back, but if not, then the best option is > to use the at speed output from his VFD. > > All you need to do is net the input pin motion.spindle-at-speed to the signal > from your VFD, it is that simple. So if your VFD signal is connected to the > parallel port pin #15, the line in your hal file would be: > net spindle_at_speed <= parport.0.pin-15-in => motion.spindle-at-speed > > ----- Original Message ----- > From: "Sarah Armstrong" <sarahj.armstron...@gmail.com> > To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net> > Sent: Tuesday, December 29, 2015 10:19:18 AM > Subject: Re: [Emc-users] Spindle control > > arh , > if i'm reading correctly , you wish to use an external output form your vfd > to trigger ? , hence an input pin > > the spindle at speed signal is internally generated within linuxcnc , using > the spindle rpm encoder > so therfore does not need an input from the vfd directly to use . so long > as your spindle speed rpm is correct or within bounds of a few rpm > it will work fine , > > > > > On 29 December 2015 at 15:11, Sarah Armstrong <sarahj.armstron...@gmail.com> > wrote: > >> you can use stepconf to produce a configuration , >> you usually see a >> sets spindle-at-speed true , this overides the spindle at speed >> it may be in your postgui.hal file . >> comment it out and you should be ok >> >> >> >> >> >> >> On 29 December 2015 at 14:59, lloyd wilson <llwilso...@rochester.rr.com> >> wrote: >> >>> I'm trying to add a pyvcp panel to control a spindle vfd. To take >>> advantage of the 'at-speed' signal from the vfd to inhibit motion until >>> ready, the motion component of LCNC needs to be aware of the spindle >>> command state- from the documentation: >>> >>> *motion.spindle-at-speed* IN BIT >>> >>> Motion will pause until this pin is TRUE, under the following >>> conditions: before the first feed move after each spindle start or speed >>> change; before the start of every chain of spindle-synchronized moves; >>> and if in CSS mode, at every rapid->feed transition. >>> >>> but I can't find a reference to HAL input pins for spindle control in >>> the motion control component documentation. Is that communication done >>> by other methods (NML??- gasp!). >>> >>> Can someone point me to a sample configuration that properly integrates >>> an 'at-speed' signal into LCNC? >>> >>> Thanks in advance >>> >>> -ldw >>> >>> ------------------------------------------------------------------------------ >>> _______________________________________________ >>> Emc-users mailing list >>> Emc-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/emc-users >>> >> >> >> -- >> >> The information contained in this message is confidential and is intended >> for the addressee only. If you have received this message in error or there >> are any problems please notify the originator immediately. The unauthorised >> use, disclosure, copying or alteration of this message is strictly >> forbidden. This mail and any attachments have been scanned for viruses >> prior to leaving the RcTechnix network. RcTechnix will not be liable for >> direct, special, indirect or consequential damages arising from alteration >> of the contents of this message by a third party or as a result of any >> virus being passed on. >> >> RcTechnix reserves the right to monitor and record e-mail messages being >> sent to and from this address for the purposes of investigating or >> detecting any unauthorised use of its system and ensuring effective >> operation. >> >> (c) RcTechnix >> > > ------------------------------------------------------------------------------ _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users