2 output of pocket number (variable pocket coding) – HEIDENHAIN TNC 407 (243 020) Technical Manual User Manual
Page 356
![background image](https://www.manualsdir.com/files/815340/content/doc356.png)
15.2.2 Output of pocket number (variable pocket coding)
With variable pocket coding, the NC must transfer the pocket number of the called tool to the PLC
(MP7480 = 3 or 4). In this setting, the pocket number is filed in word W262. In addition to the pocket
number, the NC also transfers the current tool number in W264. Variable pocket management (the
assignment of tool number to pocket number in the tool table) is handled by the NC. The PLC can
use marker M2612 to tell the NC that the pocket number in the tool table should not be updated
during "Block scan".
The number of tools with a pocket number is defined in machine parameter MP7261. The input
value for MP7261 matches the number of pockets in the tool magazine. This means that more tools
can be defined in the tool table than there is room for in the tool magazine [(MP7260) > (MP7261)]. If
a tool number is programmed and no pocket is defined for it, pocket number 255 (W262) is
transferred on TOOL CALL, and marker M2402 is set.
Only the tool number and the pocket number are transferred when TOOL DEF is programmed. A
TOOL DEF for a manual tool has no relevance in the PLC.
A fixed pocket can be defined in the field ' F' of the pocket table. Tools for which a fixed pocket is
defined are returned to the same pocket despite variable coding.
Marker
Function
Set
Reset
M2093
Another T code (P code) follows with TOOL CALL
NC
NC
0 =
Normal tool follows normal tool
(N
→
N)
or manual tool follows manual tool
(M
→
M)
or special tool follows special tool
(S
→
S) when M2601 = 0
1 =
special tool follows manual tool
(M
→
S)
or special tool follows special tool
(S
→
S), when M2601 = 1
or manual tool follows special tool
(S
→
M)
or manual tool follows normal tool
(N
→
M)
or normal tool follows manual tool
(M
→
N)
or normal tool follows special tool
(S
→