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

    Firmware Update, Delta Printer, Duet 2, etc.

    Scheduled Pinned Locked Moved
    Firmware installation
    3
    6
    370
    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.
    • louvannaundefined
      louvanna
      last edited by

      I have pulled out a known good working delta printer from the closet, and dusted it off. I will be adding modernizations ( suggestions welcome ).
      It has a Duet 2, w/ v3.2.2 firmware, and WiFi v1.25.
      The Panel Due is v1.24
      No SBC.
      I typically had used DWC to interact with this printer.

      My questions are these,

      1. latest stable version to target for an install.
      2. upgrade path, full jump in version or steps,
      3. sequence of upgrades , duet, wifi, and panel.

      Your guidance is kindly requested.

      droftartsundefined 1 Reply Last reply Reply Quote 0
      • Phaedruxundefined
        Phaedrux Moderator
        last edited by Phaedrux

        First I'd confirm you have access via DWC. If so, you can upload the firmware zip file package for 3.3 to start with, as that one was a major change. After that you can upload the zip file for 3.5.3.

        The PanelDue firmware will need to be updated as well. The correct file will depend on your hardware version. If you have a recent panel, you can actually update it from DWC as well.

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

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

        https://docs.duet3d.com/en/How_to_guides/Getting_connected/Getting_connected_to_your_Duet

        https://docs.duet3d.com/en/User_manual/RepRapFirmware/Updating_firmware

        https://docs.duet3d.com/en/User_manual/RepRapFirmware/Updating_PanelDue

        Z-Bot CoreXY Build | Thingiverse Profile

        1 Reply Last reply Reply Quote 0
        • droftartsundefined
          droftarts administrators @louvanna
          last edited by

          @louvanna Please post your config.g. As your Duet board was already on RRF v3.x, most likely you won't need to change much in your config.g or homing files.

          It would be worth reading the release notes (https://github.com/Duet3D/RepRapFirmware/wiki/Changelog-RRF-3.x#reprapfirmware-353) for the versions you have skipped, and/or use @MintyTrebor's very handy 'ReleaseMgr' plugin:

          ReleaseMgr is a DWC plugin to help with your RRF firmware updating experience.
          It scans your current hardware and config.g information, and highlights lines in the release notes that may impact your current configuration.

          See https://github.com/MintyTrebor/ReleaseMgr

          The main change I can think of is that the way heater PID is calculated in M307; the parameters have changed. Best to retune your heaters with M303. See https://docs.duet3d.com/en/How_to_guides/Commissioning#h-7-tune-heaters

          Ian

          Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

          1 Reply Last reply Reply Quote 0
          • louvannaundefined
            louvanna
            last edited by

            Thank you for the replies.
            Firmware updates 3.3 & 3.5.3 without issue.
            The older config.g file requires modernization.
            Two lines are updated to give a error/warning free startup.
            File, config.g is enclosed per a request.

            Lou

            Progress:
            Start:
            9/26/2024, 9:36:22 AM M115
            FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 3.2.2 ELECTRONICS: Duet WiFi 1.02 or later FIRMWARE_DATE: 2021-02-11

            Upload and install 3.3: -- success
            9/26/2024, 9:43:29 AM M115
            FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 3.3 ELECTRONICS: Duet WiFi 1.02 or later FIRMWARE_DATE: 2021-06-15 21:45:03

            Upload and install 3.5.3: success with errors
            9/26/2024, 9:53:41 AM M115
            FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 3.5.3 ELECTRONICS: Duet WiFi 1.02 or later FIRMWARE_DATE: 2024-09-18 11:25:32

            With errors to be addressed:
            9/26/2024, 9:52:12 AM Failed to load DWC plugin Height Map
            Plugin Height Map not found ( a remnant of recent bed calibration attempt )
            9/26/2024, 9:52:13 AM Error in start-up file macro line 7: No PS_ON port defined

            The start-up file listed in the console is ambiguous. My take was the config.g file and after running M98 to confirm my interpretation of my ATX power-supply needs a port definition.

            9/26/2024, 10:09:13 AM M98 P"config.g"
            Error: No PS_ON port defined
            HTTP is enabled on port 80
            FTP is disabled
            TELNET is disabled
            Tool 1: offsets X0.000 Y0.000 Z0.000
            Error: Attempt to move motors when VIN is not in range

            lineno 7: old and new
            M81 ; send ATX off, allows DWC to show button
            M81 C"pson" ; allocate the PS_ON pin to power control but leave power off

            I will also attempt to find all other power supply maco commands and exploit the new functionality available in 3.5 firmware.

            This progress leads to two successive errors each due to power-supply not 'ON' for the last line, T0.

            9/26/2024, 10:22:27 AM Error: in file macro line 15: G1: insufficient axes homed
            9/26/2024, 10:22:25 AM Warning: Tool 0 was not driven because its heater temperatures were not high enough or it has a heater fault.config.g

            Commenting out the 'T0' tool selection clears these error/warnings.
            Now to determine of this initial 'T0' convenience is needed elsewhere.

            1 Reply Last reply Reply Quote 0
            • Phaedruxundefined
              Phaedrux Moderator
              last edited by Phaedrux

              ; Configuration file for Duet WiFi (firmware version 3)
              ; executed by the firmware on start-up
              ;
              ; generated by RepRapFirmware Configuration Tool v3.2.3 on Sun Mar 07 2021 09:12:56 GMT-0600 (Central Standard Time)
              
              ; General preferences
              ; M81                                                 ; send ATX off, allows DWC to show button
              M81 C"pson"                                           ; allocate the PS_ON pin to power control but leave off
              G90                                                   ; send absolute coordinates...
              M83                                                   ; ...but relative extruder moves
              M550 P"RostockMax_v3.2_ljv"                           ; set printer name
              M665 R143.834 L291.06 B135 H399.698                   ; Set delta radius, diagonal rod length, printable radius and homed height
              M666 X0 Y0 Z0                                         ; put your endstop adjustments here, or let auto calibration find them
              
              ; Network
              ;M551 P"rostock"                                      ; set password
              M552 S1                                               ; enable network
              M586 P0 S1                                            ; enable HTTP
              M586 P1 S0                                            ; disable FTP
              M586 P2 S0                                            ; disable Telnet
              
              ; Drives
              M569 P0 S0                                            ; physical drive 0 goes backwards
              M569 P1 S0                                            ; physical drive 1 goes backwards
              M569 P2 S0                                            ; physical drive 2 goes backwards
              M569 P3 S0                                            ; physical drive 3 goes backwards
              M569 P4 S0                                            ; physical drive 4 goes backwards
              M584 X0 Y1 Z2 E3:4                                    ; set drive mapping
              M350 X16 Y16 Z16 E16:16 I1                            ; configure microstepping with interpolation
              M92 X80.00 Y80.00 Z80.00 E91.00:91.00                 ; set steps per mm
              M566 X1998.00 Y1998.00 Z1998.00 E1980.00:1980.00      ; set maximum instantaneous speed changes (mm/min)
              M203 X18000.00 Y18000.00 Z18000.00 E18000.00:18000.00 ; set maximum speeds (mm/min)
              M201 X4200.00 Y4200.00 Z4200.00 E5000.00:5000.00      ; set accelerations (mm/s^2)
              M906 X1200 Y1200 Z1200 E1200:1200 I30                 ; set motor currents (mA) and motor idle factor in per cent
              M84 S30                                               ; Set idle timeout
              
              ; Axis Limits
              M208 Z0 S1                                            ; set minimum Z
              
              ; Endstops
              M574 X2 S1 P"^xstop"                                  ; configure active-high endstop for high end on X via pin ^xstop
              M574 Y2 S1 P"^ystop"                                  ; configure active-high endstop for high end on Y via pin ^ystop
              M574 Z2 S1 P"^zstop"                                  ; configure active-high endstop for high end on Z via pin ^zstop
              
              ; Z-Probe
              M558 P5 R0.6 C"zprobe.in+zprobe.mod" H5 F1800 T9000   ; set Z probe type to effector and the dive height + speeds
              ; https://duet3d.dozuki.com/Wiki/Calibrating_a_delta_printer#Section_Measuring_the_trigger_height
              G31 P500 X0 Y0 Z-0.272                                ; set Z probe trigger value, offset and trigger height
              ;M556 S50 X0 Y0 Z0                                    ; set orthogonal axis compensation parameters
              M557 R125 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 B0 S1.00                                     ; disable bang-bang mode for the bed heater and set PWM limit
              ;M307 H0 R0.137 C514.950:514.950 D17.87 S1.00 V12.1 B0 ; Generated using M303 H0 ** bed is glass only
              M307 H0 R0.168 C337.3 D6.14 S1.00 V12.2 B0            ; Generated using M303 H1, ** bed includes aluminum heat spreader
              M140 H0                                               ; map heated bed to heater 0
              M143 H0 S120                                          ; set temperature limit for heater 0 to 120C
              M308 S1 P"e0temp" Y"thermistor" T100000 B4138         ; configure sensor 1 as thermistor on pin e0temp
              M950 H1 C"e0heat" T1                                  ; create nozzle heater output on e0heat and map it to sensor 1
              ;M307 H1 B0 S1.00                                     ; disable bang-bang mode for heater  and set PWM limit
              M307 H1 R3.758 C126.5 D7.32 S1.00 V12.2 B0            ; Generated using M303 H1 SE300 hotend extruder
              M143 H1 S280                                          ; set temperature limit for heater 1 to 280C
              M307 H1 R3.862 C98.464:98.464 D6.48 S1.00 V12.2 B0    ; Heater model parameters generated by M303 H1 S1.00
              
              ; Fans
              M950 F0 C"fan0" Q500                                  ; create fan 0 on pin fan0 and set its frequency         Part Cooling Fan
              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         Case fan for CPU
              M106 P1 S0.50 H-1                                     ; set fan 1 value. Thermostatic control is turned off
              M950 F2 C"fan2" Q500                                  ; create fan 2 on pin fan2 and set its frequency         Heat sink fan
              M106 P2 S0.70 H1 T45                                  ; set fan 2 value. Thermostatic control is turned on
              
              ; Tools
              M563 P0 S"T0" 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
              M563 P1 S"T1" D1 F0                                   ; define tool 1
              G10 P1 X0 Y0 Z0                                       ; set tool 1 axis offsets
              G10 P1 R0 S0                                          ; set initial tool 1 active and standby temperatures to 0C
              M572 D0:1 S0.35 									  ; set K-factor
              
              ; Custom settings are not defined
              
              ; Miscellaneous
              M575 P1 S1 B57600                                     ; enable support for PanelDue
              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
              ;T0                                                    ; select first tool
              

              You have M81 at the start, which turns the ATX power off... I would think you would want to turn it ON at the start?

              https://docs.duet3d.com/User_manual/Reference/Gcodes#m80-atx-power-on

              M575 P1 S1 B57600 ; enable support for PanelDue
              You may want to move the paneldue startup command to the beginning of config.g so that it's ready to go sooner.

              Z-Bot CoreXY Build | Thingiverse Profile

              1 Reply Last reply Reply Quote 0
              • louvannaundefined
                louvanna
                last edited by

                Thank you for all communications.
                The printer is well on its way to return to an active role in creative projects.

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