Unnecessary Z Retract (G28 G91 Z0.) at End of Every Toolpath, Even Without Tool Change

Unnecessary Z Retract (G28 G91 Z0.) at End of Every Toolpath, Even Without Tool Change

jmattson8WUR3
Advocate Advocate
225 Views
0 Replies
Message 1 of 1

Unnecessary Z Retract (G28 G91 Z0.) at End of Every Toolpath, Even Without Tool Change

jmattson8WUR3
Advocate
Advocate

When posting code, the Anderson Stratos Pro Full line post processor outputs a Z retract command (G28 G91 Z0.) at the end of every toolpath section, even when the next operation uses the same tool. This results in wasted machine movement and increased cycle time, as the spindle retracts to home Z between operations that do not require a tool change.

Example:
In the following excerpt, you can see that after the first operation, the code retracts Z and then immediately starts the next operation with the same tool:

N105 M05
N110 G28 G91 Z0.
N115 G90
N120 G49

(2D-CONTOUR)
N125 M09
N130 T2002 M06
...

 

This behavior repeats for every operation, regardless of whether a tool change is needed.

Expected Behavior:
The Z retract (G28 G91 Z0.) should only be output when a tool change is required, not between operations that use the same tool.

Request:
Please update the post processor logic so that unnecessary retracts are avoided, and Z is only sent home when actually needed for a tool change or at the end of the program.

Thank you!

0 Likes
226 Views
0 Replies
Replies (0)