Announcements
Autodesk Community will be read-only between April 26 and April 27 as we complete essential maintenance. We will remove this banner once completed. Thanks for your understanding

Fanuc Turning PP Tool output

larnaf
Explorer

Fanuc Turning PP Tool output

larnaf
Explorer
Explorer

Hello, I have tried searching with no success.  I have a Hyundai HIT-160 with Fanuc 21-T control, using the stock Fanuc turning post processor i get an error stating invalid g-code, the issue is it outputs T0101 instead of T101 , i can edit it VScode but id rather not do that everytime.. how do ii edit the post processor to fix this issue? also how can i add the starting tool (T101) to the end of the program before M30 ?

 

Thanks In advance 

0 Likes
Reply
138 Views
3 Replies
Replies (3)

a.laasW8M6T
Mentor
Mentor

Hi

 

To Drop the leading zero

Find the  toolFormat and change the width from 4 to 3

var toolFormat = createFormat({decimals:0, width:3, zeropad:true});

 

Will the T101  always be the tool added to the end of the program? or do you want it to be the first tool in each specific program that gets added to the end

0 Likes

larnaf
Explorer
Explorer

Thank you for that info

Yes, T101 will always be the tool to go back to at the end of the program.

0 Likes

a.laasW8M6T
Mentor
Mentor

OK

 

See attached post processor, it should do what you want

 

0 Likes