EasyManua.ls Logo

HEIDENHAIN TNC 430 PA/M - Calling the Submit Program (SUBM); Interrogating the Status of a Sumbit Program (RPLY)

HEIDENHAIN TNC 430 PA/M
1135 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
7 160 HEIDENHAIN Technical Manual TNC 426, TNC 430
7.10.1 CALLING THE SUBMIT PROGRAM (SUBM)
Syntax: SUBM (SUBMIT)
Operands: Label (LBL)
Action:
Assign an identifier (1 to 255) to a labeled subroutine and put it in the queue.
At the same time, the TNC writes the assigned number in the word
accumulator. If programs are already entered in the submit queue, the TNC
does not run the addressed program until the programs before it are finished.
You can make an entry in the queue only in a PLC program. It is not possible
to make a SUBM command in a submit program.
If there is no room in the queue, or if you program the SUBM command in a
submit program (nesting), the TNC assigns the value 0 to the word
accumulator.
Example:
See command CAN.
7.10.2 INTERROGATING THE STATUS OF A SUBMIT PROGRAM (RPLY)
Syntax: RPLY (REPLY)
Operands: B/W
Action:
Interrogate the status of the submit program with the specified identifier. You
must have already stored the identifier in a byte or word when you call the
submit program. With the RPLY command and the defined memory address
(byte or word containing the identifier) the TNC transfers one of the following
processing states to the word accumulator:
n Word Accumulator = 0: Program complete/not in the queue
n Word Accumulator = 1: Program running
n Word Accumulator = 2: Program in the queue
Example:
See command CAN.

Table of Contents

Related product manuals