Limit switchs

More
6 years 8 months ago #157679 by rodw
Replied by rodw on topic Limit switchs
At a guess, you have a shared home/limit switch and the one on the X axis was triggered on homing. Then it comes out of homing while the switch is actiivated and it sees the switch as being on the limit. So add a HOME OFFSET to move the axis away from the home switch so it does not trigger the limit switch once homing is complete. I suspect the following errors will go away but one step at a time.


RodW
The following user(s) said Thank You: jeffie-3

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

More
6 years 8 months ago #157766 by jeffie-3
Replied by jeffie-3 on topic Limit switchs
Thank you, I made progress. But I have an error of "exceeded negative soft limit on joint"

here is the section of the .ini file. I'm sure I have something wrong. I am just doing one axis at a time.

********************
# Axis X
#********************
[AXIS_0]
TYPE = LINEAR
HOME = 0.0
FERROR = 0.5
MIN_FERROR = 0.05
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 30.0
P = 40
I = 0
D = 0
FF0 = 0
FF1 = 0
FF2 = 0
BIAS = 0
DEADBAND = 1e-05
MAX_OUTPUT = 0
ENCODER_SCALE = 81920
OUTPUT_SCALE = 10
OUTPUT_MIN_LIMIT = -10
OUTPUT_MAX_LIMIT = 10
MIN_LIMIT = 0.1
MAX_LIMIT = 24.0
HOME_OFFSET = 0.25000
HOME_SEARCH_VEL = 0.25000
HOME_LATCH_VEL = 0.016667
HOME_FINAL_VEL = 0.050000
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 1

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

More
6 years 8 months ago #157770 by Clive S
Replied by Clive S on topic Limit switchs
You have home set to 0.0 and min limit to 0.1

Try setting the min limit to -0.1
The following user(s) said Thank You: tommylight, jeffie-3

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

More
6 years 8 months ago #157774 by jeffie-3
Replied by jeffie-3 on topic Limit switchs
That worked. Now onto the Y axis this evening or tomorrow. Thank you for your help.

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

More
6 years 8 months ago #157776 by Clive S
Replied by Clive S on topic Limit switchs

jeffie-3 wrote: That worked. Now onto the Y axis this evening or tomorrow. Thank you for your help.


Your welcome. I have had loads of help on here and glad to put some back.:woohoo:
The following user(s) said Thank You: jeffie-3

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

More
6 years 8 months ago #157858 by jeffie-3
Replied by jeffie-3 on topic Limit switchs
O.K. As I home the Y axis it goes in, then backs up then moves much slower towards the switch. Then I get joint 1 following error. I also noticed it errors out at almost the same spot. I ran it 3 times and here are the numbers I get.
Y-0.1890
Y-0.1835
Y-0.1831



Here is the Y section of the .ini file.

#********************
# Axis Y
#********************
[AXIS_1]
TYPE = LINEAR
HOME = 0.0
FERROR = 0.5
MIN_FERROR = 0.05
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 30.0
P = 200
I = 0
D = 0
FF0 = 0
FF1 = 0
FF2 = 0
BIAS = 0
DEADBAND = 1e-05
MAX_OUTPUT = 0
ENCODER_SCALE = 81920
OUTPUT_SCALE = -10
OUTPUT_MIN_LIMIT = -10
OUTPUT_MAX_LIMIT = 10
MIN_LIMIT = -0.1
MAX_LIMIT = 12.0
HOME_OFFSET = -0.250000
HOME_SEARCH_VEL = 0.250000
HOME_LATCH_VEL = 0.016667
HOME_FINAL_VEL = 0.050000
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 2
Thank you for the help.

Jeff

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

Time to create page: 0.139 seconds
Powered by Kunena Forum