Hello Guest it is May 25, 2025, 07:44:58 PM

Author Topic: Write my own homing procedure?  (Read 52 times)

0 Members and 1 Guest are viewing this topic.

Write my own homing procedure?
« on: May 24, 2025, 03:40:27 AM »
Hello!

I want to write my own homing procedure instead of pushing mach3's buttons 1022 etc. I thought i can do this by overriding limits, passing home/limit signal to the "digitize" input and using g31 instead of such buttons. However mach3 is willing not to let me do so.

- I was unable to get "override limits" to work, neither programmatically, nor manually. Turning "auto limit override" off does not help.

- I was unable to move slave axis alone apart from the master axis.

Is it possible to do these things?

Thanks in advance.

Offline TPS

*
  •  2,581 2,581
Re: Write my own homing procedure?
« Reply #1 on: May 25, 2025, 03:43:12 AM »
to use softlimits it is allways necessary to have a propper homed machine.
any other kind of "homing" will also not allow you to set machine coord's to zero.

homing is normaly handled by the motion controller an every motion controller has IMHO
it's own stategy and paramters for homing, so this allways refers to documentation of the
specific motion controller.

if you search for "preceise" homing you will find a lot of code samples to get it more precise.
a couple of motion controllers can also do a "indexed" homing witch is the best you can get.

homing must no be done by pressing button's, it can be handled by script and also by gcode,
so it can be done more or less "automatic".

i use homing on all my machines and it is done by a simple macro call at the beginning of every
GCode programm.

anything is possible, just try to do it.
if you find some mistakes, in my bad bavarian english,they are yours.