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

    Call macro in homez to clear BLtouch fault

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    2
    3
    201
    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.
    • cdl1701yahoo.comundefined
      cdl1701yahoo.com
      last edited by

      I want to be able to call a macro in my Homez.g file and then have it wait a second before moving on to the rest of the lines to run the homing to give it time to clear any faults with the BLtouch but cannot get it working. The Alarm_release.g macro works fine on its own just not within the homez.g when there is a fault

      ; homez.g
      ; called to home the Z axis
      M98 P"/macros/BL_TOUCH/Alarm_release.g" ; Clear any faults

      G91
      G1 S1 Z10 F6000 ; Lift z so we don't crash
      G90
      G1 X178 Y176 F6000 ; Move probe to middle of bed
      M558 F500 ; Set the probing speed
      G30 ; Do a single FAST probe to home Z axis
      M558 F50 ; Set slower probing speed
      G30 ; Do a single SLOW probe to home Z axis

      1 Reply Last reply Reply Quote 0
      • Phaedruxundefined
        Phaedrux Moderator
        last edited by

        I would suggest just putting the servo commands directly into the beginning of the homez.g and using M400 and a G4 dwell command to have it pause for a second before continuing.

        Z-Bot CoreXY Build | Thingiverse Profile

        cdl1701yahoo.comundefined 1 Reply Last reply Reply Quote 0
        • cdl1701yahoo.comundefined
          cdl1701yahoo.com @Phaedrux
          last edited by

          @Phaedrux said in Call macro in homez to clear BLtouch fault:

          M400

          Ahh that did it! Thanks for the help.

          ; homez.g
          ; called to home the Z axis
          M98 P"/macros/BL_TOUCH/Alarm_release.g" ; Clear any faults
          M400
          G4 P500
          G91
          G1 S1 Z10 F6000 ; Lift z so we don't crash
          G90
          G1 X178 Y176 F6000 ; Move probe to middle of bed
          M558 F500 ; Set the probing speed
          G30 ; Do a single FAST probe to home Z axis
          M558 F50 ; Set slower probing speed
          G30 ; Do a single SLOW probe to home Z axis

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