How to home at max coordinate ?

More
4 years 4 days ago #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 !

Please Log in to join the conversation.

More
4 years 4 days ago #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.

Please Log in to join the conversation.

More
4 years 4 days ago #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 to join the conversation.

More
4 years 4 days ago #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

Please Log in to join the conversation.

More
4 years 3 days ago #255196 by karnalta
Sorry for my late reply.

Thank you all, HOME_OFFSET did the trick, it work exactly as I want it now :)

Please Log in to join the conversation.

Time to create page: 0.137 seconds
Powered by Kunena Forum