. .
  1. #1
    Kai's Avatar
    Lives in Hull, United Kingdom. Last Activity: 28-04-2016 Has been a member for 9-10 years. Has a total post count of 72.
    I have been looking at this for a while where have I gone wrong folks
    I am trying to use a G91 to inc step to cut a streight line then a chamfer so I end up with a turned down bit of bar with a 45deg angle to the outer bar size.

    Please tell me where I'm going wrong
    If not clear please let me know what I need to explain better


    G90 G18 G40 G80 G21
    G54
    M03 s500
    G00 Z50 x23
    G00 Z45
    G01 X0 f75
    G0 Z46 X22
    G01 Z45 x21.8
    M98 P0002 L32
    G90 z46 x22
    M05
    M30
    M99
    %



    o0002
    G91 X-.3
    G90
    G01 Z30 f100
    G01 Z25 X22
    G0 Z46 X21.8
    G91 X-.3
    M99

  2. #2
    Hi, what control are you using? Do you have G71/G72?

  3. #3
    m_c's Avatar
    Lives in East Lothian, United Kingdom. Last Activity: 2 Days Ago Forum Superstar, has done so much to help others, they deserve a medal. Has been a member for 9-10 years. Has a total post count of 2,908. Received thanks 360 times, giving thanks to others 8 times.
    You need to get rid of the G90 in the subroutine.
    As it stands, you switch to incremental (G91) and move X, but then you switch back to absolute (G90) and ultimately move the X to an absolute position. So rather than every iteration of your sub moving incrementally in the X, you always end up moving to an absolute X position which means the next iteration will simply repeat the exact same movements.
    Avoiding the rubbish customer service from AluminiumWarehouse since July '13.

  4. #4
    Kai's Avatar
    Lives in Hull, United Kingdom. Last Activity: 28-04-2016 Has been a member for 9-10 years. Has a total post count of 72.
    Yes I see what you mean now. I was trying to use a sub program to avoid a shed load of code to get the bar turned down and the chamfer at the same time

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. RFQ: RFQ - Aluminium turning - 1 off
    By robhooley167 in forum Projects, Jobs & Requests
    Replies: 0
    Last Post: 06-12-2015, 12:41 AM
  2. RFQ: Turning requirement
    By Sparky in forum Projects, Jobs & Requests
    Replies: 0
    Last Post: 19-01-2015, 08:15 PM
  3. 2 turning ops or more on solidcam?
    By eamo1978 in forum Solidworks
    Replies: 6
    Last Post: 25-06-2014, 10:57 AM
  4. RFQ: Parts need turning
    By ams in forum Projects, Jobs & Requests
    Replies: 17
    Last Post: 15-01-2014, 12:27 AM
  5. Why do I get a taper when turning?
    By irving2008 in forum Lathes, Lathe Rebuilding & Conversions
    Replies: 15
    Last Post: 16-12-2012, 10:48 PM

Bookmarks

Posting Permissions

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