Results 1 to 6 of 6

Thread: Fanuc O-T looping cycle

  1. #1
    Registered Billet Sean's Avatar
    Join Date
    Jan 2007
    Location
    USA
    Posts
    95
    Downloads
    0
    Uploads
    0

    Fanuc O-T looping cycle

    I want to write a looping cycle to warm the axis up on my lathe. The first few parts are always over size on the bore, then as it runs it'll move back to where it was the day before. I have no idea how to do it. I currently use a program that just moves the X-axis -7. and the Z-axis -7. Then back to home. I repeats these lines 20 time or so. Is there any way to have it loop 100 times without having to press the start button?
    Here's what I currently use:
    %
    T0100
    G0 X-7. Z-7.
    X0 Z0
    X-7. Z-7.
    X0 Z0
    X-7. Z-7.
    X0 Z0
    X-7. Z-7.
    X0 Z0
    X-7. Z-7.
    X0 Z0
    X-7. Z-7.
    X0 Z0
    X-7. Z-7.
    X0 Z0
    X-7. Z-7.
    X0 Z0
    X-7. Z-7.
    G28 U0 W0
    M30
    %


  2. #2
    Registered Mazaholic's Avatar
    Join Date
    May 2007
    Location
    USA
    Posts
    217
    Downloads
    0
    Uploads
    0
    M99 instead of M30.


  3. #3
    Registered Mazaholic's Avatar
    Join Date
    May 2007
    Location
    USA
    Posts
    217
    Downloads
    0
    Uploads
    0
    it will run until you stop it.


  4. #4
    Registered Billet Sean's Avatar
    Join Date
    Jan 2007
    Location
    USA
    Posts
    95
    Downloads
    0
    Uploads
    0
    Thanks, I'll try it out tomorrow morning. We're up and running right now.


  • #5
    Registered beege's Avatar
    Join Date
    Feb 2008
    Location
    USA
    Posts
    546
    Downloads
    0
    Uploads
    0
    Or use it as a sub:

    %
    O4000
    T0100
    G0 U-7.W-7.
    U7.W7.
    M99
    %

    And from MDI run program that looks like:

    M98 P4000 L20

    I never tried this, and you may have to run that one line through memory mode


  • #6
    Registered CNCRim's Avatar
    Join Date
    Feb 2006
    Location
    usa
    Posts
    949
    Downloads
    0
    Uploads
    0
    %
    O1
    T0100
    G97S1200M3
    G0 X8.Z2.
    G1W-1.
    U2.
    W1.
    U-2.
    G28U0W0
    M99
    %
    The best way to learn is trial error.


  • Similar Threads

    1. g76 thread cycle for dummies 20i fanuc
      By avccrml in forum General Metalwork Discussion
      Replies: 39
      Last Post: 03-22-2013, 11:58 AM
    2. Newbie- Drill cycle for FANUC
      By slowhandd in forum Commercial CNC Wood Routers
      Replies: 0
      Last Post: 02-25-2008, 11:02 PM
    3. Cycle Start output on Fanuc 15-MA
      By davider in forum Fanuc
      Replies: 3
      Last Post: 02-14-2008, 10:18 AM
    4. repetitive cycle on Fanuc 21 TA
      By DHYSTA in forum Fanuc
      Replies: 11
      Last Post: 08-16-2007, 09:46 PM
    5. fanuc -om peck cycle
      By PETE1968 in forum Fanuc
      Replies: 4
      Last Post: 04-05-2006, 10:57 PM

    Posting Permissions


     


    About CNCzone.com

      We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

    Follow us on

    Facebook Dribbble RSS Feed


    Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.