1604 HEIDENHAIN Technical Manual iTNC 530 HSCI
With the TOOL DEF block you can pre-position the tool changer:
After a tool has been changed, program the next tool with TOOL DEF.
Evaluate the tool and pocket number and pre-position the tool changer to
the follow-up tool via a PLC positioning.
In MP7682 bit 6 you specify the behavior of the control when a TOOL DEF
strobe is current.
Bit 6 = 1: The control always waits for an acknowledgment of the TOOL DEF
strobe by the PLC before continuing with the NC program.
Bit 6 = 0: Continuation of the NC program depends on the NC program. If the
TOOL DEF is within a contiguous contour, then an acknowledgment of the TOOL
DEF strobe is not waited for. Depending on the type of tool changer, this
behavior can lead to problems:
Example:
TOOL DEF commands are used by machines with tool magazines to prepare
tools. Until now, the machining program was interrupted upon a TOOL DEF
command for a tool that was not available. If MP7682 bit 13 is set, then when
a preparatory TOOL CALL (TOOL DEF block) is output, machining is not even
interrupted if the programmed tool is invalid. The following error message are
then shown only as warnings, but the machining program continues running
(no T2 strobe is sent to the PLC upon TOOL DEF):
Tool definition is missing
Tool life expired
Tool locked
Tool not defined
Tool radius too large
MP7682 Machine parameter with multiple function
Input: Bit 6 – Behavior with TOOL DEF strobe
0: Depending on the NC program, the TOOL DEF strobe must
be acknowledged by the PLC (TOOLDEF within a contiguous
contour)
1: TOOL DEF strobe must always be acknowledged by the PLC
Bit 13 – No program interruption upon invalid TOOL DEF
0: Error message and NC stop upon invalid TOOL DEF
1: Only warning upon invalid TOOL DEF
NC program Description
... L IX+50 F500
... TOOL DEF 1
... L IX+50 F500
The TOOL DEF block is within a
contiguous contour. The
acknowledgment of the strobe is not
waited for.
...
... TOOL DEF 1
... L IX+50 F500
The TOOL DEF block is not within a
contiguous contour. The
acknowledgment of the strobe is
waited for.