Need Help! sub program help


Results 1 to 3 of 3

Thread: sub program help

  1. #1
    Registered
    Join Date
    Apr 2014
    Posts
    9
    Downloads
    0
    Uploads
    0

    Default sub program help

    hello, I have a problem, I make a lot of different size washers and am trting to write a sub for my cut-off but its not working like I want it to and am hoping someone can help me make this work. the machine is a hardinge conquest t65 with a fanuc series 18-t controller. here is my program:

    O2000
    GOTO2O2(CUT-OFF)
    G97S689M03
    G0X1.3
    M8
    G50S2000
    G96S288
    G0X.95Z-.413
    M98P2002
    G90G00Z-.626
    M98P2002
    G90G00Z-.852
    M98P2002
    G90G00Z-1.06
    M98P2002
    G90G00Z-1.2
    M982003
    G90G00Z1.
    M05
    M09
    G0T1212(BUMP STOP)
    M30

    O2002
    G91G00Z-.03
    G90G01X.885F.002
    G91G02X-.06Z.03R.03 (THIS IS THE LINE THAT GIVES ME PROBLEMS INVALID G-CODE)
    G90G0X.9
    G91G0Z.03
    G90G01X.885F.002
    G91G03X-.06Z-.03R.03
    G90G01X.35
    G91X.6Z.03
    M99

    O2003
    N101G91G0Z.03
    G90G01X.885F.002
    G91G03X-.06Z-.03R.03
    G90G01X.35
    G91X.6Z.03
    M99

    Similar Threads:


  2. #2
    Registered beege's Avatar
    Join Date
    Feb 2008
    Location
    USA
    Posts
    586
    Downloads
    0
    Uploads
    0

    Default Re: sub program help

    Try taking out the G91, and substitute U and W for X and Z when you want incremental moves.



  3. #3
    Registered
    Join Date
    Apr 2014
    Posts
    9
    Downloads
    0
    Uploads
    0

    Default Re: sub program help

    that worked thankyou



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
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

sub program help

sub program help