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

    Java Script Error

    Scheduled Pinned Locked Moved
    General Discussion
    2
    6
    192
    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.
    • 1d1undefined
      1d1
      last edited by

      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
      URL: http://192.168.1.194/
      Line: 0:0
      Error object: null
      ```~~~~
      
      1 Reply Last reply Reply Quote 0
      • Phaedruxundefined
        Phaedrux Moderator
        last edited by

        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.

        https://github.com/Duet3D/RepRapFirmware/releases/download/2.05.1/DuetWebControl-SD-2.0.7.zip

        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.

        https://configtool.reprapfirmware.org/Start

        Z-Bot CoreXY Build | Thingiverse Profile

        1 Reply Last reply Reply Quote 0
        • 1d1undefined
          1d1
          last edited by

          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```
          1 Reply Last reply Reply Quote 0
          • 1d1undefined
            1d1
            last edited by

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

            0:/sys/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
            M501
            
            
            BW Newest
            Send code...
            Status
            Idle
            Mode: FFF
            Tool Position
            X
            0.0
            Y
            0.0
            Z
            0.00
            Extruder Drives
            Drive 0
            0.0
            Speeds
            Requested Speed
            0 mm/s
            Top Speed
            0 mm/s
            Sensors
            Vin
            24.1 V
            MCU Temperature
            22.9 C
             Tools
             Extra
             Control All
            Tool	Heater	Current	Active	Standby
            Tool 0
            T0 - Load Filament	Heater 1	n/a	
            0
            0
            Bed	Heater 0
            off	2000.0 C	
            0
            0
            Temperature Chart
            System Directory
            
            
            1 Reply Last reply Reply Quote 0
            • Phaedruxundefined
              Phaedrux Moderator
              last edited by

              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.

              https://github.com/Duet3D/RepRapFirmware/releases/download/3.1.1/Duet2and3Firmware-3.1.1.zip

              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.

              config.zip.txt

              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.

              Z-Bot CoreXY Build | Thingiverse Profile

              1 Reply Last reply Reply Quote 0
              • 1d1undefined
                1d1
                last edited by

                Thank You!!

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Unless otherwise noted, all forum content is licensed under CC-BY-SA