Z axis jog moves spindle only incrementally

More
10 years 8 months ago #69525 by cahlfors
[quote=I have found that setting the max limit slightly beyond the home position (.01 instead of 0.00) sometimes prevents the soft limit error.
/quote]
That is a good tip! Gotta try that on my machine! :)
Thanks!
/Chris

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

More
10 years 8 months ago #69526 by norbertfarquharsh
I was called away and just back to see several answers to my problem. So I thank you for all the comments and suggestions.

I will again attach the .ini file. I tried the suggestions and made several changes to what was suggested. probably in error, but now the Z axis moves in the right direction (minus direction is down) and the homing direction is up (in the plus direction).
The limit switch on this axis is on the plus end is also the home switch. So the spindle carriage moves up and strikes the home/limit switch and that is good. The directional problems from before seem to be okay though I have not tried to run a program.
However, when it strikes the home/limit switch there is an immediate error "joint 2 on limit switch error". I tried replacing that limit switch thinking maybe of bounce or other fault and that did no good. I tried editing the minimum limit in the .ini file but could not hit on anything that would work. Also, after the error occurs, I have manually moved the axis down and it clears the error, but the GUI shows that the movement is in the plus direction and then the axis jogs downward with the negative button but stops when it reaches the reading -0.01which is the soft limit. Obviously I am a long way from understanding the interplay of the various parameters/
If I had any wits, I would be at the end of them.

I thank you again for your past help and hope that you can help me out again.

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

More
10 years 8 months ago #69533 by andypugh
You probably need to set "HOME_IGNORE_LIMTS"

linuxcnc.org/docs/2.7/html/config/ini-ho...#_home_ignore_limits

And also have a home position that is off the switch.

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

More
10 years 8 months ago - 10 years 8 months ago #69566 by Rick G
Looks like "HOME_IGNORE_LIMITS" is already selected.

Have you seen this?
linuxcnc.org/docs/html/config/ini-homing.html

You have...
Code:
[AXIS_2] TYPE = LINEAR HOME = 0.0 MAX_VELOCITY = 2.85001824012 MAX_ACCELERATION = 30.0 STEPGEN_MAXACCEL = 37.5 SCALE = 6400.0 FERROR = 0.05 MIN_FERROR = 0.01 MIN_LIMIT = -0.01 MAX_LIMIT = 8.00 HOME_OFFSET = 0.000000 HOME_SEARCH_VEL = 0.300000 HOME_LATCH_VEL = 0.078125 HOME_IGNORE_LIMITS = YES HOME_SEQUENCE = 2

Try...
[AXIS_2]
TYPE = LINEAR
HOME = 0.0
MAX_VELOCITY = 2.85001824012
MAX_ACCELERATION = 30.0
STEPGEN_MAXACCEL = 37.5
SCALE = 6400.0
FERROR = 0.05
MIN_FERROR = 0.01
MIN_LIMIT = -8.00
MAX_LIMIT = 0.00

HOME_OFFSET = 0.000000
HOME_SEARCH_VEL = 0.300000
HOME_LATCH_VEL = -0.078125
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 2

Rick G
Last edit: 10 years 8 months ago by Rick G.

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

More
10 years 8 months ago #69580 by norbertfarquharsh
Thank again for the help and it now appears to be working and will run programs. I did use the configuration that RIck last sent me.

In answer to RIck's last question, I had read the section on Homing Sequence and will readily admit that I could never completely digest all the options and their interactions. Like it approximately says in the Sherlock Holmes stories, it seems simple once it is explained, but I could never fully explain it to myself and still am not confident that I could make anything work.

Thanks again to all.

Joe

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

More
10 years 8 months ago #69582 by Rick G
Glad you got it sorted out!

Homing has confused many others in the past, but seems simpler once you have it working.

Rick G

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

Time to create page: 0.273 seconds
Powered by Kunena Forum