Download or enter macro to Fanuc OMD


Results 1 to 8 of 8

Thread: Download or enter macro to Fanuc OMD

  1. #1
    Member
    Join Date
    Dec 2012
    Location
    New Zealand
    Posts
    71
    Downloads
    0
    Uploads
    0

    Default Download or enter macro to Fanuc OMD

    I've started a new post as this is a bit different to downloading parameters.

    I think I have recovered all the data and parameters and all the screen are there. I'm now looking at saving the 2 tool change macros. One for auto and one manual.

    Here is one macro

    Code:
    09021(MANUAL TOOL CHANGE MACRO)
    IF[#1015 EQ 1] GOTO 50; 	CHECK MACHINE LOCK / Z AXIS LOCK
    #1100=1;			CHECK M86 COMMAND FORM 09020 SIGNAL
    #101 = #4001;			MEMORY G CODE
    #102 = #4002;			MEMORY G CODE
    #103 = #4003;			MEMORY G CODE
    M05;				SPINDLE STOP
    G17 G91 G80 G0;			DEM G STATION
    M19;				SPINDLE ORIENTATION
    M86;				ENTER ATC MODE
    M07;				AIR BLOW
    G30 Z0.0;			Z AXIS RETURN SECOND POINT
    M00;				PROGRAM STOP
    M07;				AIR BLOW
    G28 Z0.0;			RETURN REF
    G#101 G#102 G#103;		SET G CODE
    #1100 = 0;			CANCEL M86 COMMAND FROM 09020 SIGNAL
    M87;				FINISH TOOL CHANGE
    N50 # 3000 = 2 (MACHINE LOCK / Z AXIZ LOCK) ;ALAM MESSAGE
    M99;
    %
    I can't find much on entering or sending macros to the controller.

    Any suggestions ?

    Similar Threads:


  2. #2
    Flies Fast Superman's Avatar
    Join Date
    Dec 2008
    Location
    Antarctica
    Posts
    3109
    Downloads
    0
    Uploads
    0

    Default Re: Download or enter macro to Fanuc OMD

    This "macro" is just a O9000 series program that resides in the program memory space that is then protected from accidental editing. It is the "macro" that is called up to toolchange by using the M06 code. The program # may be incorrect, it is usually assigned in the parameters.

    USE WITH CARE, PROVE IT FIRST

    Be careful about using someone else's macros.
    It is written by the MTB for that particular machine.
    You may have unset M30 reference positions that could drive your machine into a crash
    You may have additional axes not covered by the macro.
    Your machine may use different M codes for the toolchanger operation.



  3. #3
    Member
    Join Date
    Dec 2012
    Location
    New Zealand
    Posts
    71
    Downloads
    0
    Uploads
    0

    Default Re: Download or enter macro to Fanuc OMD

    Thanks for the info.
    My parameters stop at N8399 so firstly I need to unlock the O9000. Can that be done ?
    The macro numbers (as per the data sheet from the machine builder) are 09020 and 09021.
    Once unlocked, how is the info entered into the controller ?



  4. #4
    Flies Fast Superman's Avatar
    Join Date
    Dec 2008
    Location
    Antarctica
    Posts
    3109
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by marsheng View Post
    Thanks for the info.
    My parameters stop at N8399 so firstly I need to unlock the O9000. Can that be done ?
    The macro numbers (as per the data sheet from the machine builder) are 09020 and 09021.
    Once unlocked, how is the info entered into the controller ?
    I think there is a little confusion
    - O8000 to O9999 programs can be protected by a parameter(makes them not visible & not editable).
    - When parameter is set to unprotected, those hidden programs are then visible AND able to be edited, downloadable, etc. (Played with & possibly corrupted).
    - The program storage area is the same location you store your other NC programs.
    - Protected programs could be those to toolchange, Pallet change, probing (part & tool measure) or any other program that you don't want played around with by any inquisitive, inexperienced operators. It's just another safety layer for the machine owner.
    - a hardcopy of the toolchange program should be with the machine documentation.
    - A good machine owner should have his machine users backup these machine files, including the machine parameters. Just in case, it is better than having nothing at all.

    No backups.... no machine work... just a big boat anchor



  5. #5
    Member
    Join Date
    Dec 2012
    Location
    New Zealand
    Posts
    71
    Downloads
    0
    Uploads
    0

    Default Re: Download or enter macro to Fanuc OMD

    Hi Superman

    I do understand. What parameter do I need to change to get access to these features ?



  6. #6
    Member
    Join Date
    Dec 2012
    Location
    New Zealand
    Posts
    71
    Downloads
    0
    Uploads
    0

    Default Re: Download or enter macro to Fanuc OMD

    I've done a bit more reading and I think I don't fully understand the operation

    I have never run this machine before so I'm new to this all. My current CNC (and old machine but a goodie) can only have one program loaded at a time.

    Are macros stored in program memory or is there a special place for them?

    Youtube dosen't seem to help on this.



  7. #7
    Flies Fast Superman's Avatar
    Join Date
    Dec 2008
    Location
    Antarctica
    Posts
    3109
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by marsheng View Post
    Hi Superman

    I do understand. What parameter do I need to change to get access to these features ?
    I'm currently on leave from work, & I don't have access to that model's parameter book.
    If you can find the correct parameter to allow access to the protected area, then, transfer & editing is as a normal NC file ... it just needs M99 at the end to allow it be called, executed & return to the original program & continuing on.

    You will start to understand why I mentioned copying everything before any edits. You can restore back to what you started with.
    Always record, read, and then double check any parameter before any modifying. Have some method of backtracking a wrong input.



  8. #8
    Member
    Join Date
    Dec 2012
    Location
    New Zealand
    Posts
    71
    Downloads
    0
    Uploads
    0

    Default Re: Download or enter macro to Fanuc OMD

    Found some macro info.

    I assumed that O9000 was an address. Wrong, I beleive that it is a program number and you can hide or display these programs. My mistake was my current machine can only have one program in memory at a time and I thought Fanuc was the same !!!

    This page was helpful.

    https://en.industryarena.com/forum/h...os--81508.html.



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

Download or enter macro to Fanuc OMD

Download or enter macro to Fanuc OMD