1816 HEIDENHAIN Technical Manual iTNC 530 HSCI
9.8.68 CALL MODULE (CM)
Syntax: CM (CALL MODULE)
Operands: Label (LBL)
Action:
After a CM command, the iTNC calls the module that begins at the label that
you have entered. Modules are independent subroutines that must be ended
with the command EM. You can call modules as often as you wish from
different places in your program. The CM command interrupts a logic
sequence.
Example:
See CMF command.
9.8.69 CALL MODULE IF LOGIC ACCUMULATOR = 1 (CMT)
Syntax: CMT (CALL MODULE IF TRUE)
Operands: Label (LBL)
Action:
The CMT command is a conditional module call. If the logic accumulator = 1,
the iTNC calls the module that begins at the label that you have entered. If the
logic accumulator = 0, the iTNC does not call the module. The CMT command
interrupts a logic sequence.
Example:
See CMF command.