cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

PTC Creo Lathe turning with diameter g-code output

mperret
1-Newbie

PTC Creo Lathe turning with diameter g-code output

Hi Folks,

I am have an inconvenient issue using Creo Manufacturing to output lathe code to use on our Haas Lathe. Typically we keep our Haas TL1 lathe in diameter programming mode - this is the easiest to use with the conversational programming available on it. When outputting g-code from Creo, it is in radius programming. I have not been able to find a setting in Creo that would allow us to use diameters in place of radii.

The work-around that we use is changing the lathe parameters from diameter to radius (diam prog - 0). This works, but is inconvenient because it has to be switched back and forth depending on what type of code we want to run (conversational or CAM). If there was a way to fix it at the software level, that would be great.

Let me know if you have any idea.

Thanks.


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
3 REPLIES 3
KenFarley
21-Topaz I
(To:mperret)

Is there a way to change the mode in the g-code? I've not ever had the pleasure (?) of programming an NC lathe, but a quick search shows that "G190" is a common g-code to switch to radius mode, while "G191" switches to diameter mode. Thus, at the start of the program you switch into radius mode, then at the end of the program switch back to diameter mode. You'll just need to check into your particular controller to verify what the codes are, if it has them.

As for how to implement this, it might be possible with the post-processor configuration utility, or if not, you might have to do a little bit of FIL code editing.

I would open your NC post processor and change PLABEL 51 to diameter. It may be set to radius.

The setting Paul is talking about is not the right one.  You can change the post output to diameter on the Machine Tool Type -> Specs page where it says X - Axis Multiplier...

Capture.JPG

Fred

Top Tags