Classes of markers and bytes, 3 classes of markers and bytes – HEIDENHAIN TNC 122 Technical Manual User Manual
Page 61

60
TNC 122
12 PLC Description
4/97
End of Module, End of Program (EM)
EM
Every program and/or every subprogram (Module) is terminated with an EM command. EM 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. EM is handled as program end criterion; thus subsequent
program instructions can only be reached using a jump address.
End of Module if Logic Accumulator = 1 (EMT)
The EMT command only initiates the return jump to the Call Module (CM, CMT, CMF) if the Logic
Accumulator is 1.
End of Module if Logic Accumulator = 0 (EMF)
The EMF command only initiates the return jump to the Call Module (CM, CMT, CMF) if the Logic
Accumulator is 0.
Jump Label (LBL)
Operands: ASCII name (with up to 32 characters)
The jump label defines a program position as an entry point for the CM and JP commands. Up to
1000 jump labels per file can be defined.
The ASCII name of the jump label can be up to 32 characters long, although only the first 16
characters are used to differentiate between jump labels.
12.3 Classes of Markers and Bytes
Marker
Application
M1000 to M1999
To be assigned as desired. Settings erased after power interruption
(Reset).
M0 to M999
To be assigned as desired. Settings erased after power interruption
(Reset).
M2000 to B3000
Reserved for NC-to-PLC interface.
Byte
Application
B0 to B127
To be assigned as desired. Settings erased after power interruption
(Reset).
B128 to B255
To be assigned as desired. Settings erased after power interruption
(Reset).
B256 to B1023
Reserved for NC-to-PLC interface.