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

    M600, filament-change.g not working

    Scheduled Pinned Locked Moved
    General Discussion
    2
    9
    431
    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.
    • janusofdoorsundefined
      janusofdoors
      last edited by

      Hello, I'm having trouble implementing filament change using M600. For starters I'm using Prusaslicer Version: 2.2.0+,
      Board: Duet 3 MB6HC (MB6HC)
      DSF Version: 3.1.1
      Firmware: RepRapFirmware for Duet 3 MB6HC 3.1.1 (2020-05-19b2)

      Every time I slice a print and put in a filament change, the gcode shows M600, the print instead just pauses and does not run sys/filament-change.g. I've tried simplifying filament-change.g but no luck. Here is the current version located in 0:/sys/filament-change.g

      ; filament-change.g
      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
      M291 P"Swap filament" S2
      G90 ;relative positioning
      G1 X20 Y50 Z-4.8 F1500 ;move to the side of the printer
      G11 ; unretract
      G1 H0 X470 Y50 Z0.2 E100 F800 ; move in a straight line extruding filament
      G1 H0 X20 Y50 Z0.4 E100 F800 ; move in a straight line extruding filament
      G10 ; retract
      G1 R1 Z5 F10000 ; go to 5mm above position of the last print move
      G1 R1 ; go back to the last print move
      G11 ; unretract

      None of this seems to run and instead the print just freezes after the last move. Is their something I'm missing here?

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

        Is this with a Duet 3 standalone or with SBC?

        Z-Bot CoreXY Build | Thingiverse Profile

        1 Reply Last reply Reply Quote 0
        • janusofdoorsundefined
          janusofdoors
          last edited by

          Sorry should have specified, with a Raspberry pi 4 SBC

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

            Thanks. It's possible that it's not currently working with the SBC.

            Would you be able to test it in standalone mode to confirm? If it's not working in DSF yet we can make sure it's on the list to look at.

            Z-Bot CoreXY Build | Thingiverse Profile

            1 Reply Last reply Reply Quote 0
            • janusofdoorsundefined
              janusofdoors
              last edited by

              Ya I can give it a try, should only take a few minutes

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

                Yes should be a matter of getting your configs onto a fresh SD card and booting it in the Duet 3 with the SBC disconnected.

                Z-Bot CoreXY Build | Thingiverse Profile

                janusofdoorsundefined 1 Reply Last reply Reply Quote 0
                • janusofdoorsundefined
                  janusofdoors @Phaedrux
                  last edited by

                  @Phaedrux Yup, it works without the SBC, any idea why that might be?

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

                    I'm not totally sure. It may not be totally implemented to work with the SBC yet.

                    Z-Bot CoreXY Build | Thingiverse Profile

                    janusofdoorsundefined 1 Reply Last reply Reply Quote 0
                    • janusofdoorsundefined
                      janusofdoors @Phaedrux
                      last edited by

                      @Phaedrux Alright thanks for the help, I guess I can substitute M226 in the gcode for now.

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