Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Issue using a button to enable a macro

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    macros
    3
    4
    330
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • samlogan87undefined
      samlogan87
      last edited by

      Hey everyone,

      I have just finished setting up my printer with Duet 3 and a tool board. I am wanting to use the buttons on the tool board to feed filament when I am doing a filament change. I am however having issues where the button is calling for the macro but it is not able to find the macro even though the macro name is exactly what it is trying to find. I have tried with both .g and no .g and it has not made a difference.

      6d4e152d-1a50-4d52-8bae-6ac58554efc8-image.png
      d54dd672-3aea-4ff2-ab7f-b135323987ad-image.png

      ;Tool Board Buttons
      M950 J10 C"20.button1"
      M581 T2 P10 S1
      

      Sam

      Custom Core-XY

      o_lampeundefined 1 Reply Last reply Reply Quote 0
      • o_lampeundefined
        o_lampe @samlogan87
        last edited by o_lampe

        @samlogan87 ```

        Any trigger number # greater than 1 causes the macro file sys/trigger#.g to be executed. 
        

        This line quoted from Wiki tells two things:
        The minimum trigger number is 1
        The macros have to be stored in /sys folder.
        I guess you've put yours in the /macro folder, which would be logical for me. (but not for everyone in the RRF dev-team?)

        1 Reply Last reply Reply Quote 2
        • samlogan87undefined
          samlogan87
          last edited by

          @o_lampe thanks for that. I didn't read the manual properly. I agree. It is very confusing.

          Custom Core-XY

          fcwiltundefined 1 Reply Last reply Reply Quote 0
          • fcwiltundefined
            fcwilt @samlogan87
            last edited by

            @samlogan87

            The macro folder is intended for those bits of code that you want appear in the macro section of the DWC where you can invoke them using the mouse.

            The sys folder is for most everything else.

            Frederick

            Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

            1 Reply Last reply Reply Quote 1
            • First post
              Last post
            Unless otherwise noted, all forum content is licensed under CC-BY-SA