beautypg.com

6 call module if logic accumulator = 0 (cmf) – HEIDENHAIN TNC 407 (243 020) Technical Manual User Manual

Page 569

background image


7-108

TNC 407/TNC 415/TNC 425

3 Commands

01.98

3.12.6 Call Module if Logic Accumulator = 0 (CMF)

Abbreviation for PLC Editor:

CMF (CALL MODULE IF FALSE)

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 CMF command is a conditional Call Module. If the Logic Accumulator is "0", the Module with the
specified jump address (Label) is processed. If the Logic Accumulator is "1", the main program
continues without a Call Module. This command interrupts a logic sequence.

Example for the commands CM, CMT, CMF

A certain Module is to be called, depending on Input I5.

Initial state:

Input I5 = 0

Line

Instruction

Accumulator Contents

Operand Contents

Bit

31

.

.

.

7

0

... x x x x x x X x x x x x x x

1

L I5

... x x x x x x 0 x x x x x x x

0

2

CMF 10

... x x x x x x 0 x x x x x x x

3

L M100

... x x x x x x 1 x x x x x x x

1

499

EM

500

LBL 10

501

L I3

... x x x x x x 0 x x x x x x x

0

502

OM 500

... x x x x x x 1 x x x x x x x

1

503

= O20

... x x x x x x 1 x x x x x x x

1

504

EM