Results 1 to 6 of 6

Thread: macro help

  1. #1
    Registered
    Join Date
    Aug 2006
    Location
    uk
    Posts
    6
    Downloads
    0
    Uploads
    0

    macro help

    Hi

    I'm looking for some guidance on how to use macro's on a fanuc 0mate M control attatched to a Bridgeport Interact 720X machine

    The problem seems to be that I cannot enter the code in the correct format I used on the Fanuc 21i

    for example


    %
    :0001
    G0X0Y0Z0
    #1=0
    N20#1=#1+1
    IF[#1GT5]GOTO21
    G0X100
    GOTO20
    N21G0Z100
    M30
    %

    This works fine on the 21i but any help would be appreciated

    Dave


  2. #2
    Registered viorel26's Avatar
    Join Date
    Jun 2007
    Location
    Romania
    Posts
    109
    Downloads
    0
    Uploads
    0

    G65

    %
    O0001
    G0 X0 Z0 Y0
    G65 H01 P#1 Q0
    N20 G65 H02 P#1 Q#1 R1
    G65 H83 P#1 Q5 P21
    G0 X100
    G65 H80 P20
    N21 G0 Z100
    M30
    %


  3. #3
    Registered
    Join Date
    Jun 2006
    Location
    italy
    Posts
    46
    Downloads
    0
    Uploads
    0

    macra a or b?

    I haved your same problem 6 month later....
    i have 5 vmc ,
    2 old 0M with A macro type ,
    the other 0im,18m etc with B macro type (like your 21i)..
    Now they work only with B macro type.
    i solve the problem callling fanuc...... your old fanuc 0m can go with
    type B macro ,you need only a very small very cheap Review(macro A in B is a fanuc optional).......

    In this mode you can have total compatibilty and intercambiabilty of your Nc
    program ,but with the Review you must rewrite your old A type macro on the bridgport ,in B type(tool change macro etc...)

    Ciao
    (sorry for my bed english)


  4. #4
    Registered
    Join Date
    Aug 2006
    Location
    uk
    Posts
    6
    Downloads
    0
    Uploads
    0
    Thanks for the detailed reply

    however

    when I run the example given above it repeats continuously, I've checked that I've input it correctly, any ideas

    Updating the software sounds like a safe idea

    Dave


  • #5
    Registered
    Join Date
    Jan 2005
    Location
    USA
    Posts
    277
    Downloads
    0
    Uploads
    0
    Try using #100 or #520 to see if you get the same problem. Not all variables are active and usable without changing a parameter to allow it.


  • #6
    Registered
    Join Date
    Aug 2006
    Location
    uk
    Posts
    6
    Downloads
    0
    Uploads
    0
    I have tried that with #100, what actually happens is if I run it as is with the H83 (greater than)it doesn't repeat any of the macro, it reads it and adds 1 to the macro number in the macro page but doesn't actually execute it

    It positions at x0y0z0
    then adds 1 to the macro number
    rapids back to z100

    If I change it to H84 (less than) it repeats forever in that

    it positions at x0y0z0
    it executes the macro adding 1 to the macro number each time until the m/c runs out of travel.

    Looking at the cycle it looks fine, it is exactly as written above bar the #1 being changed to #100

    Stuck now

    TIA

    Dave


  • Similar Threads

    1. need help with macro
      By raj gill in forum Commercial CNC Wood Routers
      Replies: 1
      Last Post: 04-06-2009, 08:43 AM
    2. Convert Fanuc Macro to Fadal Macro
      By bfoster59 in forum Fadal
      Replies: 1
      Last Post: 11-09-2007, 12:41 AM
    3. Macro
      By omkargupta in forum Fanuc
      Replies: 1
      Last Post: 09-11-2007, 03:35 PM
    4. Macro B On 10t?
      By TURNER in forum Fanuc
      Replies: 4
      Last Post: 05-03-2007, 03:31 AM
    5. One More Macro ? 16I
      By Bluesman in forum General CNC (Mill and Lathe) Control Software (NC)
      Replies: 4
      Last Post: 02-07-2006, 06:06 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.