# Delete distance to go for backward motion

## Programing Example

Delete distance to go for backward motion. Switch to short cut in forward motion.

Warning output. P-ERR-50729

If “Delete distance to go” is set during backward motion and a reversal is made back to forward motion on the short cut, FEEDHOLD is set and the warning P-ERR-50729 is output.

The short cut must continue in backward direction to the end. It is not possible to switch the motion direction on the short cut.

In the example, motion in N34 is backward.

%deldisttogo10

N010 X0 Y0 Z0

N020 X100 F1000

N025 G1 Z30

N029 G02 Y200 J100

N032 G00 Y220

N033 X111

N034 Y50

N035 X80

N040 X0 Y0

N050 M30

Repeated forward motion in case of a backward short cut