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

    Wrong cube calibration 20x20x80

    Scheduled Pinned Locked Moved
    General Discussion
    6
    29
    1.4k
    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.
    • Phaedruxundefined
      Phaedrux Moderator @droftarts
      last edited by Phaedrux

      @droftarts Ten if you count the times I've shouted it at the screen. šŸ˜›

      Z-Bot CoreXY Build | Thingiverse Profile

      chris4undefined 1 Reply Last reply Reply Quote 0
      • chris4undefined
        chris4 @droftarts
        last edited by

        @droftarts
        have tried with the M92 Z400 it too but it will be the same height on the Z axis.
        Changing the Z steps/mm from 1600 to 400 cannot fail to reduce the Z height by a factor of 4.

        1 Reply Last reply Reply Quote 0
        • chris4undefined
          chris4 @droftarts
          last edited by

          @droftarts
          have tried with the M92 Z400 it too but it will be the same height on the Z axis.
          Changing the Z steps/mm from 1600 to 400 cannot fail to reduce the Z height by a factor of 4.

          1 Reply Last reply Reply Quote 0
          • chris4undefined
            chris4 @Phaedrux
            last edited by

            @Phaedrux
            have tried with the M92 Z400 it too but it will be the same height on the Z axis.
            Changing the Z steps/mm from 1600 to 400 cannot fail to reduce the Z height by a factor of 4.

            1 Reply Last reply Reply Quote 0
            • aidarundefined
              aidar
              last edited by

              How have you "tried" this? Have you changed your config file? Btw its config.g, not config.h

              deckingmanundefined 1 Reply Last reply Reply Quote 0
              • deckingmanundefined
                deckingman @aidar
                last edited by deckingman

                @aidar said in Wrong cube calibration 20x20x80:

                Btw its config.g, not config.h

                @chris4 Repeat - Change the M92 in CONFIG.G from 1600 to 400

                Ian
                https://somei3deas.wordpress.com/
                https://www.youtube.com/@deckingman

                chris4undefined 1 Reply Last reply Reply Quote 0
                • chris4undefined
                  chris4 @deckingman
                  last edited by chris4

                  @deckingman
                  As I had written earlier in posts I have tried with the Z400 in config.g
                  And it became the same height on the Z axis (80mm).
                  because you said, I have tested again and it became the same height (80 mm)

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

                    Post your entire config.g please.

                    Z-Bot CoreXY Build | Thingiverse Profile

                    1 Reply Last reply Reply Quote 0
                    • chris4undefined
                      chris4
                      last edited by

                      ; 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 Mar 07 2020 00:00:28 GMT+0100 (centraleuropeisk normaltid)
                      
                      ; General preferences
                      G90                                     ; send absolute coordinates...
                      M83                                     ; ...but relative extruder moves
                      M550 P"My Printer"                      ; set printer name
                      
                      ; Network
                      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 S0                              ; physical drive 2 goes backwards
                      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 X160.00 Y160.00 Z400 E837.08       ; set steps per mm
                      M566 X900.00 Y900.00 Z12.00 E120.00     ; set maximum instantaneous speed changes (mm/min)
                      M203 X6000.00 Y6000.00 Z180.00 E1200.00 ; set maximum speeds (mm/min)
                      M201 X500.00 Y500.00 Z20.00 E250.00     ; set accelerations (mm/s^2)
                      M906 X800 Y800 Z800 E800 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 X260 Y240 Z240 S0                  ; set axis maxima
                      
                      ; Endstops
                      M574 X1 Y1 Z1 S1                        ; set active low and disabled 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
                      M305 P0 T100000 B4138 R4700             ; set thermistor + ADC parameters for heater 0
                      M143 H0 S120                            ; set temperature limit for heater 0 to 120C
                      M305 P1 T100000 B4138 R4700             ; set thermistor + ADC parameters for heater 1
                      M143 H1 S280                            ; set temperature limit for heater 1 to 280C
                      
                      ; Fans
                      M106 P0 S0 I0 F500 H-1                  ; set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
                      M106 P1 S1 I0 F500 H1 T45               ; set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
                      
                      ; Tools
                      M563 P0 D0 S"TitanAero" 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
                      
                      
                      
                      droftartsundefined 1 Reply Last reply Reply Quote 0
                      • droftartsundefined
                        droftarts administrators @chris4
                        last edited by

                        @chris4 your config.g is correct, with z400 in the M92 command. But have you reset the printer, or power off/power on, or sent M999, or pressed emergency stop in DWC, or sent M98 Pā€config.gā€?

                        Because the settings in config.g won’t take effect until the machine is rebooted, or the config.g is run again.

                        I suggested you sent M92 Z400. I didn’t specify how to do this, unfortunately. You can send gcode commands directly in the DWC, in the console window, to see the response. This is also where you can send M92 on its own to see the current setting.

                        I’m sorry if this is not obvious to someone who is new to Duet, but most of these basic interactions are covered in the documentation.

                        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
                        • chris4undefined
                          chris4
                          last edited by

                          @droftarts said in Wrong cube calibration 20x20x80:

                          M92

                          Yes, have done.
                          This is from G console :
                          21:45:11M92
                          Steps/mm: X: 160.000, Y: 160.000, Z: 400.000, E: 837.080
                          21:44:47Connection established!
                          21:44:43Disconnected.
                          21:44:05M92 Z400.
                          will try printing again afterwards

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

                            @chris4 that looks like a correct response. Test how far the z axis moves before printing. Moving Z +10 should move it 10mm, not 40mm. Once print starts, send M92 again, to check it hasn’t changed. I can’t see anywhere in the Gcode you posted that would change, but it’s possible that it may get set somewhere else. Though I think this unlikely.

                            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
                            • deckingmanundefined
                              deckingman @chris4
                              last edited by

                              @chris4 said in Wrong cube calibration 20x20x80:

                              @deckingman
                              As I had written earlier in posts I have tried with the Z400 in config.g

                              I don't want to labour the point but actually in your earlier posts, 4 times you said config.h rather than config.g.

                              Now that you get the correct response when sending M92, if you still have problems, check to see if you have M92 Z 1600 anywhere else which is overriding the value that you have put in config.g. Places to look would be config_override.g if you use that, or in your slicer start gcode.

                              Ian
                              https://somei3deas.wordpress.com/
                              https://www.youtube.com/@deckingman

                              1 Reply Last reply Reply Quote 0
                              • chris4undefined
                                chris4
                                last edited by

                                Have done a hard reset on duet2wifi and tried again with the Z400, and now works. 20x20x20
                                Thanks guys, that you may have an understanding with an old man, but there will certainly be more questions in the future.
                                Thanks again.

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

                                  Glad it finally worked.

                                  The config file is only read at startup. So any changes made to it will require a restart. The Web control will prompt to restart after saving a change.

                                  Z-Bot CoreXY Build | Thingiverse Profile

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