Delete Synchronized Action (Cancel) - Siemens SINUMERIK 840D sl Programming Manual

Job planning
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Motion synchronous actions

10.6 Delete synchronized action (CANCEL)

10.6
Delete synchronized action (CANCEL)
10.6
Function
The CANCEL command can be used to cancel (delete) a modal or a static synchronized
action from the part program.
If a synchronized action is canceled while the positioning axis movement that was activated
from it is still active, the positioning axis movement is interrupted. If this is not desirable, axis
motion can be braked with deletion of the axial distance-to-go before the CANCEL command.
Syntax
CANCEL(<n1>,<n2>,...)
Significance
CANCEL:
<n1>,<n2>,etc.:
Examples
Example 1: Cancel synchronized action
Program code
N100 ID=2 WHENEVER $A_IN[1]==1 DO M130
...
N200 CANCEL(2)
Example 2: Delete distance-to-go before cancelling synchronized action
Program code
N100 ID=17 EVERY $A_IN[3]==1 DO POS[X]=15 FA[X]=1500
...
N190 WHEN ... DO DELDTG(X)
N200 CANCEL(17)
726
Command to delete programmed synchronized actions
Identification numbers of the synchronized actions to be deleted
Note:
If identification numbers are not specified, all modal/static
synchronized actions are deleted.
Comments
; Deletes modal synchronized action
no. 2.
Comments
; Start positioning axis motion.
; End positioning axis motion.
; Deletes modal synchronized action
no. 17.
Programming Manual, 06/2009, 6FC5398-2BP20-0BA0
Job Planning

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents