Call Module If Logic Accumulator = 0 (Cmf) - HEIDENHAIN iTNC 530 HSCI Technical Manual

Hide thumbs Also See for iTNC 530 HSCI:
Table of Contents

Advertisement

9.8.70 CALL MODULE IF LOGIC ACCUMULATOR = 0 (CMF)

July 2013
CMF (CALL MODULE IF FALSE)
Syntax:
Label (LBL)
Operands:
Action:
The CMF command is a conditional module call. If the logic accumulator = 0,
the iTNC calls the module that begins at the label that you have entered. If the
logic accumulator = 1, the iTNC does not call the module. The CMF command
interrupts a logic sequence.
Example:
This example also applies to the CM and CMT commands.
Depending on the state of the input I5, call the Module 10. Initial state:
Input I5
= 0
Function
Load the operand content
into the logic
accumulator.
If logic accumulator =0,
jump to LBL 10.
Resume main program
after module execution.
End of main program
Label: Beginning of
module
Statement in the module
Statement in the module
Statement in the module
End of module, resume
the main program with
the command L M100
9.8 Command Set
STL
Accumulator
content
L I5
0
CMF 10 0
L M100 1
EM
LBL 10
L I3
0
O M500 1
= O20
1
EM
Operand content
0
1
0
1
1
1817

Advertisement

Table of Contents
loading

Table of Contents