Re: [Emc-developers] multi spindle design choice question

2020-04-07 Thread andy pugh
On Tue, 7 Apr 2020 at 16:39, Chris Morley wrote: > Setting the s code to a particular spindle (with %) will from then on always > controls that spindle with a plain s code. Not sure if that is on purpose but > i wouldn't think so. I started with the idea of a "current spindle" but largely aba

Re: [Emc-developers] multi spindle design choice question

2020-04-07 Thread Chris Morley
___ From: andy pugh Sent: April 6, 2020 3:47 PM To: EMC developers Subject: Re: [Emc-developers] multi spindle design choice question On Mon, 6 Apr 2020 at 15:24, Chris Morley wrote: > I wonder if using $-1 to select all spindles would be a better idea. Possibly. I am certainly open to persu

Re: [Emc-developers] multi spindle design choice question

2020-04-06 Thread andy pugh
On Mon, 6 Apr 2020 at 16:20, Reinhard wrote: > Index, Siemens and Fanuc do something like S1=M3 for multiaxis lathes. I don't > know the commands for woodworking machines. One reason that I used the $ symbol to choose the spindle being commanded was to make it relatively easy to re-map to suit e

Re: [Emc-developers] multi spindle design choice question

2020-04-06 Thread andy pugh
On Mon, 6 Apr 2020 at 15:24, Chris Morley wrote: > I wonder if using $-1 to select all spindles would be a better idea. Possibly. I am certainly open to persuasion. My initial idea was a bitmask, but I concluded that the average G-code programmer might look askance at that. > Then a program for

Re: [Emc-developers] multi spindle design choice question

2020-04-06 Thread Reinhard
Hi, On Montag, 6. April 2020, 15:46:05 CEST andy pugh wrote: > ... I have never had a multi-spindle machine, and so the whole multispindle > patch is a best-guess based on what I thought might be needed Well, there are completely different designs of multispindle machines. Wookworkers have lots

Re: [Emc-developers] multi spindle design choice question

2020-04-06 Thread Gene Heskett
le stuff should be totally separated from the default behaviour we've had before. > > From: andy pugh > Sent: April 6, 2020 11:28 AM > To: EMC developers > Subject: Re: [Emc-developers] multi spindle design choice question > > On Mon, 6 A

Re: [Emc-developers] multi spindle design choice question

2020-04-06 Thread Chris Morley
spindles, though I certainly can see the argument for it to. Though again M5 %-1 I think would be better, as again explicit is better. Chris From: andy pugh Sent: April 6, 2020 11:28 AM To: EMC developers Subject: Re: [Emc-developers] multi spindle design choice

Re: [Emc-developers] multi spindle design choice question

2020-04-06 Thread Chris Morley
PM To: EMC developers Subject: Re: [Emc-developers] multi spindle design choice question On Mon, 6 Apr 2020 at 13:52, Chris Morley wrote: > But again I find this inconstant behavior non intuitive. > > If i wanted all the spindles to always turn on and off together, I would > think HAL is the

Re: [Emc-developers] multi spindle design choice question

2020-04-06 Thread andy pugh
On Mon, 6 Apr 2020 at 13:52, Chris Morley wrote: > But again I find this inconstant behavior non intuitive. > > If i wanted all the spindles to always turn on and off together, I would > think HAL is the best place to do that. It will only turn on spindles that have S > 0. So you can set up com

Re: [Emc-developers] multi spindle design choice question

2020-04-06 Thread Chris Morley
On 2020-04-06 4:28 a.m., andy pugh wrote: On Mon, 6 Apr 2020 at 12:15, Chris Morley wrote: I see from the docs that this is by design. I am curious about why this choice - it seems error prone and frankly annoying to program for. The idea was that you might want to set the speed of a numbe

Re: [Emc-developers] multi spindle design choice question

2020-04-06 Thread andy pugh
On Mon, 6 Apr 2020 at 12:15, Chris Morley wrote: > I see from the docs that this is by design. > I am curious about why this choice - it seems error prone and frankly > annoying to program for. The idea was that you might want to set the speed of a number of spindles and then start and stop the

[Emc-developers] multi spindle design choice question

2020-04-06 Thread Chris Morley
i was playing with a second spindle on my mill. I noticed that the second spindle settings are set be default with a plain s and m code. Said another way s1000 m3 will turn on all spindles and set all of them to 1000rpm. You must specify the spindle with $ to set different independent settings. I