Unable to change Max Limit - Need Help
17 Sep 2023 22:33 #281024
by Sray69
Unable to change Max Limit - Need Help was created by Sray69
When I setup my machine originally I set a Max Limit for my Y axis (Joints 1 & 2) but left a little room before hitting the limit switch on Joint 2. I am running a job that I need to bump the Max Limit a tad bit (.202") closer to the limit switch but for some reason I still get an error message (Linear move would exceed Y's positive limit) even though I changed the MAX_LIMIT (for both joints) in the INI.
Is there another setting or step that I am forgetting? I have restarted the CNC and LCNC multiple times and nothing helps.
Shawn
Is there another setting or step that I am forgetting? I have restarted the CNC and LCNC multiple times and nothing helps.
Shawn
Please Log in or Create an account to join the conversation.
18 Sep 2023 04:25 - 18 Sep 2023 04:29 #281038
by Sray69
Replied by Sray69 on topic Unable to change Max Limit - Need Help
So after further research online I may have figured out a step I missed. I will not know until tomorrow when I try to run the file. Maybe someone can confirm that this could be/is my problem.
I totally overlooked the MAX_LIMIT in the [AXIS_Y] section (see FIRST section). I only changed the MAX_LIMIT in the [JOINT_1] & [JOINT_2] sections. Not real sure why the redundancy?
I totally overlooked the MAX_LIMIT in the [AXIS_Y] section (see FIRST section). I only changed the MAX_LIMIT in the [JOINT_1] & [JOINT_2] sections. Not real sure why the redundancy?
[AXIS_Y]
MAX_VELOCITY = 3.3333333333333335
MAX_ACCELERATION = 90.0
MIN_LIMIT = -0.001
MAX_LIMIT = 49.851
[JOINT_1]
TYPE = LINEAR
HOME = 2.703
FERROR = 0.5
MIN_FERROR = 0.05
MAX_VELOCITY = 3.3333333333333335
MAX_ACCELERATION = 90
# The values below should be 25% larger than MAX_VELOCITY and MAX_ACCELERATION
# If using BACKLASH compensation STEPGEN_MAXACCEL should be 100% larger.
STEPGEN_MAXVEL = 4.17
STEPGEN_MAXACCEL = 112.5
P = 500
I = 0
D = 0
FF0 = 0
FF1 = 1
FF2 = 0
BIAS = 0
DEADBAND = 0
MAX_OUTPUT = 0
# these are in nanoseconds
DIRSETUP = 8000
DIRHOLD = 5000
STEPLEN = 5000
STEPSPACE = 5000
STEP_SCALE = -10159.9564
MIN_LIMIT = -0.001
MAX_LIMIT = 50.053
HOME_OFFSET = 0.100000
HOME_SEARCH_VEL = -0.933333
HOME_LATCH_VEL = 0.333333
HOME_FINAL_VEL = 0.900000
HOME_IGNORE_LIMITS = YES
HOME_USE_INDEX = NO
HOME_SEQUENCE = -2
[JOINT_2]
TYPE = LINEAR
HOME = 2.703
FERROR = 0.5
MIN_FERROR = 0.05
MAX_VELOCITY = 3.3333333333333335
MAX_ACCELERATION = 90
# The values below should be 25% larger than MAX_VELOCITY and MAX_ACCELERATION
# If using BACKLASH compensation STEPGEN_MAXACCEL should be 100% larger.
STEPGEN_MAXVEL = 4.17
STEPGEN_MAXACCEL = 112.5
P = 500
I = 0
D = 0
FF0 = 0
FF1 = 1
FF2 = 0
BIAS = 0
DEADBAND = 0
MAX_OUTPUT = 0
# these are in nanoseconds
DIRSETUP = 8000
DIRHOLD = 5000
STEPLEN = 5000
STEPSPACE = 5000
STEP_SCALE = -10159.9564
MIN_LIMIT = -0.001
MAX_LIMIT = 50.053
HOME_OFFSET = 0.100000
HOME_SEARCH_VEL = -0.933333
HOME_LATCH_VEL = 0.333333
HOME_FINAL_VEL = 0.900000
HOME_IGNORE_LIMITS = YES
HOME_USE_INDEX = NO
HOME_SEQUENCE = -2
Last edit: 18 Sep 2023 04:29 by Sray69.
Please Log in or Create an account to join the conversation.
18 Sep 2023 07:00 #281048
by rmu
Replied by rmu on topic Unable to change Max Limit - Need Help
That is to support machine kinematics where axis limits don't translate 1:1 to joint limits.I totally overlooked the MAX_LIMIT in the [AXIS_Y] section (see FIRST section). I only changed the MAX_LIMIT in the [JOINT_1] & [JOINT_2] sections. Not real sure why the redundancy?
The following user(s) said Thank You: Sray69
Please Log in or Create an account to join the conversation.
18 Sep 2023 21:09 #281106
by Sray69
Replied by Sray69 on topic Unable to change Max Limit - Need Help
That was the problem.
Thanks
Thanks
Please Log in or Create an account to join the conversation.
Moderators: cncbasher
Time to create page: 0.061 seconds