Machsupport Forum

G-Code, CAD, and CAM => G-Code, CAD, and CAM discussions => Topic started by: manoharan on February 07, 2017, 04:27:31 PM

Title: Help in Writing G code for a project in Waterloo Ontario
Post by: manoharan on February 07, 2017, 04:27:31 PM
We need some help in writing simple G code  in converting a milling machine to run x axis and C axis. Rotary table mounted on XY plane. 1/8 Holes to be drilled on the surface of the cylinder at fixed degrees full 360 degrees. This pattern is repeated to the full height of the cylinder. Holes are drilled  with a right angle drill head mounted to the vertical spindle
Title: Re: Help in Writing G code for a project in Waterloo Ontario
Post by: garyhlucas on February 07, 2017, 09:56:02 PM
I believe you can get this done easily by laying out a rectangular pattern the size of the surface of the cylinder.  Then get a copy of a program called wrapper that maps the Y axis to the C axis.  If you aren't using a CAM program you really ought to. I did a lot of manual G-code programming in the past at my job. I don't bother anymore because I use CamBam a $150 program that does the job much faster and better.  I usually single step a new program and if it goes where I expect in the first few lines I'm cutting material.