Delete distance to go up to an explicit end marker

Deleting distance to go can contain multiple blocks. In addition, the distance to go marker can be predefined in the NC program.

#DEL DIST2GO [ [ END <32bit> ] ]

If the end marker is set without an activation bit, END = 1 is set by default.

  #DEL DIST2GO (corresponds to #DEL DIST2GO [ END = 1 ])

Afterwards, the jump marks can be individually activated by the PLC during runtime (ACTIVATION). This can be executed via the control unit “Delete distance to go, end marker”.

Individual jump markers can also be compiled in groups using the same activation markers.

Delete distance to go up to a marker
Delete distance to go up to a marker
Extended interfaces of “Delete distance to go”.
Extended interfaces of “Delete distance to go”.

Downwards compatibility

If no end marker is set valid by the PLC interface (control unit activation = 0), the NC moves to end of the next motion block as before.

No valid end marker

If no valid end marker is found up to the end of the program or the function “Delete distance to go” is commanded in the last motion block of the program, the motion is terminated prematurely at the stop position and a warning ID 50810 is output.

All other non motion-related NC commands are still executed at this position (e.g. technology functions, M functions, etc.).

Delete distance to go without end marker up to M30
Delete distance to go without end marker up to M30

Notice

notice

A valid end marker is only valid if the command (see section PLC interface (control unit and the HLI)) is executed.

Programing Example

prg_example

Delete distance to go up to an explicit marker

%deldisttogo_end_mark

N029 G02 Y200 J100

N031 G01 Y220

N032 G00 X110 Y220

N033 Y230

N034 X120

N035 Y240

N040 X130

N041 #DEL DIST2GO   ;Default ACTIVATION = '16#01'

N050 Y250

N051 #DEL DIST2GO [END='16#01'] ; short cut target

N060 X150

N061 #DEL DIST2GO [END=2] ; short cut target

N070 Y300

N071 #DEL DIST2GO [END='16#0105'] ; short cut target

N080 X200

N081 #DEL DIST2GO [END=8] ; short-cut target

N090 Y350

N100 X250

M30

Representation of an explicit marker
Representation of an explicit marker