Hello Guest it is October 15, 2019, 03:13:54 AM

Author Topic: G31 will run twice only  (Read 2490 times)

0 Members and 1 Guest are viewing this topic.

G31 will run twice only
« on: April 02, 2017, 11:28:37 AM »
g31 will only run 2 times.  Is this a bug in the ess plugin??


Quote

inst = mc.mcGetInstance()

mc.mcCntlGcodeExecuteWait(inst,"G90G00 X-4.2 Y-.6") --position at beginning at pin setpoint

mc.mcCntlProbeFileOpen(inst, "C:\\mach4Hobby\\GcodeFiles\\KFCProbeValues.csv","%.4AXIS_ %.4AXIS_Y\n", true)

     mc.mcCntlGcodeExecuteWait(inst,"G31 Y-.65 F20.0")
     mc.mcCntlGcodeExecuteWait(inst,"G91G00 X-.1 Y.07")
     mc.mcCntlGcodeExecuteWait(inst,"G90")

     mc.mcCntlGcodeExecuteWait(inst,"G31 Y-.65 F20.0")
     mc.mcCntlGcodeExecuteWait(inst,"G91G00 X-.1 Y.07")
     mc.mcCntlGcodeExecuteWait(inst,"G90")

     mc.mcCntlGcodeExecuteWait(inst,"G31 Y-.65 F20.0")
     mc.mcCntlGcodeExecuteWait(inst,"G91G00 X-.1 Y.07")
     mc.mcCntlGcodeExecuteWait(inst,"G90")


mc.mcCntlProbeFileClose(inst) --close probe file

Re: G31 will run twice only
« Reply #1 on: April 02, 2017, 01:34:17 PM »
Working but not sure what I did different!