HEIDENHAIN TNC 407 (243 020) Technical Manual User Manual
Page 591

End of Indexed Module Call (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 together with the CASE command. It must come directly after the list
of CM commands.
Structure of a CASE instruction:
Internal addressing (0 to 127 max.)
1
CASE B 150
2
CM 100 <------- (0)
3
CM 200 <------- (1)
4
CM 201 <------- (2)
5
CM 202 <------- (3)
6
CM 203 <------- (4)
7
CM 204 <------- (5)
8
CM 300 <------- (6)
9
ENDC
Line 1:
Command + Operand; the internal address of the required module must be filed in the
operand
Line 2:
Call Module if operand content 0
Line 3:
Call Module if operand content 1
Line 4:
Call Module if operand content 2
Line 5:
Call Module if operand content 3
Line 6:
Call Module if operand content 4
Line 7:
Call Module if operand content 5
Line 8:
Call Module if operand content 6
Line 9:
End of CASE instruction