Strange error with my X axis

More
11 Nov 2022 18:55 #256455 by karnalta
Strange error with my X axis was created by karnalta
Hello,

Today I did some mechanical modifications on my machine and now I am not able to go to X zero anymore. I didn't touched anything in my INI or HAL file.

When I now try to input "G0 X0" after homing, LinuxCNC tell me that this command will exceed the negative soft limit of my X axis but my axis minimal is -0.001. Even more strange, if I input "G0 X0.1", it work but if I then start moving my Y axis, it will sudently stop telling me that my X axis soft limit of -0.001 has been exceeded ...

I am getting crazy with this problem, can someone help me ? I don't see how it can be related to what I did as the axis doesn't even start moving if I try to move to zero position.

Here is the INI file for my X axis (my limit switch is at X maximum position => HOME_OFFSET) :

[AXIS_X]
MAX_VELOCITY = 25.0
MAX_ACCELERATION = 350.0
MIN_LIMIT = -0.001
MAX_LIMIT = 355.0

[JOINT_0]
TYPE = LINEAR
HOME = 345.0
MIN_LIMIT = -0.001
MAX_LIMIT = 355.0
MAX_VELOCITY = 25.0
MAX_ACCELERATION = 350.0
STEPGEN_MAXACCEL = 480.0
SCALE = 200.0
FERROR = 1
MIN_FERROR = .25
HOME_OFFSET = 355.000000
HOME_SEARCH_VEL = 5.000000
HOME_LATCH_VEL = -2.492522
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 1

Thank in advance.

 

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

More
11 Nov 2022 21:38 #256466 by cmorley
Replied by cmorley on topic Strange error with my X axis
check your G54x offsets and active tool offsets.

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

More
11 Nov 2022 21:55 #256468 by karnalta
Replied by karnalta on topic Strange error with my X axis

check your G54x offsets and active tool offsets.
 

My offsets are at zero and my active tool has only a 0.1 mm offset on Z axis.

Another strange thing is also that after the X homing, instead of going to 340 like specified in the INI, it always go to 340.10.. 

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

More
11 Nov 2022 23:30 #256472 by tommylight
Replied by tommylight on topic Strange error with my X axis

MIN_LIMIT = -0.001

set those to 0
or to -1 or -2 or -3 or whatever.
Gave me some raised eyebrow a month or so back.
Do that for joints and axis

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

More
12 Nov 2022 00:24 #256478 by cmorley
Replied by cmorley on topic Strange error with my X axis
You don't have a rotational offset set do you?
Do you use AXIS ? axis has a page that will show you all active offsets (you might need to select it in the drop down menu)

X changing while moving Y sounds like rotational offsets, unless you use backlash comp or leadscrew mapping.

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

More
12 Nov 2022 01:42 #256480 by tommylight
Replied by tommylight on topic Strange error with my X axis


X changing while moving Y sounds like rotational offsets, unless you use backlash comp or leadscrew mapping.

You are right, i missed that tidbit! :(

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

More
12 Nov 2022 10:08 - 13 Nov 2022 13:51 #256495 by karnalta
Replied by karnalta on topic Strange error with my X axis
I use Milkins to skew my XY axis !

I could have search for this for hours, thank you guys !

It now make sense, my homing position is at Y=10 and I use a skew of 0.001/mm, so LinuxCNC can't allow me to travel less than X=0.01. And if I then jog Y, I going out of the XY plane.

I wasn't aware that LinuxCNC was skewing the plane in "visible" coordinate, I thought it was something hidden behind the scene.

Now I will see if I need to adjust only JOINT min/max or also AXIS to have something more easy to use. Like allow JOINT until -1 (for motors and thus milkins) and AXIS to 0.

Thank you.

EDIT :

I confirm that it was only needed to adjust the JOINT min/max to allow -1 as min and I kept my AXIS at 0 as a minimum. It now work correctly, I can go to X0 and travel along the Y without getting out of limit.
Last edit: 13 Nov 2022 13:51 by karnalta.
The following user(s) said Thank You: tommylight, Clive S

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

Time to create page: 1.536 seconds
Powered by Kunena Forum