beautypg.com

13 case statement, 1 indexed call module, Case – HEIDENHAIN TNC 335 Technical Manual User Manual

Page 479: 2 end indexed call module, Endc, 2 end indexed call module (endc) endc

background image


7-100

TNC 360

3 Commands

8/95

3.13 CASE statement

3.13.1 Indexed call module (CASE)

CASE

Abbreviation for PLC Editor:

CASE (CASE OF)

Byte

Word

Execution time [µs]

12.0

12.0

Number of bytes

46

44

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

Operands: B, W

Operation:
With the CASE command, a specific subprogram may be selected from a list of Call Modules (CM).
These CM commands immediately follow the CASE command and are internally numbered in an
ascending sequence from 0 to a maximum of 127. The content of the operands (B, W) addresses
the required Module.

3.13.2 End indexed Call Module (ENDC)

ENDC

Abbreviation for PLC Editor:

ENDC (ENDCASE)

Byte

Word

Execution time [µs]

0

0

Number of bytes

0

0

Operands: none

Operation:
The ENDC command is used in conjunction with the CASE command. It must immediately follow
the list of CM commands.