- Posts: 88
- Thank you received: 0
Homing with mb2hal and absolute encoder
1 year 8 months ago #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 to join the conversation.
1 year 8 months ago #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 to join the conversation.
Time to create page: 0.073 seconds
