Absoluted Encoder but Move the G53 Origin

  • CTB_le123
  • CTB_le123's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
20 Aug 2025 03:27 #333709 by CTB_le123
Hey, I need some help.
   I have configured a machine  using LinuxCNC, and the joints are equipped with absolute encoders. Now, I want to achieve the following: Point A is the zero-count position of the encoder, but I would like to set Point B, which is offset 200mm from Point A, as the G53 origin. How should I configure this?

Here is my ini configure:
[JOINT_1]
TYPE = LINEAR
MAX_VELOCITY = 1200
MAX_ACCELERATION = 2000
#       MIN_LIMIT = -10.0
#       MAX_LIMIT = 10.0
HOME = -10
HOME_ABSOLUTE_ENCODER = 2
HOME_OFFSET = 35
HOME_SEARCH_VEL = 0
HOME_LATCH_VEL = 0
HOME_IGNORE_LIMITS = NO
HOME_USE_INDEX = NO
HOME_SEQUENCE = 1
VOLATILE_HOME = 0

But the problem is when I homing the axis, the joint->motor_pos_cmd whill change suddenly.  which cause the joint move suddenly. It is particularly dangerous.

Thank you for ur help!
    

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

More
20 Aug 2025 12:10 - 20 Aug 2025 12:12 #333734 by andypugh
Replied by andypugh on topic Absoluted Encoder but Move the G53 Origin
I think that HOME_OFFSET is the parameter that controls this. (you probably want to make HOME and HOME_OFFSET the same, or possibly one the inverse of the other) 
Last edit: 20 Aug 2025 12:12 by andypugh.

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

  • CTB_le123
  • CTB_le123's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
21 Aug 2025 01:31 #333742 by CTB_le123
Replied by CTB_le123 on topic Absoluted Encoder but Move the G53 Origin
I modified the homing.c to get it.

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

Time to create page: 0.064 seconds
Powered by Kunena Forum