Working in NX12 and posting code for Fanuc controlled machines, I have G5.1 Q1 R1 that posts out in my code for all (rough and finish) operations. I want my finish operations to have a higher "R" value. "Where:-Rxx provides the user with the option of selecting from 10 fixed settings (R1 -R10) which contrast Tool Path Speed (feedrate) with Positioning Accuracy." Where do I change the "R" value output? In Post Bulider? I would prefer not. I am hoping it is within Editing a Toolpath operation or Method. Any help is great. Thanks in advance!
G05.1 Q1 R1 - Toolpath Speed has priority over Positioning Accuracy
G05.1 Q1 R2
G05.1 Q1 R3
G05.1 Q1 R4
G05.1 Q1 R5 - Tool Path Speed and Positioning Accuracy have Equal Priority
G05.1 Q1 R6
G05.1 Q1 R7
G05.1 Q1 R8
G05.1 Q1 R9
G05.1 Q1 R10 - Positioning Accuracy has priority over Tool Path Speed
It depends how is your postprocessor made, that value could be hardcoded or controled by anything
So take a look into postprocessor otherwise you can only guess
If you want to do it inside an operation you can force the code into your NC file by using an Insert event in the operation's Machine Control to add simple text such as the codes you mentioned. However, in my opinion, gkoenig's suggestion is better since it could be a fully automated solution to insert any of your codes. Another method is to add custom UDE's but that will require post editing as well. In the image below you can see some non-standard UDE's I added to trigger modes for our Niigata, Mori and Haas machines.
For the simple way inside the operation if you don't want to customize a bunch of files...if you look at the Event's Used section it shows an Insert event