Re: [Emc-users] Gearchange comp

2015-01-08 Thread John Thornton
I still have the vari-speed belt on my BP so I just run the inverter at 
1800 hz for every op and dial in the speed. I guess when I get around to 
putting a timing belt drive on the spindle I'll have to get a bit more 
fancy. I'm the tool changer (Kwik Switch spindle) so I have to be there 
to start a program or change a tool so it's no more effort for me.

JT

On 1/7/2015 11:41 PM, Mark Johnsen wrote:
> Thanks everyone for the feedback.  I'll go w/ the standard Hal Gearchange
> component.  Should be perfect.
>
> JThornton - I agree w/ you, I probably won't use low much, but good to have
> it setup now so I can if I need it.  And, at least I understand what is
> going on behind the scenes.
>
> Thanks,
> Mark J.
> --
> Dive into the World of Parallel Programming! The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Gearchange comp

2015-01-07 Thread Mark Johnsen
Thanks everyone for the feedback.  I'll go w/ the standard Hal Gearchange
component.  Should be perfect.

JThornton - I agree w/ you, I probably won't use low much, but good to have
it setup now so I can if I need it.  And, at least I understand what is
going on behind the scenes.

Thanks,
Mark J.
--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Gearchange comp

2015-01-07 Thread Gene Heskett
On Wednesday, January 07, 2015 10:10:26 AM Sebastian Kuzminsky did opine
And Gene did reply:
> On 01/07/2015 02:02 AM, andy pugh wrote:
> > On 7 January 2015 at 08:00, Mark Johnsen  wrote:
> >> Is gearchange the appropriate Hal component to use?  Seems perfect.
> > 
> > If you only have two gears then it is probably ideal.
> > 
> > For more than 2 gears there are other options, but for some reason
> > none have been accepted into the main package.
> 
> Last time this came up i asked for help (since i dont know much about
> what'd be useful in a gearchanger), and that killed the thread.  I
> guess i'll ask again.  Help?
> 
> http://thread.gmane.org/gmane.linux.distributions.emc.devel/13896/focu
> s=13926

I may have been part of that thread.  In any event, what I did on the 
lathe was to add a glade/python button to change the (IIRC) feedback gain 
from the encoder to the speed control PID, sits on the right panel of the 
axis screen and gives me a stiffer control at the lower gear speeds.  Not 
entire satisfactory IMO, but it helps. There is enough backlash in the 
backgears that low speed stability can be a gear rattling problem. I had 
the cutoff blade bend over and lock the spindle from 400 revs enough 
times that I think there is a slightly bent shaft in the headstock & I 
need to order up and replace everything but the spindle and its bearings 
at some point.  Did I ever mention that the 7x12's bed and tool post were 
made by goodyear?  Lots of rubber content.  OTOH, its done way bigger 
stuff than it was designed to do in the years I have owned it.

I'd have to go look at the post-gui hal stuff again now since thats many 
moons back.  I sort of treated it like a litter of 9 lives cats at the 
time, if I killed it, there was always another life, or kitten if that 
one was used up.  ;0)

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 
US V Castleman, SCOTUS, Mar 2014 is grounds for Impeaching SCOTUS

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Gearchange comp

2015-01-07 Thread Andrew
2015-01-07 17:10 GMT+02:00 Sebastian Kuzminsky :

> Last time this came up i asked for help (since i dont know much about
> what'd be useful in a gearchanger), and that killed the thread.  I guess
> i'll ask again.  Help?
>
>
> http://thread.gmane.org/gmane.linux.distributions.emc.devel/13896/focus=13926
>

Just my 2 cents.
It happened that I've been using Les Newell's spindle.comp for a while on a
lathe with 3 gears. I chose it because I wasn't sure how to apply Andy's
patch back then :)
I found it really universal and configurable. The gear select inputs are
very flexible. It includes at-speed logic and acceleration/deceleration
settings. Guess that all saved me a lot of hal code.
So I support it for merging. I can help prepare a patch or whatever.

-- 
Andrew
--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Gearchange comp

2015-01-07 Thread John Alexander Stewart
I have implemented Andy's lincurve example on my two speed geared mill.
Works very well!

Wrote it up at http://cnc-for-model-engineers.blogspot.com

Thanks Andy!  JohnS
​
--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Gearchange comp

2015-01-07 Thread Stuart Stevenson
The gear change component I have on my 5 axis cinci takes the speed
request, factors in the position of the speed over ride and chooses the
gear range. The gear box has 4 gear ranges.

On Wed, Jan 7, 2015 at 10:06 AM, andy pugh  wrote:

> On 7 January 2015 at 15:10, Sebastian Kuzminsky  wrote:
>
> > Last time this came up i asked for help (since i dont know much about
> > what'd be useful in a gearchanger), and that killed the thread.  I guess
> > i'll ask again.  Help?
>
> Well... I am not so sure myself any more.
> I have configured my (8-gears) milling machine to auto-detect the
> selected gear and to modify the spindle speed demand appropriately.
> It is also possible to argue that any proposed gearchange comp doesn't
> really do very much more than a muxN and a scale component.
>
> --
> atp
> If you can't fix it, you don't own it.
> http://www.ifixit.com/Manifesto
>
>
> --
> Dive into the World of Parallel Programming! The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>



-- 
Addressee is the intended audience.
If you are not the addressee then my consent is not given for you to read
this email furthermore it is my wish you would close this without saving or
reading, and cease and desist from saving or opening my private
correspondence.
Thank you for honoring my wish.
--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Gearchange comp

2015-01-07 Thread andy pugh
On 7 January 2015 at 15:10, Sebastian Kuzminsky  wrote:

> Last time this came up i asked for help (since i dont know much about
> what'd be useful in a gearchanger), and that killed the thread.  I guess
> i'll ask again.  Help?

Well... I am not so sure myself any more.
I have configured my (8-gears) milling machine to auto-detect the
selected gear and to modify the spindle speed demand appropriately.
It is also possible to argue that any proposed gearchange comp doesn't
really do very much more than a muxN and a scale component.

-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Gearchange comp

2015-01-07 Thread Sebastian Kuzminsky


On 01/07/2015 02:02 AM, andy pugh wrote:
> On 7 January 2015 at 08:00, Mark Johnsen  wrote:
> 
>> Is gearchange the appropriate Hal component to use?  Seems perfect.
> 
> If you only have two gears then it is probably ideal.
> 
> For more than 2 gears there are other options, but for some reason
> none have been accepted into the main package.

Last time this came up i asked for help (since i dont know much about
what'd be useful in a gearchanger), and that killed the thread.  I guess
i'll ask again.  Help?

http://thread.gmane.org/gmane.linux.distributions.emc.devel/13896/focus=13926


-- 
Sebastian Kuzminsky

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Gearchange comp

2015-01-07 Thread Rick
Just chiming in,

We have 3 big Cincinnati Milacron turning centers, all now running/using 
LinuxCNC on a daily basis, and they all have 2 speed gearboxes on the 
spindle, and the "gearchange" component works perfectly to get the 
speeds synced properly. I remapped 2 M-codes for the gear change aspect 
of it, and everything works beautifully.


Thanks

Rick


On 1/7/2015 4:02 AM, andy pugh wrote:
> On 7 January 2015 at 08:00, Mark Johnsen  wrote:
>
>> Is gearchange the appropriate Hal component to use?  Seems perfect.
> If you only have two gears then it is probably ideal.
>
> For more than 2 gears there are other options, but for some reason
> none have been accepted into the main package.
>
> If you have a spindle encoder then it is reasonably easy to work out
> the gear ratio. Reset the encoder counts from halcmd then turn the
> input shaft 10 turns while watching the encoder.position pin with a
> halmeter.
>


--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Gearchange comp

2015-01-07 Thread John Thornton
I have a BP series 1 that had an Anilam 1100M control. The spindle is 
two speed and in 10 years of using it I've only used low gear a couple 
of times... YMMV.

JT

On 1/7/2015 2:00 AM, Mark Johnsen wrote:
> Slowly working on my Supermax Anilam Crusader M conversion and digging into
> some of the details.  I have a few questions that I don't know the answers
> to and could use some help.  This is the first of a few questions I have.
>
> Quick background:
> I'm using a Mesa 5i25/7i77 and GS2 VFD, of which I have the GS2 Component
> bench-tested and communicating between LInuxCNC and the GS2.  I have traced
> the Crusader M electrical 'pretty well,' w/ the exception of needing to
> spend a few minutes on the servo signals, but that will come later and
> looks fairly straight fwd.  The link I found from JThornton to Sector67 on
> the forum helped as well.  Those guys at sector67 did a helluva write-up.
>
> Question:
> I had overlooked the high/low gearing of the spindle and found the Hal
> gearchange component.
>
> Is gearchange the appropriate Hal component to use?  Seems perfect.
>
> I don't know the gear ratio (sorry - dumb question, I know) between low and
> high.  I figured someone would know it w/ out looking... I assume the low
> is 1:1 and the high is 2.5:1, but that's a guess from the gearchange page
> here:  http://www.linuxcnc.org/docs/html/man/man9/gearchange.9.html?
>
> My parameter value for the gear change comp would then be (if gearing is
> 2.5:1):
> *gearchange.**N**.scale2 = 2.5.*
>
> Also, I believe low and high change direction:
> *gearchange.**N**.reverse = 1*
>
> Thanks,
> Mark
> --
> Dive into the World of Parallel Programming! The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Gearchange comp

2015-01-07 Thread andy pugh
On 7 January 2015 at 08:00, Mark Johnsen  wrote:

> Is gearchange the appropriate Hal component to use?  Seems perfect.

If you only have two gears then it is probably ideal.

For more than 2 gears there are other options, but for some reason
none have been accepted into the main package.

If you have a spindle encoder then it is reasonably easy to work out
the gear ratio. Reset the encoder counts from halcmd then turn the
input shaft 10 turns while watching the encoder.position pin with a
halmeter.

-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Gearchange comp

2015-01-07 Thread Mark Johnsen
Slowly working on my Supermax Anilam Crusader M conversion and digging into
some of the details.  I have a few questions that I don't know the answers
to and could use some help.  This is the first of a few questions I have.

Quick background:
I'm using a Mesa 5i25/7i77 and GS2 VFD, of which I have the GS2 Component
bench-tested and communicating between LInuxCNC and the GS2.  I have traced
the Crusader M electrical 'pretty well,' w/ the exception of needing to
spend a few minutes on the servo signals, but that will come later and
looks fairly straight fwd.  The link I found from JThornton to Sector67 on
the forum helped as well.  Those guys at sector67 did a helluva write-up.

Question:
I had overlooked the high/low gearing of the spindle and found the Hal
gearchange component.

Is gearchange the appropriate Hal component to use?  Seems perfect.

I don't know the gear ratio (sorry - dumb question, I know) between low and
high.  I figured someone would know it w/ out looking... I assume the low
is 1:1 and the high is 2.5:1, but that's a guess from the gearchange page
here:  http://www.linuxcnc.org/docs/html/man/man9/gearchange.9.html?

My parameter value for the gear change comp would then be (if gearing is
2.5:1):
*gearchange.**N**.scale2 = 2.5.*

Also, I believe low and high change direction:
*gearchange.**N**.reverse = 1*

Thanks,
Mark
--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users