Re: [Emc-developers] Homing the spindle

2016-01-04 Thread Gene Heskett
On Monday 04 January 2016 14:12:10 andy pugh wrote: > On 8 September 2015 at 16:22, Chris Radek wrote: > >> My proposal is that the homing code would search the INI file for a > >> [SPINDLE*] stanza (which already exists in many configs) and if it > >> finds one that contains a homing sequence nu

Re: [Emc-developers] Homing the spindle

2016-01-04 Thread andy pugh
On 4 January 2016 at 19:27, Sebastian Kuzminsky wrote: > You can not access the ini file from homing.c, because it's part of > Motion, which is realtime, which is unable to do file I/O. Ah, yes, of course. It has been quite a while since I looked at anything outside of HAL. -- atp If you can't

Re: [Emc-developers] Homing the spindle

2016-01-04 Thread Sebastian Kuzminsky
On 1/4/16 12:12 PM, andy pugh wrote: > homing,c gets its information from the joints array of joint_t which > is populated by ini_joints. > > I could probably access the INI from inside homing.c, but I think that > I probably shouldn't, it feels like a kludge. You can not access the ini file from

Re: [Emc-developers] Homing the spindle

2016-01-04 Thread andy pugh
On 8 September 2015 at 16:22, Chris Radek wrote: >> My proposal is that the homing code would search the INI file for a >> [SPINDLE*] stanza (which already exists in many configs) and if it >> finds one that contains a homing sequence number it would assert the >> spindle-index-enable output and r

Re: [Emc-developers] homing the spindle

2015-09-09 Thread EBo
On Sep 9 2015 9:36 AM, andy pugh wrote: > On 9 September 2015 at 10:51, andy pugh wrote: >> There are lots on eBay at sensible money. But you are right, new >> retail price is prohibitive. > > This auction rather proves the point: > > http://www.ebay.co.uk/itm/MUIRHEAD-AEROSPACE-VACTRIC-RESOLVER-

Re: [Emc-developers] homing the spindle

2015-09-09 Thread andy pugh
On 9 September 2015 at 10:51, andy pugh wrote: > There are lots on eBay at sensible money. But you are right, new > retail price is prohibitive. This auction rather proves the point: http://www.ebay.co.uk/itm/MUIRHEAD-AEROSPACE-VACTRIC-RESOLVER-15M6C1-/201417060910?hash=item2ee564722e -- atp If

Re: [Emc-developers] homing the spindle

2015-09-09 Thread andy pugh
On 9 September 2015 at 15:45, Gene Heskett wrote: > And I think its much ado about nothing. The idea of having it running at > 75 rpm as it is moved to the tool changer where it encounters a > mechanical stop at the correct orientation A mechanical stop is an unnecessary complication if the spind

Re: [Emc-developers] homing the spindle

2015-09-09 Thread Gene Heskett
On Wednesday 09 September 2015 05:30:29 andy pugh wrote: > On 9 September 2015 at 04:13, Jon Elson wrote: > > Ohhh, that sounds like trouble brewing! I can think of a > > high speed spindle running for 8 hours at 20K RPM with a > > 1000 count/rev encoder, that gives 9.6 billion counts. > > Then,

Re: [Emc-developers] homing the spindle

2015-09-09 Thread andy pugh
On 9 September 2015 at 10:40, EBo wrote: > Fair enough. Can you list some recomended resolvers? All the ones I > am familiar with are wicked expensive. There are lots on eBay at sensible money. But you are right, new retail price is prohibitive. You also need special hardware to use them, and

Re: [Emc-developers] homing the spindle

2015-09-09 Thread EBo
Fair enough. Can you list some recomended resolvers? All the ones I am familiar with are wicked expensive. EBo -- On Sep 9 2015 3:30 AM, andy pugh wrote: > On 9 September 2015 at 04:13, Jon Elson > wrote: >> Ohhh, that sounds like trouble brewing! I can think of a >> high speed spindle r

Re: [Emc-developers] homing the spindle

2015-09-09 Thread andy pugh
On 9 September 2015 at 04:13, Jon Elson wrote: > Ohhh, that sounds like trouble brewing! I can think of a > high speed spindle running for 8 hours at 20K RPM with a > 1000 count/rev encoder, that gives 9.6 billion counts. > Then, a tool change that needs a spindle orient. Hmm, > maybe a little

Re: [Emc-developers] homing the spindle

2015-09-09 Thread andy pugh
On 9 September 2015 at 03:30, Chris Radek wrote: > I wonder how long you'd have to run before orient (which doesn't > reset, with the current design) works badly...? If you say that 1/10 of a degree error is the limit of acceptability.., DP has about 16 decimal digits of precision, so lets say th

Re: [Emc-developers] homing the spindle

2015-09-08 Thread Jon Elson
On 09/08/2015 09:30 PM, Chris Radek wrote: > On Tue, Sep 08, 2015 at 08:30:13PM -0500, Jon Elson wrote: > >> Now, you COULD figure out the right number by modulo >> division and work it that way. > You know, I hadn't thought about this. The original design for > spindle-synced motion was when we h

Re: [Emc-developers] homing the spindle

2015-09-08 Thread Brian
Is it not possible to make a circular counter that always overflows to zero every rev? Don't angular axis already do this? Brian Sent from my iPad -- Monitor Your Dynamic Infrastructure at Any Scale With Datadog! Get re

Re: [Emc-developers] homing the spindle

2015-09-08 Thread Chris Radek
On Tue, Sep 08, 2015 at 08:30:13PM -0500, Jon Elson wrote: > Now, you COULD figure out the right number by modulo > division and work it that way. You know, I hadn't thought about this. The original design for spindle-synced motion was when we had single precision floating point positions, whic

Re: [Emc-developers] homing the spindle

2015-09-08 Thread Jon Elson
On 09/08/2015 12:08 PM, Stuart Stevenson wrote: > Why would a subsequent tapping operation need to use any index? Once the > spindle is homed you should not need to look for index other than a > convenient place to start the motion. > You could then specify an angle to start. > Easy to cut multilea

Re: [Emc-developers] homing the spindle

2015-09-08 Thread Chris Radek
On Tue, Sep 08, 2015 at 12:08:19PM -0500, Stuart Stevenson wrote: > Why would a subsequent tapping operation need to use any index? Only because that's how it's already implemented. -- ___

Re: [Emc-developers] homing the spindle

2015-09-08 Thread Stuart Stevenson
Why would a subsequent tapping operation need to use any index? Once the spindle is homed you should not need to look for index other than a convenient place to start the motion. You could then specify an angle to start. Easy to cut multilead threads then. --

Re: [Emc-developers] Homing the spindle

2015-09-08 Thread Gene Heskett
On Tuesday 08 September 2015 11:34:47 andy pugh wrote: > On 8 September 2015 at 16:22, Chris Radek wrote: > > Tapping/threading will cause additional index resets later on - this > > won't hurt orient, right? > > I would think that things were badly broken if it did. The spindle > index really ou

Re: [Emc-developers] Homing the spindle

2015-09-08 Thread andy pugh
On 8 September 2015 at 16:22, Chris Radek wrote: > Tapping/threading will cause additional index resets later on - this > won't hurt orient, right? I would think that things were badly broken if it did. The spindle index really ought to be in the same place every revolution. I guess that with a

Re: [Emc-developers] Homing the spindle

2015-09-08 Thread Chris Radek
On Tue, Sep 08, 2015 at 03:18:42PM +0100, andy pugh wrote: > > My proposal is that the homing code would search the INI file for a > [SPINDLE*] stanza (which already exists in many configs) and if it > finds one that contains a homing sequence number it would assert the > spindle-index-enable outp

[Emc-developers] Homing the spindle

2015-09-08 Thread andy pugh
In a recent feature request I proposed adding spindle homing to the homing sequence. https://sourceforge.net/p/emc/feature-requests/138/ The use case is mainly for toolchangers, but it might be useful for lathes with a C-axis capability. If the spindle.index-enable pin was asserted by default at