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

    Strange Behavior , after "Pause" 'Cancel ""print again"

    Scheduled Pinned Locked Moved Solved
    Beta Firmware
    4
    47
    1.9k
    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.
    • Phaedruxundefined
      Phaedrux Moderator @moth4017
      last edited by

      @moth4017 said in Strange Behavior , after "Pause" 'Cancel ""print again":

      M98 P/macros/sensorless_Z

      You may need to start quoting your file names when calling macros. It should be fine in standalone mode, but in SBC mode it is required and may be required in standalone in the future.

      It's a long shot, but still worth a shot.

      M98 P"/macros/sensorless_Z"

      Z-Bot CoreXY Build | Thingiverse Profile

      moth4017undefined 1 Reply Last reply Reply Quote 0
      • moth4017undefined
        moth4017 @Phaedrux
        last edited by

        @phaedrux
        No change

        Cancelled printing file 0:/gcodes/Body1_0.35mm_ABS__17m.gcode, print time was 0h 0m
        Error: Failed to home axes
        Error: Driver 0.4 error: over temperature shutdown
        Error: Driver 0.5 error: over temperature shutdown
        Error: Driver 0.4 error: over temperature shutdown
        Error: Driver 0.5 error: over temperature shutdown
        Error: Driver 0.4 error: over temperature shutdown
        Error: Driver 0.5 error: over temperature shutdown
        Error: Driver 0.4 error: over temperature shutdown
        Error: Driver 0.5 error: over temperature shutdown
        Warning: Driver 0.5 warning: over temperature warning
        Warning: Driver 0.4 warning: over temperature warning

        <

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

          Are your drivers actually getting hot to the touch or are they spurious warnings? Printing is working correctly, right?

          Z-Bot CoreXY Build | Thingiverse Profile

          moth4017undefined 1 Reply Last reply Reply Quote 0
          • moth4017undefined
            moth4017 @Phaedrux
            last edited by

            @phaedrux
            No they are not hot and i did a 8 hour print and they were ok , i only get that error after the "Pause, Cancel"

            <

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

              I assume you're in stealthchop mode for the stall detection?

              Z-Bot CoreXY Build | Thingiverse Profile

              moth4017undefined 1 Reply Last reply Reply Quote 0
              • moth4017undefined
                moth4017 @Phaedrux
                last edited by

                @phaedrux
                M569 P0.4 S1 D3 V30 ; physical drive 4 goes forwards D3=stealthchop
                M569 P0.5 S0 D3 V30 ; physical drive 5 goes backwards
                M569 P0.6 S1 D3 V30 ; physical drive 6 goes forwards

                <

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

                  Can you zip up the entire sys and macros folders and share them with me, either upload them here but first change the file extension to .txt or use a file sharing cloud service. I'd like to get a complete look at what's going on with the actual files.

                  Z-Bot CoreXY Build | Thingiverse Profile

                  moth4017undefined 1 Reply Last reply Reply Quote 0
                  • moth4017undefined
                    moth4017 @Phaedrux
                    last edited by

                    @phaedrux system_21_04-22.txt macros_21_-4_22.txt

                    <

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

                      Thanks, I'll have a look tomorrow.

                      Z-Bot CoreXY Build | Thingiverse Profile

                      moth4017undefined 1 Reply Last reply Reply Quote 0
                      • moth4017undefined
                        moth4017 @Phaedrux
                        last edited by

                        @phaedrux
                        Cheers
                        Mark

                        <

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

                          Can you try copying your cancel.g to stop.g?

                          Z-Bot CoreXY Build | Thingiverse Profile

                          moth4017undefined 1 Reply Last reply Reply Quote 0
                          • moth4017undefined
                            moth4017 @Phaedrux
                            last edited by

                            @phaedrux
                            Hi

                            ; stop.g
                            ; called when M0 (Stop) is run (e.g. when a print from SD card is cancelled)
                            ;
                            ; generated by RepRapFirmware Configuration Tool v3.3.10 on Thu Dec 30 2021 11:07:38 GMT+1300 (New Zealand Daylight Time)
                            
                            ;cancel.g
                            G28 X Y 
                            

                            Copied cancel .g to stop.g

                            Did "Pause" "M0" stop.g ran perfectly

                            Did "Pause " "cancel" ran perfectly

                            Did "Print again" after cancel
                            Cancelled printing file 0:/gcodes/Body1_0.2mm_ABS__9h28m.gcode, print time was 0h 1m
                            Error: Failed to home axes
                            Error: Driver 0.4 error: over temperature shutdown
                            Error: Driver 0.5 error: over temperature shutdown
                            Error: Driver 0.4 error: over temperature shutdown
                            Error: Driver 0.5 error: over temperature shutdown
                            Error: Driver 0.4 error: over temperature shutdown
                            Error: Driver 0.5 error: over temperature shutdown
                            Error: Driver 0.4 error: over temperature shutdown
                            Error: Driver 0.5 error: over temperature shutdown
                            Error: Driver 0.4 error: over temperature shutdown
                            Warning: Driver 0.5 warning: over temperature warning
                            Warning: Driver 0.5 warning: over temperature warning

                            <

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

                              I just noticed in your pack of files that cancel.g has a leading blank space character.

                              2d257d8b-aba0-4070-8242-dd1f69d558cb-Screen Shot 2022-03-22 at 12.16.36 AM.png Screen Shot 2022-03-22 at 12.16.36 AM.png

                              Z-Bot CoreXY Build | Thingiverse Profile

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

                                @moth4017 said in Strange Behavior , after "Pause" 'Cancel ""print again":

                                Did "Print again" after cancel
                                Cancelled printing file 0:/gcodes/Body1_0.2mm_ABS__9h28m.gcode, print time was 0h 1m
                                Error: Failed to home axes

                                Do you have a start.g file? If not, can you create one and add G28 to it?
                                That should make sure all axis are homed before the sliced gcode is executed.

                                I think the over temperature warnings on drivers 0.4 and 0.5 may be related to stall detection on the Z axis.

                                Z-Bot CoreXY Build | Thingiverse Profile

                                moth4017undefined 2 Replies Last reply Reply Quote 0
                                • moth4017undefined
                                  moth4017
                                  last edited by

                                  @phaedrux
                                  Will do ill test now so you have results in the morning

                                  <

                                  1 Reply Last reply Reply Quote 0
                                  • moth4017undefined
                                    moth4017 @Phaedrux
                                    last edited by moth4017

                                    @phaedrux
                                    Interesting after removing the "space " from the "cancel.g" file the commands now work
                                    also the over temperture errors seem to have stopped, will do more checks to confirm

                                    <

                                    1 Reply Last reply Reply Quote 0
                                    • moth4017undefined
                                      moth4017 @Phaedrux
                                      last edited by

                                      @phaedrux

                                      After testing , I can confirm all the above issues are caused by the space in front of the " Cancel.g" file , including the errors below.

                                      Thanks for the help. im guessing you will want to trap this issue some how, help happy to help test if needed .

                                      🅱 Cancelled printing file 0:/gcodes/Body1_0.35mm_PLA__17m.gcode, print time was 0h 0m
                                      Error: Probe was not triggered during probing move
                                      Error: Driver 0.4 error: over temperature shutdown
                                      Error: Driver 0.5 error: over temperature shutdown
                                      Error: Driver 0.4 error: over temperature shutdown
                                      Error: Driver 0.5 error: over temperature shutdown
                                      Error: Driver 0.4 error: over temperature shutdown
                                      Error: Driver 0.5 error: over temperature shutdown
                                      Error: Driver 0.6 error: over temperature shutdown
                                      Error: Driver 0.5 error: over temperature shutdown
                                      Error: Driver 0.4 error: over temperature shutdown

                                      <

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

                                        Well I think what's happening here is that with the cancel.g basically missing when the print is canceled it's getting sent M0

                                        https://docs.duet3d.com/en/User_manual/Reference/Gcodes#m0-stop-or-unconditional-stop

                                        Then when trying to print again the machine is not in a ready state. When the motors are in stealthchop mode they require a short tuning move and I guess that's not happening, hence the errors.

                                        It would be best to have a cancel.g and stop.g file present with the commands you wish to happen. Use M0 as your slicer end gcode, then have all your ending commands in stop.g.

                                        You can also use a start.g file that has any preparation commands you want. Like homing the printer, pre-heating, etc.

                                        That should give you more predictable behaviour.

                                        Z-Bot CoreXY Build | Thingiverse Profile

                                        moth4017undefined 1 Reply Last reply Reply Quote 0
                                        • moth4017undefined
                                          moth4017 @Phaedrux
                                          last edited by

                                          @phaedrux
                                          Thank you for the advice, please close thiis thread

                                          <

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