Java Script Error

  • I keep getting this message, and disconnect when I try to alter config.g. It happened with RRD 2.05, so I uploaded RRF3 and now can't upgrade config.g due to error/disconnect. And I'm pretty unclear about defining my heaters in RRF3 as well. I'm a mess. Help?

    A JavaScript error has occurred so the web interface has closed the connection to your board. It is recommended to reload the web interface now. If this happens again, please contact the author and share this error message:
    Version: 1.22.5
    Message: ResizeObserver loop limit exceeded
    Line: 0:0
    Error object: null

  • Moderator

    I think you have a very old version of the web interface files installed on the SD card.

    You'll need to put hte SD card in a PC and then manually replace the contents of the /www folder with this zip file.

    What version firmware did you try to install? Was it successful? Send M115 to see what is currently installed.

    Post your config.g if you'd like help converting it for RRF3.

    It can also be useful to create a fresh config for RRF3 in the online config tool to compare against. For most basic configs the tool will be able to create a new full set for you.

  • Firmware Name:	RepRapFirmware for Duet 2 WiFi/Ethernet
    Firmware Electronics:	Duet WiFi 1.02 or later
    Firmware Version:	3.0 (2020-01-03b3)
    WiFi Server Version:	1.23
    Web Interface Version:	1.22.5
    I'll start and download the files, install on the SD as recommended,
     and then work through the other stuff```

  • OK - latest Web Control installed. Here is my config.g:

    ; 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 Sat Feb 15 2020 09:28:07 GMT-0500 (Eastern Standard Time)
    ; General preferences
    G90                                                ; send absolute coordinates...
    M83                                                ; ...but relative extruder moves
    M550 P"BW Newest"                                  ; set printer name
    ; Network
    M552 S1                                            ; enable network
    M586 P0 S1                                         ; enable HTTP
    M586 P1 S0                                         ; disable FTP
    M586 P2 S0                                         ; disable Telnet
    M569 P0 S1                              ; physical drive 0 goes backwards
    M569 P1 S1                              ; physical drive 1 goes backwards
    M569 P2 S1                              ; physical drive 2 goes backwards
    M569 P4 S1                              ; physical drive 3 goes backwards
    M584 X0 Y1 Z2 E4                        ; set drive mapping
    M350 X16 Y16 Z16 E16 I1                 ; configure microstepping with interpolation
    M92 X79.1 Y79.8 Z400 E1675.00     	; set steps per mm
    M566 X1200.00 Y1200.00 Z1200.00 E600.00       ; set maximum instantaneous speed changes (mm/min)
    M203 X18000.00 Y18000.00 Z1200.00 E300.00    ; set maximum speeds (mm/min)
    M201 X1000.00 Y1000.00 Z1000.00 E40.00       ; set accelerations (mm/s^2)
    M906 X750 Y750 Z750 E400 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 X320 Y205 Z310 S0                             ; set axis maxima
    ; Endstops
    M574 X1 Y1 Z1 S1                        ; set active high endstops
    ; Z-Probe
    ;M558 P0 H5 F120 T6000                              ; disable Z probe but set dive height, probe speed and travel speed
    ;M557 X15:215 Y15:195 S20                           ; define mesh grid
    ; Heaters
    M950 H0 C"bed_heat" Q100 T0 ; heater 0 uses the bed_heat pin, sensor 0, PWM frequency 100Hz
    ;M305 P0 T100000 B4036 R4700             ; set thermistor + ADC parameters for heater 0
    M307 H1 A461.3 C112,7 D3.4 V23.7 B0
    ;M143 H0 S100                            ; set temperature limit for heater 0 to 100C
    M305 P1 T100000 B4036 R4700             ; set thermistor + ADC parameters for heater 1
    M143 H1 S285                            ; set temperature limit for heater 1 to 285C
    ; Fans
    ;M106 P0 S0 I0 F75 H-1                             ; set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
    M106 P1 S1 I0 F50 H-1                         ; 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
    ; Custom settings are not defined
    ; Miscellaneous
    M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss
    BW Newest
    Send code...
    Mode: FFF
    Tool Position
    Extruder Drives
    Drive 0
    Requested Speed
    0 mm/s
    Top Speed
    0 mm/s
    24.1 V
    MCU Temperature
    22.9 C
     Control All
    Tool	Heater	Current	Active	Standby
    Tool 0
    T0 - Load Filament	Heater 1	n/a	
    Bed	Heater 0
    off	2000.0 C	
    Temperature Chart
    System Directory

  • Moderator

    Ok, so you're able to connect to the DWC now?

    Once you are connected again you should update the firmware and DWC to 3.1.1 by uploading this zip file as is (don't extract it) to the system tab in DWC.

    Here's a config set I created for you based on the values in your current config.g. Download it and change the extension from .txt back to just .zip. After you update the firmware to 3.1.1 backup your current config set by checking the box to select all the files and then right click and download as zip file. Then you can upload the zip file below I made for you to the system tab as well.

    Test it carefully to make sure everything is still working. You'll need to re-run PID tuning.

    It assumes you're using the default fan configuration of Fan0 for part cooling, Fan1 for heat sink.

  • Thank You!!

Log in to reply