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 426 PB/M Technical Manual

Table of Contents

Advertisement

7.7.72 END OF MODULE, END OF PROGRAM (EM)

7.7.73 END OF MODULE IF LOGIC ACCUMULATOR = 1 (EMT)

7.7.74 END OF MODULE IF LOGIC ACCUMULATOR = 0 (EMF)

7.7.75 LABEL (LBL)

December 2001
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.
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.
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.
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.
Commands
7 – 147

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