Hello Guest it is October 01, 2020, 07:37:20 PM

Author Topic: New Cutter Comp code and Examples  (Read 25714 times)

0 Members and 1 Guest are viewing this topic.

Offline vlmarshall

*
  •  23 23
  • G28 G91 X0 Y0
    • View Profile
Re: New Cutter Comp code and Examples
« Reply #40 on: December 25, 2008, 11:50:17 AM »
Hahaha, thank you!

Yes, I just shut my machine off, wife is dragging me out the door...but wait, I MUST download the new version first...  ;D
Re: New Cutter Comp code and Examples
« Reply #41 on: December 25, 2008, 01:20:20 PM »
My wife asked me "You really think anyone is going to be on today" . I told her that it was a die hard group and that there where guys all over the world that where going to get get in trouble with this release LOL... I see the first as fallen LOL Thanks for taking one for the team  ;D
Fixing problems one post at a time ;)

www.newfangledsolutions.com
www.machsupport.com

Offline Chip

*
  • *
  •  2,055 2,055
  • Gainesville Florida USA
    • View Profile
Re: New Cutter Comp code and Examples
« Reply #42 on: December 25, 2008, 03:39:51 PM »
HO HO HO,

Is this "Let The Games Begin", Good, Needed a De-Version, Look Honey, A new version of Mach3 for X-Mass's.

Thanks, Chip
Re: New Cutter Comp code and Examples
« Reply #43 on: December 25, 2008, 09:22:14 PM »
So how soon before we get pics of parts that have been cut LOL ;)
O cut some parts on the router that I have here with this version... And my wife was happy! (I just cut what she asks for and I can do it any time I like!! )

Thanks
Brian
Fixing problems one post at a time ;)

www.newfangledsolutions.com
www.machsupport.com

Offline simpson36

*
  •  1,371 1,371
    • View Profile
Re: New Cutter Comp code and Examples
« Reply #44 on: December 28, 2008, 08:33:02 AM »
G92 for the A axis is broken in the .43 development version.


Works fine in the lockdown version.

In .43, if you step thru one line at a time and it works OK, but run the code and the A axis does really strange things.

Gcode attached. (ignore note on depth of cut . . partial edit left over from earlier iteration)

Problem in at first G92 A0 when the program is RUN.
« Last Edit: December 28, 2008, 08:37:03 AM by simpson36 »
Re: New Cutter Comp code and Examples
« Reply #45 on: December 28, 2008, 09:34:24 AM »
I know where the problem came in and will look at it next week. It has to do with how the Current position is being calculated... I moved some of that stuff about for Comp.

Thanks
Brian
Fixing problems one post at a time ;)

www.newfangledsolutions.com
www.machsupport.com

Offline ger21

*
  • *
  •  6,285 6,285
    • View Profile
    • The CNC Woodworker
Found a bug??
« Reply #46 on: February 12, 2009, 06:57:08 PM »
Can someone confirm this?

If I run this code to cut a hole, it works fine.

G40
G20
M3
G0 Z0.1250
G0 X0.2500 Y0.3750 Z0.1250
G41P0.125
G1 X0.3750 Y0.6250 Z0.0000 F30
G3 X0.0000 Y1.0000 Z0.0000 I-0.3750 J0.0000 F30
G3 X0.0000 Y1.0000 Z-0.2500 I0.0000 J-1.0000
G3 X0.0000 Y1.0000 Z-0.2500 I0.0000 J-1.0000
G0 X0.0000 Y1.0000 Z0.1250
G40
G0 X0 Y0
M5
M30

But when I add a second hole, the first one no longer cuts correctly, even though the code is identical. But the second one cuts OK.

G40
G20
M3
G0 Z0.1250
G0 X0.2500 Y0.3750 Z0.1250
G41P0.125
G1 X0.3750 Y0.6250 Z0.0000 F30
G3 X0.0000 Y1.0000 Z0.0000 I-0.3750 J0.0000 F30
G3 X0.0000 Y1.0000 Z-0.2500 I0.0000 J-1.0000
G3 X0.0000 Y1.0000 Z-0.2500 I0.0000 J-1.0000
G0 X0.0000 Y1.0000 Z0.1250
G40
G0 X2.2500 Y2.3750 Z0.1250
G41P0.125
G1 X2.3750 Y2.6250 Z0.0000 F30
G3 X2.0000 Y3.0000 Z0.0000 I-0.3750 J0.0000 F30
G3 X2.0000 Y3.0000 Z-0.2500 I0.0000 J-1.0000
G3 X2.0000 Y3.0000 Z-0.2500 I0.0000 J-1.0000
G0 X2.0000 Y3.0000 Z0.1250
G40
G0 X0 Y0
M5
M30



Edit:

I've found that adding a short G1 move after the G40 gets rid of the error.


Gerry
« Last Edit: February 12, 2009, 10:08:45 PM by ger21 »
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html