Download Print this page

HEIDENHAIN MANUALplus 620 Technical Manual page 1720

Hide thumbs Also See for MANUALplus 620:

Advertisement

8.15.71 END OF MODULE, END OF PROGRAM (EM)
8.15.72 END OF MODULE IF LOGIC ACCUMULATOR = 1 (EMT)
8.15.73 END OF MODULE IF LOGIC ACCUMULATOR = 0 (EMF)
8.15.74 LABEL (LBL)
1720
Syntax:
EM (END OF MODULE)
Operands:
None
Action:
You must end each program or subroutine (module) with the EM command.
An EM command at the end or within a module causes a return jump to the
module call (CM, CMT, CMF). The control then resumes the program with the
statement that follows the module call. The control interprets the EM
command as program end. The control can reach the subsequent program
instructions only through a jump command.
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 control evaluates only
the first 16 characters.
For importing global labels, see EXTERN statement.
HEIDENHAIN Technical Manual MANUALplus 620

Advertisement

loading