POSITION_FILE and index

More
24 Oct 2025 22:28 #337100 by mark-v-d
POSITION_FILE and index was created by mark-v-d
I would like to use the POSITION_FILE in combination with the index pulse
of the encoder to home my lathe. The idea is that you know approximately
where you are when starting up, and once you pass the first index pulse
you know the exact position. Has anyone done this... and if so can you
explain how?
 

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

More
26 Oct 2025 16:54 #337222 by andypugh
Replied by andypugh on topic POSITION_FILE and index
I did something a bit like this using resolvers (with the difference being that resolvers are single-turn absolute)

wiki.linuxcnc.org/cgi-bin/wiki.pl?Psuedo-Absolute_Encoders

You probably need a realtime HAL component (or set of standard components) that zeros the absolute portion of your adder when the index is seen. This is because of the way that the joint position feedback is used in the home offset calcuations.

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

Time to create page: 0.080 seconds
Powered by Kunena Forum