News:

All posts discussing pricing or where to buy TurboCAD will be deleted.

Main Menu

TCC lathe giving double X value

Started by Toolmaker, December 14, 2011, 07:10:38 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Toolmaker

I have Turbocam V. 2.5 and I have been trying the Lathe G-Code generator.  The problem I have is that the X value in the G code is double what it should be.  I check the points in the X-Z checker and they are correct.

Is there some setting to stop this?  How can I get good lathe G-Code?

Thanks

wd

can you post a copy of the G code in txt. format or copy it and paste in forum thread and the version of Tc your using?Maybe someone can give a better answer.
Even a mistake may turn out to be the one thing necessary to a worthwhile achievement Henry Ford
If I have ever made any valuable discoveries it has been owing more to patient attention than to any other talent Isaac Newton
I have not failed Ive just found 10,000 ways that won't work Thomas Edison

Toolmaker

I am using TC v. 10.1.  This came with the CAM program when I purchased it.

Toolmaker


Toolmaker

#4
I tried pasting the TC file into this message but it didn't work.

How do you attach files here?

I figured it out.  Attached is the file.

wd

#5
Click on Additional Options under neath the message box.


EDIT:If your filepath is correct there should be a copy in of Gcode in the g-code programs folder in Tc cad program folder
Even a mistake may turn out to be the one thing necessary to a worthwhile achievement Henry Ford
If I have ever made any valuable discoveries it has been owing more to patient attention than to any other talent Isaac Newton
I have not failed Ive just found 10,000 ways that won't work Thomas Edison

Kenneth Martin

Quote from: Toolmaker on December 14, 2011, 07:10:38 AM
I have Turbocam V. 2.5 and I have been trying the Lathe G-Code generator.  The problem I have is that the X value in the G code is double what it should be.  I check the points in the X-Z checker and they are correct.

Is there some setting to stop this?  How can I get good lathe G-Code?

Thanks

Does this always happen or is this your first attempt? If the value is exactly double, then I think you may have something setup incorrectly in your machine setup. I am not familiar with the lathe portion of the CNC module, but I will look into it to see if I can be of help.
TurboCAD user since v3
TurboCAD on flickr || My twitter ||

Toolmaker

#7
It always happens.  I have tried a number of lathe functions and it occurs all the time.  The Z axis is good.

I have used the TCC mill functions and they work good.

Attached is a G code file.

Kenneth Martin

are the X values in the file double or is your machine controller multiplying the input it is recieving?
TurboCAD user since v3
TurboCAD on flickr || My twitter ||

Toolmaker

The X values in the G-code written by the TCC program is double what it should be.

It's as if it were printing the diameter rather than the radius.

Kenneth Martin

you know , I came across a post at cnczone.com from someone having the exact same problem, but there had not been a solution posted.
TurboCAD user since v3
TurboCAD on flickr || My twitter ||

Toolmaker

I looked on the CNCzone and couldn't find an answer. 
I thought I had found the answer.  In the machine setup you can set the Y reference point to the edge of the part.

I did that and the G-code looked better it was referencing everything to the edge of the part.

The step in was set to .03 per step.  I even checked the cutter path step down on the screen and it was .03.  I didn't check the step down in the G code.  It stepped down .087 per path and when I ran it, it cut right through the side of the wooden bowel.

Everything looks fine on the simulation but the G-code is not coming out correctly.
After I cut it I checked the G-Code and it was .087 step.


industrial designer

toolmaker
i'm not the cnc person in our outfit but i do know there is
an emergency stop switch on the cnc table to prevent that kind of thing
sorry about your bowl
i'd fix that problem and test with scrap material before starting in again
happy holidays
Turbocad Designer 22 & 25

Kenneth Martin

Quote from: wd on December 14, 2011, 09:31:16 AM
Click on Additional Options under neath the message box.


EDIT:If your filepath is correct there should be a copy in of Gcode in the g-code programs folder in Tc cad program folder

WD, have you run into a situation like this before? Do you think you could post your lathe post processor so it could be compared to what toolmaker is using?
TurboCAD user since v3
TurboCAD on flickr || My twitter ||

Kenneth Martin

toolmaker, are you using Mach3 controller? If so it would have been supplied with LazyCAM. You may could try that & see what you get
TurboCAD user since v3
TurboCAD on flickr || My twitter ||

Toolmaker

The controler program I am using is MAXNC.  I don't have a program to check the g-code before I run it.

I have been playing with the TCC program all day and it still gives me double the X number from what it should be.

I have been changing the reference points for the drawing and the cnc.

NO LUCK.

industrial designer

toolmaker
KCAM & Mach3 both have a trial version
don't know how much time it would take
to get to same point where you're at
with KCAM & Mach3
see if problem is between Turbocad CAM & MaxNC
Happy Holidays
Turbocad Designer 22 & 25

Kenneth Martin

#17
Quote from: Toolmaker on December 20, 2011, 03:59:49 PM
The controler program I am using is MAXNC.  I don't have a program to check the g-code before I run it.

I have been playing with the TCC program all day and it still gives me double the X number from what it should be.

I have been changing the reference points for the drawing and the cnc.

NO LUCK.

Here is a trial of a really good simulator, CutViewer, from GRZ Software, the makers of MeshCAM
http://www.grzsoftware.com/cutviewer.php

Another, http://www.cncsimulator.com/
TurboCAD user since v3
TurboCAD on flickr || My twitter ||

kflan

On all the CNC lathes I have set up the X is in Dia.

industrial designer

can you attache Turbocad .TCW drawing please?
what 10.1 version turbocad product are you using
Designer, Deluxe or Pro?
happy holidays
Turbocad Designer 22 & 25

Toolmaker

I have never programmed a CNC lathe before.  I need to look at this again perhaps the G-code output is correct if it is the diameter of the part.

The controller I am using is for a CNC milling machine.  I was running it on the X and Z axis.

The controller on a CNC lathe could be looking for a Diameter on the X.

Thanks for the other information on the G-code readers.

Toolmaker

I cut my first program from TCC that worked.  I changed the setup on the X axis of the MAXNC controller so that it steps half of the G-code output. 

It worked!

The problem was with my MaxNC controller not the TCC G-code.

Attached is a picture of the sample I just cut.

Thanks everyone for your Help.

Kenneth Martin

TurboCAD user since v3
TurboCAD on flickr || My twitter ||