I am running WinCNC v2.6 and am trying to set up a touch plate for zeroing the z axis. I have 3 other limit switches that all have 5+ volts running to them and work fine.

My other machines use a ground signal from the tool your are trying to zero to the touch plate which triggers the controller to stop moving downwards and to zero the Z axis. In WinCNC however I am not having much luck getting this to work. I have the wires from the touch plate going to the com and P2 B5 ports and no jumpers on the pins associated to B5.

The only work around I can think of is to hook up a relay which is triggered of the ground signal that gives 5 volts to B5.

Does anyone have direction on the right way to accomplish this?

Thanks in advance