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.13 CASE statement<br />

3.13.1 Indexed call module (CASE) CASE<br />

Abbreviation for PLC Editor: CASE (CASE OF)<br />

Byte Word<br />

Execution time [µs] 12.0 12.0<br />

Number of bytes 46 44<br />

4 Bytes must be added to the length for each entry in the table (CM).<br />

Operands: B, W<br />

Operation:<br />

With the CASE command, a specific subprogram may be selected from a list of Call Modules (CM).<br />

These CM commands immediately follow the CASE command and are internally numbered in an<br />

ascending sequence from 0 to a maximum of 127. The content of the operands (B, W) addresses<br />

the required Module.<br />

3.13.2 End indexed Call Module (ENDC) ENDC<br />

Abbreviation for PLC Editor: ENDC (ENDCASE)<br />

Byte Word<br />

Execution time [µs] 0 0<br />

Number of bytes 0 0<br />

Operands: none<br />

Operation:<br />

The ENDC command is used in conjunction with the CASE command. It must immediately follow<br />

the list of CM commands.<br />

7-100 <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!