HEIDENHAIN TNC 335 Technical Manual User Manual

Page 295

Advertising
background image


4-198

TNC 360

15 Tool Changer

8/95

Example of NC program:

.
.
.
TOOL CALL 1 Z S500
TOOL DEF 2
L Z+20 R0 F500 M03
.
.
.
TOOL CALL 2 Z S1000
TOOL DEF 3
.
.
.

Variable and Fixed Pocket Coding

The system can be operated with either variable or fixed tool pocket coding.

Machine parameter MP7480 defines whether the tool number or the pocket number is transferred
to the PLC. For variable pocket coding the pocket number must be transferred to the PLC (MP7480
= 3). With fixed pocket coding it is advisable to work with the tool number (MP7480 = 1 or 2).

When executing a TOOL CALL or TOOL DEF block, depending on the setting of MP7480, the NC
transfers either only the tool number or the tool number and the pocket number of the programmed
tool to the Word W262 or W262 and W264, respectively. The strobe marker M2046 (TOOL CALL)
or M2047 (TOOL DEF) is set. The NC does not reset these strobe markers until the PLC sets marker
M2483 (TOOL CALL) or M2484 (TOOL DEF) after processing the tool or pocket number. The
machining program is resumed when strobe markers M2046/M2047 are reset.

If tool number 0 is executed, then NC sets marker M2400 and this is not reset until there is a TOOL
CALL for another tool.

MP7480.0

Output tool or pocket number with TOOL CALL block
Input range: 0 to 3

0 =

No output

1 =

Tool number output only when tool number changes (W262)

2 =

Tool number output with every TOOL CALL block (W262)

3 =

Output of pocket number (W262) and tool number (W264) only when tool
number changes

Reading and writing to the tool file

If the PLC enters the tool number in Word W512, the associated pocket number is stored in W264
through strobe marker M2715. If the PLC enters the tool number in W512 and the pocket number in
W514, the strobe marker M2714 of the T code and P code is transferred to the NC.

Advertising