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

    Duet 2 Upgrade Prints coming out stretched

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    3
    16
    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.
    • karatektusundefined
      karatektus
      last edited by

      Hi,

      i just upgraded to a Duet 2 Wifi. I came from an old Duet 0.6 with an older firmware (sorry im not sure which one)

      I did not just copy the config.g file but created one using the reprap generator and tweaked some values afterwards.
      It basically works as expected. My height map is a weird sawtooth mess, but thats probably due to poor carriage mounting (my linear rails are on the way).

      Now the really weird issue: My prints come out stretched in X and Y direction by the same amount. Z seems to be fine though I am not sure. Measuring old prints, it seemed to work just fine before. Am I missing some config parameter which would cause such an issue?
      For reference: A 200mm200mm square comes out at about 207mm207mm

      Thanks 🙂

      garyd9undefined 1 Reply Last reply Reply Quote 1
      • fcwiltundefined
        fcwilt
        last edited by

        Hi,

        You can use M579 to scale the axes. The following is the format:

        M579 X1.0 Y1.0 Z1.0 ; scaling (values are determined by measuring test object)

        The values of 1.0 are the default and mean there is no scaling being done.

        Here is some of the documentation:

        Example M579 X1.0127 Y0.998

        This command allows you to adjust the X, Y, and Z axis scales directly. So, if you print a part for which the Y length should be 100mm and measure it and find that it is 100.3mm long then you set Y0.997 (= 100/100.3).

        Frederick

        Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

        1 Reply Last reply Reply Quote 0
        • karatektusundefined
          karatektus
          last edited by

          well thats one hell of a dirty hack 😄

          ill give it a shot to get at least this print done. thanks.

          fcwiltundefined 1 Reply Last reply Reply Quote 0
          • garyd9undefined
            garyd9 @karatektus
            last edited by

            @karatektus

            What type of printer? Cartesian? Delta? CoreXY?

            The things to check somewhat depend on the answer to the above. I agree that using M579 to scale X and Y the same amount shouldn't be needed.

            Perhaps post a copy of your config file (config.g) to help us to examine what might be going on, but this might be as simple as calibrating the steps/mm for X and Y axis.

            "I'm not saying that you are wrong - I'm just trying to fit it into my real world simulated experience."

            karatektusundefined 1 Reply Last reply Reply Quote 0
            • fcwiltundefined
              fcwilt @karatektus
              last edited by

              @karatektus said in Duet 2 Upgrade Prints coming out stretched:

              well thats one hell of a dirty hack 😄

              ill give it a shot to get at least this print done. thanks.

              It's not really a hack.

              For a simple Cartesian printer you could adjust the M92 steps/mm settings.

              But that doesn't work so well with things like a CoreXY machine where both motors contribute to motion on an single axis.

              Thus M579 comes to the rescue.

              Frederick

              Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

              karatektusundefined 1 Reply Last reply Reply Quote 0
              • karatektusundefined
                karatektus @garyd9
                last edited by karatektus

                @garyd9 said in Duet 2 Upgrade Prints coming out stretched:

                What type of printer? Cartesian? Delta? CoreXY?

                jeez. i actually forgot to mention that 😄

                It's a delta. Ill edit my first post to include that info and the config.g file.

                Edit: Well the forum doesn't allow that, so here it is:

                Printer Information: Delta Printer 300mm diameter 0.9° Steppers

                config.g:

                ; Configuration file for Duet WiFi (firmware version 3)
                ; executed by the firmware on start-up
                ;
                ; generated by RepRapFirmware Configuration Tool v3.2.0 on Wed Jan 06 2021 12:03:41 GMT+0100 (Central European Standard Time)
                
                ; General preferences
                G90                                            ; send absolute coordinates...
                M83                                            ; ...but relative extruder moves
                M550 P"Reese"                                  ; set printer name
                M665 R178.07 L360.24 B150 H495 X-0.06° Y0.05°                 ; Set delta radius, diagonal rod length, printable radius and homed heights
                M666 X0 Y0 Z0                                  ; put your endstop adjustments here, or let auto calibration find them
                
                ; Network
                M551 P"rg21l7m6k"                              ; set password
                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 X160.00 Y160.00 Z160.00 E415.56            ; set steps per mm
                M566 X800.00 Y800.00 Z800.00 E800.00       ; set maximum instantaneous speed changes (mm/min)
                M203 X48000.00 Y48000.00 Z48000.00 E3600.00    ; set maximum speeds (mm/min)
                M201 X800.00 Y800.00 Z800.00 E1000.00       ; set accelerations (mm/s^2)
                M906 X1500 Y1500 Z1500 E1600 I70               ; 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 sensorless endstop for high end on X
                M574 Y2 S1 P"!ystop"                                    ; configure sensorless endstop for high end on Y
                M574 Z2 S1 P"!zstop"                                    ; configure sensorless endstop for high end on Z
                
                ; Z-Probe
                M558 C"^zprobe.in" P8 R0.4 F1000 H10                         ; disable Z probe but set dive height, probe speed and travel speed
                G31 P100 X0 Y0 Z-0.1
                M556 S78 X0 Y0 Z0                              ; set orthogonal axis compensation parameters
                M557 R150 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
                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
                M143 H1 S280                                   ; set temperature limit for heater 1 to 280C
                
                ; Fans
                M950 F1 C"fan1" Q200                          ; create fan 0 on pin fan0 and set its frequency
                M106 P1 C"FAN0_E0" S0.5 H1 T45                   ; set fan 0 name and value. Thermostatic control is turned on
                M950 F2 C"fan2" Q500                           ; create fan 1 on pin fan1 and set its frequency
                M106 P2 S0 H-1                                 ; set fan 1 value. Thermostatic control is turned off
                
                ; 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
                M579 X0.970 Y0.970
                ; Miscellaneous
                M575 P1 S1 B57600                              ; enable support for PanelDue
                M501                                           ; load saved parameters from non-volatile memory
                
                garyd9undefined 1 Reply Last reply Reply Quote 1
                • karatektusundefined
                  karatektus @fcwilt
                  last edited by

                  @fcwilt said in Duet 2 Upgrade Prints coming out stretched:

                  It's not really a hack.

                  Yeah It'll work for sure. but it doesn't fix the root problem.

                  fcwiltundefined 1 Reply Last reply Reply Quote 0
                  • garyd9undefined
                    garyd9 @karatektus
                    last edited by garyd9

                    @karatektus said in Duet 2 Upgrade Prints coming out stretched:

                    @garyd9 said in Duet 2 Upgrade Prints coming out stretched:

                    What type of printer? Cartesian? Delta? CoreXY?

                    jeez. i actually forgot to mention that 😄

                    It's a delta. Ill edit my first post to include that info and the config.g file.

                    Check that the arm length specified in M665 is correct. Instead of checking config.g and then config-override.g, just type "m665" in the console and hit enter. That will tell you the values it's actually using (regardless of what might be in various config files.)

                    If the arm length is accurate, are you doing a delta auto-calibration? What is the "S" parameter on the final G30 in your bed.g? (If it's 7 or 9, then the autocalibration will be overwriting the physical arm length you specify - which might not be what you want.)

                    Please review this document: https://duet3d.dozuki.com/Wiki/Calibrating_a_delta_printer

                    "I'm not saying that you are wrong - I'm just trying to fit it into my real world simulated experience."

                    karatektusundefined 1 Reply Last reply Reply Quote 0
                    • fcwiltundefined
                      fcwilt @karatektus
                      last edited by fcwilt

                      @karatektus said in Duet 2 Upgrade Prints coming out stretched:

                      Yeah It'll work for sure. but it doesn't fix the root problem.

                      The "root" problem may be a bug in the firmware or it could be something in the hardware - I don't know how you would determine that.

                      I just set M92 according to the theoretical values and tweak things with M579.

                      The prints come out fine.

                      But since we now know you are using a delta you have other settings to consider.

                      Frederick

                      Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                      1 Reply Last reply Reply Quote 0
                      • garyd9undefined
                        garyd9
                        last edited by

                        @karatektus said in Duet 2 Upgrade Prints coming out stretched:

                        6 X800.00 Y800.00 Z800.00 E800.0

                        Your config.g doesn't show any M665 at all... Do you have that command in a config-override.g? If so, does the "L" parameter match the length of the delta diagonal arms (measured in mm)?

                        "I'm not saying that you are wrong - I'm just trying to fit it into my real world simulated experience."

                        karatektusundefined 1 Reply Last reply Reply Quote 0
                        • karatektusundefined
                          karatektus @garyd9
                          last edited by

                          @garyd9 said in Duet 2 Upgrade Prints coming out stretched:

                          What is the "S" parameter on the final G30 in your bed.g?

                          I already checked that. its a 6 factor calibration.

                          The M665 command is kinda weird. It doesnt show the rod length.

                          m665
                          Diagonals 350.000:350.000:350.000, delta radius 169.494, homed height 477.998, bed radius 150.0, X -0.251°, Y -0.014°, Z 0.000°
                          

                          I am using a Smart effector + Haydn Huntley’s Magball delta arms which are specified at 360.24 so I figure this shouldn't be the problem.

                          garyd9undefined 1 Reply Last reply Reply Quote 0
                          • karatektusundefined
                            karatektus @garyd9
                            last edited by

                            @garyd9 said in Duet 2 Upgrade Prints coming out stretched:

                            Your config.g doesn't show any M665 at all... Do you have that command in a config-override.g? If so, does the "L" parameter match the length of the delta diagonal arms (measured in mm)?

                            both. its the third command in my config.g (guess you missed it?)and its autogenerated in the config-override

                            1 Reply Last reply Reply Quote 0
                            • garyd9undefined
                              garyd9 @karatektus
                              last edited by

                              @karatektus said in Duet 2 Upgrade Prints coming out stretched:

                               m665
                              Diagonals 350.000:350.000:350.000, delta radius 169.494, homed height 477.998, bed radius 150.0, X -0.251°, Y -0.014°, Z 0.000°
                              

                              I am using a Smart effector + Haydn Huntley’s Magball delta arms which are specified at 360.24 so I figure this shouldn't be the problem.

                              That's your problem. It is showing the L parameter (Diagonals: 350) and the value is very different from 360.24.

                              It's possible there's a M665 in your config-override.g with the wrong L parameter. Just change that in the config-overide.g to be exactly what the sticker on your arms claim. Or, just run: M665 L360.24 and then re-run the auto-calibration and save it via M500

                              "I'm not saying that you are wrong - I'm just trying to fit it into my real world simulated experience."

                              1 Reply Last reply Reply Quote 1
                              • karatektusundefined
                                karatektus
                                last edited by

                                wow.... im slightly embarrassed now... thank you! also: m500 saves my autocal so i dont have to run it everytime i homed the printer?

                                garyd9undefined 1 Reply Last reply Reply Quote 0
                                • garyd9undefined
                                  garyd9 @karatektus
                                  last edited by

                                  @karatektus

                                  Running a delta calibration (G32) sets the calibrated values to "current"

                                  M500 saves the "current" values for any temperature calibrations and delta calibrations to your config-override.g.

                                  M501 (which you have at the end of your config.g) loads the values from config-override.g

                                  (The reason I spelled it out like that was to ensure that your aware it writes more than just the delta calibration stuff.)

                                  "I'm not saying that you are wrong - I'm just trying to fit it into my real world simulated experience."

                                  1 Reply Last reply Reply Quote 1
                                  • karatektusundefined
                                    karatektus
                                    last edited by

                                    ok got it 🙂 thanks!

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