Setting Apprentice Park Position After TP Execution

Need Help To Understand Issue

Trying to understand why this is not working properly. After completing a TP I want the spindle to go to a park position G53 X210 Y400.

Machine has been properly homed.

Below examples have the G55 Work Y zero set, which corresponds to Machine Y 208.063

EXAMPLE-1

begin FOOTER

“M5”

“G53 G0 Z-10”

“G53 G0 X210 Y400”

“M2”

Example-1 raise the Z to -10 then move to G53 X210 Y400. When TP is executed I receive

Toolpath warning:

The current toolpath is trying to cut outside the machine limits. Exceeded Y maximum travel by 188.063

It appears the TP Gcode is using the current Work XY 0 + the G53 G0 X210 Y400 to determine the TP exceeds the Y limits.

Example-2

begin FOOTER

“M5”

“G53 G0 Z-10”

“G53 G0[XH][YH]”

“G53 G0 X210 Y400”

“M2”

Example-2 raise the Z to -10 then move to G53 G0[XH][YH] then G53 X210 Y400. When TP is executed I receive the same message.

“Toolpath warning:

The current toolpath is trying to cut outside the machine limits. Exceeded Y maximum travel by 188.063”

It appears the TP Gcode is again using the current Work XY 0 + the G53 G0 X210 Y400 to determine the TP exceeds the Y limits

As a troubleshooting test I reduced the Y position from 400 to 211. The TP executed correctly by moving to Y211.

Conclusion, Gcode is using the current Work XY 0 + the directed G53 G0 X210 Y400 to determine the TP exceeds the Y limits. I have to assume the same issue would occur for X if the Work X was X250, i.e., Work X250 + G53 X210 = X @ 460, which is out of range

I have a similar routine programmed as a macro, and it works fine. The only difference I see is the omission of “G90”. For example, my next-to-last line reads “G53 G90 G0 X25 Y16” (inches). The same would be needed when retracting your Z axis. It seems that even with G53, the G90 (absolute) code is necessary. I suspect you’re leaving your last cut in G91 (relative) mode. I always start my macros with a mode-set line, “G90 G17 G20 G54” or similar. Note that G53 is non-modal and must be stated every time you use it.

Thanks for the feed back!