EasyManua.ls Logo

HEIDENHAIN TNC 430 PA/M - End of Module, End of Program (EM); End of Module if Logic Accumulator = 1 (EMT); End of Module if Logic Accumulator = 0 (EMF); Label (LBL)

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...
December 2001 Commands 7 147
7.7.72 END OF MODULE, END OF PROGRAM (EM)
Syntax: EM (END OF MODULE)
Operands: None
Action:
You must end each program or subroutine (module) with the command EM.
An EM command at the end or within a module causes a return jump to the
module call (CM, CMT, CMF). The TNC then resumes the program with the
instruction that follows the module call. The TNC interprets the command EM
as program end. The TNC can reach the subsequent program instructions only
through a jump instruction.
7.7.73 END OF MODULE IF LOGIC ACCUMULATOR = 1 (EMT)
Syntax: EMT (END OF MODULE IF TRUE)
Operands: None
Action:
An EMT command causes a return jump to the module call (CM, CMT, CMF)
only if the logic accumulator = 1.
7.7.74 END OF MODULE IF LOGIC ACCUMULATOR = 0 (EMF)
Syntax: EMF (END OF MODULE IF FALSE)
Operands: None
Action:
An EMF command causes a return jump to the module call (CM, CMT, CMF)
only if the logic accumulator = 0.
7.7.75 LABEL (LBL)
Syntax: LBL (LABEL)
Operands: ASCII name; maximum length: 32 characters
Action:
The label defines a program location as an entry point for the JP and CM
commands. You can define up to 1000 jump labels per file. The ASCII name of
the label may be up to 32 characters long. However, the TNC evaluates only
the first 16 characters.
For importing global labels, see EXTERN instruction.

Table of Contents

Related product manuals