Machsupport Forum
Mach Discussion => FAQs => Topic started by: dougrundell on May 04, 2015, 02:19:36 PM
-
I'm having a problem with the G03 command. Straight line moves In X, Y or Z are to scale but when I try a G03, the scale seems to grow. I simplified the code to produce a circle but I still get a much bigger circle and with the wrong center.
Here is the code:
N010 G17 G20 G40 G50 90
N020 G01 X0 Y0 Z.1 F5
N040 G01 Z-.0
N050 G01 X.5
N060 G03 X.5 Y0 I-.5 J0
N080 G01 X0
N120 G01 X0 Y0 Z1
This produces a circle with a diameter of about2", with the center at about X-.5 Y0.
Anybody have any ideas what could be wrong?
-
Your IJ mode.
90.1 will produce the larger dia., 91.1 the smaller.
-
Thanks, Overloaded, the G91.1 did the trick but the G90.1 producer the same circle as I had before. Very interesting. Never had to use G90.1/91.1 with EMC2.
-
Possibly the 90 in the first line as opposed to G90
Just a thought.
Wes
I'm having a problem with the G03 command. Straight line moves In X, Y or Z are to scale but when I try a G03, the scale seems to grow. I simplified the code to produce a circle but I still get a much bigger circle and with the wrong center.
Here is the code:
N010 G17 G20 G40 G50 90
N020 G01 X0 Y0 Z.1 F5
N040 G01 Z-.0
N050 G01 X.5
N060 G03 X.5 Y0 I-.5 J0
N080 G01 X0
N120 G01 X0 Y0 Z1
This produces a circle with a diameter of about2", with the center at about X-.5 Y0.
Anybody have any ideas what could be wrong?
-
I need new eyes.
-
G90.1/G91.1 are Mach3 specific codes.
If you set your IJ mode to incremental in general config, then you don't need to use them.
If you do use them, put them on their own line. If you put them on the same line as a G90/G91, they may not work correctly.