- Posts: 611
- Thank you received: 114
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Paul wrote: OK - More testing done. What I am finding is that LinuxCNC now looks in the touchoff subroutine and performs only the G38.2 even thought the call to the sub is earlier in the gcode file. If I replace the call to the sub with the contents of the sub, run-from-line works as I expect (it doesn't perform the G38.2). .
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Just to be sure that the system is erroneously calling a sub you could try adding some (debug, about to probe) / (debug, probe result #5399) to the subroutine.
After successful probing, parameters 5061 to 5069 will be set to the coordinates of X, Y, Z, A, B, C, U, V, W of the location of the controlled point at the time the probe changed state. After unsuccessful probing, they are set to the coordinates of the programmed point. Parameter 5070 is set to 1 if the probe succeeded and 0 if the probe failed. If the probing operation failed, G38.2 and G38.4 will signal an error by posting an message on screen if the selected GUI supports that. And by halting program execution.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.