- Posts: 11
- Thank you received: 1
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
You are right, this works as you wrote, but should not.First set encoder.index-enable true.
Then when it detects the index pulse, the counter will be set to zero and index-enable back to false.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
You are right, I was wrong.That is how index is handled by LinuxCNC
Typically LinuxCNC's motion component sets index-enable true
for homing to index or spindle synchronized moves. Then when the hardware
(or software) encoder component detect the index, it clears its hal position pin
and sets index-enable false to tell motion that index has be detected.
Please Log in or Create an account to join the conversation.