586,320 active members*
3,798 visitors online*
Register for free
Login
Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2007
    Posts
    7

    Fanuc 0M-C Macro Program

    I need to see if anyone has a tool changer macro program for my Fanuc 0M-C for a Hamai MC-3VA. We accidentially cleared the memory and had to re-input everything but we don't have those programs anywhere. I believe they were program # 9000, 9001, 9002 or something like that.

  2. #2
    Join Date
    Jun 2008
    Posts
    1511
    I have a program that should work. You will probably have to do some tweeks to fit your machine. Another option is to call the MTB if they are still in business and ask them for the program or someone here might have the same model machine.

    There are a few ways that the position of the tool change could have been set. Machine home, machine home with a hard number programmed in the macro if the home is not the same as tool change position, or by using the G30 2nd,3rd,4th reference positions.

    The program below uses the machine home but if home and tool change position is not the same you will have to either adjust the Zposition in the program or use the other reference positions. This program is as basic and stripped down as you can get. There is generally a lot more to it that we can add if you want. I have all mine set up to track the current tool in the spindle, set the “G43H()”, set speeds and feeds, and bypass the tool change “M6” if doing a tool call of the current tool in the spindle.

    Now you will have to look at your parameters and see what macro program is being called with the M6 call. Then down load the macro program to the proper program number. On your control look at parameters 240-242. These call programs 9001-9003. If parameter 204=6 then program 9001 is being called as your tool change program.

    O9001(TOOL CHANGE PROGRAM)
    G40G80—(tool dia cancel & canned cycle cancel)
    G91G28Z0M9—(tool change position in Z & coolant off)
    M19--(tool orientation)
    G28Y0M5—(tool change position in Y & spindle stop)
    M6—(tool call of modal T value)
    M99

    Stevo

  3. #3
    Join Date
    Oct 2009
    Posts
    12
    Hi try a macro program an tel me.....
    O9001
    G80G40
    G65H81P25Q#1013R1
    G65H81P25Q#1008R1
    G65H01P#132Q#4014
    G65H01P#131Q#4003
    G65H01P#130Q#4006
    M66G91G30Z0
    G65H12P#1132Q#1132R4096
    G65H11P#1132Q#1132R1024
    G04P100
    G65H12P#148Q#1032R255
    G04P100
    G65H12P#1132Q#1132R4096
    G65H11P#1132Q#1132R2048
    G04P100
    G65H12P#531Q#1032R255
    G04P100
    G65H12P#1132Q#1132R4096
    G65H01P#1115Q1
    G04P100
    G65H12P#149Q#1032R255
    G65H81P20Q#531R#149
    G65H81P1Q#148R#149
    G04P100
    M42
    N1G65H81P5Q#1011R1
    G65H80P1
    N5G65H86P10Q#531R18
    G#132
    G#131
    G#130
    G65H99P1
    N10G65H83P15Q#531R0
    G#131
    G#130
    G65H99P2
    N15G65H01P#1112Q1
    G65H11P#1132R256
    G04P100
    G65H01P#1113Q1
    G91G30Z0M19
    M52
    M12
    G04P500
    G28Z0
    G65H01P#1114Q1
    M41
    G30Z0
    M11
    M53
    G65H01P#1109Q1
    G04P100
    G65H12P#1132Q#1132R4096
    N20G65H01P#530Q#531
    G#132
    G#131
    G#130
    N25M67
    M99
    %
    Ins-Tek

Similar Threads

  1. Replies: 5
    Last Post: 12-16-2012, 08:43 AM
  2. Replies: 2
    Last Post: 03-27-2009, 09:15 PM
  3. G65 macro B PROGRAM
    By gollame in forum G-Code Programing
    Replies: 2
    Last Post: 05-11-2008, 05:26 PM
  4. Convert Fanuc Macro to Fadal Macro
    By bfoster59 in forum Fadal
    Replies: 1
    Last Post: 11-09-2007, 06:41 AM
  5. Macro program
    By pioneerproducts in forum News Announcements
    Replies: 4
    Last Post: 10-08-2007, 09:44 PM

Posting Permissions

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