Re: [Emc-users] Spindle speed changes with threading.

2021-02-06 Thread Les Newell
[mailto:les.new...@fastmail.co.uk] Sent: February-05-21 8:07 AM To: emc-users@lists.sourceforge.net Subject: Re: [Emc-users] Spindle speed changes with threading. I just tried it on my lathe. I scratch cut a coarse pitch thread at low spindle speed then repeated the cut at about twice the spindle

Re: [Emc-users] Spindle speed changes with threading.

2021-02-05 Thread Jon Elson
On 02/05/2021 01:35 PM, Gene Heskett wrote: On Friday 05 February 2021 13:53:44 Jon Elson wrote: On 02/05/2021 10:07 AM, Gene Heskett wrote: You have my curiosity bump itching Jon, When I get my stuff back together on the GO704, and get my new 'scope unpacked, I'll take a look at the step

Re: [Emc-users] Spindle speed changes with threading.

2021-02-05 Thread Jon Elson
On 02/05/2021 01:11 PM, johnd wrote: What's the resolution of your spindle encoder and base period servo period? There is no base thread on this servo system. The servo thread runs at 1 KHz. The spindle encoder uses the bull gear in the mill's head, so it has 324 counts/rev. Jon

Re: [Emc-users] Spindle speed changes with threading.

2021-02-05 Thread John Dammeyer
Boy my Samsung phone doesn't format messages very well for this group. OK. So I'll ask again. If you'd done tapping or threading with LinuxCNC: 1. What resolution encoder are you using? 2. What is the BASIC_PERIOD? 3. What is the SERVO_PERIOD? Thanks John Dammeyer

Re: [Emc-users] Spindle speed changes with threading.

2021-02-05 Thread Gene Heskett
On Friday 05 February 2021 13:53:44 Jon Elson wrote: > On 02/05/2021 10:07 AM, Gene Heskett wrote: > > You have my curiosity bump itching Jon, When I get my stuff back > > together on the GO704, and get my new 'scope unpacked, I'll take a > > look at the step drive output and answer that itch. >

Re: [Emc-users] Spindle speed changes with threading.

2021-02-05 Thread johnd
What's the resolution of your spindle encoder and base period servo period?Sent from my Samsung S10 Original message From: Jon Elson Date: 2021-02-05 10:56 a.m. (GMT-08:00) To: "Enhanced Machine Controller (EMC)" Subject: Re: [Emc-users] Spindle spee

Re: [Emc-users] Spindle speed changes with threading.

2021-02-05 Thread Jon Elson
On 02/05/2021 11:03 AM, John Dammeyer wrote: Hi Gene, But it's also been reported that with LinuxCNC it's possible to stop the spindle while still in Threading Mode and then turn the spindle by hand and the carriage will follow. This is of course on a lathe. Not something you'd do on a mill

Re: [Emc-users] Spindle speed changes with threading.

2021-02-05 Thread Jon Elson
On 02/05/2021 10:07 AM, Gene Heskett wrote: You have my curiosity bump itching Jon, When I get my stuff back together on the GO704, and get my new 'scope unpacked, I'll take a look at the step drive output and answer that itch. You actually should be able to check this out with Halscope. Look

Re: [Emc-users] Spindle speed changes with threading.

2021-02-05 Thread Gene Heskett
On Friday 05 February 2021 12:03:48 John Dammeyer wrote: > Hi Gene, > But it's also been reported that with LinuxCNC it's possible to stop > the spindle while still in Threading Mode and then turn the spindle by > hand and the carriage will follow. This is of course on a lathe. Not > something

Re: [Emc-users] Spindle speed changes with threading.

2021-02-05 Thread John Dammeyer
es.new...@fastmail.co.uk] > Sent: February-05-21 8:07 AM > To: emc-users@lists.sourceforge.net > Subject: Re: [Emc-users] Spindle speed changes with threading. > > I just tried it on my lathe. I scratch cut a coarse pitch thread at low > spindle speed then repeated the cut at about tw

Re: [Emc-users] Spindle speed changes with threading.

2021-02-05 Thread John Dammeyer
> From: Jon Elson [mailto:el...@pico-systems.com] > On 02/05/2021 03:15 AM, Gene Heskett wrote: > > On Friday 05 February 2021 02:57:38 John Dammeyer wrote: > > > >> Granted this subject is a bit old I've now had some time to dive back > >> into the TI F2837xD which has dual processors and other

Re: [Emc-users] Spindle speed changes with threading.

2021-02-05 Thread John Dammeyer
ong as the system can respond to that encoder change fast enough. See the issue? John > -Original Message- > From: Gene Heskett [mailto:ghesk...@shentel.net] > Sent: February-05-21 1:16 AM > To: emc-users@lists.sourceforge.net > Subject: Re: [Emc-users] Spindle speed changes with thr

Re: [Emc-users] Spindle speed changes with threading.

2021-02-05 Thread Les Newell
I just tried it on my lathe. I scratch cut a coarse pitch thread at low spindle speed then repeated the cut at about twice the spindle speed. I ended up with two distinct threads. The moral of the story is to make sure your spindle speed is stable before starting threading. Les

Re: [Emc-users] Spindle speed changes with threading.

2021-02-05 Thread Gene Heskett
On Friday 05 February 2021 10:27:30 Jon Elson wrote: > On 02/05/2021 03:15 AM, Gene Heskett wrote: > > On Friday 05 February 2021 02:57:38 John Dammeyer wrote: > >> Granted this subject is a bit old I've now had some time to dive > >> back into the TI F2837xD which has dual processors and other >

Re: [Emc-users] Spindle speed changes with threading.

2021-02-05 Thread Jon Elson
On 02/05/2021 03:15 AM, Gene Heskett wrote: On Friday 05 February 2021 02:57:38 John Dammeyer wrote: Granted this subject is a bit old I've now had some time to dive back into the TI F2837xD which has dual processors and other features that will make it a good test bed for trying out stuff.

Re: [Emc-users] Spindle speed changes with threading.

2021-02-05 Thread Gene Heskett
On Friday 05 February 2021 02:57:38 John Dammeyer wrote: > Granted this subject is a bit old I've now had some time to dive back > into the TI F2837xD which has dual processors and other features that > will make it a good test bed for trying out stuff. > > It has a hardware Quadrature Encoder

Re: [Emc-users] Spindle speed changes with threading.

2021-02-05 Thread John Dammeyer
10:12 AM > To: Enhanced Machine Controller (EMC) > Subject: Re: [Emc-users] Spindle speed changes with threading. > > Hi All, > > As others have said, during position-synched moves, the axes follow the > spindle position, so you don't need fine control of spindle speed. However, > you

Re: [Emc-users] Spindle speed changes with threading.

2021-01-20 Thread Robert Ellenberg
Hi John, Good catch! Andy also pointed out that multi-start threading is of course possible if you do a Z offset like you describe. I was thinking of "native" support for multi-start in G33 / G33.1, like with a word specifying the start location in degrees. -Rob

Re: [Emc-users] Spindle speed changes with threading.

2021-01-20 Thread John Dammeyer
Thanks Rob, Comments below. > -Original Message- > From: Robert Ellenberg [mailto:rwe...@gmail.com] > Sent: January-20-21 10:12 AM > To: Enhanced Machine Controller (EMC) > Subject: Re: [Emc-users] Spindle speed changes with threading. > > Hi All, > >

Re: [Emc-users] Spindle speed changes with threading.

2021-01-20 Thread Leonardo Marsaglia
> > Ahh, good point! It would be nice to be able to explicitly specify a > spindle angle too, but that's a good workaround. I always thought about having a way to offet the index pulse. But since most people use hardware for encoder counting, I suspect the solution should be right there in the

Re: [Emc-users] Spindle speed changes with threading.

2021-01-20 Thread Robert Ellenberg
Ahh, good point! It would be nice to be able to explicitly specify a spindle angle too, but that's a good workaround. On Wed, Jan 20, 2021, 1:50 PM Andy Pugh wrote: > > > > On 20 Jan 2021, at 18:14, Robert Ellenberg wrote: > > > > > > Note that multi-start threading is not currently possible >

Re: [Emc-users] Spindle speed changes with threading.

2021-01-20 Thread Andy Pugh
> On 20 Jan 2021, at 18:14, Robert Ellenberg wrote: > > > Note that multi-start threading is not currently possible You can do it by offsetting the start point. (If there is room) ___ Emc-users mailing list Emc-users@lists.sourceforge.net

Re: [Emc-users] Spindle speed changes with threading.

2021-01-20 Thread Robert Ellenberg
Hi All, As others have said, during position-synched moves, the axes follow the spindle position, so you don't need fine control of spindle speed. However, you should have both a stable spindle RPM and a high-ish resolution encoder to get the best results. John, for your example, as each encoder

Re: [Emc-users] Spindle speed changes with threading.

2021-01-20 Thread John Dammeyer
> From: andy pugh [mailto:bodge...@gmail.com] > > On Wed, 20 Jan 2021 at 16:09, Kirk Wallace > wrote: > > > I left the trail here: > > > https://github.com/LinuxCNC/linuxcnc/blob/master/src/emc/rs274ngc/interp_convert.cc#L4881-L5028 > > There seems to have been a lot of time spent

Re: [Emc-users] Spindle speed changes with threading.

2021-01-20 Thread John Dammeyer
And if so where is the real code for START_SPEED_FEED_SYNCH? John Dammeyer > -Original Message- > From: Kirk Wallace [mailto:kwall...@wallacecompany.com] > Sent: January-20-21 8:07 AM > To: emc-users@lists.sourceforge.net > Subject: Re: [Emc-users] Spindle speed changes with threa

Re: [Emc-users] Spindle speed changes with threading.

2021-01-20 Thread andy pugh
On Wed, 20 Jan 2021 at 16:09, Kirk Wallace wrote: > I left the trail here: > > https://github.com/LinuxCNC/linuxcnc/blob/master/src/emc/rs274ngc/interp_convert.cc#L4881-L5028 There seems to have been a lot of time spent investigating theory that could have been settled in 5 minutes with an

Re: [Emc-users] Spindle speed changes with threading.

2021-01-20 Thread Kirk Wallace
(bottom posted this one) On 1/19/21 9:42 PM, John Dammeyer wrote: I dont think, the z position is "geared" to the counts beyond index so locked unambiguously to spindle angle beyond index, after initial sync is acheived. Peter Wallace Mesa Electronics So far that makes sense. From "LinuxCNC

Re: [Emc-users] Spindle speed changes with threading.

2021-01-19 Thread John Dammeyer
> I dont think, the z position is "geared" to the counts beyond > index so locked unambiguously to spindle angle beyond index, > after initial sync is acheived. > > > Peter Wallace > Mesa Electronics So far that makes sense. From "LinuxCNC User manual" "The tool will pause briefly for

Re: [Emc-users] Spindle speed changes with threading.

2021-01-19 Thread Gene Heskett
On Tuesday 19 January 2021 15:50:49 Todd Zuercher wrote: > I under stand the analogy, but I wonder if Linuxcnc is erroneously > behaving as if the "leadscrew" were multiple start, with the number of > starts equal to the encoder's counts/rev. Resulting in the syncing of > the axis to the spindle

Re: [Emc-users] Spindle speed changes with threading.

2021-01-19 Thread Peter C. Wallace
On Tue, 19 Jan 2021, Todd Zuercher wrote: Date: Tue, 19 Jan 2021 20:50:49 + From: Todd Zuercher Reply-To: "Enhanced Machine Controller (EMC)" To: "Enhanced Machine Controller (EMC)" Subject: Re: [Emc-users] Spindle speed changes with threading. I under stan

Re: [Emc-users] Spindle speed changes with threading.

2021-01-19 Thread Todd Zuercher
raham Dunn Inc. 630 Henry Street  Dalton, Ohio 44618 Phone:  (330)828-2105ext. 2031 -Original Message- From: Peter C. Wallace Sent: Tuesday, January 19, 2021 3:10 PM To: Enhanced Machine Controller (EMC) Subject: Re: [Emc-users] Spindle speed changes with threading. On Tue, 19 Jan

Re: [Emc-users] Spindle speed changes with threading.

2021-01-19 Thread Peter C. Wallace
On Tue, 19 Jan 2021, Gene Heskett wrote: It wasn't the last time I tested it Jon, and most of the recent conversations here are ignoreing the fact that every new stroke, starting from its resting position, regardless of whether its a G76 or you are "pecking" a G33.1 for rigid tapping, is a NEW

Re: [Emc-users] Spindle speed changes with threading.

2021-01-19 Thread Gene Heskett
On Tuesday 19 January 2021 12:48:32 Jon Elson wrote: > On 01/18/2021 05:47 PM, John Dammeyer wrote: > >>> So what does LinuxCNC do? Is the thread mucked up if spindle > >>> speed is changed during a feed hold and then start? > >> > >> Feed hold has nothing to do with it John, you can't change

Re: [Emc-users] Spindle speed changes with threading.

2021-01-19 Thread Jon Elson
On 01/18/2021 05:47 PM, John Dammeyer wrote: So what does LinuxCNC do? Is the thread mucked up if spindle speed is changed during a feed hold and then start? Feed hold has nothing to do with it John, you can't change the spindle speed in mid thread. Full stop. Period. I think it could do what

Re: [Emc-users] Spindle speed changes with threading.

2021-01-18 Thread Peter C. Wallace
On Mon, 18 Jan 2021, Gene Heskett wrote: Date: Mon, 18 Jan 2021 23:36:37 -0500 From: Gene Heskett Reply-To: "Enhanced Machine Controller (EMC)" To: emc-users@lists.sourceforge.net Subject: Re: [Emc-users] Spindle speed changes with threading. On Monday 18 January 2021 22:21:

Re: [Emc-users] Spindle speed changes with threading.

2021-01-18 Thread Gene Heskett
On Monday 18 January 2021 22:21:00 Peter C. Wallace wrote: > On Mon, 18 Jan 2021, Gene Heskett wrote: > > But because once locked, its not a big deal if the cutting load > > slows the spindle 25%, its still locked at that phase angle and it > > will stay that way until the end of THAT cut stroke.

Re: [Emc-users] Spindle speed changes with threading.

2021-01-18 Thread Peter C. Wallace
On Mon, 18 Jan 2021, Gene Heskett wrote: But because once locked, its not a big deal if the cutting load slows the spindle 25%, its still locked at that phase angle and it will stay that way until the end of THAT cut stroke. But if YOU change the spindle speed, then YOU have changed the synch

Re: [Emc-users] Spindle speed changes with threading.

2021-01-18 Thread Kirk Wallace
On 1/18/21 3:53 PM, Andy Pugh wrote: On 18 Jan 2021, at 23:08, John Dammeyer wrote: So what does LinuxCNC do? Is the thread mucked up if spindle speed is changed during a feed hold and then start? I believe that it does. The docs specifically warn against Chang speed during a threading

Re: [Emc-users] Spindle speed changes with threading.

2021-01-18 Thread Gene Heskett
On Monday 18 January 2021 18:47:25 John Dammeyer wrote: > > > So what does LinuxCNC do? Is the thread mucked up if spindle > > > speed is changed during a feed hold and then start? > > > > Feed hold has nothing to do with it John, you can't change the > > spindle speed in mid thread. Full stop.

Re: [Emc-users] Spindle speed changes with threading.

2021-01-18 Thread Peter C. Wallace
On Mon, 18 Jan 2021, John Dammeyer wrote: Date: Mon, 18 Jan 2021 15:58:12 -0800 From: John Dammeyer Reply-To: "Enhanced Machine Controller (EMC)" To: "'Enhanced Machine Controller (EMC)'" Subject: Re: [Emc-users] Spindle speed ch

Re: [Emc-users] Spindle speed changes with threading.

2021-01-18 Thread John Dammeyer
Thanks Jon. More questions below then. > > Quick question about threading with LinuxCNC. If you do a feed hold > > between passes for cutting a thread and during that feed hold > change the spindle speed what will happen? > > > No problem. At the beginning of EACH pass, the spindle > encoder

Re: [Emc-users] Spindle speed changes with threading.

2021-01-18 Thread Andy Pugh
> On 18 Jan 2021, at 23:08, John Dammeyer wrote: > > So what does LinuxCNC do? Is the thread mucked up if spindle speed is > changed during a feed hold and then start? I believe that it does. The docs specifically warn against Chang speed during a threading cycle.

Re: [Emc-users] Spindle speed changes with threading.

2021-01-18 Thread John Dammeyer
> > So what does LinuxCNC do? Is the thread mucked up if spindle speed is > > changed during a feed hold and then start? > > > Feed hold has nothing to do with it John, you can't change the spindle > speed in mid thread. Full stop. Period. I think it could do what is > needed. But its like Yogi

Re: [Emc-users] Spindle speed changes with threading.

2021-01-18 Thread Jon Elson
On 01/18/2021 05:05 PM, John Dammeyer wrote: Quick question about threading with LinuxCNC. If you do a feed hold between passes for cutting a thread and during that feed hold change the spindle speed what will happen? No problem. At the beginning of EACH pass, the spindle encoder is

Re: [Emc-users] Spindle speed changes with threading.

2021-01-18 Thread Gene Heskett
On Monday 18 January 2021 18:05:56 John Dammeyer wrote: > Quick question about threading with LinuxCNC. If you do a feed hold > between passes for cutting a thread and during that feed hold change > the spindle speed what will happen? > > From a start it takes a certain amount of time to