ini to HAL communication
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
I'm a programmer, I'm used to writing my own variable names...
As a programmer you might be interested to know that you appear to have identified a namespace clash.
The spindle.N.on (etc) signals are created by the HAL "motion" component.
linuxcnc.org/docs/2.8/html/man/man9/motion.9.html
But there is also a "spindle" HAL component that is intended to handle gear changes and spindle ramp rate control.
linuxcnc.org/docs/2.8/html/man/man9/spindle.9.html
I wish that I could blame someone else for this, but it was I who changed the names of the motion.spindle.... pins as part of the introduction of multiple spindle support, and also I who committed a HAL component for spindle gearing support that had been sat uncommitted for several years without spotting the scope for confusion.
I will add an explanatory note to the documentation for the "spindle" HAL component.
In nearly every case you would want to look at the "motion" docs to understand the "spindle" pins.
Please Log in or Create an account to join the conversation.
![:unsure: :unsure:](/media/kunena/emoticons/unsure.png)
Please Log in or Create an account to join the conversation.
![:woohoo: :woohoo:](/media/kunena/emoticons/w00t.png)
Please Log in or Create an account to join the conversation.
- robertspark
- Offline
- Platinum Member
-
- Posts: 915
- Thank you received: 216
A long, long, time ago when I was a manager, one software engineer commented that whenever I visited his cubicle his code would stop working.
AKA: Sea Gull visit....
when the boss flies in, dumps on you and flies off...
Please Log in or Create an account to join the conversation.
This of course is not the motion man page:
Yes that is a HAL Pin that is defined. Although it doesn't seem to be a valid hal-pin in version 2.8:
linuxcnc.org/docs/2.8/html/man/man9/spindle.9.html
rather it's this one:
linuxcnc.org/docs/2.8/html/man/man9/motion.9.html
and here 'spindle.M.on' does of course exist.
![:pinch: :pinch:](/media/kunena/emoticons/pinch.png)
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
# router configuration
net router spindle.0.on => parport.0.pin-17-out
setp parport.0.pin-17-out-reset 0
I'd like to get this fixed as soon as possible; the noise from the router is driving me mad...
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.