Author Topic: Help in Writing G code for a project in Waterloo Ontario  (Read 992 times)

0 Members and 1 Guest are viewing this topic.

Offline manoharan

  • Holding
  • Posts: 1
    • View Profile
Help in Writing G code for a project in Waterloo Ontario
« 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

Offline garyhlucas

  • Active Member
  • Posts: 663
    • View Profile
Re: Help in Writing G code for a project in Waterloo Ontario
« Reply #1 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.