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

    Why my macros are not been called?

    Scheduled Pinned Locked Moved Solved
    Laser Cutters
    3
    5
    293
    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.
    • flopesundefined
      flopes
      last edited by

      I have macros that respond to direct access by the DuePanel, but when I call them by the GCode, I get an error message
      This a portion of my code

      while iterations<8
      M98 P"Link.g"
      G00 X0 Y130
      M98 P"G54-Zero_Offset.g"
      M42P4S0

      Please help!
      Thanks

      droftartsundefined 1 Reply Last reply Reply Quote 0
      • droftartsundefined
        droftarts administrators @flopes
        last edited by

        @flopes what is the exact error message?

        Ian

        Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

        flopesundefined 1 Reply Last reply Reply Quote 0
        • flopesundefined
          flopes @droftarts
          last edited by

          Warning: Macro file G54-Zero_Offset.g not found
          Warning: Macro file Link.g not found

          jay_s_ukundefined 1 Reply Last reply Reply Quote 0
          • jay_s_ukundefined
            jay_s_uk @flopes
            last edited by

            @flopes if they're in the macros folder you'll have to use `M98 P"0:/macros/G54-Zero_Offset.g"

            Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

            flopesundefined 1 Reply Last reply Reply Quote 0
            • flopesundefined
              flopes @jay_s_uk
              last edited by

              @jay_s_uk Thank you very much

              1 Reply Last reply Reply Quote 1
              • T3P3Tonyundefined T3P3Tony marked this topic as a question
              • T3P3Tonyundefined T3P3Tony has marked this topic as solved
              • First post
                Last post
              Unless otherwise noted, all forum content is licensed under CC-BY-SA