M600, filament-change.g not working



  • 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?


  • Moderator

    Is this with a Duet 3 standalone or with SBC?



  • Sorry should have specified, with a Raspberry pi 4 SBC


  • Moderator

    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.



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


  • Moderator

    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.



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


  • Moderator

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



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


Log in to reply