On Wednesday 30 December 2015 09:37:13 lloyd wilson wrote:

> 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
>
IIRC, this spindle-at-speed thing is only effective when its called for 
by the g-code command that needs it, such as in a G76 or G33.1. There 
may be other "canned" gcodes that use it but if its active, I sure 
haven't noted it.  For the rest of the canned stuff, the spindle starts 
and is not stopped until the canned operation is completed.  Or you hit 
the ESC key to bail out of course. 

In fact, I'm not sure it even applies to G76 as the only pause once the 
retrace move is complete, is waiting for the index pulse so it can start 
the next cut in time with the previous cuts. Its only function in G76 is 
to verify the spindle is running before it starts the first cut.  After 
it starts the first cut, I believe g76 is on its own. If a heavy thread 
that does slow the spindle is being done, the locking is maintained.

I believe this is also true of the G33.1, which I usually drive with a 
wrapper that pecks the thread 1/4 to 1/2 turn deeper each peck. I 
usually have a pause before starting each new peck so I can blow the tap 
clean and put another drop of buttercutt or similar on it before it 
starts back into the hole.

It doesn't interfere with normal jogging, or shouldn't unless your .hal 
file is miss-configured.

> 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


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)
Genes Web page <http://geneslinuxbox.net:6309/gene>

------------------------------------------------------------------------------
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to