Done something to my config, now all tools are gone.



  • Not sure what I have done here but I had two tools set up with the exception of the drives. I was able to get the heaters working correctly and showing the temps but when I went to extrude some filament neither one would work so I went to my config to see if I had something set wrong. Now all my tools have disappeared and I can't figure out what is wrong.

    I am sure it is something simple but cannot see it.

    Set up:
    Duet Wifi & Duex5
    Firmware version 2.02
    Web interface 1.22.6

    First extruder is using:
    Drive 5 on Duex5
    Heater 3 on Duex5
    Thermistor 3 on Duex5

    Second extruder is using:
    Drive 6 on Duex5
    Heater 4 on Duex5
    Thermistor 4 on Duex5

    Config:

    ;General preferences*******************************************************************
    G90 ; Send absolute coordinates...
    M83 ; ...but relative extruder moves
    M669 K1 ; Select CoreXY mode

    ;Axis Limit*******************************************************************
    M208 X0 Y0 Z0 S1 ; Set axis minima
    M208 X355 Y355 Z400 S0
    M208 U0:180 ; Set axis maxima

    ;Endstop Settings*******************************************************************
    M574 Z1 S2 ; Set endstops controlled by probe
    M574 X1 Y1 S1 ; Set active high endstops
    M574 U1 S1 ; Set homing switch configuration for toolchange lock. Both switches should be wired NC and in series.

    ;Z-Probe*******************************************************************
    M307 H7 A-1 C-1 D-1 ; Disable heater on PWM channel for BLTouch
    M558 P9 F100 H5 R0.2 T6000 B0 ; Set Z probe type to BLTouch and the dive height + speeds
    G31 P25 X-3 Y-39.3 Z0.4 ; Set Z probe trigger value, offset and trigger height
    M557 X15:350 Y20:350 S2 ; Define mesh grid

    ;Drives*******************************************************************
    M584 X0 Y1 Z2:3 E5:6 U4 ; Drive mapping
    M569 P0 S0 ; X Drive 0 goes forwards
    M569 P1 S1 ; Y Drive 1 goes backwards

    M569 P2 S1 ; Z1 Drive 2 goes backwards
    M569 P3 S1 ; Z2 Drive 3 goes backwards

    M569 P4 S1 ; U Drive 4 goes backwards

    M569 P5 S0 ; E0 Drive 5 goes forwards
    M569 P6 S0 ; E1 Drive 6 goes forwards

    ;M569 P7 S0 ; NOT USED
    ;M569 P8 S0 ; NOT USED
    ;M569 P9 S0 ; NOT USED

    M350 X16 Y16 Z16 E16:16 U16 I1 ; Configure microstepping with interpolation
    M92 X66 Y66 Z1600 E443.62:443.62 U100 ; Set steps per mm
    M566 X250 Y250 Z300 E1000:1000 U100 ; Set maximum instantaneous speed changes (Jerk) (mm/min)
    M203 X30000 Y30000 Z400 E4000:4000 U5000 ; Set maximum speeds (mm/min)
    M201 X800 Y800 Z20 E1000:1000 U800 ; Set accelerations (mm/s^2)
    M906 X1200 Y1200 Z1300 E300:600 U1500 I30 ; Set motor currents (mA) and motor idle factor in percent
    M84 S30 ; Set idle timeout

    ;Heaters*******************************************************************
    M305 S"BED" P0 T100000 B4138 C0 ; Set thermistor
    M143 H0 S225 ; Set temperature limit for heater 0 to 225C

    M305 S"T0" P3 R4700 T100000 B4388 ;Set thermistor
    M143 H3 S300 ; Set temperature limit for heater 3 to 300C

    M305 S"T1" P4 R4700 T100000 B4388 ; Set thermistor
    M143 H4 S300 ; Set temperature limit for heater 4 to 300C

    ;Tools*******************************************************************
    M563 P0 S"T0" D5 H3 ; Define tool 0
    G10 P0 X0 Y0 Z0 ; Reset tool 0 axis offsets
    G10 P0 R0 S0 ; Reset initial tool 0 active and standby temperatures to 0C

    M563 P1 S"T1" D6 H4 ; Define tool 1
    G10 P1 X0 Y0 Z0 ; Reset tool 1 axis offsets
    G10 P1 R0 S0 ; Reset initial tool 1 active and standby temperatures to 0C

    ;tool offsets
    G10 P0 X9 Y39 Z0 ; T0
    G10 P1 X9 Y39 Z0 ; T1
    ;G10 P2 X-9 Y39 Z-5 ; T2
    ;G10 P3 X-9 Y39 Z-5 ; T3

    ;Fans*******************************************************************
    ;M106 P0 S0 I0 F500 H-1 ; UNUSED
    M106 C"T0 FAN" P3 S255 I0 F500 H3 T70 ; T0 HE
    M106 C"T0 LAY FAN" P4 S0 I0 F500 H-1 ; T0 PCF
    M106 C"T1 FAN" P5 S0 I0 F500 H4 T70 ; T1 HE
    M106 C"T1 LAY FAN" P6 S0 I0 F600 H-1 ; T1 PCF
    ;M106 P7 S0 H3 T70 ; T2 HE
    ;M106 P8 S0 ; T2 PCF



  • Hi,

    I'm a bit confused.

    In your 1st M563 you specify tool 1, name it tool 0 and comment it as tool 2.

    in you 2nd M563 you specify tool 2, name it tool 1 and comment it as tool 3.

    And why is there no M562 for tool 0?

    So what is going on there?

    Frederick



  • Check now, I fixed the names



  • Just did a Firmware Diagnostics and shows that the Drives 5-9 are not available... What would cause that?

    Supply voltage: min 24.0, current 24.2, max 24.4, under voltage events: 0, over voltage events: 0, power good: yes
    Driver 0: standstill, SG min/max 0/203
    Driver 1: standstill, SG min/max 11/253
    Driver 2: standstill, SG min/max 0/346
    Driver 3: standstill, SG min/max 0/263
    Driver 4: standstill, SG min/max 0/398
    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: 2019-11-09 21:20:52
    Cache data hit count 2022493585
    Slowest loop: 6.65ms; fastest: 0.07ms



  • Hi,

    OK so still no tools?

    Off topic but thought I would mention it.

    I would update to firmware 2.04.

    Regards M208: There is a "short form" now M208 Xmin:max keeping all the values together in one command.

    Regards the M565/G10 "pairs": You can use just one G10 command with both sets of parameters. Again keeping things together.

    Still haven't seen the problem. Will keep looking unless you find it first.

    Frederick



  • Nope still no tools.



  • @cdl1701yahoo-com said in Done something to my config, now all tools are gone.:

    Nope still no tools.

    OK I will have to look again.

    Frederick



  • Upgraded Firmware to 2.04.
    Just an FYI, still no tools



  • @cdl1701yahoo-com said in Done something to my config, now all tools are gone.:

    Upgraded Firmware to 2.04.
    Just an FYI, still no tools

    Well we are missing something obvious.

    Frederick



  • Hi,

    I think the problem is the drive numbers in the M563 command.

    I just checked my config and even though T0 is drive 3 in the M584 it is drive 0 in the M563.

    I think that drive numbers in M563 start at 0 for the first extruder regardless of the drive number in M584.

    Try that.

    Frederick



  • Well that got my tools back but this is how it looks on my duet panel.
    If I change the H parameter to use 1 & 2 then 3 & 4 go away but still shows 2000 temp reading which is obviously wrong! haha

    1109192158.jpg



  • Hi,

    I don't think the heaters change numbers.

    If memory serves they are always 0,1,2 on the Duet WiFi and 3,4,5,6,7 on the Duex5.

    I have a duet panel but I have never used it.

    Frederick



  • Any Idea how to get 3 & 4 to show as 1 & 2?



  • @cdl1701yahoo-com said in Done something to my config, now all tools are gone.:

    Any Idea how to get 3 & 4 to show as 1 & 2?

    No I don't. Someone should.

    I never used my panel - it was just easier to use the web interface.

    Frederick


Log in to reply