beautypg.com

2 status interrogation of a submit program (rply), 3 cancellation of a submit program (can) – HEIDENHAIN TNC 306 Technical Manual User Manual

Page 395

background image


3/2000

TNC 416/TNC 406/TNC 306

Commands

7-105

3.15.2 Status Interrogation of a Submit Program (RPLY)

Abbreviation for PLC Editor:

RPLY (REPLY)

Execution time [µs]

< 5

Number of bytes

10

Operands: B

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 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.15.3 Cancellation of a Submit Program (CAN)

Abbreviation for PLC Editor:

CAN (CANCEL)

Execution time [µs]

< 40

Number of bytes

10

Operands: B

Operation:
With the CAN command the Submit-Program with the specified Identifier is canceled during
execution or removed from the queue. This Identifier must already be stored in a Byte 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 PLC modules 908x cannot be canceled with CAN at any desired point.
In these cases, the RPLY command must be used to check whether or not the CAN command may
be used.

This manual is related to the following products: