Additional tool change for Fanuc control.

Additional tool change for Fanuc control.

dmilichnikov
Participant Participant
740 Views
6 Replies
Message 1 of 7

Additional tool change for Fanuc control.

dmilichnikov
Participant
Participant

Hello! Hope you can help! My vertical CNC Mill giving me problem with tool changer. I need add line "T16 M06" before every tool change (using empty pocket). I have to type it by hand, which takes time. I'm using standard FANUC post.

How I add "T16 M06" to post?

Thank you!  

0 Likes
Accepted solutions (2)
741 Views
6 Replies
Replies (6)
Message 2 of 7

Jorge_Jaramillo
Collaborator
Collaborator

Hi,

Could you share a copy of an output file with comments where you want the line to be added?  Hopefully with more than one tool change on it.

And also the .CPS post processor file you are using. 

 

Maybe I can do it if I have some example.

 

Regards,

Jorge

 

0 Likes
Message 3 of 7

dmilichnikov
Participant
Participant

Thanks for working on that.

In my scenario on vertical milling machine double swing arm keep loosing one of the holders.

One side works perfect and other keep dropping holders on the table.

So one side need has to be empty.

Yes, I replaced arm and did adjustments)

Still got to use "T16 M06" 

The goal is for every tool change:

 

(2D CONTOUR1)
T16 M06(this line I'm typing, T16 empty pocket, same for every tool change)
N10 T11 M06
S4074 M03
G17 G90 G94
G56
M08
G00 X2.5635 Y-1.689
0 Likes
Message 4 of 7

Jorge_Jaramillo
Collaborator
Collaborator
Accepted solution

Hi,

 

Please find attached the new version of the .CPS post processor file.

In the post processor dialog you will see a new option where you can set the tool change prefix instruction:

Jorge_Jaramillo_0-1718199256367.png

 

You can set it to any value you want or leave it empty to not to add the prefix instruction.

 

Then in the NC file you will get :

Jorge_Jaramillo_1-1718199544303.png

 

1) a comment in the header of the file with the configuration received by the post processor, in case you want to debug it.

2) the prefix instruction in the line before the change tool instruction

 

Hope this is what you were looking for.

 

Regards,

Jorge Jaramillo

 

 

2) 

Message 5 of 7

dmilichnikov
Participant
Participant

Wow, great!

I'll check it right now.

0 Likes
Message 6 of 7

kandennti
Mentor
Mentor
Accepted solution

Hi @dmilichnikov -San.

 

I have made the modifications and am attaching them.

 

The left is before the change and the right is after the change.

1.png

 

I added this line in the cps file.

1.png

 

Also, in consideration of what we talked about, we changed the default state of the "Preload tool" so that it is unchecked.

1.png

Message 7 of 7

dmilichnikov
Participant
Participant

WORKS GREAT, THANK YOU!!!