Manual tool shange (postprocessor)

Manual tool shange (postprocessor)

Mark73_12
Participant Participant
803 Views
2 Replies
Message 1 of 3

Manual tool shange (postprocessor)

Mark73_12
Participant
Participant

Hi,

 
I would like your help regarding a change in the postprocessor for a SINUMERIK controller. I work on a machine without a tool changer. During the execution of a program that uses a number of tools, the tool can be replaced without resetting the program by using the M00 code (pausing the program), moving the machine to manual mode, replacing the tool, returning the machine to AUTO mode, and continuing the program with another tool Until the appearance of code M00 in another place in the program. In the settings of the tools you can add a check mark in the "manual tool change" box but for some reason after the activation of the postprocessor for SINUMRIK 802D  the code does not change.
 
I would like your help in editing in the postprocessor to allow me to replace a tool manually whenever a new tool appears in the program.
 
Additionally, it is not clear to me why after setting the T5 D1 tool, the postprocessor inserts the T10 line. A tool that is not used at this time.
0 Likes
804 Views
2 Replies
Replies (2)
Message 2 of 3

bob.schultz
Alumni
Alumni

A couple of small changes to the Siemens 802D post processor will get your desired output.

 

First change the preloadTool variable to false to disable the selection of the next tool.

 

preloadTool: false, // preloads next tool on tool change if any

Next, modify the following line to output an M0 for a manual tool change.

 

    writeBlock("T" + toolFormat.format(tool.number), dFormat.format(lengthOffset));
    writeBlock(mFormat.format(tool.manualToolChange ? 0 : 6));

or you can always output an M0 without having to check the Manual tool change box on the tool definition.

 

    writeBlock("T" + toolFormat.format(tool.number), dFormat.format(lengthOffset));
    writeBlock(mFormat.format(0));


Bob Schultz
Sr. Post Processor Developer

0 Likes
Message 3 of 3

Mark73_12
Participant
Participant
Thank you for your quick answer. I have some additional question. How change post processor to move tool in similar XYZ point for a convenient tool change.
0 Likes