Hello,
Im trying to implement some probing features but when probing X or Y, the probing head also moves in Z direction when I use G31X (no idea what triggers this behaviour)
example Code:
If IsOutputActive(Output15) Then
SetOEMDRO(47, 0)
SetOEMDRO(48, 0)
SetOEMDRO(49, 0)
PosX=GetOEMDRO(83)
PosY=GetOEMDRO(84)
'X+ Probing routine
Position = GetOEMDRO(83)
Code "G31 X" & (Position + 20) & "F850"
While IsMoving()
Wend
Position = GetVar(2000) 'real x probing point
Code "G01 G53 X" & (Position - 0.75) & "F500"
While IsMoving()
Wend
Position = GetOEMDRO(83)
Code "G31X" & (Position + 1) & "F40"
While IsMoving()
Wend
Position = GetVar(2000) 'real x probing point
Result= Position-(GetOEMDRO(1325)/(2)) + GetOEMDRO(1310)
It would crash into the table because it moves both axis.
Anybody here who had this problem before :/?
Thanks,
Max