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

    E2 and E3 stepper filament sensor

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    2
    3
    302
    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.
    • pisagorrundefined
      pisagorr
      last edited by

      Hello,
      I am using Duet 1.03 and Duex2 board on my idex printer. Right now I am using E2 and E3 stepper drivers for the extruder. When i try to configure filament runnig out sensor using endstop switch it is not working. I connected to output E2 endstop and E3 endstop. How can i configure them ?

      here is my config.g
      ; General preferences
      M111 S0 ; Debugging off
      G21 ; Work in millimetres
      G90 ; Send absolute coordinates...
      M83 ; ...but relative extruder moves
      M555 P2 ; Set firmware compatibility to look like Marlin
      M208 X-14 Y-5 Z0 V0 S1 ; Set axis minima
      M208 X316 Y325 Z330 V330 S0 ; Set axis maxima
      M501 ; check conig override file
      M574 S0 ; Define active low and unused microswitches
      M574 X1 Y1 Z1 V1 S1 ; Define active high microswitches
      M581 E2 S0 T3 C0
      M581 E2 S1 T4 C0
      M581 E3 S0 T3 C0
      M581 E3 S1 T4 C0

      ; Drives
      M569 P0 S0 ; Drive 0
      M569 P1 S1 ; Drive 1
      M569 P2 S0 ; Drive 2
      M569 P5 S0 ; Drive 3
      M569 P4 S0 ; Drive 4
      M584 X0 Y1 Z2:4 V4 E5
      M350 X256 Y256 Z256 E256 V256 I0 ; Configure microstepping without interpolation
      M92 X1280 Y1280 Z10240 V10240 E2400 ; Set steps per mm
      M566 X700 Y700 Z10 V10 E120 ; Set maximum instantaneous speed changes (mm/min)
      M203 X12000 Y12000 Z700 V700 E6500 ; Set maximum speeds (mm/min)
      M201 X2000 Y2000 Z120 V120 E900 ; Set accelerations (mm/s^2)
      M906 X1200 Y2400 Z1400 V1400 E700 I30 ; Set motor currents (mA) and motor idle factor in per cent
      M84 S30 ; Set idle timeout
      M564 H0 ; Allow movement of axes that have not been homed (needed for ressurection)

      ; Heaters
      M143 S380 ; Set maximum heater temperature to 380C
      M305 P0 T100000 B4623 C9.264103e-8 R4193 ; Set thermistor + ADC parameters for heater 0 (bed)
      M305 P1 X200 ; Pt100 (head)
      M305 P2 T100000 B4623 C9.264103e-8 R4193 ; chamber thermistor
      M141 H2 ; set chamber temp to H2
      M104 H1 ; set extruder temp to H1

      ; Tools
      M563 P0 D0 H1 ; Define tool extruder 0
      G10 P0 X0 Y0 Z0 ; Set tool 0 axis offsets
      G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C

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

        From https://duet3d.dozuki.com/Wiki/Gcode?revisionid=HEAD#Section_M591_Configure_filament_sensing:

        Cnn Which input the filament sensor is connected to. On Duet electronics: 0=X endstop input, 1=Y endstop input, 2=Z endstop input, 3=E0 endstop input etc. If you have a Duex 2 or Duex 5 in your system, note that C5 thru C9 (the endstop inputs on the DueX) cannot be used for filament monitors, but C10 and C11 (the endstop inputs on the CONN_LCD connector) can.

        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
        • pisagorrundefined
          pisagorr
          last edited by

          Thank you.

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