448
« on: March 14, 2017, 04:27:43 PM »
Thought I would measure to see what kind of consistency I was getting from my probe strikes.
I put the following code in a button:
mc.mcCntlGcodeExecuteWait(inst,'G31 X0 F0.5') -- First slow strike
r1,rc=mc.mcAxisGetProbePos(inst,0,false)
r2=mc.mcAxisGetPos(inst,0)
mc.mcCntlGcodeExecuteWait(inst,'G01 X.3 f0.5')
mc.mcCntlSetLastError(inst,string.format('%1.4f : %1.4f : %1.4f',r1,r2,r1-r2))
The difference between the position in the dro and the probe strike position is consistently .0080 or .0079
While probing the dro's don't change at all, is that how it should be?
Each time I execute it the positions change:
.1958 : 0.2037 : -.0080
.2036 : 0.2037 : -.0080 - creep of 0.0078
.2115 : 0.2195 : -.0080 - creep of 0.0079
Each time the probe beginning position is closer to the contact position even though I start at .3 and return to .3
Its as if the machine position is adjusting automatically for the difference in strike versus end. Is it supposed do that?
I have checked my couplings and they are secure and I don't believe I am losing steps.
I am using pmdx411 and their plugin is fairly new and I am using it with m4turn.
Before I go to the pmdx forum I want to confirm that this is not normal behavior.
Thanks,
RT