View Full Version : Changing radius from "R" to "L" values


russell67
01-18-2006, 12:03 PM
I am trying to edit a post to replace all the "R" radius values to be an "L". I have found the area in the post processor file that i can change the output format but cannot change the letter. (See current and needed). What am i missing? This is for an Okuma Lathe. Thanks


#Arc switches
arcoutput : 1 #0 = IJK, 1 = R no sign, 2 = R signed neg. over 180
arctype : 2 #Arc center 1=abs, 2=St-Ctr, 3=Ctr-St, 4=unsigned inc.
do_full_arc : 0 #Allow full circle output? 0=no, 1=yes
helix_arc : 0 #Support helix arc output, 0=no, 1=all planes, 2=XY plane only


Current Post:

N108 G95 G3 X19.1198 Z10.9961 R.13 F.01
N110 X18.442 Z10.86 R.49


Needed Post:
N108 G95 G3 X19.1198 Z10.9961 L.13 F.01
N110 X18.442 Z10.86 L.49

WayneHill
01-18-2006, 12:19 PM
Those are the G02/G03 setup statments. You need to keep digging through your post for the output section for G02/G03 statments.

What CAM system are you using?

russell67
01-18-2006, 03:02 PM
Mastercam v9.1

Found this section and replaced the values from "R" to "L" seems to do as needed. Have not done a larger profile or multiple finish cuts to see if this works throughout.


# --------------------------------------------------------------------------
#String and string selector definitions for NC output
# --------------------------------------------------------------------------
srad "L"
srminus "L-"
slrad "L"
slminus "L-"