Optional manual tool changes for oversized tool?

PatrickPowers-CGS
Advocate

Optional manual tool changes for oversized tool?

PatrickPowers-CGS
Advocate
Advocate

I see that there is the option to mark a tool for manual tool change in the tool library. However the Fanuc posts that I am using do not utilize this parameter.   

 

I need to first return the previously used tool. Then stop so the oversized tool can be manually loaded. 

 

Then when finished using the tool I need the machine to turn off the spindle, retract, and stop so the tool can be removed rather than allowing the machine to try and load it back into the tool bank.  

 

 

 I'm not a java wiz but I have made many successful edits to my post mostly by trial and error.  Any suggestions would be greatly appreciated.

 

 

0 Likes
Reply
Accepted solutions (1)
527 Views
3 Replies
Replies (3)

boopathi.sivakumar
Autodesk
Autodesk
Accepted solution

Hi @PatrickPowers-CGS 

Yes milling post are not enabled with the manual toolchange option. But the post can be easily customized to preform the manual tool change functionality

If it a fanuc post modify the post and look for this line

    if (!isFirstSection() && properties.optionalStop && insertToolCall) {
      onCommand(COMMAND_OPTIONAL_STOP);
    }

and modify it like below

    var manualToolChange = !isFirstSection() && getPreviousSection().getTool().manualToolChange;
    if (!isFirstSection() && (properties.optionalStop && insertToolCall) || (insertToolCall && manualToolChange)) {
      onCommand(COMMAND_OPTIONAL_STOP);
    }

Also look for this line

    if (tool.comment) {
      writeComment(tool.comment);
    }
    var showToolZMin = false;

Add this codes as mentioned

    if (tool.comment) {
      writeComment(tool.comment);
    }
    if (tool.manualToolChange) {
      skipBlock = !insertToolCall;
      onCommand(COMMAND_OPTIONAL_STOP);
    }
    var showToolZMin = false;

Save and test the post it should now work as expected

 


Boopathi Sivakumar
Senior Technology Consultant

PatrickPowers-CGS
Advocate
Advocate

That wasn't 100%. But  I think close enough that I think I can figure it out from here. 

 

 

I'll post my changes when I'm finished for anyone else who wants to add this.

 

Thanks!

0 Likes

mitch_kavney
Participant
Participant

This is exactly what Im looking to do for my siemens. What would be the difference?

0 Likes