beautypg.com

4 call module (cm), 5 call module if logic accumulator = 1 (cmt), 6 call module if logic accumulator = 0 (cmf) – HEIDENHAIN TNC 306 Technical Manual User Manual

Page 385: 4 call module (cm) cm, 5 call module if logic accumulator = 1 (cmt) cmt, 6 call module if logic accumulator = 0 (cmf) cmf

background image


3/2000

TNC 416/TNC 406/TNC 306

Commands

7-95

3.12.4 Call Module (CM)

CM

Abbreviation for PLC Editor:

CM (CALL MODULE)

Jump processed

Jump not processed

Execution time [µs]

5.0

----

Number of bytes

22

Special Library Call:
Execution time [µs]

6.2

----

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)

CMT

Abbreviation for PLC Editor:

CMT (CALL MODULE IF TRUE)

Jump processed

Jump not processed

Execution time [µs]

6.8 to 7.2

1.0 to 1.4

Number of bytes

26 (24)

Special Library Call:
Execution time [µs]

7.4

1.4

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.

3.12.6 Call Module if Logic Accumulator = 0 (CMF)

CMF

Abbreviation for PLC Editor:

CMF (CALL MODULE IF FALSE)

Jump processed

Jump not processed

Execution time [µs]

6.8 to 7.2

1.0 to 1.4

Number of bytes

26 (24)

Special Library Call:
Execution time [µs]

7.4

1.4

Number of bytes

28

This manual is related to the following products: