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

    Pause without homing

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    3
    4
    173
    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.
    • equipment66undefined
      equipment66
      last edited by equipment66

      Good afternoon.
      I need adjust tool head position for resume my milling project after crash. The idea is to use special gcode for moving tool to special points, pause it and find right offset values with micro steps.
      I gave already made G-code, but machine is moving to home position on the pause. I have also tried M1 command too. Tool head stays in right position, but I can not resume for moving to next point.
      Would it be possible put machine to the pause without changes in pause.g? Any special g-code command or something like that?
      Thanks in advance!

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

        I'm not sure I understand what you're asking. You control what happens when you pause with pause.g

        ; pause.g
        ; called when a print from SD card is paused
        ;
        ; generated by RepRapFirmware Configuration Tool on Wed Feb 07 2018 13:21:45 GMT-0600 (CST)
        G10		; retract filament
        G91		; relative positioning
        G1 Z5 F600	; lift Z by 5mm
        G90		; absolute positioning
        G1 X10 Y10 F10000	; go to X=0 Y=0
        

        In this case it moves to x10 y10, but you could make it do whatever you want.

        Z-Bot CoreXY Build | Thingiverse Profile

        equipment66undefined 1 Reply Last reply Reply Quote 0
        • equipment66undefined
          equipment66 @Phaedrux
          last edited by equipment66

          @phaedrux , thank you foe your answer.

          I'll try to explain 🙂

          I just looking how to solve 3 problems:

          1. pause or freeze machine in the middle of program;
          2. unlock buttons for adjustment of position;
          3. resume program.

          I'm new in g-code and my question is is it possible to do it with single piece of gcode without changes in firmware (e.g. editing pause.g)? Or not? You can find piece of code bellow:

          code_text
          
          G0 X0.000 Y0.000 S15000
          G0 X201.000 Y143.700 Z16.000		; moving tool to initial point
          G1 Z25
          G1 X180.000 Y143.875			; moving to 1st control point
          M1					; Pause for adjustment of axis X
          G1 X159.000 Y105.38			; moving to 2nd control point
          M1					; Pause for adjustment of axis Y
          G1 X180.000 Y143.875			; ... Moving o next point
          

          So, I'm looking what to use instead of M1 because I can not resume after it 🙂

          dc42undefined 1 Reply Last reply Reply Quote 0
          • dc42undefined
            dc42 administrators @equipment66
            last edited by

            @equipment66 use M226 instead of M1.

            Duet WiFi hardware designer and firmware engineer
            Please do not ask me for Duet support via PM or email, use the forum
            http://www.escher3d.com, https://miscsolutions.wordpress.com

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