585,555 active members*
3,302 visitors online*
Register for free
Login
Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2016
    Posts
    53

    G02/G03 Arc Formula

    I was looking for a formula to calculate Arcs and came across this reference: How to program arcs and linear movement in G-Code manually - All

    I've been doing manual Arc calculations and writing my own gcode and have successfully made a lot of Arcs on my laser machine. So I feel I have a pretty good handle on manually writing gcode to produce Arcs.

    However, the formulas on this web page don't seem to work for me and I can't figure out why. When I manually run the numbers on one of my Arcs (that work on my laser machine) and then plug those numbers into the formulas provided on this web page, the Arc G03 values are very different.

    From the web page:
    Formulas
    1) Xs=Xc+(R*cos(Theta1))
    2) Ys=Yc+(R*sin(Theta1))
    3) Xe=Xc+(R*cos(Theta2))
    4) Ye=Yc+(R*sin(Theta2))
    5) I=(Xc-(R*cos(Theta1)))-Xc
    6) J=(Yc-(R*sin(Theta1)))-Yc

    While I can manually create the Arc gcode, I'm not very good at math so I can't 'debug' these formulas. So I thought I would ask if anyone knows of some other G02/G03 Arc formulas that I can try?

    Thanks...

  2. #2
    Join Date
    May 2015
    Posts
    1422

    Re: G02/G03 Arc Formula

    If your machine is set for incremental arc I/J then 5 and 6 are correct but simplify to just Xc-Xs and Yc-Ys, respectively.
    If your machine is set for absolute arc I/J then they need to be Xc and Yc.

    Usually shows up as a big curve that's the part of the circle which /shouldn't/ be run.

  3. #3
    Join Date
    Jan 2016
    Posts
    53

    Re: G02/G03 Arc Formula

    Thank you...!!!

  4. #4
    Join Date
    May 2015
    Posts
    1422

    Re: G02/G03 Arc Formula

    Don't trust me to the point of putting tools and materials in the way of those - do some test previews etc first!

Similar Threads

  1. Formula
    By fdonosos in forum Okuma
    Replies: 24
    Last Post: 07-28-2011, 01:54 PM
  2. looking for a Formula
    By rusticr6 in forum Haas Mills
    Replies: 29
    Last Post: 10-18-2007, 04:23 PM
  3. Need a formula
    By Turk88 in forum Community Club House
    Replies: 3
    Last Post: 06-15-2006, 02:06 PM
  4. What is the Formula?
    By widgitmaster in forum Uncategorised MetalWorking Machines
    Replies: 6
    Last Post: 03-24-2006, 05:35 AM
  5. formula please!
    By turmite in forum CNC Machine Related Electronics
    Replies: 2
    Last Post: 11-22-2003, 08:45 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •