New Duet 2 extruder not working



  • @Phaedrux Yes you are right and looking at the date it is one I somehow created, however when I right click on the folder and try to delete it comes back with, " Failed to delete system, please make sure this .directory is empty,, also
    Error:Failed to delete file0: /sys/sys



  • @GG you can't delete folders that have something in through DWC.
    Go into the folder and delete all the files first. then you can delete the folder


  • Moderator

    If the files you've been editing are in that second /sys folder, you should move those files into the root /sys folder rather than deleting the files.

    Another way would be to pop your SD card into a PC and edit the folder structure that way.

    It should look like this: https://duet3d.dozuki.com/Wiki/SD_Card#Section_Creating_the_file_structure



  • @Phaedrux Thanks folks, I got rid of that sys folder within system folder but the paneldue still behaves strangely, If I try to home x with paneldue, it homes slowly diagonally to the x home position then tells me error G0/G1: insufficient axis homed, then if I press print to clear the error page, and press home y, it homes all very slowly. Back to previous question, how to put my Z offset into config g I guess the slicer will need this, do I just enter g31 and the offset . Chers


  • Moderator

    Ok now that you've got that sorted, please post your homex, homey, homez, and homeall files from the system folder that remains. Also your config.g from there as well.

    The z offset for the probe is set in G31 in config.g

    https://duet3d.dozuki.com/Wiki/Test_and_calibrate_the_Z_probe#Section_Calibrate_the_Z_probe_trigger_height



  • I will as soon as I get dwc back it seems to have dropped off after deleting those folders. maybe this is relevant?


  • Moderator

    I think you should put the SD card in a PC and compare the folder structure to the link I posted earlier.



  • ; homex.g
    ; called to home the X axis
    ;
    ; generated by RepRapFirmware Configuration Tool v2.1.8 on Wed May 06 2020 16:21:04 GMT+0800 (中国标准时间)
    G91               ; relative positioning
    G1 H2 Z5 F6000    ; lift Z relative to current position
    G1 H1 X-235 F1800 ; move quickly to X axis endstop and stop there (first pass)
    G1 H2 X5 F6000    ; go back a few mm
    G1 H1 X-235 F360  ; move slowly to X axis endstop once more (second pass)
    G1 H2 Z-5 F6000   ; lower Z again
    G90               ; absolute positioning; 
    
    homey.g
    ; called to home the Y axis
    ;
    ; generated by RepRapFirmware Configuration Tool v2.1.8 on Wed May 06 2020 16:21:04 GMT+0800 (中国标准时间)
    G91               ; relative positioning
    G1 H2 Z5 F6000    ; lift Z relative to current position
    G1 H1 Y-215 F1800 ; move quickly to Y axis endstop and stop there (first pass)
    G1 H2 Y5 F6000    ; go back a few mm
    G1 H1 Y-215 F360  ; move slowly to Y axis e; homez.g
    ; called to home the Z axis
    ;
    ; generated by RepRapFirmware Configuration Tool v2.1.8 on Wed May 06 2020 16:21:04 GMT+0800 (中国标准时间)
    G91               ; relative positioning
    G1 H2 Z5 F6000    ; lift Z relative to current position
    G1 X150 Y150;     move probe to bed centre
    
    G30 ;        Probez0
    G1 X0 Y0;      return to home position
    ; Uncomment the following lines to lift Z after probing
    ;G91              ; relative positioning
    ;G1 Z5 F100       ; lift Z relative to current position
    ;G90              ; absolute positioning
    
    
    ndstop once more (second pass)
    G1 H2 Z-5 F6000   ; lower Z again
    
    ; homeall.g
    ; called to home all axes
    ;
    ; generated by RepRapFirmware Configuration Tool v2.1.8 on Wed May 06 2020 16:21:04 GMT+0800 (中国标准时间)
    G91                     ; relative positioning
    G1 H2 Z5 F6000          ; lift Z relative to current position
    G1 H1 X-235 Y-215 F1800 ; move quickly to X and Y axis endstops and stop there (first pass)
    G1 H2 X5 Y5 F6000       ; go back a few mm
    G1 H1 X-235 Y-215 F360  ; move slowly to X and Y axis endstops once more (second pass)
    G1 X150 Y150;           move probe to bed centre
    G30;                  probe z0
    G1 X0 Y0 ;            return to home pos
    
    ; Configuration file for Duet WiFi (firmware version 2.03)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool v2.1.8 on Wed May 06 2020 16:21:04 GMT+0800 (中国标准时间)
    
    ; General preferences
    G90                                             ; send absolute coordinates...
    M83                                             ; ...but relative extruder moves
    M550 P"My Printer"                              ; set printer name
    M669 K1                                         ; core xy mode
    M555 P2                                         ; set output to look like marlin
    G21                                             ; work in mm,s
    ; Network
    M552 S1                                         ; enable network
    M586 P0 S1                                      ; enable HTTP
    M586 P1 S0                                      ; disable FTP
    M586 P2 S0                                      ; disable Telnet
    
    ; Drives
    M569 P0 S1                                      ; physical drive 0 goes forwards
    M569 P1 S1                                      ; physical drive 1 goes forwards
    M569 P2 S0                                      ; physical drive 2 goes backwards
    M569 P3 S1                                      ;  physical drive 3 goes backwards          
    M569 P4 S0                                      ; physical drive 4 goes backwards
    ;Dual Z
    M584 X0 Y1 Z2:4 E3                              ; 
    M671 X-100:415 Y160:160 S2.0 ;
    M350 X16 Y16 Z16 E16 I1                      ; configure microstepping with interpolation
    M92 X80.00 Y80.00 Z400.00 E396.00      ; set steps per mm
    M566 X900.00 Y900.00 Z12.00 E120.00     ; set maximum instantaneous speed changes (mm/min)
    M203 X6000.00 Y6000.00 Z1000.00 E1200.00 ; set maximum speeds (mm/min)
    M201 X500.00 Y500.00 Z20.00 E250.00     ; set accelerations (mm/s^2)
    M906 X800 Y800 Z800 E800 I30                ; set motor currents (mA) and motor idle factor in per cent
    M84 S30                                         ; Set idle timeout
    
    ; Axis Limits
    M208 X-100 Y-30 Z0 S1                                ; set axis minima
    M208 X310 Y310 Z380 S0                          ; set axis maxima
    
    ; Endstops
    M574 X1 Y1  S0                                ; set active low and disabled endstops
    ;Filament Run Out Sensor
    M591 D0 P1 C4 S1;                              Filament run out sensor for extruder E0 on E1 end stop input P1 = signal HIGH .                                
    ; Z-Probe
    M574 Z1 S2;    
    
    M558 P1 H5 F600 T6000 A10 S0.03  I1                        ; disable Z probe but set dive height, probe speed and travel speed
    M557 X15:215 Y15:195 S20                        ; define mesh grid
    
    ; Heaters
    M305 P0 T100000 B3950 R4700                     ; set thermistor + ADC parameters for heater 0
    M143 H0 S120                                    ; set temperature limit for heater 0 to 120C
    M305 P1 T100000 B3950 R4700                     ; set thermistor + ADC parameters for heater 1
    M143 H1 S280                                    ; set temperature limit for heater 1 to 280C
    M305 P2 T100000 B3950 R4700                     ; set thermistor + ADC parameters for heater 2
    M143 H2 S280                                    ; set temperature limit for heater 2 to 280C
    
    ; Fans
    M106 P0 S0 I0 F500 H-1                          ; set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
    M106 P1 S1 I0 F500 H1:2 T45                     ; set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
    
    ; Tools
    M563 P0 D0 H1 S"Extruder"                              ; 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
                              
                                
                                   
    T0;
    M302 P1
    ; Custom settings are not defined
    M575 P1 S1 B57600;                               Enable paneldue
    

    Also the paneldue comes up with error M21 Cannot initialise SD card1 Card is unusable. I assume this is refering to Micro sd on the duet


  • Moderator

    How do you have the PanelDue connected? 4-wire or 10-pin flat?

    Do you have an SD card in the PanelDue?

    Can you post the results of M122 again?

    Do you get any error messages if you send M98 P"config.g" ?



  • 10/16/2020, 2:44:57 PM M122
    === Diagnostics ===
    RepRapFirmware for Duet 2 WiFi/Ethernet version 2.05 running on Duet Ethernet 1.02 or later
    Board ID: 0JD0M-9K662-MGPSS-6J9DG-3S86M-KBVYZ
    Used output buffers: 1 of 24 (6 max)
    === RTOS ===
    Static ram: 25712
    Dynamic ram: 92884 of which 296 recycled
    Exception stack ram used: 312
    Never used ram: 11868
    Tasks: NETWORK(ready,764) HEAT(blocked,1232) MAIN(running,3728) IDLE(ready,160)
    Owned mutexes:
    === Platform ===
    Last reset 00:01:52 ago, cause: power up
    Last software reset time unknown, reason: User, spinning module GCodes, available RAM 11860 bytes (slot 2)
    Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0441f000 BFAR 0xe000ed38 SP 0xffffffff Task 0x4e49414d
    Error status: 0
    Free file entries: 10
    SD card 0 detected, interface speed: 20.0MBytes/sec
    SD card longest block write time: 0.0ms, max retries 0
    MCU temperature: min 21.2, current 26.1, max 26.1
    Supply voltage: min 12.0, current 12.0, 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
    Date/time: 2020-10-16 14:44:56
    Cache data hit count 225397750
    Slowest loop: 3.96ms; fastest: 0.07ms
    I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
    === Move ===
    Hiccups: 0, FreeDm: 160, MinFreeDm: 160, MaxWait: 0ms
    Bed compensation in use: none, comp offset 0.000
    === DDARing ===
    Scheduled moves: 0, completed moves: 0, StepErrors: 0, LaErrors: 0, Underruns: 0, 0
    === Heat ===
    Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1
    Heater 1 is on, I-accum = 0.0
    === GCodes ===
    Segments left: 0
    Stack records: 1 allocated, 0 in use
    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
    serial is idle in state(s) 0
    aux is assembling a command in state(s) 0
    daemon is idle in state(s) 0
    queue is idle in state(s) 0
    autopause is idle in state(s) 0
    Code queue is empty.
    === Network ===
    Slowest loop: 4.46ms; fastest: 0.02ms
    Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) Telnet(0)
    HTTP sessions: 1 of 8
    Interface state 5, link 100Mbps full duplex
    === Filament sensors ===10/16/2020, 2:46:24 PM M98P"config.g"
    HTTP is enabled on port 80
    FTP is disabled
    TELNET is disabled
    Extruder 0 sensor: ok
    10/16/2020, 2:43:49 PM Connected to 192.168.1.12
    Im running the 4wire connection to paneldue and no sd card in paneldue


  • Moderator

    Now that you have the sys folder sorted out can you upload the whole firmware zip file again?

    https://github.com/Duet3D/RepRapFirmware/releases/download/2.05.1/Duet2Firmware-2.05.1.zip



  • @GG Reloaded firmware but paneldue still does not mimic dwc when homing, When I first put duet sd into computer , the pc tells me error on this card, ask windows to scan and fix, however it then opens to reveal contents ?? I tried to copy and paste the contents of the duet card and syst files but the pc tells me they are write protected and I cant copy and paste.



  • @GG said in New Duet 2 extruder not working:

    SD card1 Card is unusable

    that is the card reader on the paneldue.
    it could be that the wire picks up interference.


  • Moderator

    Do you have another SD card to try?

    Could the write protection on the SD card be from the adapter card you're using having the write protect switch flipped?


Log in to reply