I have encoders with index pulse on the lead screws and X and Z limit switches. I would like to home on the limit switches then move off to the first index pulse using a probing call, mc.mcCntlGcodeExecute(inst, "G31.3 X-.5000 f2"), near the end of the refAllHome function.
There is no Probe, Probe1 or Probe2 Signals under the Control Configuration Input Signals. There is Digitizing, and Probe3 through Probe9. The G31 doesn’t work even in the MDI with a probe signal from a push button for test and a LED assigned Input Signal = probe3. The LED lights but the motion doesn’t stop until G31.3 finishes. At that point the X, Z and A probe # variables are updated.
Any help with this would be appreciated. Also is the a different or better way to do this?
Thanks