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 Post

cl_lathe
Participant

Fanuc Post

cl_lathe
Participant
Participant

I can't seem to get my post to show a (R) value when using the G5.1 Q1 R(value 1-10). I have set the 

useSmoothing: true// specifies if smoothing should be used or not.  That allows my post to use the G5.1 Q1 but, will not out put a R value. This is part of the program output. Not sure how to get it so post the R Value 1-10
 
%
O1005
(T3 D=25.349 CR=1.587 - BULLNOSE END MILL)
N10 G90 G94 G17 G49 G40 G80
N15 G21
N20 G28 G91 Z0.
N25 G90

(FACE2)
N30 T3 M06
N35 S4000 M03
N40 G54
N45 M11
N50 G00 B90.
N55 M10
N60 M08
N65 G5.1 Q1
N75 G00 X-4.271 Y16.477
N80 G43 Z97.79 H03
N85 G00 Z87.63
N90 G01 Z85.085 F2540.
N95 G19 G02 Y13.942 Z82.55 J-2.535
N100 G01 Y0.
N105 Y-85.09
N110 G17 G02 X-21.007 I-8.368
N115 G01 Y0.
N120 G19 G03 Y2.535 Z85.085 K2.535
N125 G00 Z97.79
N130 G17
N135 G28 G91 Z0.
N140 G90
 
0 Likes
Reply
Accepted solutions (1)
380 Views
2 Replies
Replies (2)

will_1
Alumni
Alumni
Accepted solution

Hi @cl_lathe ,

 

You will probably need to modify the post processor to achieve this.

 

You could change this line of code...

 

writeBlock(gFormat.format(5.1), mode ? "Q1" : "Q0");
 
...to...
 
writeBlock(gFormat.format(5.1), mode ? "Q1" : "Q0", "R1");
 
... or whatever R value you need.
 
If you want it to be adjustable you could also put the "R" value on a property.
 
Let me know if that helps at all.
 
Thanks,
Will Watkins
 
 
1 Like

cl_lathe
Participant
Participant

That worked. Looks like things are working good.

 

 

Thanks,

0 Likes