Thanks Chris for your response.
The 3d probe is almost always going to be shorter than the tool length.
Here's what I have added:
225 ; return to original tool-tip position, but using new z-offset
226 (DEBUG, Return to original tool-tip position using new z-offset: #<local_start_x> , #<local_start_y> , #<local_start_z>)
227 G53 G0 Z[#<_ini[VERSA_TOOLSETTER]Z_MAX_CLEAR>]
228 ; now use original (modal)coord system to go over to xy
229 G0 X[#<local_start_x>] Y[#<local_start_y>]
230 ; and finally down to the (already offset) z coord
231 G0 Z[#<local_start_z>]
In the attached/inline image you can see the values of local_start_z of 318.53 which fails. At the end the local_start_z it is set to 88.717560 and the program then moves forward.
I believe that the msg "invalid params in linear command" I believe is actually coming from this line:
203 G10 L1 P#<tool> Z[#<calculated_offset>]
and there after a G43.
There is mention of another forum post by @sou528
here that mentions the same however there's no follow up to that post
.
He does refer to the documentation that indicates an example
zworkoffset . If you scan the github repository for the word zworkoffset you will see mention to this.
I'd really like to get this one behind me if at all possible.