Case statement, 1 indexed call module (case), Case – HEIDENHAIN TNC 306 Technical Manual User Manual
Page 389: 2 end indexed call module (endc), Endc, 2 end indexed call module (endc) endc

3/2000
TNC 416/TNC 406/TNC 306
Commands
7-99
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.