spindle.on pin?

More
06 Dec 2020 01:36 #191194 by JetForMe
spindle.on pin? was created by JetForMe
My HAL file references spindle.0.on, but the docs here don't mention that pin: linuxcnc.org/docs/devel/html/man/man9/spindle.9.html

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

More
06 Dec 2020 01:50 #191197 by rodw
Replied by rodw on topic spindle.on pin?
That doc is new to me. Spindle is described in motion and includes the spindle-on pin
linuxcnc.org/docs/2.8/html/man/man9/motion.9.html

If you look in halshow, does the spindle-on pin exist?

I'm wondering if the component you linked to does not extend the pins to support gearbox features etc while motion publishes a default set.

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

More
06 Dec 2020 01:53 #191199 by dgarrett
Replied by dgarrett on topic spindle.on pin?

My HAL file references spindle.0.on ...


this:
linuxcnc.org/docs/2.8/html/man/man9/spindle.9.html is
a hal component for spindle control/gearchanging uses and
must be loaded with a hal loadrt command in a halfile

A name collision can exist with pins provided by the motion
module (motmod) that are named 'spindle.M.*'. The motmod is
used in almost every configuration (since it controls
motion) and is specified in the ini file as:
[EMCMOT]
EMCMOT = motmod

A name collision can be avoided by using the spindle component
names= option

Refs:

linuxcnc.org/docs/2.8/html/config/ini-co...html#_emcmot_section

linuxcnc.org/docs/2.8/html/man/man9/motion.9.html
The following user(s) said Thank You: rodw

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

More
06 Dec 2020 02:06 #191201 by rodw
Replied by rodw on topic spindle.on pin?

My HAL file references spindle.0.on ...


A name collision can be avoided by using the spindle component
names= option


There is significant confusion with the duplicate naming of a generally default pin in motion. Understandably a new use like Jet who is doing the right thing by actually reading the docs should expect clarity in the documents which is clearly not the case.

Could the spindle component be renamed to avoid confusion? eg spindlegears
Alternatively could the documents be revised to provide absolute clarity?
I can't believe that a new component with a conflicting name to a standard pin name was allowed to be published.

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

More
14 Dec 2020 18:12 #191969 by andypugh
Replied by andypugh on topic spindle.on pin?

Could the spindle component be renamed to avoid confusion? eg spindlegears


That would be one option, but would break existing configs which use the component,


I can't believe that a new component with a conflicting name to a standard pin name was allowed to be published.


This was due to an oversight on my part. I made the change to the spindle pin names as part of the multispindle changes (Sept 2018) then in April 2020 I finally merged some long-overlooked components from Les Newel (Submitted April 2011 !) without noticing the namespace clash.

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

More
14 Dec 2020 18:33 #191970 by rodw
Replied by rodw on topic spindle.on pin?
Ahh, Les's contributions predated your multi spindle work which I think claimed the name. If you did it in 2.9, your conversion script might be able to look for the loadrt command when people upgrade. There would not be many using it..

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

Time to create page: 0.192 seconds
Powered by Kunena Forum