CAD CAM EDM DRO - Yahoo Group Archive

Re: Please check my code

Posted by doug98105
on 2004-09-19 12:34:41 UTC
--- In CAD_CAM_EDM_DRO@yahoogroups.com, "Brad Eyben" <abeyben@t...>
wrote:
> I'm having trouble with this circle. It should be a 1/8" dia
circle and the following code was generated by cam software.
> When I try to run it with on a AhHa PC control, I get an error
message saying....(Divide by zero error-100). I'm not very good at
I's and J's. Would somebody please let me know what's wrong with it.
>
> N100 G00 G17 G40 G49 G80 G90
> N104 X.5 Y.0625 F.12
> N110 G03 X.4375 Y0. I0. J-.0625
> N112 X.5 Y.0625 I.0625 J0.
> N174 G90 G54
> N176 G28
> %
> Thanks,
> Brad
>

Try this, assuming you intended center of circle to be at .4375,.0625


N100 G00 X0.5000 Y0.0625 Z0.0000
N101 G03 X0.3750 Y0.0625 I-0.0625 J0.0000
N102 X0.5000 Y0.0625 I0.0625 J0.0000

Discussion Thread

Brad Eyben 2004-09-19 11:39:27 UTC Please check my code doug98105 2004-09-19 12:34:41 UTC Re: Please check my code Brad Eyben 2004-09-19 13:56:11 UTC Re: [CAD_CAM_EDM_DRO] Re: Please check my code propllerhead 2004-09-19 14:17:10 UTC Re: Please check my code turbulatordude 2004-09-19 14:20:51 UTC Re: Please check my code Paul 2004-09-19 14:37:40 UTC Re: [CAD_CAM_EDM_DRO] Re: Please check my code alenou arakar 2004-09-19 17:34:37 UTC Re: [CAD_CAM_EDM_DRO] Re: Please check my code Brad Eyben 2004-09-20 09:33:06 UTC Re: [CAD_CAM_EDM_DRO] Re: Please check my code alenou arakar 2004-09-20 18:21:29 UTC Re: [CAD_CAM_EDM_DRO] Re: Please check my code