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

    I used the config from config tool and I can't reach the DWC now

    Scheduled Pinned Locked Moved Solved
    Firmware installation
    2
    5
    189
    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.
    • siladenizundefined
      siladeniz
      last edited by

      hey,
      I have duet 2 ethernet I am using reprap 3.4.5
      I wanted the use both hotend heater pins. firstly to check if the new cables are working or not I used the previously used pin which is e0. the hotend worked properly, so no problem with the cable. later I put the same cables to the other pin(e1) and leave e0 free. I changed the pin and heater number from config, but it didn't worked I could see the new created heater from DWC dashboard but the temprature was -273 C. so I went to config tool and add 1 more heater and create the new config. But unfortunately I didn't add the new part to my config I upload the new created system files via DWC. And I think it changed the config too, later I couldn't reach the DWC anymore. I checked the IP address from pronter face it was 0.0.0.0 and set the IP address to my previous one by m552 s0 p... and it settled but I still couldnt reach DWC. I took out the sd card and put it to my computer and delete the config and add the previous config but it doesn't work still. this is the previous config

      ; Configuration file for Duet Ethernet (firmware version 3)
      ; executed by the firmware on start-up
      ;
      ; generated by Julian Zettl Feb 2022
      ; edited by Deniz and Tillman July 2023
      
      ; ================= General preferences ===================
      G90                 ; send absolute coordinates...
      M83                 ; ...but relative extruder moves
      M550 P"BLV"         ; set printer name
      M669 K1				; Select CoreXY mode
      
      ;=================== Calling Macro =====================
      ;M98 P/macros/print_start.g 
      ; ====================== Network ===========================
      M552 S1                                       	; enable network
      M552 P192.168.1.254								; set IP Address
      M553 P255.255.255.0								; set Netmask
      M554 P192.168.1.0								; Set default Gateway
      M586 P0 S1                                    	; enable HTTP
      M586 P1 S0                                  	; disable FTP
      M586 P2 S0                                   	; disable Telnet
      
      ; ======================= Drives ===========================
      M569 P0 S0                                      ; physical drive 0 goes backwards (A motor)
      M569 P1 S0                                      ; physical drive 1 goes backwards (B motor)
      M569 P2 S1                                      ; physical drive 2 goes forwards (alpha)
      M569 P5 S0                                      ; physical drive 4 goes forwards (beta) 
      M569 P6 S0 										; physical drive 6 goes forwards (gamma) 
      
      M569 P3 S1                                      ; physical drive 3 goes forwards (E0 motor) 
      ;M569 P5 S1 										; physical drive 5 goes forwards (E1 motor) 
      M584 X0 Y1 Z2:5:6 E3:4							; set drive mapping
      
      ; ===================== Drive Settings =====================
      M350 X128 Y128 Z128:128:128 E128:128 I1			; configure microstepping with interpolation
      M92  X1600 Y1600 Z12800:12800:12800 E3936:6400  ; steps per mm E1:800 E2:837
      M566 X540 Y540  Z56:56:56 E480:480      		; maximum instantaneous speed changes mm/min
      M203 X10000 Y10000 Z1800:1800:1800 E15000:15000	; maximum speeds (mm/s)
      M201 X2000 Y2000 Z100:100:100 E1000:3000        ; set accelerations (mm/s^2)
      M906 X1000 Y1000 Z800 E800 I50					; set motor currents (mA) and  idle %
      M84 S120	                               	    ; Set idle timeout
      
      ; ================ Independent Z Leveleing =================
      M671 X-170.24:170.24:0 Y-128.815:-128.815:130.75 S20	   	; leadscrew pivot point:
      
      ; ===================== Axis Limits ========================
      M208 X-45 Y-36 Z0 S1                                      	; set axis min
      M208 X270 Y270 Z200 S0                                  	; set axis max
      ;originally with 0,0 centered on bed:
      ;M208 X-152:150 Y-144:172
      
      ; ======================= Endstops =========================
      M574 X1 S1 P"x_stop"   		; X min active high endstop switch
      M574 Y2 S1 P"y_stop"   		; Y max active high endstop switch
      M574 Z1 S2                  ; configure Z-probe endstop for low end on Z
      
      ; ======================== Z-Probe =========================
      ;M950
      
      M558 P9 C"zprobe.in" H5 F120 T6000 ; Duet 2 WiFi/Ethernet, DueX2/5
      M950 S0 C"duex.pwm1" ; Duet 2 WiFi/Ethernet + DueX2/5
      ;M307 H3 A-1 C-1 D-1 ; Disable heater 3 to free up PWM channel 1 on the Duex board.
      ;M558 P1 C"ZPROBE.IN" H5 F500 T1000	; Z Probe type=analog, pin, dive height+rate, travelspeed
      ;M280 P0 S90
      G31 X27 Y58 Z1 P25
      ;G31 X0 Y0 Z0.2 P500					; Z Probe offset and trigger value
      M557 X15:215 Y15:195 S60     		; define mesh grid
      
      ; ======================== Heaters =========================
      ;M305 P1 T100000 B4267 R4700		; old RRF2.x 
      M301 H1 P21.1 I0.816 D59.6  		;PID settings hotend from old config
      M308 S1 P"e0temp" Y"thermistor" A"Hotend" T100000 B4267 R4700  	; extruder thermistor
      M950 H1 C"e0heat" T1 	 								  		; link heater to sensor
      M143 H1 S285		        									; temperature limit
      M104 S0                                                          ; turn off  nozzle heater
      M308 S0 P"bedtemp" Y"thermistor" A"Bed" T100000 B4267 R4700		; configure sensor 0 as thermistor on pin bedtemp
      M950 H0 Q10 C"bedheat" T0                                   	; create bed heater output on bedheat and map it to sensor 0
      M307 H0 A284.0 C843.8 D11.0 B0									; Heatbed PID
      M140 H0 S0                                               		; map heated bed to heater 0
      M143 H0 S100                                            		; set temperature limit for heater 0 to 120C
      
      M308 S2 P"mcu-temp" Y"mcu-temp" A"Duet Board" 					; Configure MCU sensor
      
      ; ========================= Fans ===========================
      M106 P0 S0.1 I0 F500 T45 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned on
      M106 P1 S1 I0 F500 H1 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
      
      M950 F0 C"fan0" Q250                	; create fan 1 on pin fan0 and set its frequency
      M106 P0 C"hotend fan" T60 H1        	; P"fan1" C"displayname" T"triggervalue" H"heater1"
      
      M950 F1 C"fan1"                
      M106 P1 S100 
      
      ; ======================== Tools ===========================
      M563 P0 S"FDM" D0 H1			; P"tool0" S"displayname" D"e0motor" H"heater1"
      G10 P0 X0 Y0 Z0      			; set tool 0 axis offsets
      G10 P0 R0 S0             		; set initial tool 0 active and standby temperatures to 0C
      
      ; ===================== Custom settings ====================
      M564 H0                                   	            	; Let the Jog buttons work blv: added to allow jog buttons
      
      ; ====================== Miscellaneous =====================
      ;M575 P1 S1 B57600                                       	; enable support for PanelDue
      ;M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" 			; set voltage thresholds and actions to run on power loss
      
      ;Duet 2 pinout-*=inverted
      ;bedheat * Bedheater
      ;e0heat * Hotend
      ;e1heat * NC
      ;exp.heater3 BLTouch S
      ;Duet 2 temperature inputs
      ;bedtemp Bed thermistor
      ;e0temp HE thermistor
      ;e1temp NC
      ;Duet 2 fan outputs
      ;fan0 MB Fan GND
      ;fan1 LY Fan GND
      ;fan2 HE Fan GND
      ;Endstop inputs
      ;xstop X Endstop C
      ;ystop Y Endstop C
      ;zstop NC
      ;e0stop Filament runout sensor C
      ;e1stop Off button C pin
      ;zprobe.in Z-
      ;zprobe.mod NC
      
      
      

      this is the config generated by config tool

      ; Configuration file for Duet WiFi (firmware version 3.3)
      ; executed by the firmware on start-up
      ;
      ; generated by RepRapFirmware Configuration Tool v3.3.16 on Thu Aug 31 2023 10:46:37 GMT+0200 (Central European Summer Time)
      
      ; General preferences
      G90                                            ; send absolute coordinates...
      M83                                            ; ...but relative extruder moves
      M550 P"BLV Cube"                               ; set printer name
      
      ; 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 S1                                     ; physical drive 2 goes forwards
      M569 P3 S1                                     ; physical drive 3 goes forwards
      M584 X0 Y1 Z2 E3                               ; set drive mapping
      M350 X16 Y16 Z16 E16 I1                        ; configure microstepping with interpolation
      M92 X80.00 Y80.00 Z400.00 E420.00              ; set steps per mm
      M566 X900.00 Y900.00 Z60.00 E120.00            ; set maximum instantaneous speed changes (mm/min)
      M203 X6000.00 Y6000.00 Z180.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 X0 Y0 Z0 S1                               ; set axis minima
      M208 X230 Y210 Z200 S0                         ; set axis maxima
      
      ; Endstops
      M574 X1 S1 P"xstop"                            ; configure switch-type (e.g. microswitch) endstop for low end on X via pin xstop
      M574 Y1 S1 P"ystop"                            ; configure switch-type (e.g. microswitch) endstop for low end on Y via pin ystop
      M574 Z1 S2                                     ; configure Z-probe endstop for low end on Z
      
      ; Z-Probe
      M558 P1 C"zprobe.in" H5 F120 T6000             ; set Z probe type to unmodulated and the dive height + speeds
      G31 P500 X0 Y0 Z2.5                            ; set Z probe trigger value, offset and trigger height
      M557 X15:215 Y15:195 S20                       ; define mesh grid
      
      ; 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
      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
      M143 H0 S120                                   ; set temperature limit for heater 0 to 120C
      M308 S1 P"e1temp" Y"thermistor" T100000 B4138  ; configure sensor 1 as thermistor on pin e1temp
      M950 H1 C"e1heat" T1                           ; create nozzle heater output on e1heat 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
      
      ; 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 H1 T45                              ; 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
      
      ; Custom settings are not defined
      
      ; Miscellaneous
      M501                                           ; load saved parameters from non-volatile memory
      
      
      
      1 Reply Last reply Reply Quote 0
      • Phaedruxundefined
        Phaedrux Moderator
        last edited by

        @siladeniz said in I used the config from config tool and I can't reach the DWC now:

        M552 P192.168.1.254 ; set IP Address
        M553 P255.255.255.0 ; set Netmask
        M554 P192.168.1.0 ; Set default Gateway

        Did you try adding those lines from your old config to your new config?

        Z-Bot CoreXY Build | Thingiverse Profile

        siladenizundefined 2 Replies Last reply Reply Quote 0
        • siladenizundefined
          siladeniz @Phaedrux
          last edited by

          @Phaedrux no because I don't want to use new config I just want to take the second heater lines from there and add to my config. Also while I am trying to update the documents which I got from config tool, I deleted www, firmware and sys files in sd card. and add the config tool generated www,firmware and sys files. later as I said previously it didn't work and I turned back to old files. I think I might delete something wrong I'll share the files with you can you check please?

          or there is another option I can delete all the files in the sd card, I'll copy my config and macros. and I will download the latest firmware version and put it to the sd card. Does it work? I don't know if the other files can be arranged by user or just copy paste from the downloads thats why I don't know if I arranged them in some way.
          here is the files:

          www sys macros gcodes firmware

          siladenizundefined 1 Reply Last reply Reply Quote 0
          • siladenizundefined
            siladeniz @siladeniz
            last edited by

            @siladeniz I noticed that in the files config.g and config.json don't have same content. Is it should be like that?

            1 Reply Last reply Reply Quote 0
            • siladenizundefined
              siladeniz @Phaedrux
              last edited by

              @Phaedrux okay I found the problem the gateway number was changed and I set it with m554

              1 Reply Last reply Reply Quote 1
              • Phaedruxundefined Phaedrux marked this topic as a question
              • Phaedruxundefined Phaedrux has marked this topic as solved
              • First post
                Last post
              Unless otherwise noted, all forum content is licensed under CC-BY-SA