duet 2 wifi Always Disconnecting from a wifi how can ifix it



  • duet 2 wifi Always Disconnecting from a wifi how can ifix it ? thnks for the help
    this is my g code and m122

    M122
    === Diagnostics ===
    RepRapFirmware for Duet 2 WiFi/Ethernet version 2.05.1 running on Duet WiFi 1.02 or later
    Board ID: 08DLM-996RU-N8PS4-7J9FL-3SN6L-9S9RR
    Used output buffers: 3 of 24 (17 max)
    === RTOS ===
    Static ram: 25712
    Dynamic ram: 93220 of which 0 recycled
    Exception stack ram used: 464
    Never used ram: 11676
    Tasks: NETWORK(ready,628) HEAT(blocked,1232) MAIN(running,3752) IDLE(ready,160)
    Owned mutexes:
    === Platform ===
    Last reset 01:19:00 ago, cause: software
    Last software reset at 2020-10-14 19:01, reason: Hard fault, spinning module GCodes, available RAM 11552 bytes (slot 3)
    Software reset code 0x4033 HFSR 0x40000000 CFSR 0x00008200 ICSR 0x0441f803 BFAR 0x3523e3a1 SP 0x200046dc Task 0x4e49414d
    Stack: 0041b6ab 00400576 61000000 7fe00000 00000000 00000000 3ff00000 00000000 404e0000 000007ff 0044c49b 00452d34 21001400 2000ba94 2000a0a4 00000000 00000000 200134e8 0041baf1 00000001 2000bba4 2000a0a4 2000ba90
    Error status: 0
    Free file entries: 9
    SD card 0 detected, interface speed: 20.0MBytes/sec
    SD card longest block write time: 0.0ms, max retries 0
    MCU temperature: min 40.0, current 42.6, max 44.4
    Supply voltage: min 23.9, current 24.3, max 24.7, under voltage events: 0, over voltage events: 0, power good: yes
    Driver 0: ok, SG min/max 0/284
    Driver 1: ok, SG min/max 0/270
    Driver 2: standstill, SG min/max not available
    Driver 3: ok, SG min/max 0/1023
    Driver 4: standstill, SG min/max not available
    Date/time: 2020-10-14 20:20:31
    Cache data hit count 4294967295
    Slowest loop: 5.05ms; fastest: 0.07ms
    I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
    === Move ===
    Hiccups: 0, FreeDm: 156, MinFreeDm: 151, MaxWait: 0ms
    Bed compensation in use: none, comp offset 0.000
    === DDARing ===
    Scheduled moves: 18391, completed moves: 18370, StepErrors: 0, LaErrors: 0, Underruns: 0, 0
    === Heat ===
    Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1
    Heater 0 is on, I-accum = 0.3
    Heater 1 is on, I-accum = 0.4
    === GCodes ===
    Segments left: 1
    Stack records: 2 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 doing "G0 F13200 X59.417 Y137.482" in state(s) 0
    serial is idle in state(s) 0
    aux is idle 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: 200.23ms; fastest: 0.08ms
    Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) Telnet(0)
    HTTP sessions: 1 of 8
    - WiFi -
    Network state is running
    WiFi module is connected to access point 
    Failed messages: pending 0, notready 0, noresp 2
    WiFi firmware version 1.23
    WiFi MAC address XXXXXX
    WiFi Vcc 3.32, reset reason Turned on by main processor
    WiFi flash size 4194304, free heap 23152
    WiFi IP address XXXXXXX
    WiFi signal strength -74dBm, reconnections 0, sleep mode modem
    Socket states: 0 0 0 0 0 0 0 0
    

    my gcode

    ; Configuration file for Duet WiFi (firmware version 2.03)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool v3.1.3 on Sun Jun 14 2020 01:09:58 GMT+0300 (שעון ישראל (קיץ))
    
    ; General preferences
    G90                                                ; send absolute coordinates...
    M83                                                ; ...but relative extruder moves
    M550 P"Ender 3 Pro BLV"                            ; set printer name
    
    
    ; Network
    M551 P"XXXXX"                                   ; set password
    M552 S1                                            ; enable network
    M586 P0 S1                                         ; enable HTTP
    M586 P1 S0                                         ; disable FTP
    M586 P2 S0                                         ; disable Telnet
    
    ; Drives
    ; Drives
    M569 P0 S0                                         ; physical drive 0 goes backwards
    M569 P1 S0                                         ; physical drive 1 goes backwards
    M569 P2 S1                                         ; physical drive 2 goes forwards
    M569 P3 S0                                         ; physical drive 3 goes backwards
    M584 X0 Y1 Z2 E3                                   ; set drive mapping
    M350 X16 Y16 Z16 E16 I1                            ; configure microstepping with interpolation
    M92 X79.56 Y79.64 Z400 E415	                       ; set steps per mm
    M566 X600.00 Y600.00 Z24.00 E2000                  ; set maximum instantaneous speed changes (mm/min) (Jerk)
    M203 X6000.00 Y6000.00 Z300.00 E5000.00            ; set maximum speeds (mm/min)
    M201 X500.00 Y500.00 Z100.00 E5000               ; set accelerations (mm/s^2)
    M906 X700 Y700 Z700 E660 I30                       ; set motor currents (mA) and motor idle factor in per cent
    M84 S10                                            ; Set idle timeout
    
    ; Axis Limits
    M208 X0 Y0 Z0 S1                        ; set axis minima
    M208 X245 Y210 Z240 S0                  ; set axis maxima
    
    ; Endstops
    M574 X1 Y1 S1                                      ; set active high endstops
    M574 Z1 S2                                         ; set endstops controlled by probe
    
    ; Z-Probe
    M307 H3 A-1 C-1 D-1                                ; disable heater on PWM channel for BLTouch
    M558 P9 H3 F320 T90000                             ; set Z probe type to bltouch and the dive height + speeds
    G31 P500 X38.2 Y0 Z0.980                            ; set Z probe trigger value, offset and trigger height
    M557 X40:235 Y20:225 S30                            ; define mesh grid
    
    ; Heaters
    M307 H0 B0 S1.00                                   ; disable bang-bang mode for the bed heater and set PWM limit
    M305 P0 T100000 B4092 R4700                        ; set thermistor + ADC parameters for heater 0
    M143 H0 S90                                        ; set temperature limit for heater 0 to 80C
    M305 P1 T100000 B4092 R4700                        ; set thermistor + ADC parameters for heater 1
    M143 H1 S270                                       ; set temperature limit for heater 1 to 250C
    
    
    ; Fans
    
    M106 P0 A22 S0 I0 F100 H-1                          ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
    M106 P1 S0 I0  H1   T45                             ; set fan 1 value, PWM signal inversion and frequency. 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
    
    ; Pressure Advance
    M572 D0 S0.05		
    
    ; Retraction
    M207 S0.80 R0.0 F3000 T1800 Z0.0 
    
    ; M207: Set retract length
    	; Parameters
    	; 	Snnn positive length to retract, in mm
    	; 	Rnnn positive or negative additional length to un-retract, in mm, default zero
    	; 	Fnnn retraction feedrate, in mm/minMiscellaneous
    
    M501                                               ; load saved parameters from non-volatile memory
    M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss
    
    ; BLTouch startup
    G4 S2							; Pause a couple seconds
    M280 P64 S160						; Clear any alarms
    G4 S2							; Pause a couple seconds
    M402							; retract pin just in case
    
    
    
    
    

  • Moderator

    @Roei3d said in duet 2 wifi Always Disconnecting from a wifi how can ifix it:

    WiFi signal strength -74dBm,

    Your signal strength is border line. Do you have the Duet inside an enclosure? How far are you from the access point?

    Are you using DWC 2.0.7?


Log in to reply