Hi All,

This thread was very helpful in putting my Z touch-off probe in place. Thought to share some small information to great minds here.
My Z-axis was moving down slowly towards the ground plate, touching it, and used to sit on the plate without rapidly moving away as programmed in the classicladder. After spending lot of time, I found that the third MDI command was commented out. Un-commenting the following line in custom_postgui.hal made my Z-probe to work as expected.
net rapid-away classicladder.0.out-02 => halui.mdi-command-02

Ho yeah, I also added debouncing for the probe to avoid noise/mdi errors, as many have suggested in the earlier thread. Following were the changes I did in my main.hal file.

#added for probe debouncing
loadrt debounce cfg=2
setp debounce.0.delay 200
addf debounce.0 base-thread
#end of probe debouncing

#Commented out the existing configuration
#net probe-in => motion.probe-input
#net probe-in <= parport.0.pin-13-in-not

#added for probe debounce
net debounce-probe-in debounce.0.0.in <= parport.0.pin-13-in-not
net probe-in debounce.0.0.out => motion.probe-input
#end of probe debounce

Hope this helps

-Regards,
Gururaj
ideaguru