Extruder drives show zero current



  • I cant seem to get my E0 and E1 steppers to move. I believe I have configured the firmware correctly.
    When I go to my machine settings on the DWC it shows that the extruders are configured to 0Ma. This is despite the drive mapping in
    M584 and setting the current in M906.
    Diagnostics tell me that the duex 5 is recognised ( the duex 5 has just been replaced as it was previousley not being recognised by the duet 2).
    Could anyone please check over my config g. and see if I'm missing something?
    I am running a Duet 2 Ethernet with a Duex 5.
    This is my Config G:

    config (3).g

    Here is a picture of settings in question:
    MachineProperties1.PNG

    Cheers!



  • Sorry, not sure if the config g above is viewable. Her is a cut and paste:

    ; Configuration file for Duet WiFi (firmware version 3)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool v2.1.8 on Mon May 11 2020 12:21:41 GMT+1000 (Australian Eastern Standard Time)

    ; General preferences
    G90 ; send absolute coordinates...
    M83 ; ...but relative extruder moves
    M550 P"Vandal" ; set printer name

    ; Network
    M552 S1 P0.0.0.0 ; enable network
    M586 P0 S1 ; enable HTTP
    M586 P1 S0 ; disable FTP
    M586 P2 S0 ; disable Telnet

    ; Drives
    M569 P1 S1 ; physical drive 1 goes forwards X
    M569 P2 S0 ; physical drive 2 goes backwards Y
    M569 P0 S1 ; physical drive 0 goes forwards Z1
    M569 P3 S1 ; physical drive 3 goes forwards Z2
    M569 P4 S1 ; physical drive 4 goes forwards Z3
    M569 P5 S1 ; physical drive 5 goes forwards E0
    M569 P6 S1 ; physical drive 6 goes forwards E1

    M584 X1 Y2 Z0:3:4 E5:6 ; set drive mapping
    M350 X16 Y16 Z16:16:16 E16:16 I1 ; configure microstepping with interpolation
    M92 X80.00 Y40.00 Z1216.00:1216.00:1216.00 E420.00:420.00 ; set steps per mm
    M566 X900.00 Y900.00 Z12.00:12.00:12.00 E120.00:120.00 ; set maximum instantaneous speed changes (mm/min)
    M203 X6000.00 Y6000.00 Z180.00:180.00:180.00 E1200.00:1200.00 ; set maximum speeds (mm/min)
    M201 X500.00 Y500.00 Z20.00:20.00:20.00 E250.00:250.00 ; set accelerations (mm/s^2)
    M906 X1600 Y1600 Z1600:1600:1600 E1600:1600 I30 ; set motor currents (mA) and motor idle factor in per cent
    M84 S30 ; Set idle timeout

    ; Axis Limits
    M208 X0 Y0 Z0 S1 ; set axis minima
    M208 X600 Y430 Z700 S0 ; set axis maxima
    M671 X300:4:595 Y-150:540:540 S20 ; leadscrews at rear left, front middle and rear right

    ; Endstops
    M574 X1 S1 P"nil" ; Make x endstop available
    M574 Y1 S1 P"nil" ; Make y endstop available
    M574 Z1 S1 P"nil" ; Make z endstop available
    M574 X1 S1 P"!ystop" ; configure active-low endstop for low end on X via pin ystop
    M574 Y1 S1 P"!zstop" ; configure active-low endstop for low end on Y via pin zstop

    ; Z-Probe
    M558 P9 C"^zprobe.in" H10 F120 T5000 ; set Z probe type to unmodulated and the dive height + speeds
    M950 S0 C"duex.pwm4" ; configure servo pin0 for 3D Touch
    G31 P500 X0 Y25 Z2.5 ; set Z probe trigger value, offset and trigger height
    M557 X50:600 Y20:360 S80 ; define mesh grid

    ; Tool changing Servo
    M950 S3 C"duex.pwm2" ; configure servo pin3 for rocker

    ; Heaters
    M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin bedtemp
    M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0
    M143 H0 S120 ; set temperature limit for heater 0 to 120C
    M307 H0 B1 S1.00 ; enable bang-bang mode for the bed heater and set PWM limit
    M140 H0 ; map heated bed to heater 0
    M308 S1 P"e0temp" Y"thermistor" T100000 B4138 ; configure sensor 1 as thermistor on pin e0temp
    M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1
    M143 H1 S280 ; set temperature limit for heater 1 to 280C
    M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
    M308 S2 P"e1temp" Y"thermistor" T100000 B4138 ; configure sensor 2 as thermistor on pin e1temp
    M950 H2 C"e1heat" T2 ; create nozzle heater output on e1heat and map it to sensor 2
    M143 H2 S280 ; set temperature limit for heater 2 to 280C
    M307 H2 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit

    ; Fans
    M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency
    M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off
    M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency
    M106 P1 S1 H-1 ; set fan 1 value. Thermostatic control is turned off

    ; Tools
    M563 P0 D0 H1 F0 ; define tool 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
    M563 P1 D1 H2 F0 ; define tool 1
    G10 P1 X0 Y0 Z0 ; set tool 1 axis offsets
    G10 P1 R0 S0 ; set initial tool 1 active and standby temperatures to 0C

    ; Custom settings are not defined


  • Moderator

    Can you please share the results of M122?
    Please post a photo showing your Duex wiring?
    Are you sure you've connected to the right drivers on the Duex?
    If you send M906 by itself in the gcode console what does it report?
    If you send M913 by itself in the gcode console what does it report?

    M584 X1 Y2 Z0:3:4 E5:6                               ; set drive mapping
    M350 X16 Y16 Z16:16:16 E16:16 I1                        ; configure microstepping with interpolation
    M92 X80.00 Y40.00 Z1216.00:1216.00:1216.00 E420.00:420.00             ; set steps per mm
    M566 X900.00 Y900.00 Z12.00:12.00:12.00 E120.00:120.00            ; set maximum instantaneous speed changes (mm/min)
    M203 X6000.00 Y6000.00 Z180.00:180.00:180.00 E1200.00:1200.00        ; set maximum speeds (mm/min)
    M201 X500.00 Y500.00 Z20.00:20.00:20.00 E250.00:250.00            ; set accelerations (mm/s^2)
    M906 X1600 Y1600 Z1600:1600:1600 E1600:1600 I30               ; set motor currents (mA) and motor idle factor in per cent
    

    You need only define the values for the Z axis once and not per drive. Only the extruders need to be listed and configured independently.

    Should be

    M584 X1 Y2 Z0:3:4 E5:6                               ; set drive mapping
    M350 X16 Y16 Z16 E16:16 I1                        ; configure microstepping with interpolation
    M92 X80 Y40 Z1216 E420:420             ; set steps per mm
    M566 X900 Y900 Z12 E120:120            ; set maximum instantaneous speed changes (mm/min)
    M203 X6000 Y6000 Z180 E1200:1200        ; set maximum speeds (mm/min)
    M201 X500 Y500 Z20 E250:250            ; set accelerations (mm/s^2)
    M906 X1600 Y1600 Z1600 E1600:1600 I30               ; set motor currents (mA) and motor idle factor in per cent
    

    (I also removed the .00 for easier reading)



  • @Phaedrux See below:

    8:36:25 AMM913
    Motor current % of normal - X:100, Y:100, Z:100, E💯100
    8:35:39 AMM906
    Motor current (mA) - X:1600, Y:1600, Z:1600, E:1600:1600, idle factor 30%
    8:35:04 AMConnection established!
    8:34:55 AMDisconnected.
    8:30:51 AMM122
    === Diagnostics ===
    RepRapFirmware for Duet 2 WiFi/Ethernet version 3.1.0 running on Duet Ethernet 1.02 or later + DueX5
    Board ID: 08DGM-917NK-F2MSW-6JKFA-3SD6R-1H5DF
    Used output buffers: 3 of 24 (14 max)
    === RTOS ===
    Static ram: 28180
    Dynamic ram: 93964 of which 20 recycled
    Exception stack ram used: 256
    Never used ram: 8652
    Tasks: NETWORK(ready,836) HEAT(blocked,1224) DUEX(suspended,160) MAIN(running,1912) IDLE(ready,80)
    Owned mutexes:
    === Platform ===
    Last reset 00:06:33 ago, cause: watchdog
    Last software reset at 2106-02-07 06:28, reason: deliberate Unknown, spinning module unknown, available RAM 4294967295 bytes (slot 3)
    Software reset code 0xffff HFSR 0xffffffff CFSR 0xffffffff ICSR 0xffffffff BFAR 0xffffffff SP 0xffffffff Task ����
    Error status: 0
    MCU temperature: min 23.7, current 32.9, max 33.0
    Supply voltage: min 0.0, current 12.1, max 12.1, under voltage events: 0, over voltage events: 0, power good: yes
    Driver 0: standstill, SG min/max not available
    Driver 1: standstill, SG min/max not available
    Driver 2: standstill, SG min/max not available
    Driver 3: standstill, SG min/max not available
    Driver 4: standstill, SG min/max not available
    Driver 5: standstill, SG min/max not available
    Driver 6: standstill, SG min/max not available
    Driver 7: standstill, SG min/max not available
    Driver 8: standstill, SG min/max not available
    Driver 9: standstill, SG min/max not available
    Date/time: 2020-07-28 08:30:50
    Cache data hit count 883562925
    Slowest loop: 5.21ms; fastest: 0.09ms
    I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
    === Storage ===
    Free file entries: 10
    SD card 0 detected, interface speed: 20.0MBytes/sec
    SD card longest read time 6.8ms, write time 0.0ms, max retries 0
    === Move ===
    Hiccups: 0(0), FreeDm: 169, MinFreeDm: 169, MaxWait: 0ms
    Bed compensation in use: none, comp offset 0.000
    === MainDDARing ===
    Scheduled moves: 0, completed moves: 0, StepErrors: 0, LaErrors: 0, Underruns: 0, 0 CDDA state: -1
    === AuxDDARing ===
    Scheduled moves: 0, completed moves: 0, StepErrors: 0, LaErrors: 0, Underruns: 0, 0 CDDA state: -1
    === Heat ===
    Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1 -1 -1
    === GCodes ===
    Segments left: 0
    Movement lock held by null
    HTTP is idle in state(s) 0
    Telnet is idle in state(s) 0
    File is idle in state(s) 0
    USB is idle in state(s) 0
    Aux is idle in state(s) 0
    Trigger is idle in state(s) 0
    Queue is idle in state(s) 0
    Daemon is idle in state(s) 0
    Autopause is idle in state(s) 0
    Code queue is empty.
    === Network ===
    Slowest loop: 6.88ms; fastest: 0.01ms
    Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0), 0 sessions
    HTTP sessions: 1 of 8
    Interface state active, link 100Mbps full duplex
    === DueX ===
    Read count 1, 0.15 reads/min
    8:29:52 AMConnection established!
    8:29:52 AMPage Load complete!

    IMG_1151.jpg



  • Ok so I've come in fresh this morning and realised that the extruder is working. I had the feed rate so low that I couldn't hear or see it moving.
    Still showing 0Ma in the machine properties though. Strange, but not the end of the world.
    I am going to attempt a print today hopefully.
    Will let you know how it goes.
    🙂


  • Moderator

    Your firmware is 3.1 but there has been a bug fix release 3.1.1. I also suspect that your DWC might be out of date.

    Upload this zip file as is to the /sys folder

    https://github.com/Duet3D/RepRapFirmware/releases/download/3.1.1/Duet2and3Firmware-3.1.1.zip


Log in to reply