How to home at max coordinate ?

More
26 Oct 2022 18:12 - 26 Oct 2022 18:12 #255116 by karnalta
Hello,

I am starting to put alive my homemade CNC and I face a little problem about my homing that I cannot solve.

My X axis has his limit switch at max coordinate but I don't understand how to setup that in the ini file.

At the moment I have to say that my X axis is from -320.0 to 0 because it look like the limit switch has to be the zero for linuxcnc.

How can I tell linuxcnc that when it hit my limit switch it's x=320.0 and that zero is the soft limit ?

I would like to keep my coordinate system straightforward.

Thank for your help !
Last edit: 26 Oct 2022 18:12 by karnalta.

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

More
26 Oct 2022 20:29 #255130 by tommylight
Might need to be careful testing this and set the home search and latch and final velocities to some pedestrian values, like 5 for metric system or .2 inch.
Home = 0
home offset -320
change the search and latch and final velocity sign to reflect the directions the machine has to move.
The following user(s) said Thank You: karnalta

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

More
27 Oct 2022 00:18 #255158 by JPL
Replied by JPL on topic How to home at max coordinate ?
@karnalta: If you want to learn more about this the complete explanation of the homing process is there: linuxcnc.org/docs/html/config/ini-homing.html

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

More
27 Oct 2022 09:55 #255171 by pippin88
Where do you want the axis to move to at the end of homing?

HOME_OFFSET = 320

If you want the axis to stay that place
HOME = 320

If you want the axis to move to 0
HOME = 0
The following user(s) said Thank You: karnalta

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

More
27 Oct 2022 14:22 #255196 by karnalta
Sorry for my late reply.

Thank you all, HOME_OFFSET did the trick, it work exactly as I want it now :)
The following user(s) said Thank You: tommylight, rodw

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

Time to create page: 0.072 seconds
Powered by Kunena Forum