homing errors both limit+home in joints
- kedgardov
- Offline
- New Member
Less
More
- Posts: 11
- Thank you received: 0
30 Sep 2021 21:37 #221915
by kedgardov
homing errors both limit+home in joints was created 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
****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 or Create an account to join the conversation.
- kedgardov
- Offline
- New Member
Less
More
- Posts: 11
- Thank you received: 0
30 Sep 2021 21:45 #221916
by kedgardov
Replied by kedgardov on topic homing errors both limit+home in joints
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 or Create an account to join the conversation.
- BigJohnT
- Offline
- Administrator
Less
More
- Posts: 7000
- Thank you received: 1172
30 Sep 2021 22:15 #221919
by BigJohnT
Replied by BigJohnT on topic homing errors both limit+home in joints
This is my Z axis joint 2 ini
JT
[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
The following user(s) said Thank You: kedgardov
Please Log in or Create an account to join the conversation.
- BigJohnT
- Offline
- Administrator
Less
More
- Posts: 7000
- Thank you received: 1172
30 Sep 2021 22:16 #221920
by BigJohnT
Replied by BigJohnT on topic homing errors both limit+home in joints
Notice the home offset is less than the min limit.
JT
JT
Please Log in or Create an account to join the conversation.
- tommylight
- Offline
- Moderator
Less
More
- Posts: 19482
- Thank you received: 6533
30 Sep 2021 23:29 #221925
by tommylight
Replied by tommylight on topic homing errors both limit+home in joints
Try
home_offset = 10
home_offset = 10
Please Log in or Create an account to join the conversation.
Time to create page: 0.055 seconds