There are some options in the configuration for arcs. Every control is different, and Mach can be configured to behave in a few different ways. For instance I use an Anilam control that uses absolute coordinates for the centerpoint if the endpoint is absolute, while the standard for Mach and some other controls is that center points are incremental offsets, even when you are in absolute mode. In fact I had to switch my backplot program to get a proper display for your code. Just like some controls can't do a full circle with one arc command, some are limited to 90° and some to 180° so you have to break the circle into multiple arcs.
Here is a sample with an incremental centerpoint arc.
N100 G20
N110 G53 G90 G40
N120 M06 T1 F20
N130 G00 Z2.500
N140 X1. Y1.
N150 Z0.500
N160 M03
N170 G04 P.5
N180 G01 Z0.100
N190 Y3.
N200 G2 X3.Y1.I0.J-2.
N210 G1 X1.
N220 M05
N230 G04 P1.
N240 G00 Z2.500
N250 X0.000 Y0.000
N260 M30
And here is one with absolute.
N100 G20
N110 G53 G90 G40
N120 M06 T1 F20
N130 G00 Z2.500
N140 X1. Y1.
N150 Z0.500
N160 M03
N170 G04 P.5
N180 G01 Z0.100
N190 Y3.
N200 G2 X3.Y1.I1.J1.
N210 G1 X1.
N220 M05
N230 G04 P1.
N240 G00 Z2.500
N250 X0.000 Y0.000
N260 M30
And finally here is an example where all the X Y moves are in incremental by switching the mode with a G91.
N100 G20
N110 G53 G90 G40
N120 M06 T1 F20
N130 G00 Z2.500
N140 X1. Y1.
N150 Z0.500
N160 M03
N170 G04 P.5
N180 G01 Z0.100
N190 G91
N200 Y2.
N210 G2 X2.Y-2.I0.J-2.
N220 G1 X-2.
N230 M05
N240 G90
N250 G04 P1.
N260 G00 Z2.500
N270 X0.000 Y0.000
N280 M30
Last edited by Rambozo; 10-09-2012 at 12:38 AM.
Long arc, short arc, heliarc and in-the-dark!