Homing / limits - the manual is misleading, possibly wrong

More
16 Mar 2020 02:28 #160382 by cmorley
Yes I see what you are saying now. I agree with you.

Hmm now I'm wondering if even machine origin needs to be inside soft limits.
I'm not seeing why you can set soft limits to something like
min = -100
max = -1

If we are going to change the docs, might as well get it all right.
I''ll have to experiment.
Thanks

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

More
16 Mar 2020 10:39 #160408 by cmorley
After some experimenting in a sim, I could in fact have a config that had soft limits between 1 and 440
home offset was .5
shared limits and home switch

I'll digest the information and try to update the docs to something true and understandable...

Chris

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

More
16 Mar 2020 11:22 #160410 by pippin88
I think HOME (the final position of the axis at the end of homing) must be within the soft limits.

The numbers seem to be arbitrary / flexible, however I can't think of why someone would want to set up an axis that did not include zero. Would make GCode programming a hassle.

I think the docs might need two setups explained:
Shared home/limit switch
Separate home and limit switches

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

More
16 Mar 2020 11:32 #160411 by cmorley

The numbers seem to be arbitrary / flexible, however I can't think of why someone would want to set up an axis that did not include zero. Would make GCode programming a hassle.


It's machine coordinates so only accessed by G53 not a usual way to program. Zero point is arbitrary so not having one is arbitrary too, though i agree having zero inside the soft limits and having all positive soft limits is probably the best.

yes Home position must be inside soft limits.

Chris

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

More
16 Mar 2020 12:43 #160420 by pippin88

The numbers seem to be arbitrary / flexible, however I can't think of why someone would want to set up an axis that did not include zero. Would make GCode programming a hassle.


It's machine coordinates so only accessed by G53 not a usual way to program. Zero point is arbitrary so not having one is arbitrary too, though i agree having zero inside the soft limits and having all positive soft limits is probably the best.

yes Home position must be inside soft limits.

Chris


I have come across post processors that insert a G53 Z0 for manual tool changes or at the end of programs.

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

More
16 Mar 2020 17:02 #160445 by cmorley
Sure I could see that. but the choice of zero is arbitrary.
As the integrator you get to decide and you must change your post processor to accommodate.

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

More
18 Mar 2020 01:58 #160609 by cmorley
The following user(s) said Thank You: phillc54, Clive S

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

More
18 Mar 2020 08:02 #160631 by Clive S

linuxcnc.org/docs/devel/html/config/ini-homing.html


Can you check: This example shows minimum and maximum hard limit switches with a separate home switch.
As you have :::: This example shows minimum and maximum hard limit switches with a separate home switch.

For both examples

Thanks for the work you have put in.

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

More
18 Mar 2020 08:13 #160632 by cmorley
ahh yes! Thanks for proof reading.

Chris

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

More
20 Mar 2020 11:08 #160851 by Clive S

linuxcnc.org/docs/devel/html/config/ini-homing.html


Chris
re
The two H are the hard limit switches trip points

A<->B is the positive soft limits (MAX_LIMITS) = 10 units

B<->C is the home_offset (HOME_OFFSET) = -0.7 units Should this be a +ve value as used for the gantry square as I feel using -ve would drive back onto the switch. Just a thought!!

B<->D is the negative soft limits (MIN_LIMITS) 0 units

A<->D is the total travel = 10 units

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

Time to create page: 0.201 seconds
Powered by Kunena Forum