Thanks Ian, but the problem is not homing, that is done, I want to use the same circuit for homing and a probe, where homing closes the circuit and probing opens the circuit. So what I want to do is set the probe input to active low for the homing macro and when probing set it active high with a macro. At the moment I do it manually but it would be nice if it was possible to do via macros.
Piet