7 end of module, program end (em), 8 end of module if logic accumulator = 1 (emt), 9 end of module if logic accumulator = 0 (emf) – HEIDENHAIN TNC 407 (243 020) Technical Manual User Manual
Page 571: 10 jump label (lbl)
3.12.7 End of Module, Program End (EM)
Abbreviation for PLC Editor:
EM (END OF MODULE)
Execution time [µs]
3.3 to 3.8
Number of bytes
4
Operands: none
Operation:
Every program and/or every subprogram (Module) is terminated with an EM command. An EM
command in a Module initiates the return jump to the Call Module (CM, CMT, CMF). The program is
continued with the instruction following the Call Module. The command EM is handled as program
end criterion; thus subsequent program instructions can be reached using a jump address.
3.12.8 End of Module if Logic Accumulator = 1 (EMT)
Abbreviation for the PLC Editor: EMT (END OF MODULE IF TRUE)
Operation:
An EMT command only initiates a return jump to the Call Module (CM, CMT, CMF) when the Logic
Accumulator is "1".
3.12.9 End of Module if Logic Accumulator = 0 (EMF)
Abbreviation for the PLC Editor: EMF (END OF MODULE IF FALSE)
Operation:
An EMF command only initiates a return jump to the Call Module (CM, CMT, CMF) when the Logic
Accumulator is "0".
3.12.10 Jump Label (LBL)
Abbreviation for PLC Editor:
LBL (LABEL)
Execution time [µs]
0
Number of bytes
0
Operands: ASCII name (up to 32 characters long)
Operation:
The jump label defines a program position as an entry point for the CM and JP commands. Jump
labels may be allocated addresses in the range 0 to 511. Up to 1000 jump labels per file can be
defined.
The ASCII name of the jump label may be up to 32 characters long, but only the first 16 characters
are used to distinguish jump labels.
For importing global jump labels, see EXTERN instruction.