Autolevel on Delta leads to printing above bed
I have a home built delta printer which I'm trying to get working with Repetier firmware.
I'm trying to get autoleveling to work with a Z probe actuated microswitch.
Everything seems to be working correctly running G32 S2 command, except that after calibration, the printer will try to print the first layer about 1mm above the bed.
I thought it was a matter of the Z Probe offset, but before starting the print, if I move the hot end to Z0 it will descend down and touch the bed.
The problem is only apparent when I start a print.
Any ideas as to what settings I should be looking at?
BTW, I'm running a RAMPS 1.4 board.