Duet 3 : No tool nor bed shown



  • Hi,

    Can someone tell me what I'm doing wrong ?
    I have not tool nor bed and the temperature graph is empty.

    Here is my config.g

    G90                                            			; Send absolute coordinates...
    M83                                            			; ...but relative extruder moves
    
    M669 K1                                        			; Select CoreXY mode
    
    ; Drives
    M569 P0.0 S0                                   			; Physical drive 0.0 goes forwards
    M569 P0.1 S0                                   			; Physical drive 0.1 goes forwards
    M569 P0.2 S0				       			   			; Physical drive 0.2 goes forwards
    M569 P0.3 S0                                   			; Physical drive 0.3 goes forwards
    M569 P0.4 S1                                   			; physical drive 0.4 goes forwards
    
    M584 X0.2 Y0.3 Z0.1:0.4 E0.0				   			; set drive mapping
    M350 X16 Y16 Z16:16 E16 I1                     			; Configure microstepping with interpolation
    
    M92 X80.00 Y80.00 Z400.00 E837.20      					; Set steps per mm
    M566 X1000.00 Y1000.00 Z50.00 E1000.00          		; Set maximum instantaneous speed changes (mm/min)
    M203 X6000.00 Y6000.00 Z500.00 E5000.00        			; Set maximum speeds (mm/min)
    M201 X2000.00 Y2000.00 Z100.00 E2000.00         		; Set accelerations (mm/s^2)
    M906 X800.00 Y800.00 Z1200.00 E800.00 I30       		; Set motor currents (mA) and motor idle factor in per cent
    M84 S30                                        			; Set idle timeout
    
    ; Axis Limits
    M208 X-10 Y-35 Z0 S1                            		; Set axis minima
    M208 X300 Y300 Z300 S0                         			; Set axis maxima
    
    ; Endstops
    M574 X1 S4												; Set endstops controlled by multiple motor load detection
    M574 Y1 S4                               				; Set endstops controlled by multiple motor load detection
    M574 Z1 S2												; z Probe
    M915 X Y S6 R1											; Configure motor load detection
    
    ; Z-Probe
    M950 S0 C"io7.out"                              		; create servo pin 0 for BLTouch
    M558 P9 C"^io7.in" H5 F50 T2000                 		; set Z probe type to bltouch and the dive height + speeds
    G31 P500 X0 Y79.3 Z1.2                          		; set Z probe trigger value, offset and trigger height
    M557 X20:280 Y20:280 S20                       			; Define mesh grid
    
    ; Sensors
    	; Bed
    M308 S0 P"temp0" Y"thermistor" T100000 B3950 R4700      ; configure sensor 0 as thermistor on pin temp0
    	; Extruder 0
    M308 S1 P"temp1" Y"thermistor" T100000 B4725 C7.06e-8   ; configure sensor 1 as thermistor on pin temp1
    	;Electronique
    M308 S2 Y"drivers" A"DRIVERS"  							; configure sensor 2 as temperature warning and overheat flags on the TMC2660 on Duet
    M308 S3 Y"mcu-temp" A"MCU" 	   							; configure sensor 3 as thermistor on pin e1temp for left stepper
    
    ; Heaters
    	; Bed
    M950 H0 C"out0" T0 Q1.00                                ; create bed heater output on out0 and map it to sensor 0
    M307 H0 B0 S1.00                                        ; disable bang-bang mode for the bed heater and set PWM limit
    M140 H0                                                 ; map heated bed to heater 0
    M143 H0 S150                                            ; set temperature limit for heater 0 to 150C
    M307 H0 A165.1 C686.8 D1.7 S1.00 V25.6 B0
    	; Extruder 0
    M950 H1 C"out1" T1                                      ; create nozzle heater output on out1 and map it to sensor 1
    M307 H1 B0 S1.00                                        ; disable bang-bang mode for heater  and set PWM limit
    M143 H1 S280                                            ; set temperature limit for heater 1 to 280C
    M307 H1 A531.2 C241.0 D3.4 S1.00 V25.4 B0
    
    
    ; Fans
    	;HotEnd
    M950 F0 C"out3" Q25000                                  ; create fan 0 on pin out3 and set its frequency
    M106 P0 S0 H-1                                          ; set fan 0 value. Thermostatic control is turned off
    	;HeatBreaker
    M950 F1 C"out4" Q500                                    ; create fan 1 on pin out4 and set its frequency
    M106 P1 S1 H1 T45                                       ; set fan 1 value. Thermostatic control is turned on
    	;Electronique
    M950 F2 C"out5" Q100                                    ; create fan 2 on pin out5 and set its frequency
    M106 P2 S1 H2:3 L0.15 X1 B2 T40:70                      ; set fan 2 value. Thermostatic control is turned on
    
    ; 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
    G10 L2 P1 X0.00 Y0.00 Z0.00
    M572 D0 S0.25 
    
    
    
    ; Automatic saving after power loss is not enabled
    
    ; Custom settings are not configured
    M575 P1 S1 B57600                                       ; enable support for PanelDue
    
    
    
    


  • what happens if you try modifying both of the M308 to include A

    M308 S0 P"temp0" Y"thermistor" A"Bed Temp" T100000 B3950 R4700
    


  • @dhusolo Thanks for the reply.

    I just tried, but still the same. no sensor, no tools, no bed.



  • @Donpi I had the same problem at one point but I can't remember exactly what I did to fix it. It might have been re-uploading the firmware.

    This is my heater section. Try pasting it into your config.g to see if it works but make sure you make a backup of it first and you restart the printer after you upload the config

    ; Heaters
    M308 S0 P"temp0" Y"thermistor" A"Bed Temp" T100000 B4700 C0.0000000706                   ; configure sensor 0 as thermistor on pin temp0
    M308 S1 P"temp1" Y"thermistor" A"Extruder Temp" T100000 B4725 C0.0000000706               ; configure sensor 1 as thermistor on pin temp1
    M950 H0 C"out1" T0                                 ; create bed heater output on out1 and map it to sensor 0
    M950 H1 C"out2" T1                                 ; create nozzle heater output on out2 and map it to sensor 1
    M307 H0 A326.4 C1281.8 D11.0 V24.5 B0              ; Set PID for bed heater
    M140 H0                                            ; map heated bed to heater 0
    M143 H0 S100                                       ; set temperature limit for heater 0 to 100C
    M307 H1 A319.6 C112.6 D2.2 V24.5 S1.0 B0			; Set PID for Hotend .4Bmm nozzle
    M143 H1 S260                         				; Set temperature limit for heater 1 to 260C
    M308 S2 P"mcu-temp" Y"mcu-temp" A"Duet Board" ; Configure MCU sensor
    
    ; Fans
    M950 F0 C"out9" Q500                               ; create fan 0 on pin out9 and set its frequency
    M106 P0 C"Layer Fan" S0 H-1                                     ; set fan 0 value. Thermostatic control is turned off
    M950 F2 C"out7" Q500                               ; create fan 1 on pin out7 and set its frequency
    M106 P2 C"MB Fan" T40:55 H2                                  ; set fan 1 value. Thermostatic control is turned on
    M950 F1 C"out8" Q500                               ; create fan 1 on pin out8 and set its frequency
    M106 P1 S255 H1 T30                                  ; set fan 1 value. Thermostatic control is turned on
    
    
    ; 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
    


  • @Donpi double check your firmware version. Send M115 in the console to see what it says. You should be running version 3.1.1 to match your config.


  • Moderator

    @Donpi I can't see anything particularly wrong with your config.g. Please send M122 and post the reply. Are you using Duet 3 in standalone or with SBC?

    Also, send M98 P"config.g" and see if config.g generates any errors. If not, send M308 S0 and M308 S1 to report sensor configuration, then M950 T0 and M950 T1. You should get a response something like:

    M308 S0
    Sensor 0 type Thermistor using pin bedtemp, reading 19.1, last error: sensor not ready, T:100000.0 B:3988.0 C:0.00e+0 R:4700.0 L:0 H:0
    M950 H0
    Heater 0 pin bedheat frequency 250Hz, sensor 0
    

    Ian



  • @engikeneer M115 return this :
    9eb4f6a0-ae9d-4a08-b080-3f3eb06b60e4-image.png





  • @droftarts

    I use a Raspberry 4 2Go as SBC.

    M98 P"config.g" Show me the welcome message again.
    But no error

    Here is the return of
    M308 S0
    M308 S1
    M950 S0
    M950 S1
    976be167-1841-40d5-a62f-5d575fc24244-image.png

    M122 returns this :

    M122
    === Diagnostics ===
    RepRapFirmware for Duet 3 MB6HC version 3.01-RC9 running on Duet 3 MB6HC v1.01 or later
    Board ID: 08DJM-956BA-NA3TN-6JTDG-3SD6J-TABLTUsed output buffers: 1 of 40 (11 max)
    === RTOS ===
    Static ram: 154572
    Dynamic ram: 160680 of which 20 recycled
    Exception stack ram used: 264
    Never used ram: 77680
    Tasks: NETWORK(ready,2076) HEAT(blocked,1412) CanReceiv(suspended,3824) CanSender(suspended,1484) CanClock(blocked,1432) TMC(blocked,216) MAIN(running,5036) IDLE(ready,80)
    Owned mutexes:
    === Platform ===
    Last reset 00:03:46 ago, cause: power up
    Last software reset details not available
    Error status: 0
    Free file entries: 10
    SD card 0 not detected, interface speed: 37.5MBytes/sec
    SD card longest block write time: 0.0ms, max retries 0
    MCU temperature: min 20.8, current 26.6, max 26.8
    Supply voltage: min 24.9, current 24.9, max 25.0, under voltage events: 0, over voltage events: 0, power good: yes
    12V rail voltage: min 12.0, current 12.1, max 12.1, under voltage events: 0
    Driver 0: standstill, reads 6924, writes 11 timeouts 0, SG min/max 0/0
    Driver 1: standstill, reads 6925, writes 11 timeouts 0, SG min/max 0/0
    Driver 2: standstill, reads 6925, writes 11 timeouts 0, SG min/max 0/0
    Driver 3: standstill, reads 6926, writes 11 timeouts 0, SG min/max 0/0
    Driver 4: standstill, reads 6926, writes 11 timeouts 0, SG min/max 0/0
    Driver 5: standstill, reads 6927, writes 11 timeouts 0, SG min/max 0/0
    Date/time: 2020-11-18 12:04:16
    Slowest loop: 3.26ms; fastest: 0.14ms
    === Move ===
    Hiccups: 0(0), FreeDm: 375, MinFreeDm: 375, 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 = -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1, chamberHeaters = -1 -1 -1 -1
    === GCodes ===
    Segments left: 0
    Movement lock held by null
    HTTP* is ready with "M122" 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
    LCD is idle in state(s) 0
    SBC is idle in state(s) 0
    Daemon* is idle in state(s) 0 0, running macro
    Autopause is idle in state(s) 0
    Code queue is empty.
    === Network ===
    Slowest loop: 1.90ms; fastest: 0.01ms
    Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) Telnet(0)
    HTTP sessions: 0 of 8
    - Ethernet -
    State: disabled
    Error counts: 0 0 0 0 0
    Socket states: 0 0 0 0 0 0 0 0
    === CAN ===
    Messages sent 0, longest wait 0ms for type 0
    === Linux interface ===
    State: 0, failed transfers: 0
    Last transfer: 17ms ago
    RX/TX seq numbers: 6649/6650
    SPI underruns 0, overruns 0
    Number of disconnects: 0
    Buffer RX/TX: 0/0-0
    === Duet Control Server ===
    Duet Control Server v3.1.1
    Daemon:
    Finishing macro daemon.g, started by system
    > Next stack level
    Code buffer space: 4096
    Configured SPI speed: 8000000 Hz
    Full transfers per second: 0.82
    


  • @jay_s_uk
    you meen with with
    sudo apt update
    sudo apt upgrade

    I'll allready done it but noting install.



  • @Donpi said in Duet 3 : No tool nor bed shown:

    I'll allready done it but noting install.

    try running M997 the previous post shows the software on the pi is 3.1.1. M997 should try to flash the board to match.



  • @bearer @jay_s_uk @engikeneer
    The M997 worked... I guess
    now M115 reutrns :
    ba21c6f7-e3a1-4394-a6e3-ef052d1def79-image.png

    But still nothing...
    adc559f2-f49d-44fd-8940-e8decaa6a300-image.png



  • @Donpi said in Duet 3 : No tool nor bed shown:

    M950 S0
    M950 S1

    you wrote T instead of S



  • @Veti Yeah, in this case, even S was wrong 😛

    M950 H0 and H1 give the same response :
    Heater 0 does not exist



  • @Donpi said in Duet 3 : No tool nor bed shown:

    M350 X16 Y16 Z16:16 E16 I1 ; Configure microstepping with interpolation

    you are not allowed to specify 2 z values.

    what i would suggest is. save all your config files and generate an new one from the configurator.
    then slowly start adding your additional configs one by one until it breaks.


  • Moderator

    @Donpi My mistake, send M950 H0 and M950 H1 (not T0/1) to check heater definition. Also send M563 P0 to check tool definition.

    M563 P0
    Tool 0 - name: T0; drives: 0; heaters (active/standby temps): 1 (0.0/0.0); xmap: X; ymap: Y; fans: 0; status: selected
    

    But M308 S0 and S1 reporting "Sensor does not exist" does seem to imply there is a problem with your M308 definition in config.g. What happens if you send M308 S0 P"temp0" Y"thermistor" A"Bed Temp" T100000 B4700 C0.0000000706?

    Ian



  • @droftarts strange this work well.
    and if I call M308 S0, it says :
    Sensor 0 (bed Temp) type bla bla bla...

    It's like my config.g is not readed or somthing reset everything



  • @Veti With a complettely new copnfiguration strait from the generator I have the same behaviour



  • what version of the duet web control are you running?



  • @Veti
    I'am a bit puzzled ...

    I have created a macro with my config.g.
    And running the macro I get the tootls and heaters...
    It' just give me this errors
    15ac6d30-e055-476f-ad99-eb0c2d21617d-image.png

    I don't know why my config.g is ignored...



  • @Veti My duet web control is 3.1.1

    f2d50e07-83c5-447d-8f35-6971484c968f-image.png



  • Hum the macro is not saved in the micro SD ... I think the problem is from here ...


  • Moderator

    @Donpi If you're using SBC, you shouldn't have an SD card in the Duet! The O: directory is a virtual SD drive on the Raspberry Pi. See https://duet3d.dozuki.com/Wiki/Getting_Started_With_Duet_3#Section_Virtual_SD_card

    Where is your config.g? On the SD card in the Duet, or on the Raspberry Pi?

    Ian



  • @droftarts
    Of cours in the raspberry
    There is no card on de Duet



  • Hooo... could it be that the partition I see on windows is the one for the Duet in standalone mode.
    And that the partition use by the Raspberry Bi is not visible on windows ?


Log in to reply