Spindle scaling factor

More
17 Jan 2013 22:04 #28774 by BigJohnT
Replied by BigJohnT on topic Spindle scaling factor
I don't see any attachment in the new thread... comment out any offending lines and run your config then open up the show hal configuration window then see what type the analogout pin is.

What error do you get when you try to set the scalemax to 400 or 400.0?

John

Please Log in or Create an account to join the conversation.

More
22 Jan 2013 20:48 #28961 by andypugh
Replied by andypugh on topic Spindle scaling factor

When I setp hm2_5i25.0.7i77.0.1.analogout2-scalemax 400/ 400.1, it works, but I need these to select automatically when I change gears

The problem here is that that is a parameter, not a HAL pin. You can use "setp" to set the value of both HAL pins and Parameters, but only pins can be linked together in HAL.
It is not possible to do what you want to do in the way that you have been trying to do it.
You have probably already spotted that the HAL "gearchange" component (www.linuxcnc.org/docs/html/man/man9/gearchange.9.html) is not suitable if you have more than 2 gears.
There are a couple of multi-gear components in this email thread:
thread.gmane.org/gmane.linux.distributio...evel/4043/focus=4238
But you would need to compile/install them yourself using "comp". (Though that isn't very difficult)

Please Log in or Create an account to join the conversation.

More
21 Sep 2014 03:09 #51385 by PKM
Replied by PKM on topic Spindle scaling factor

There are a couple of multi-gear components in this email thread:
thread.gmane.org/gmane.linux.distributio...evel/4043/focus=4238
But you would need to compile/install them yourself using "comp". (Though that isn't very difficult)


Thanks for the link!

I've been trying to use Les' spindle component and I can't find how to set the gears number.
The component loads but there's no "gears" pin or parameter
I also tried
loadrt spindle gears=2
with no success

Please Log in or Create an account to join the conversation.

More
21 Sep 2014 04:38 #51386 by PKM
Replied by PKM on topic Spindle scaling factor

I've been trying to use Les' spindle component and I can't find how to set the gears number.
The component loads but there's no "gears" pin or parameter
I also tried
loadrt spindle gears=2
with no success


Oh, it should be

loadrt spindle numgears=2


andypugh,
How can I get your gearchange component? I'd like to try it too, but I'm not so good with the patches...

Please Log in or Create an account to join the conversation.

More
22 Sep 2014 06:53 #51415 by andypugh
Replied by andypugh on topic Spindle scaling factor

How can I get your gearchange component? I'd like to try it too, but I'm not so good with the patches...


Forget mine, I gave up on it. It seemed to be impossible to get it accepted.

Please Log in or Create an account to join the conversation.

Time to create page: 0.122 seconds
Powered by Kunena Forum