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

    Macro not found errors

    Scheduled Pinned Locked Moved
    General Discussion
    2
    3
    241
    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.
    • luckyflyerundefined
      luckyflyer
      last edited by

      I've loaded 2 macros loadzprobe.g and parkzprobe.g to run from my slicer start scripts. I can run these macros by right clicking on the macro and selecting run Macro and they execute ok. I then go to the command line and enter M98 P"loadzprobe.g" and get a macro not found error. I get the error on both macros and when I try to print a file I get an error. What am I doing wrong? Running 3.4

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

        @luckyflyer

        GCode files placed in the Macros folder will not be found using M98 P"loadzprobe.g" - you need to use the full path.

        Or you can do what I do. I put such files in the SYS folder so a simple M98 works fine. I then put a M98 in a file in the Macros folder if I want to be able to run that code from the DWC macro buttons.

        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
        • luckyflyerundefined
          luckyflyer
          last edited by

          Thanks, corrected and working properly now.

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