Homing with mb2hal and absolute encoder

More
15 Feb 2025 21:41 #321665 by Ehsan_R
I am using a servo motor with an absolute encoder. I have successfully retrieved the encoder data via mb2hal and converted it into the motor shaft angle. Now, I want to use this data solely for homing. The process should be as follows: when a homing command is sent, a serial connection is established, the axis position is set equal to the encoder’s value, and then the serial connection is terminated.
Is this feasible, and how can I implement it?

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

  • Aciera
  • Aciera's Avatar
  • Away
  • Administrator
  • Administrator
More
16 Feb 2025 09:32 #321694 by Aciera
Replied by Aciera on topic Homing with mb2hal and absolute encoder
Sounds like something for a custom homing component:
linuxcnc.org/docs/devel/html/man/man9/homecomp.9.html

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

Time to create page: 0.128 seconds
Powered by Kunena Forum