Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: robjeffking on September 26, 2013, 07:04:52 PM

Title: Importing gcode changes format
Post by: robjeffking on September 26, 2013, 07:04:52 PM
Im running all week making a owl project suddenly today all the previous code that ran fine yesterday is bad.  Im using VCP and Cut3d.  Zero the machine all manual jogging reflects the correct movement in scale everythings ok.  Load up some new gcode from VCP and the numbers in mach 3 DRO jump to 300 moving the axis manually the 300 numbers stay in that scale feedrates jump to 2000. (Im thinking Im losing steps) I load up some old gcode from last summer and the numbers and DRO's jump back to normal single and double digital numbers.  The machine cant be losing steps.  Ive restarted rebooted everything removed replaced good mach3 config file.  Thinking of reinstalling VCP and Mach 3 What is causing this software glitch?
Title: Re: Importing gcode changes format
Post by: BR549 on September 26, 2013, 07:50:38 PM
Sounds like the CODE was switched from G20 to G21 Inch to metric in the new code.  IF OLD code works fine then I would look at the CAM.

(;-) TP
Title: Re: Importing gcode changes format
Post by: robjeffking on September 26, 2013, 08:55:15 PM
Is there a way to check the g20/g21 code? So something in vcp with an imported cut3d file imbedded in the vcp gcode is changing to metric in mach 3? Maybe my Cut3d file that is imported into VCP got switched to mm causing VCP to be switching itself into mm as well?  Attached is my xml file.
Title: Re: Importing gcode changes format
Post by: robjeffking on September 26, 2013, 10:21:37 PM
Fixed I feel so dumb somehow  then toolpath output switched to Maxh 3 arcs to mm instead of inches