How do I change the homing to mimic what LinuxCNC does?

Post anything you want to discuss with others about the software.

How do I change the homing to mimic what LinuxCNC does?

Postby muzzlitebeer » Tue Apr 26, 2022 7:05 am

For all its faults, I like the way Linux CNC homes.

It approaches the limit at a medium/slow speed
activates the limit and stops
backs off just enough to re-close the switch
approaches again at a much lower speed
activates the limit a second time and stops
backs of to the predetermined 'home' position.

Can I set UCCNC to home the axes using this method?
muzzlitebeer
 
Posts: 24
Joined: Fri Apr 15, 2022 11:50 am

Re: How do I change the homing to mimic what LinuxCNC does?

Postby Robertspark » Tue Apr 26, 2022 8:09 am

you can write a macro
Robertspark
 
Posts: 1892
Joined: Sat Sep 03, 2016 4:27 pm

Re: How do I change the homing to mimic what LinuxCNC does?

Postby cncdrive » Tue Apr 26, 2022 8:32 am

UCCNC implements a more clever solution for homing.
There are separate homing up and down speeds, so you can set the homing up speed high and the homing down speed low.
So, the axis can run to home fast using the homing up speed and it moves off the switch using the slow homing down speed.
The home position is registered when the axis leaves the home switch, so the home point will be precise.
You can also program a back off distance to make the axis move off the switch to a setable distance after moving off the switch.
cncdrive
Site Admin
 
Posts: 4888
Joined: Tue Aug 12, 2014 11:17 pm

Re: How do I change the homing to mimic what LinuxCNC does?

Postby muzzlitebeer » Tue Apr 26, 2022 8:40 am

Just to clarify, is the backoff distance set from the extreme limit of travel, or from when the limit switch re-closes?
muzzlitebeer
 
Posts: 24
Joined: Fri Apr 15, 2022 11:50 am

Re: How do I change the homing to mimic what LinuxCNC does?

Postby cncdrive » Tue Apr 26, 2022 9:22 am

The home position gets registered when the axis moves off the home switch, so it registers with the homing down speed, so the home position is precise.
The back off distance is calculated from that point.
cncdrive
Site Admin
 
Posts: 4888
Joined: Tue Aug 12, 2014 11:17 pm

Re: How do I change the homing to mimic what LinuxCNC does?

Postby Authority924 » Tue Apr 26, 2022 1:03 pm

What about a macro? Does anybody know how to write one?
Authority924
 
Posts: 7
Joined: Tue Apr 26, 2022 12:59 pm

Re: How do I change the homing to mimic what LinuxCNC does?

Postby beefy » Tue Apr 26, 2022 9:28 pm

If you can set up your home switches with a mechanical over-run mechanism, you can literally approach the home switches at max rapid speed then back off at a snail pace for the accuracy.
beefy
 
Posts: 449
Joined: Mon Sep 05, 2016 10:34 am

Re: How do I change the homing to mimic what LinuxCNC does?

Postby muzzlitebeer » Fri Apr 29, 2022 2:42 pm

Now that I've wrapped my head around how UCCNC does its homing, I'm very happy to continue using that method. I've got the retract speed really slow, so it should be pretty darn accurate.

Cheers everyone.
muzzlitebeer
 
Posts: 24
Joined: Fri Apr 15, 2022 11:50 am


Return to General discussion about the UCCNC software

Who is online

Users browsing this forum: No registered users and 11 guests