Hello Guest it is April 18, 2024, 04:11:10 PM

Author Topic: G31.1  (Read 1385 times)

0 Members and 1 Guest are viewing this topic.

G31.1
« on: April 22, 2017, 12:32:39 PM »
Does a probe file, such as opened below, only work on G31 with probe1? 
I cannot get it to work with G31.1 for a second probe.

mc.mcCntlProbeFileOpen(inst, path, "X%.3AXIS_X Y%.3AXIS_Y Z%.3AXIS_Z \r\n", true)

Does one need to use #Variables to manually collect the data for probes 2+?

Thanks
« Last Edit: April 22, 2017, 12:38:27 PM by thespindoctor »
Re: G31.1
« Reply #1 on: April 22, 2017, 02:00:05 PM »
Probably will solve for now in the case of a single probe move by just adding lines below after the G31.1 probing move and saving the values in a register

Code: [Select]

local ProbedMeasXAbs1 = mc.mcCntlGetPoundVar(inst, 5071)
local ProbedMeasYAbs1 = mc.mcCntlGetPoundVar(inst, 5072)


Although it looks like we should be able to mc.ISIG_PROBE1 somehow to enable a probe file.  Maybe this function would work

Code: [Select]

function Probing.CheckProbe(state, code)


Thanks
« Last Edit: April 22, 2017, 02:05:25 PM by thespindoctor »
Re: G31.1
« Reply #2 on: April 23, 2017, 06:45:04 PM »
G31.1 does not work with ESS plugin at the present time so I fixed it by connecting 2 probes to the same pin on the BOB. Works great with G31
Re: G31.1
« Reply #3 on: April 27, 2017, 08:18:03 AM »
The new ESS plugin now works with multiple probes!!  Thanks Warp9 Andy!