homing errors both limit+home in joints

More
5 years 1 month ago #221915 by kedgardov
I'm trying to home my cnc joints using both limits+home all setting in the hal file seem to be working fine. I tried different homing configurations and keep getting the same errors:
****Exceeded negative soft limit (0.000) on joint 2
****Hint: switch joint mode to jog odd soft limits

I've tried the following configurations on the ini file:
HOME_IGNORE_LIMITS = YES
***INITIAL***
HOME = 0
HOME_SEQUENCE = 0
HOME_SEARCH_VEL = -10
HOME_LATCH_VEL = 10
HOME_OFFSET = -10
HOME_IS_SHARED = 1

*TRYING TO MOVE HOME INTO LIMITS*
HOME = -20
HOME_SEQUENCE = 0
HOME_SEARCH_VEL = -10
HOME_LATCH_VEL = 10
HOME_OFFSET = -10
HOME_IS_SHARED = 1

*MAYBE THE NEGATIVE VALUE IN HOME HAD TO BE POSITIVE*
HOME = 10
HOME_SEQUENCE = 0
HOME_SEARCH_VEL = -10
HOME_LATCH_VEL = 10
HOME_OFFSET = -10
HOME_IS_SHARED = 1

*MAYBE INCREASING THE HOME VALUE*
HOME = 20
HOME_SEQUENCE = 0
HOME_SEARCH_VEL = -10
HOME_LATCH_VEL = 10
HOME_OFFSET = -10
HOME_IS_SHARED = 1

Any ideas on what is wrong with the configuration? I am using this source  linuxcnc.org/docs/html/config/ini-homing.html of linuxcnc documentation at the moment
 

Please Log in to join the conversation.

More
5 years 1 month ago #221916 by kedgardov
The machine kind of performs the homing sequence by touching the switch, the going back, does an extra hop and then I get the errors

Please Log in to join the conversation.

More
5 years 1 month ago #221919 by BigJohnT
This is my Z axis joint 2 ini
Code:
[JOINT_2] TYPE = LINEAR MAX_VELOCITY = 0.5 MAX_ACCELERATION = 30.0 ENCODER_SCALE = -35500 OUTPUT_SCALE = 4.444 OUTPUT_MIN_LIMIT = -4.444 OUTPUT_MAX_LIMIT = 4.444 FERROR = 0.05 MIN_FERROR = 0.01 P_GAIN = 600 I_GAIN = 0 D_GAIN = 0 FF0 = 0 FF1 = 1 FF2 = 0 MIN_LIMIT = -4.375 MAX_LIMIT = 0.01 HOME = 0.0 HOME_OFFSET = 0.050 HOME_SEARCH_VEL = 0.1 HOME_LATCH_VEL = 0.01 HOME_FINAL_VEL = 0.1 HOME_IGNORE_LIMITS = YES HOME_SEQUENCE = 0 HOME_USE_INDEX = NO

JT

Please Log in to join the conversation.

More
5 years 1 month ago #221920 by BigJohnT
Notice the home offset is less than the min limit.

JT

Please Log in to join the conversation.

More
5 years 1 month ago #221925 by tommylight
Try
home_offset = 10

Please Log in to join the conversation.

Time to create page: 0.090 seconds
Powered by Kunena Forum