Example
Fast program branch at end of block.
Program code
WHEN $AC_DTEB<5 DO STOPREOF
G01 X100
IF $A_INA[7]>500 GOTOF MARKE1=X100
10.4.5
Delete distance-to-go (DELDTG)
Function
Delete distance-to-go can be triggered for a path and for specified axes depending on a
condition.
The possibilities are:
● Fast, prepared delete distance-to-go
● Unprepared delete distance-to-go
Prepared delete distance-to-go with DELDTG permits a fast response to the triggering event
and is therefore used for time-critical applications, e.g. if
● the time between delete distance-to-go and the start of the next block must be very short.
● the condition for delete distance-to-go will very probably be fulfilled.
Syntax
Delete distance-to-go for the path
DO DELDTG
Axial delete distance-to-go
DO DELDTG(axis1) DELDTG(axis2) ...
Job planning
Programming Manual, 07/2010, 6FC5398-2BP40-0BA0
Note
The axis designation contained in brackets behind DELDTG is only valid for one
positioning axis.
Motion synchronous actions
10.4 Actions in synchronized actions
Comments
;
If the distance to the end of the
block is less than 5 mm, withdraw
preprocessing stop.
;
After executing linear
interpolation, the preprocessing
stop is withdrawn.
;
If the voltage of 5V at input 7
is exceeded, ;jump to label 1.
579