261
G-Code, CAD, and CAM discussions / BobCad/Cam setting incorrect measurement units in Gcode
« on: May 05, 2013, 07:30:58 PM »
I've been having grief all evening with scaling and Mach3 reporting moves exceeding soft limits.
After pulling my hair out for a while I found that Mach3 mysteriously changed to inches every time I loaded the G-code.
Using an online G-Code reference to find the "Units" codes and then checking the output from BobCad/Cam revealed the G20 inch command.
With G20 edited to G21 the code runs great.
Units are set to mm in both Settings - Part and Settings - Default in BobCad/Cam V25, it's using the Mach3 no ATC post and units are set to mm in Mach3
Have I missed something?
After pulling my hair out for a while I found that Mach3 mysteriously changed to inches every time I loaded the G-code.
Using an online G-Code reference to find the "Units" codes and then checking the output from BobCad/Cam revealed the G20 inch command.
With G20 edited to G21 the code runs great.
Units are set to mm in both Settings - Part and Settings - Default in BobCad/Cam V25, it's using the Mach3 no ATC post and units are set to mm in Mach3
Have I missed something?