Calling The Submit Program (Subm); Interrogating The Status Of A Sumbit Program (Rply) - HEIDENHAIN TNC 426 PB/M Technical Manual

Table of Contents

Advertisement

7.10.1 CALLING THE SUBMIT PROGRAM (SUBM)

7.10.2 INTERROGATING THE STATUS OF A SUBMIT PROGRAM (RPLY)
7 – 160
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.
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.
HEIDENHAIN Technical Manual TNC 426, TNC 430

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tnc 430 pa/mTnc 430 mTnc 426 cbTnc 430 caTnc 426 pbTnc 430 pa ... Show all

Table of Contents