Hi Amit,
Its up to you to interface your probe to KFLOP. Are you trying to just check continuity from the tool to the touch plate? Is the tool isolated? Do you have any opto isolated inputs available?
Once Interfaced you might start with the ProbeZ.c example:RegardsCode:#include "KMotionDef.h" main() { Jog(2,-100); // move Z down slowly while (!ReadBit(1040)) ; // wait for switch to go high Jog(2,0); // Stop }