Results 1 to 3 of 3

Thread: Fanuc repeat macro advice needed...

  1. #1
    Registered
    Join Date
    Aug 2010
    Location
    Denmark
    Posts
    11
    Downloads
    0
    Uploads
    0

    Fanuc repeat macro advice needed...

    Hi all

    I'm building up a program where I have to turn our rotary table 15 degrees 24 times, and everytime I have to do some milling/drilling.

    Controller is Fanuc MXP-200i

    I thought about building up the program something like this:

    o0001
    T1 M6
    M28
    G0 X0 Y0 A0
    M27
    G43 H1 Z60
    M98 P0002 drilling/milling etc.
    M28
    G0 A15
    M27
    M98 P0002 drilling
    M28
    G0 A30
    M27
    .......
    A45
    .....
    A60
    ......

    Then do the same with T2, T3 T4 etc....

    But isn't there an easier way of doing it?

    Like some custom macro with the WHILE, IF, GOTO expressions?

    I'm just not so familiar with that kind of programming yet, so maybe you could give me some nudges in the right way ;-)

    CheeRS

    The Dane


  2. #2
    Registered dcoupar's Avatar
    Join Date
    Mar 2003
    Location
    USA
    Posts
    2,499
    Downloads
    0
    Uploads
    0
    I'm sure you do it with a macro, but by the time you get done dinking with it, you probably could have machined the parts and shipped them.


  3. #3
    Registered
    Join Date
    Aug 2010
    Location
    Denmark
    Posts
    11
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by dcoupar View Post
    I'm sure you do it with a macro, but by the time you get done dinking with it, you probably could have machined the parts and shipped them.
    Yeah probably, but It would be great to know how to do it, as I'm gonna get use of it later. And in particular I know of a job that's coming in a few weeks, where I could use it again.

    But you know what I mean dcoupar?


Similar Threads

  1. Need Help!- Need some macro advice.
    By cncclimber in forum Fanuc
    Replies: 3
    Last Post: 10-08-2010, 01:37 PM
  2. fanuc o-m, subprogram repeat w/ z axis shift?
    By MOtorPARts in forum Fanuc
    Replies: 25
    Last Post: 09-19-2009, 12:41 AM
  3. Soliciting Haas Macro Advice
    By mcmachining in forum G-Code Programing
    Replies: 4
    Last Post: 07-28-2009, 01:07 PM
  4. Replies: 2
    Last Post: 03-27-2009, 04:15 PM
  5. Convert Fanuc Macro to Fadal Macro
    By bfoster59 in forum Fadal
    Replies: 1
    Last Post: 11-09-2007, 12:41 AM

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.