7 end of module, program end (em), 8 jump label (lbl), 9 end of module if logic accumulator = 1 (emt) – HEIDENHAIN TNC 306 Technical Manual User Manual
Page 387: 10 end of module if logic accumulator = 0 (emf), 7 end of module, program end (em) em, 8 jump label (lbl) lbl

3/2000
TNC 416/TNC 406/TNC 306
Commands
7-97
3.12.7 End of Module, Program End (EM)
EM
Abbreviation for PLC Editor:
EM (END OF MODULE)
Execution time [µs]
2.0
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 Jump Label (LBL)
LBL
Abbreviation for PLC Editor:
LBL (LABEL)
Execution time [µs]
0
Number of bytes
0
Operands: 0 to 1023
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 1023.
3.12.9 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.10 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".