584,800 active members*
4,868 visitors online*
Register for free
Login
Results 1 to 7 of 7
  1. #1

    Question Macro programing

    Hi there im new here and was wondering if anyone has some suggestions on further reading or training on macro programing .i have worked my way through the Haas manuals and have done some basic stuff like probe integration , auto wear adjustment and operator input branching .ive made a improvised peck tapping cycle as well ,

    Any assistance would be greatly appreciated

  2. #2

    Re: Macro programing

    Peter Smid has a descent book on Fanuc Macro B. Called Fanuc CNC Custom Macros. It's what I've used. Another great resource is to get the Fanuc Maintenance and Operators Handbook for the exact version of Fanuc Control you're working with. Among a million other great things at your fingertips, it has all the System Variables listed and described. Very handy when writing Macros.

  3. #3

    Re: Macro programing

    Thank you ill go and have a look .

    Thanx for taking the time to help

  4. #4
    Join Date
    Mar 2023
    Posts
    1

    Re: Macro programing

    Just keep at it. Peter Smids custom macro B is a great book for reference. It is for fanuc so the variable codes are different than haas but it has a ton of great info and is basically the same. Keep looking for opportunities to use this skill. I have attached a couple of files that you check out. Hope this helps!

  5. #5
    Join Date
    Jun 2015
    Posts
    4131

    Re: Macro programing

    hy francois, nice sheep i am not a haas guy, but i can tell that you allready have some good experience with macros

    if you wanna fast development, try finding persons that share lists of their own macros, and from there only pick those that seems interesting to you; thus look for description, not for code, and only based on description, decide if is needed to also investigate code; such an aproach will get you up to speed fast with custom variables

    another thing to follow is to target code syntax, the way is written; this can help you with general formating, etc; just scroll through code, does not matter what that code does, but scan the way is constructed; for example, the code shared by seth checks if something is wrong, but you can skip such a check by controling the inputs, thus being sure that they are corect

    once you reach control capability, and g-code langauge limitations, next step is a more general way of coding

    books are being written by people like you; good luck we.tl/t-0NeUrzjZ3E
    Ladyhawke - My Delirium, https://www.youtube.com/watch?v=X_bFO1SNRZg

  6. #6

    Re: Macro programing

    Quote Originally Posted by SethC View Post
    Just keep at it. Peter Smids custom macro B is a great book for reference. It is for fanuc so the variable codes are different than haas but it has a ton of great info and is basically the same. Keep looking for opportunities to use this skill. I have attached a couple of files that you check out. Hope this helps!
    thank you very much for taking the time and sharing you're macro I like the idea of it and had not thought of adding a readme to supplement the macro . The words of encouragement are also greatly appreciated

  7. #7

    Re: Macro programing

    Quote Originally Posted by deadlykitten View Post
    hy francois, nice sheep i am not a haas guy, but i can tell that you allready have some good experience with macros

    if you wanna fast development, try finding persons that share lists of their own macros, and from there only pick those that seems interesting to you; thus look for description, not for code, and only based on description, decide if is needed to also investigate code; such an aproach will get you up to speed fast with custom variables

    another thing to follow is to target code syntax, the way is written; this can help you with general formating, etc; just scroll through code, does not matter what that code does, but scan the way is constructed; for example, the code shared by seth checks if something is wrong, but you can skip such a check by controling the inputs, thus being sure that they are corect

    once you reach control capability, and g-code langauge limitations, next step is a more general way of coding

    books are being written by people like you; good luck we.tl/t-0NeUrzjZ3E
    Thank you very much for the very kind words of encouragement and advice on how to proceed .This post has me very motivated to continue I am glad I took the chance to ask on the forum ive gotten great advice and even more hope that im not the only one interested in learning more on Macros they are so useful and underrated .

Similar Threads

  1. Damn Macro programing
    By mumfy1973 in forum G-Code Programing
    Replies: 1
    Last Post: 01-03-2016, 03:22 PM
  2. WANT TO KNOW ABOUT MACRO PROGRAMING
    By Rajeshpg in forum Community Club House
    Replies: 0
    Last Post: 01-26-2014, 07:09 PM
  3. Macro/Variable Programing
    By chadr03 in forum WinCnc
    Replies: 1
    Last Post: 02-02-2011, 02:00 PM
  4. macro programing
    By ikneb in forum Fanuc
    Replies: 10
    Last Post: 10-03-2008, 01:52 AM
  5. macro programing
    By 9axis in forum G-Code Programing
    Replies: 2
    Last Post: 03-19-2008, 11:52 AM

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
  •