4 call module (cm), 5 call module if logic accumulator = 1 (cmt) – HEIDENHAIN TNC 407 (243 020) Technical Manual User Manual
Page 568

3.12.4 Call Module (CM)
Abbreviation for PLC Editor:
CM (CALL MODULE)
Jump processed
Jump not processed
Execution time [µs]
1.4 to 2.2
----
Number of bytes
22
Special Library Call:
Execution time [µs]
1.6 to 2.1
----
Number of bytes
24
Operands: jump address (LBL)
Operation:
A Call Module instructs the processor to leave the main program and process the Module
designated by the jump address (LBL). Modules are independent subprograms and are terminated
by the command EM. They can also be called at multiple points in the main program. This command
interrupts a logic sequence.
3.12.5 Call Module if Logic Accumulator = 1 (CMT)
Abbreviation for PLC Editor:
CMT (CALL MODULE IF TRUE)
Jump processed
Jump not processed
Execution time [µs]
1.5 to 2.5
0.1 to 0.5
Number of bytes
26 (24)
Special Library Call:
Execution time [µs]
2.0 to 2.4
0.4 to 0.5
Number of bytes
28
Byte information in brackets:
A shorter command is employed in certain high-priority program sequences.
Operands: jump address (LBL)
Operation:
A CMT command is a conditional Call Module. If the Logic Accumulator is "1", the Module with the
specified jump address (Label) is processed. If the Logic Accumulator is "0", the main program
continues without a Call Module. This command interrupts a logic sequence.