Homing with mb2hal and absolute encoder
- Ehsan_R
- Offline
- Premium Member
-
Less
More
- Posts: 88
- Thank you received: 1
15 Feb 2025 21:41 #321665
by Ehsan_R
Homing with mb2hal and absolute encoder was created 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?
Is this feasible, and how can I implement it?
Please Log in or Create an account to join the conversation.
- Aciera
-
- Away
- Administrator
-
Less
More
- Posts: 4309
- Thank you received: 1911
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
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