587,517 active members*
3,471 visitors online*
Register for free
Login
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2011
    Posts
    215

    Help with g2/g3 arcs during axis rotation!

    I'm having trouble moving in an arc while I've rotated my coord. system.
    For example, try to follow along here:
    (Start at 0,0,0)
    (Move to x1) G90 G0 X1
    (Activate XZ plane) G18
    (Cut arc inwards and down) G91 G3 X-.25 Z-.25 R.25
    (Rewind one step) G2 X.25 Z.25 R.25
    (Activate XY plane) G17
    (Rotate coord system 90 deg) G90 G68 A0 B0 R90
    (Move to x1) G90 G0 X1 Y0 Z0 (Here the tool moves to what would have been (0,1,0) before the rotation)
    (Activate XZ plane) G18
    (Repeat arc move above) G91 G3 X-.25 Z-.25 R.25
    This is where the path gets messed up. Instead of sweeping in towards the center (0,0), the tool sweeps to the left.
    Moving around with g0 and g1 after an axis rotation works well, but moving in an arc seems to ignore the axis rotation.

    What I'm trying to do is exactly as above, but I'll move around the circle in 1 degree increments to round the edge of a hole. I can repeat those lines above 360 times with a subroutine and keep the program very short, but it isn't working.

    Help?

  2. #2
    Join Date
    Jul 2003
    Posts
    1758
    Is this what you are trying to do? (I know this is linuxcnc but thought it might jog some brain cells...)

    #1 = 0 (start of arc)
    (Start at 0,0,0)
    (Move to x1) G90 G0 X1
    (Activate XZ plane) G18
    o101 while [#1 LT 360]
    g10l2p1r[#1]
    g90 g0 x1 y0
    (Cut arc inwards and down) g91 G3 X-.25 Z-.25 R.25f10
    (Rewind one step) G2 X.25 Z.25 R.25
    #1=[#1+1]
    o101 end while
    m30
    Attached Thumbnails Attached Thumbnails Screenshot-1.jpg  

Similar Threads

  1. VH 65 A axis rotation
    By timo2le in forum Fadal
    Replies: 5
    Last Post: 09-08-2018, 10:13 AM
  2. A axis rotation ????
    By dunnitagain in forum Fadal
    Replies: 1
    Last Post: 07-29-2011, 01:50 AM
  3. Z axis arcs
    By dblox in forum Dolphin CAD/CAM
    Replies: 1
    Last Post: 09-03-2010, 01:33 PM
  4. B axis rotation
    By fitzpatrick2362 in forum MetalWork Discussion
    Replies: 0
    Last Post: 10-12-2009, 12:06 PM
  5. X axis to A rotation
    By quemast in forum G-Code Programing
    Replies: 6
    Last Post: 06-18-2006, 02:36 AM

Posting Permissions

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