1. Home
    1. Dashboard
    2. Search
  2. Forum
    1. Unresolved Threads
    2. Members
      1. Recent Activities
      2. Users Online
      3. Team Members
      4. Search Members
      5. Trophys
  3. Articles
  4. Blog
  5. Videos
  6. Jobs
  7. Shop
    1. Orders
  • Login or register
  • Search
This Thread
  • Everywhere
  • This Thread
  • This Forum
  • Articles
  • Pages
  • Forum
  • Blog Articles
  • Products
  • More Options
  1. Robotforum - Support and discussion community for industrial robots and cobots
  2. Forum
  3. Industrial Robot Support and Discussion Center
  4. Fanuc Robot Forum
Your browser does not support videos RoboDK Software for simulation and programming
Visit our Mainsponsor
IRBCAM
Robotics Channel
Robotics Training
Advertise in robotics
Sponsored Ads

Macro Programs

  • MooseHorns
  • June 14, 2018 at 10:04 PM
  • Thread is Resolved
  • MooseHorns
    Reactions Received
    1
    Trophies
    3
    Posts
    17
    • June 14, 2018 at 10:04 PM
    • #1

    This is just for general knowledge not for a specific problem, but I have questions about the purpose, benefits, and reasons to use a Macro program instead of a regular program?

    I realize that Macros can be assigned to pendant keys and manual functions (we don't often use those here, because we prefer not to have our customers access the pendant) but what else can they do?

    If I assign one to a DI, does that mean whenever I get that DI it calls that program? Like could I assign a GO_TO_MAINT program to a DI and when ever the robot receives that DI it goes to maintenance position? Does a macro input tender always run in the background?

    Fanuc just seems really proud of this ability and I have yet to find a use for it in my entire 5 months of robot programming (such a long time I know), and I want to know if I am missing out!

    ***if there is already a thread here please direct me to it***

    Edited once, last by MooseHorns (June 14, 2018 at 11:29 PM).

  • dmbj
    Reactions Received
    14
    Trophies
    3
    Posts
    202
    • June 14, 2018 at 10:13 PM
    • #2

    often times i used macros with no group selected to operate stationary cameras running vision processes while the robot it off doing something else. maybe find the next part to pick up before the robot even gets there.

    and yes assigning a gripper open or close to a user key is very handy

  • Daryan
    Trophies
    3
    Posts
    13
    • June 14, 2018 at 11:36 PM
    • #3
    Quote from MooseHorns


    If I assign one to a DI, does that mean whenever I get that DI it calls that program? Like could I assign a GO_TO_MAINT program to a DI and when ever the robot receives that DI it goes to maintenance position?

    Yes you can do this. I am using macros to control my conveyors as well as start a vision system program I have. When the DI = ON it runs the program that it is mapped to. You can set the macro to run on a few different inputs such as TP key, operator panel button, or input signal (DI,UI, ect).

    Macros can do everything that a TP program can do they can just also be started by inputs or buttons instead of selecting them with the TP or a CALL/RUN program instruction.

    As far as I know the macros do not run like a background program would, they are essentially called by the input you want to start it with (although I could be wrong)

  • HawkME
    Reactions Received
    568
    Trophies
    11
    Posts
    3,268
    • June 15, 2018 at 3:04 AM
    • #4

    Moosehorns, I am in the same camp as you, we don't want people other than programmers or maintenance touching the pendant. Also, we provide an HMI for a user interface. So in my situation Macros have no benefit. I can accomplish anything required using a combination of regular programs and BG Logic.

    If you are in a situation where there is no HMI and the operator is using the teach pendant as part of their normal operation, then I think Macros would be a great tool.

    I find it funny that you say Fanuc is proud of the macro, when I find BG Logic infinitely more useful, but you never hear Fanuc talk about BG Logic. It isn't even taught in their Advanced programming course.

  • SEAN-DUDE
    Reactions Received
    1
    Trophies
    3
    Posts
    65
    • June 15, 2018 at 6:14 PM
    • #5

    At my facility we use aux axis for dial tables and trunnions. We put the positions in the macro table and call the program via DI. This way the arm can be off doing something else, and the Aux Axis and get into its operator load position.

  • droth
    Reactions Received
    11
    Trophies
    3
    Posts
    185
    • June 15, 2018 at 9:22 PM
    • #6

    I use macros for some of my more elaborate EOAT setups. Multiple actuators with 2 or 3 brief WAIT instructions. Pack it all into one MACRO so each time I need to pick up or drop off, it is one line to call the appropriate MACRO instead of 5 of 6 lines of code.

    Other than that, I agree, BGLogic is way more useful.

  • Nirav Gevariya
    Reactions Received
    1
    Trophies
    2
    Posts
    64
    • March 24, 2023 at 1:24 PM
    • #7

    Hallo Together,

    is it possible tostart MACRO with digital output?

    my application is as below.

    after the hotstart the robot i will get DO wich conform me that the robot has hot start switch on. and with this DO i want to run one programm instantly after the robot hot started.

    one option is offcours the BL with perticulat DO.

  • R47
    Reactions Received
    11
    Trophies
    3
    Posts
    110
    • March 24, 2023 at 2:31 PM
    • #8

    Hi Nirav,

    Menü-->Next--> System--> Config-->4. Hot Start Autoexec program:....... are you looking for this?

Advertising from our partners

IRBCAM
Robotics Channel
Robotics Training
Advertise in robotics
Advertise in Robotics
Advertise in Robotics

Job Postings

  • Anyware Robotics is hiring!

    yzhou377 February 23, 2025 at 4:54 AM
  • How to see your Job Posting (search or recruit) here in Robot-Forum.com

    Werner Hampel November 18, 2021 at 3:44 PM
Your browser does not support videos RoboDK Software for simulation and programming

Tag Cloud

  • abb
  • Backup
  • calibration
  • Communication
  • CRX
  • DCS
  • dx100
  • dx200
  • error
  • Ethernet
  • Ethernet IP
  • external axis
  • Fanuc
  • help
  • hmi
  • I/O
  • irc5
  • IRVIsion
  • karel
  • kawasaki
  • KRC2
  • KRC4
  • KRC 4
  • KRL
  • KUKA
  • motoman
  • Offset
  • PLC
  • PROFINET
  • Program
  • Programming
  • RAPID
  • robodk
  • roboguide
  • robot
  • robotstudio
  • RSI
  • safety
  • Siemens
  • simulation
  • SPEED
  • staubli
  • tcp
  • TCP/IP
  • teach pendant
  • vision
  • Welding
  • workvisual
  • yaskawa
  • YRC1000

Thread Tag Cloud

  • abb
  • Backup
  • calibration
  • Communication
  • CRX
  • DCS
  • dx100
  • dx200
  • error
  • Ethernet
  • Ethernet IP
  • external axis
  • Fanuc
  • help
  • hmi
  • I/O
  • irc5
  • IRVIsion
  • karel
  • kawasaki
  • KRC2
  • KRC4
  • KRC 4
  • KRL
  • KUKA
  • motoman
  • Offset
  • PLC
  • PROFINET
  • Program
  • Programming
  • RAPID
  • robodk
  • roboguide
  • robot
  • robotstudio
  • RSI
  • safety
  • Siemens
  • simulation
  • SPEED
  • staubli
  • tcp
  • TCP/IP
  • teach pendant
  • vision
  • Welding
  • workvisual
  • yaskawa
  • YRC1000
  1. Privacy Policy
  2. Legal Notice
Powered by WoltLab Suite™
As a registered Member:
* You will see no Google advertising
* You can translate posts into your local language
* You can ask questions or help the community with your knowledge
* You can thank the authors for their help
* You can receive notifications of replies or new topics on request
* We do not sell your data - we promise

JOIN OUR GREAT ROBOTICS COMMUNITY.
Don’t have an account yet? Register yourself now and be a part of our community!
Register Yourself Lost Password
Robotforum - Support and discussion community for industrial robots and cobots in the WSC-Connect App on Google Play
Robotforum - Support and discussion community for industrial robots and cobots in the WSC-Connect App on the App Store
Download