Hello Guest it is May 22, 2019, 05:44:59 PM

Author Topic: XZ plane arc bug ?  (Read 3860 times)

0 Members and 1 Guest are viewing this topic.

XZ plane arc bug ?
« on: February 07, 2007, 04:11:35 PM »
Hello I started a topic with a similar name in lazycam, one day ago, but I think that the problem is not lazycam, but mach3.

If this is a bug, it is a big one. I hope I am doing nothing wrong because I am not a long time user.

I attached a very small Gcode (around ten lines). This code works very well if a user uses the XY plane. I am using the XZ plane, and the gcode is allready prepared for that, so if anyone wants to test is, nothing is needed to change in the config of the machine, you only need to load the code.

The problem is the directions of the arcs. G2 and G3 codes are not being interpreted correctly by mach3. Some arcs are being done CW when they should be the way around. This can be seen in the toolpath window.

As can be seen on the picture that I send, some arcs are OK, others do not. For an example, if you check the gcode line that appears on the window of the code (N70) it refers to a G2 code. What we can see on the toolpath is a G3 code!

Filipe
Re: XZ plane arc bug ?
« Reply #1 on: February 07, 2007, 06:05:13 PM »
What Rev are you running?
Fixing problems one post at a time ;)

www.newfangledsolutions.com
www.machsupport.com
Re: XZ plane arc bug ?
« Reply #2 on: February 08, 2007, 02:12:26 AM »
044. It was the latetest two days ago.

Thanks
Re: XZ plane arc bug ?
« Reply #3 on: February 09, 2007, 02:50:20 PM »
As can be seen in the picture the toolpath done by the machine is also diferent from the toolpath presented by mach3.

If you can follow the picture from left to right, we can see:

first line ok, second line also good - Direction of the axis are correct. Then the arc. It starts in the right position but it does not go as the gcode or as the toolpath. The first arc should no be like this. The second arc, is like the gcode but different of the toolpath. So this arc is as the user would like. Then I stoped the machine and the straight line is not from the gcode. All the start and end position are correct.



Filipe

Offline Chip

*
  • *
  •  2,057 2,057
  • Gainesville Florida USA
    • View Profile
Re: XZ plane arc bug ?
« Reply #4 on: February 09, 2007, 03:14:21 PM »
Hi, Filipe

Copy and past this G-code, It dosnt display properly, but looks like it cuts OK

As Art stated there are some display problems, just changed your G2,3s around below.

N5 (File arcos )
N10 (Default Mill Post)
N15 (File Posted in Mill Mode)
N20 (TuesdaZ, FebruarZ 06, 2007)
N25 G90 G80 G40 G18
N35 G0 X0.0000  Z0.1920
N45 M3
N50 G1
N55  X70.0000  Z20.1920   
N60  X100.0000  Z0.1920   
N65 G2  X170.0000  Z60.1920  I5.0000  K65.0000
N70 G3  X260.0000  Z70.1920  I45.2941  K2.3529
N75 G2  X330.0000  Z70.1920  I35.0000  K1.6667
N80 G3  X430.0000  Z200.1920  I201.6667  K-51.6667
N85 G1  X470.0000  Z290.1920   
N90 G0  Y0.0000
N95 M5 M9
N100 G40 G80
M30

Hope this Helps, Chip
Re: XZ plane arc bug ?
« Reply #5 on: February 09, 2007, 04:37:04 PM »
So whats that you're cutting? Polystyrene?
Why not just change the axis names around? as you're only cutting 2D (pretend the machine is on its side)
Re: XZ plane arc bug ?
« Reply #6 on: February 09, 2007, 07:03:56 PM »
Chip: The code does not display or cut ok (my code). Your code, I will check out tomorrow.

La_coterie: The machine have 3 axis, that cuts a block of polystyrene and wood. The XY plane does a kind of cut with one tool, the XZ plane uses other tool (hot wire). The X axis is always moving.