X home switch on positive side of travel

More
11 Aug 2024 04:34 #307454 by ThyerHazard
Hey guys me again, before I start .ini file is include and two pics of the machine so you can see position of the switch understand me (pic of cat is how I feel right now)

So as the title says my Home switch is set up on the right side of my table, and I'm trying to set up 0 to be the centre of my table. I have edited my .INI file so that min is  -111.5 and max is 111.5 (As my max travel is 223 so that should put zero smack bang in the centre... I hope?)

Problem is the machine keeps looking for the homing sensor on the wrong side of the table as in it travels in the wrong direction. I've read a few other posts and someone said that a - or + in front of the HOME_LATCH VEL will change the direction it looks for the home in? But changing that seems to not do anything.

The only way I got this to work was flipping all axis in the gui editor then it works flawlessly but... then all my parts are mirrored which I don't want.

Thanks again guys, as always hopefully Im missing something super easy -_- 

 
Attachments:

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

More
11 Aug 2024 04:35 #307455 by ThyerHazard
photos didn't work? 
Attachments:

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

More
11 Aug 2024 05:05 #307457 by PCW
The first move is done at:

HOME_SEARCH_VELOCITY

So changing the sign of this value will change the
direction of the first move in the search for home.


linuxcnc.org/docs/html/config/ini-homing.html#_home_search_vel
 
The following user(s) said Thank You: ThyerHazard

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

More
11 Aug 2024 05:08 #307458 by ThyerHazard
So currently HOME_SEARCH VEL is set to 1.500000

If I Change that to -1.500000 or +1.500000 I should see change in direction? Ill go try both of those right now and report back

Thanks

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

More
11 Aug 2024 05:09 #307459 by cmorley
HOME_SEARCH_VEL is what you would negate to change the search direction.

Also check that the axis direction corresponds to the tool movement.
linuxcnc.org/docs/stable/html/user/user-...chine-configurations
The following user(s) said Thank You: ThyerHazard

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

More
11 Aug 2024 05:22 - 11 Aug 2024 05:25 #307461 by ThyerHazard
axis direction is correct, and doing what PCW said fixed it straight away! I was so close just the wrong one haha! So thanks PCW!

Next problem is getting zero to now be the centre of the table looking at my .INI file is what I thought you would do but its over shooting the centre by about 30mm and then the axis gets locked out.

I want the machine to hit the home button (Which its doing now thanks again) And then move the the table centre and say THIS IS ZERO looking at my .INI file how far of from that am I? Hopefully I'm on the right path at least I'm going back to keep playing with it.

Thanks again guys progress has been made
Last edit: 11 Aug 2024 05:25 by ThyerHazard.

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

More
11 Aug 2024 05:25 #307462 by tommylight
Having 0 in the middle of the table is the old way of doing things and will most probably cause you trouble.
As for homing on the positive side, as mentioned above, invert the value by adding or removing - in front of it, for
HOME_SEARCH_VELOCITY
might also have to change
HOME_LATCH_VELOCITY
and pretty sure
HOME_FINAL_VELOCITY should be negative value.
Then you have
HOME
And
HOME_OFFSET
to play with, depending on where the 0 should be.
The following user(s) said Thank You: ThyerHazard

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

More
11 Aug 2024 05:29 - 11 Aug 2024 05:30 #307463 by ThyerHazard
Would you recommend just having 0 on the far left side? So it homes on the right and then flys over the left? haha had I known I was going to get into this mess I would have put the homing switch on that side my bad.

Thanks again for the help guys
Last edit: 11 Aug 2024 05:30 by ThyerHazard. Reason: worst spelling on earth

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

More
11 Aug 2024 06:16 - 11 Aug 2024 06:17 #307466 by ThyerHazard
Ok current .INI file included and here is a link to a video of the machine Homing and the Errors that pop up (imgur.com/a/HZ26bsn)

Ok so, so far with your help I have gotten the searching for the home in the correct direction, it hits home and then the table moves all the way over and stops right before the end and zeros out 0,0,0 on the DRO, so thats PERFECT exactly what I want.

Issue is not I get Hard Limits are reset to ACTIVE, Joint 0 on limit switch error, HARD LIMITS ARE OVERRIDDEN.

And I can only move the table close towards the hard limit if I try to move in the right direction just get errors and no movement, Can one of you kind souls take a look at my .INI and see if you see any issues? Its so close to working I'm just not sure what Im missing.
Attachments:
Last edit: 11 Aug 2024 06:17 by ThyerHazard.

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

More
11 Aug 2024 06:51 #307468 by ThyerHazard
Fixed it, Re opened STEPconfig and set that signal for the sensor to just X HOME instead of X Home + Max limit and it works flawlessly.

Thanks for all your help guys much appreciated and I understand a lot better how the .INI stuff is working sucks that my brain doesn't learn to well from reading the whitepaper i have to mess it up first and slowly it makes sense chunk by chunk :D
The following user(s) said Thank You: tommylight

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

Time to create page: 0.386 seconds
Powered by Kunena Forum