1 Attachment(s)
Weird results with G-Code
I'm having trouble with Mach3 and G-Code.
The computer I use for design has Mach3 installed on it and the results from this code shows just fine.
But when I load it on the PC that is actually connected to the CNC, one circle is HUGE!
its line 57 on the attached G-Code file: I had to rename the file extension to .txt so it will post here
G2 X74.3 Y34.353 I-26.675 J9.747
Units are in MM
that gcode line is supposed to make a 2in circle (50.8mm)
But on the CNC pc it tried to draw like a 2-foot circle!
Is there a setting I may have differently between the two?
2 Attachment(s)
Re: Weird results with G-Code
If it was a unit problem, would they all be big? its just the one circle thats larger.
ok so it appears to be a problem with Mach3 settings.
I reloaded Mach3 and poof, the gcode appears perfectly in the display window.
But then if I load the modified XML file that came with the BOB card... that one circle is gigantic.
So it definitely has to be a setting in Mach3
I attached the two XML files... I had to rename the file extensions from XML to TXT to attach in the post
Im not sure what the difference is causing the problem
Re: Weird results with G-Code
Hi,
Mach3 is natively in Incremental Arc mode whereas a lot of CAM programs generate code in Absolute Arc mode.
Everything looks great until you load it on the machine and what should be a small arc turns out to be many inches or even feet round.
Make sure Machs Arc mode matches the code your feeding it.
Craig
Re: Weird results with G-Code
Can you elaborate on the arc mode?
Where is the setting for it in Mach3?
Re: Weird results with G-Code
AHA!
Basically did a settings wardial, its the IJ Mode in General Config
Need to be on Incremental, not Absolute
Prob solved yay
Thanks guys!