Machsupport Forum

G-Code, CAD, and CAM => G-Code, CAD, and CAM discussions => Topic started by: Ruedi on April 25, 2013, 04:14:49 PM

Title: Inc Interpolation G91.1 not posible
Post by: Ruedi on April 25, 2013, 04:14:49 PM
Hello

I have try to run a simple programm on Mach3 with G3 and Incremetle I and J. Unfortunaly i have not find a way to use incrementle I and J interpolation.
I have also set the IJ Mode to Inc in General Config.
Can someone tel me wath im done wrong?

Code:

(<1: Programmanfang>)
%1(Kommentar:Anschlag Seite Tasche)
G17
G40
G50
G80
G90
G91.1
(<3: Werkzeug Flach 4>)
M9
T02 M6 (GUID:DD03DC72-ED4D-4566-8210-78C797258D9D)
M8
S20000 F1200 M3
(<4: Kontur 2>)
G0 X-50.367 Y5.449
G0 Z2
G0 Z0
G1 Z2 F800
G3 X-45 Y2 I5.367 J2.452 F1200
G1 X5 Y2
G3 X11.075 Y7.02 I0 J6.185
G0 Z2
(<5: Kontur 4>)
G0 X-50.367 Y5.449
G0 Z2
G0 Z1.5
G1 Z4 F800
G3 X-45 Y2 I5.367 J2.452 F1200
G1 X5 Y2
G3 X11.075 Y7.02 I0 J6.185
G0 Z2
(<6: Kontur 6>)
G0 X-50.367 Y5.449
G0 Z2
G0 Z3.5
G1 Z6 F800
G3 X-45 Y2 I5.367 J2.452 F1200
G1 X5 Y2
G3 X11.075 Y7.02 I0 J6.185
G0 Z2
(<7: Kontur 8>)
G0 X-50.367 Y5.449
G0 Z2
G0 Z5.5
G1 Z8 F800
G3 X-45 Y2 I5.367 J2.452 F1200
G1 X5 Y2
G3 X11.075 Y7.02 I0 J6.185
G0 Z2

Title: Re: Inc Interpolation G91.1 not posible
Post by: BR549 on April 25, 2013, 09:21:50 PM
If your code is not working then you did not apply the I J correctly. the proper code is entirely up to you as Mach3 cannot read your mind or write your code for you.

(;-) TP

 
Title: Re: Inc Interpolation G91.1 not posible
Post by: Ruedi on April 26, 2013, 02:27:53 AM
Hello

In the toolpath the red lines shows the way i would like to run the machine. But if i start the program, the green line shows something completely different.
Watch can be the reason for this difference?

(http://www.traxxas-tuning.ch/uploads/Interpolation.jpg)
Title: Re: Inc Interpolation G91.1 not posible
Post by: Graham Waterworth on April 26, 2013, 03:15:35 AM
Its hard to tell, but is that an arc in the ZX plane, if so then you need to use a G18 and then use I & K in the G03 line.

Graham
Title: Re: Inc Interpolation G91.1 not posible
Post by: Ruedi on April 26, 2013, 04:01:37 AM
No, my goal is to cut in YX plane with IJ and G17. I have try with G90.1 and G91.1 with the diffrent values for IJ. This is only a simple example. I have the problem with all G3 Codes. The only G3 i have successful cut is a exact half circular.
I can not find the reason for the big difference between the red lines, thad comes up wen i load the program and the green line, thad is painting while the program runs.

If i run the full program, i get a full green circular for each G3 command.

Most of the program all three axes are move in minus area.
Title: Re: Inc Interpolation G91.1 not posible
Post by: Ruedi on April 26, 2013, 05:24:04 AM
Hello

I have tried something:
The Problem i have explained is on a Win7 PC with CAD and CAM Software. The Mach3 is only for testing the cnc program, without any configuration or connection.
Now i have loade some of the program's, i have the problem's with explained on top, on a LapTop with WinXP and configured connection to a CNC maschine.

The program seams to work exactly?!?

Now i wonder what i must configure on the Mach3 installation, on the PC without a connection to a real CNC?

Thanks