Homing isn't always required

More
4 years 4 months ago #245891 by cprhodin
The encoders have a status bit that indicates they have been homed. At startup I'd like to use it to set the axis as homed.

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

More
4 years 4 months ago #245904 by andypugh

The encoders have a status bit that indicates they have been homed. At startup I'd like to use it to set the axis as homed.
 
You could use that bit to toggle halui.home-all.

linuxcnc.org/docs/stable/html/man/man1/halui.1.html

It's possible that simply netting them together will work, but I would rather expect that it would need to be used in conjunction with an and2 and an edge, to create a single pulse when the machine is turned on, if the bit is set.

linuxcnc.org/docs/stable/html/man/man9/and2.9.html
linuxcnc.org/docs/stable/html/man/man9/edge.9.html

Does this make sense or do you need a short HAL primer? 
 

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

Time to create page: 0.117 seconds
Powered by Kunena Forum