Reversed arcs ?

While UCCNC does not currently have a TURN Modual Here is the place to discuss your wants and wishes for TURN

Reversed arcs ?

Postby RWC » Tue May 07, 2019 12:45 pm

Hi folks.
Experimenting with a lathe set-up.
Simple file created my Mach3 wizard attached.
Loads and looks great in Mach3, but the same file loaded in UCCNC has the arcs reversed.

I edited the code and swapped the G3's with G2 and get an undercut / oversize radius.
How can I make this work ? or, can I ?

Thanks :)
Russ
Attachments
G2 G3 swap.jpg
G2 G3 swap
UCCNCTurn.jpg
UCCNCTurn
Mach3Turn.jpg
Mach3Turn
Mach3Turn.jpg (18.17 KiB) Viewed 13857 times
TurnSample.tap
TurnSample
(348 Bytes) Downloaded 913 times
RWC
 

Re: Reversed arcs ?

Postby cncdrive » Tue May 07, 2019 12:58 pm

I'm not sure about the G2/G3 correct direction, will have to look it up, but the arc is oversized because the center point is on a different location than in mach3.
mach3 has the options to absolute and incremental IJK mode (selectable in config). The UCCNC has incremental IJK mode only, because that is the standard.
So, you likely have mach3 set to absolute IJK mode while the UCCNC interprets the IJK as incremental and so the arc center point is on different locations in the 2 softwares.
cncdrive
Site Admin
 
Posts: 4695
Joined: Tue Aug 12, 2014 11:17 pm

Re: Reversed arcs ?

Postby Vmax549 » Tue May 07, 2019 2:31 pm

Mach3 also has a reverse arc function. Was it being used ??

Just a thought, (;-) TP
Vmax549
 
Posts: 331
Joined: Sun Nov 22, 2015 3:25 am
Location: USA

Re: Reversed arcs ?

Postby RWC » Tue May 07, 2019 9:24 pm

rev checked or not , M3 wiz produces identical code (2 G3's), just flips the graphics.
RWC
 

Re: Reversed arcs ?

Postby ger21 » Tue May 07, 2019 10:44 pm

But is Mach3 using absolute IJK?
Gerry
UCCNC 2022 Screenset - http://www.thecncwoodworker.com/2022.html
ger21
 
Posts: 2663
Joined: Sat Sep 03, 2016 2:17 am

Re: Reversed arcs ?

Postby Vmax549 » Tue May 07, 2019 11:46 pm

When I load teh code you provided it lloks exactly teh same in Mach3 or UCCNC. It is like teh top example of teh images UCCNC version.

Looking at teh code it appears to be misdrawn as teh arc is wrong for teh space used.

Please post a complete code that show it correct in Mach3.

(;-) TP
Vmax549
 
Posts: 331
Joined: Sun Nov 22, 2015 3:25 am
Location: USA

Re: Reversed arcs ?

Postby cncdrive » Wed May 08, 2019 10:31 am

I have just checked the same and the g-code loads the same in the UCCNC and in Mach3. I mean the toolpath is exactly the same.
The issue seems to be with mach3 turn, with that those arcs load with reverse direction. I have no idea why...
cncdrive
Site Admin
 
Posts: 4695
Joined: Tue Aug 12, 2014 11:17 pm


Return to UCCNC TURN (CNC Lathe)

Who is online

Users browsing this forum: No registered users and 1 guest