Dyze design filament sensor.



  • Hello Everyone. I have 3 folgertech ft-6's on duet 2 wifi's they print great i added a dyze design filament sensor to 2 of them. I want the printer to pause when there is a filament jam or if the printer runs out of filament and then continue printing when the jam is fixed or when new filament is added. Right now they print fine but i cannot get the printer to pause when the filament runs out. Has anyone done one of these? If so what gcode did you add where? I added M591 P1 C"e0_stop" S1 Under end stops. The filament sensor lights up when filament is inline so i know it is detecting. I tried adding these two lines M581 T2 E0 S0 C0, M591 D0 P1 C10 S1 R60:140 L0.305 E5 And it did not do anything.
    The dyze design site also says to add this M83 ; relative extruder moves
    G1 E-10 F600 ; retract 10mm of filament
    G91 ; relative positioning
    G1 Z2 F360 ; lift Z by 2mm
    G90 ; absolute positioning
    G1 X00 Y00 F6000 ; go to X=10 Y=10
    But under trigger2.g which i do not have so my guess is to make a new folder which is simple but still unsure how to set the printer up to resume printing once i have gotten filament into the hotend.
    Any help is appreciated! Thank you in advance.



  • I can only help with the resume part. That you will need to do manually once everything is ready to print again.

    The sensor being tripped needs to call your pause.g. In your pause.g you likely want to drop you bed to give you room to work and also keep you heaters on.

    Sorry I can’t help more.


  • Moderator

    @TheMaker said in Dyze design filament sensor.:

    The dyze design site also says to add this M83 ; relative extruder moves
    G1 E-10 F600 ; retract 10mm of filament
    G91 ; relative positioning
    G1 Z2 F360 ; lift Z by 2mm
    G90 ; absolute positioning
    G1 X00 Y00 F6000 ; go to X=10 Y=10
    But under trigger2.g which i do not have

    Create a new file in the /sys folder and save it as trigger2.g with that code in it.



  • Thanks guys. In the middle of some long prints today i will test this tomorrow and get back to you guys with the results.



  • Alright sorry for the wait. So when i run out of filament it still does not pause. How do i get the sensor to call for my Pause.g file? Is there something i need to input into the trigger file? I would imagine a pause Gcode? I am not fluent in gcode so not sure if there is one.


  • Moderator

    What line do you have in config.g right now to configure the sensor and what trigger file are you trying to call with it? Post both. Do you have a pause.g and resume.g file?



  • I have these under my end stops
    M591 P1 C"e0_stop" S1 ; filament monitor connected to E0_stop
    M581 T2 E0 S0 C0
    M591 D0 P1 C10 S1 R60:140 L0.305 E5

    This is my trigger2.g file
    M83 ; relative extruder moves
    G1 E-10 F600 ; retract 10mm of filament
    G91 ; relative positioning
    G1 Z5 F360 ; lift Z by 2mm
    G90 ; absolute positioning
    G1 X00 Y00 F6000 ; go to X=10 Y=10

    i also do have a pause.g/resume.g
    ; pause.g
    ; called when a print from SD card is paused
    ;
    ; generated by RepRapFirmware Configuration Tool v3.1.3 on Wed Jul 08 2020 11:05:59 GMT-0400 (Eastern Daylight Time)
    M83 ; relative extruder moves
    G1 E-10 F3600 ; retract 10mm of filament
    G91 ; relative positioning
    G1 Z5 F360 ; lift Z by 5mm
    G90 ; absolute positioning
    G1 X0 Y0 F6000 ; go to X=0 Y=0



  • You need to put a pause command in your trigger2.g

    Throw a M25 on the last line of the trigger2.g file, that should work.



  • @nhof said in Dyze design filament sensor.:

    M25

    Ill give it a shot sir thanks


  • administrators

    Which version of RepRapFirmware are you running? You have two M591 commands. One looks like it is meant for RRF3 but isn't correct, the other looks like it is meant for RRF2.


Log in to reply