3 cancellation of a submit program (can) 7-124, 2 status interrogation of a submit program (rply), 3 cancellation of a submit program (can) – HEIDENHAIN TNC 407 (243 020) Technical Manual User Manual
Page 585
![background image](https://www.manualsdir.com/files/815340/content/doc585.png)
3.16.2 Status Interrogation of a Submit Program (RPLY)
Abbreviation for PLC Editor:
RPLY (REPLY)
Execution time [µs]
< 5
Number of bytes
10
Operands: B, W, D
Operation:
With the RPLY command the Status of the Submit program is interrogated with the specified
Identifier. This Identifier must already be stored in a Byte, Word or Doubleword prior to the calling up
of the Submit program. With the RPLY command and the memory address specified above, which
contains the Identifier, one of the following messages about the status is transferred to the Word
Accumulator:
Word Accumulator 0: Program complete/not in the queue
Word Accumulator 1: Program running
Word Accumulator 2: Program in the queue
3.16.3 Cancellation of a Submit Program (CAN)
Abbreviation for PLC Editor:
CAN (CANCEL)
Execution time [µs]
< 40
Number of bytes
10
Operands: B, W, D
Operation:
With the CAN command the Submit-Program with the specified Identifier is cancelled during
execution or removed from the queue. This Identifier must already be stored in a Byte, Word or
Doubleword prior to the calling up of the Submit-Program. After the cancellation of the Program, the
next Submit program in the queue will immediately be processed.
The following PLC modules cannot be cancelled with CANCEL at any desired point:
– PLC module for access to the screen (908X).
– PLC module for reading NC files (909X).
In these cases, the RPLY command must be used to check whether or not the CAN command may
be used.