06.08.2013 Views

Technical Manual TNC 360 - heidenhain - DR. JOHANNES ...

Technical Manual TNC 360 - heidenhain - DR. JOHANNES ...

Technical Manual TNC 360 - heidenhain - DR. JOHANNES ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

3.12.4 Call Module (CM) CM<br />

Abbreviation for PLC Editor: CM (CALL MODULE)<br />

Jump processed Jump not processed<br />

Execution time [µs] 5.0 ----<br />

Number of bytes 22<br />

Special Library Call:<br />

Execution time [µs] 6.2 ----<br />

Number of bytes 24<br />

Operands: jump address (LBL)<br />

Operation:<br />

A Call Module instructs the processor to leave the main program and process the Module<br />

designated by the jump address (LBL). Modules are independent subprograms and are terminated<br />

by the command EM. They can also be called at multiple points in the main program. This command<br />

interrupts a logic sequence.<br />

3.12.5 Call Module if Logic Accumulator = 1 (CMT) CMT<br />

Abbreviation for PLC Editor: CMT (CALL MODULE IF TRUE)<br />

Jump processed Jump not processed<br />

Execution time [µs] 6.8 to 7.2 1.0 to 1.4<br />

Number of bytes 26 (24)<br />

Special Library Call:<br />

Execution time [µs] 7.4 1.4<br />

Number of bytes 28<br />

Byte information in brackets:<br />

A shorter command is employed in certain high-priority program sequences.<br />

Operands: jump address (LBL)<br />

Operation:<br />

A CMT command is a conditional Call Module. If the Logic Accumulator is "1", the Module with the<br />

specified jump address (Label) is processed. If the Logic Accumulator is "0", the main program<br />

continues without a Call Module. This command interrupts a logic sequence.<br />

3.12.6 Call Module if Logic Accumulator = 0 (CMF) CMF<br />

Abbreviation for PLC Editor: CMF (CALL MODULE IF FALSE)<br />

Jump processed Jump not processed<br />

Execution time [µs] 6.8 to 7.2 1.0 to 1.4<br />

Number of bytes 26 (24)<br />

Special Library Call:<br />

Execution time [µs] 7.4 1.4<br />

Number of bytes 28<br />

7-96 <strong>TNC</strong> <strong>360</strong> 3 Commands 8/95

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!