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

    duet ethernet start with wrong microstep

    Scheduled Pinned Locked Moved
    General Discussion
    3
    13
    436
    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.
    • Vetiundefined
      Veti
      last edited by

      would you post your config.

      how do you know its the wrong microstepping? did you check with M350?

      1 Reply Last reply Reply Quote 0
      • 3Dreamundefined
        3Dream
        last edited by

        G21; Unit  millimetri
        G90; Posizioni assolute
        M83; Estrusore posizione relativa
        M80; Abilita PS ON
        ;Impostazioni rete
        M552 P192.168.44.30; Ip macchina
        M554 P192.168.44.1; Gateway
        M553 P255.255.255.0; Subnet mask
        M550 Duet3D; Nome macchina
        M552 S1; Abilita rete
        M586 P0 S1; HTTP On
        M586 P1 S0; FTP Off
        M586 P2 S0; SFTP Off
        ;Impostazione motori
        M569 P0 S0; Senso rotazione motori
        M569 P1 S0; Senso rotazione motori
        M569 P2 S0; Senso rotazione motori
        M569 P3 S1; Senso rotazione motori
        M569 P4 S0; Senso rotazione motori
        M569 P5 S0; Senso rotazione motori
        M584 X0 Y1 Z2 U3 V4 E5 P3; Assegnazione motori
        M350 X64 Y64 Z32 U64 V32 E32 I1; Microstep motori
        M92 X320 Y320 Z1280 U320 V1280 E920; Step giro motori
        M566 X500 Y500 Z80 U500 V80 E100; Jerk motori
        M203 X10000 Y10000 Z1000 U10000 V1000 E3000; Velocita motori
        M201 X1100 Y1100 Z80 U1100 V80 E500; Accelerazione motori
        M906 X1800 Y1800 Z1500 U1800 V1500 E800 I50; Corrente motori
        ;Corse macchina
        M208 X-5 Y-15 Z0 U-5 V0 S1; Posizione corsa minima
        M208 X805 Y445 Z403.2 U805 V403.2 S0; Posizione corsa massima
        ;Finecorsa
        M574 X1 S1 P"xstop"
        M574 Y1 S1 P"ystop"
        M574 Z2 S1 P"zstop"
        M574 U1 S1 P"e0_stop"
        M574 V2 S1 P"e1_stop"
        ;Filament monitor
        M591 D0 P1 C8 S1
        ;Piano riscaldato
        M305 P0 T100000 B4138 C0 R4700
        M143 H0 S120
        M570 H0 P10000 T10000
        M307 H0 B1 S1.00
        ;Estrusore SX
        M305 P1 T100000 B4725 C7.060000e-8 R4700
        M143 H1 S245
        M570 H1 P1000 T1000
        ;Camera
        M141 H2
        M307 H2 B1
        M305 P2 T100000 B4138 C0 R4700
        M143 H2 S70
        M570 H2 P999999 S9999999
        ;Ventole
        M106 P0 S0 H-1
        ; Tools sx
        M563 P0 D0 H1 ; define tool 0
        G10 P0 X0 Y0 Z0
        G10 P0 S0 R0 ; set tool 0 axis offsets
        ;Posizione proximity e bed levelling
        M307 H3 A-1 C-1 D-1
        M558 P9 H5 F120 T15000
        G31 P600 X0 Y-27 Z0.3 S80
        M557 X16:784 Y8:392 S96
        ;Autopoweroff
        M911 S23 P"G91 M83 G1 Z10 E-2 F1000"
        M106 S0
        M501

        1 Reply Last reply Reply Quote 0
        • 3Dreamundefined
          3Dream
          last edited by

          The machine starts up with 16 microsteps instead of the 64 set in config.g. If I then press emergency stop on DWC while keeping the power on, it goes well again

          1 Reply Last reply Reply Quote 0
          • 3Dreamundefined
            3Dream
            last edited by

            G21; Unità millimetri
            G90; Posizioni assolute
            M83; Estrusore posizione relativa
            M80; Abilita PS ON
            ; Impostazioni rete
            M552 P192.168.44.30; Ip macchina
            M554 P192.168.44.1; Gateway
            M553 P255.255.255.0; Maschera di sottorete
            M550 Duet3D; Nome macchina
            M552 S1; Abilita rete
            M586 P0 S1; HTTP su
            M586 P1 S0; FTP disattivato
            M586 P2 S0; SFTP Off
            ; Impostazione motori
            M569 P0 S0; Senso rotazione motori
            M569 P1 S0; Senso rotazione motori
            M569 P2 S0; Senso rotazione motori
            M569 P3 S1; Senso rotazione motori
            M569 P4 S0; Senso rotazione motori
            M569 P5 S0; Senso rotazione motori
            M584 X0 Y1 Z2 U3 V4 E5 P3; Assegnazione motori
            M350 X64 Y64 Z32 U64 V32 E32 I1; Microstep motori
            M92 X320 Y320 Z1280 U320 V1280 E920; Passo giro motori
            M566 X500 Y500 Z80 U500 V80 E100; Jerk motori
            M203 X10000 Y10000 Z1000 U10000 V1000 E3000; Velocita motori
            M201 X1100 Y1100 Z80 U1100 V80 E500; Accelerazione motori
            M906 X1800 Y1800 Z1500 U1800 V1500 E800 I50; Corrente motori
            ; Corse macchina
            M208 X-5 Y-15 Z0 U-5 V0 S1; Posizione corsa minima
            M208 X805 Y445 Z403.2 U805 V403.2 S0; Posizione corsa massima
            ; Finecorsa
            M574 X1 S1 P "xstop"
            M574 Y1 S1 P "ystop"
            M574 Z2 S1 P "zstop"
            M574 U1 S1 P "e0_stop"
            M574 V2 S1 P "e1_stop"
            ; Filamento del monitor
            M591 D0 P1 C8 S1
            ; Piano RISCALDATO
            M305 P0 T100000 B4138 C0 R4700
            M143 H0 S120
            M570 H0 P10000 T10000
            M307 H0 B1 S1.00
            ; Estrusore SX
            M305 P1 T100000 B4725 C7.060000e-8 R4700
            M143 H1 S245
            M570 H1 P1000 T1000
            ; Telecamera
            M141 H2
            M307 H2 B1
            M305 P2 T100000 B4138 C0 R4700
            M143 H2 S70
            M570 H2 P999999 S9999999
            ; Ventole
            M106 P0 S0 H-1
            ; Strumenti sx
            M563 P0 D0 H1; definire l'utensile 0
            G10 P0 X0 Y0 Z0
            G10 P0 S0 R0; set utensile 0 offset assi
            ; Posizione prossimità e livellamento letto
            M307 H3 A-1 C-1 D-1
            M558 P9 H5 F120 T15000
            G31 P600 X0 Y-27 Z0.3 S80
            M557 X16: 784 Y8: 392 S96
            ; Autopoweroff
            M911 S23 P "G91 M83 G1 Z10 E-2 F1000"
            M106 S0
            M501

            1 Reply Last reply Reply Quote 0
            • Vetiundefined
              Veti
              last edited by

              @3Dream said in duet ethernet start with wrong microstep:

              M350 X64 Y64 Z32 U64 V32 E32 I1; Microstep motori

              the duet ethernet can only do interpolation at x16. unless there is a good reason you should stick with x16 and interpolation.

              M305 P0 T100000 B4138 C0 R4700
              M305 P2 T100000 B4138 C0 R4700

              this is incorrect B4138 is the default and incorrect for your thermistors. look up the correct value in the documentation of your thermistor.

              M574 V2 S1 P"e1_stop"

              this is version 3 syntax. the rest is rrf2. this is broken. which firmware are you running?

              1 Reply Last reply Reply Quote 0
              • 3Dreamundefined
                3Dream
                last edited by

                I am using 2.05.1

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

                  Please post the results of M122 and M98 P"config.g"

                  @3Dream said in duet ethernet start with wrong microstep:

                  The machine starts up with 16 microsteps instead of the 64 set in config.g.

                  How are you verifying that?

                  Z-Bot CoreXY Build | Thingiverse Profile

                  1 Reply Last reply Reply Quote 0
                  • 3Dreamundefined
                    3Dream
                    last edited by

                    -The machine starts up with 16 microsteps instead of the 64 set in config.g.

                    -How are you verifying that?

                    the machine moves 25mm at a time while it should do 100

                    -M574 V2 S1 P"e1_stop"

                    -this is version 3 syntax. the rest is rrf2. this is broken. which firmware are you running?

                    I thought this too but it was the only way to make 2 limit switches work on Y and 2 on Z with separate axes. In addition, the machine printed for about 150 hours with this config.g.
                    If anyone has a better way to do it, could you please explain it to me?
                    I am using 2.05.1

                    Vetiundefined 1 Reply Last reply Reply Quote 0
                    • Vetiundefined
                      Veti @3Dream
                      last edited by Veti

                      @3Dream said in duet ethernet start with wrong microstep:

                      If anyone has a better way to do it, could you please explain it to me?
                      I am using 2.05.1

                      version 3 of the firmware has this support.
                      see
                      https://duet3d.dozuki.com/Wiki/Bed_levelling_using_multiple_independent_Z_motors#Section_In_RepRapFirmware_Num_3

                      considering the many errors you have, it would be a good idea to start fresh on version 3

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

                        If you still have access to DWC. Upload these 3 zip files, one at a time. Don't extract them. Reboot after each.

                        https://github.com/Duet3D/RepRapFirmware/releases/download/2.05.1/Duet2Firmware-2.05.1.zip

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

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

                        That will get your firmware and DWC up to date.

                        https://configtool.reprapfirmware.org/Start

                        For your config, might be a good idea to run through the configurator tool and generate a fresh set for RRF3.

                        To verify your steps per mm are actually what you think they are you can send M92 and M350 in the console and it will report back with the currently configured values.

                        Z-Bot CoreXY Build | Thingiverse Profile

                        1 Reply Last reply Reply Quote 0
                        • 3Dreamundefined
                          3Dream
                          last edited by

                          Good evening everyone and thanks for the help.
                          I have read all your suggestions and am trying to fix the problem.
                          Today I tried to do these checks while the printer starts with the wrong speed and shift than expected. First of all the problem doesn't always happen on every reboot but once every 5/10 reboots. I ran M92 when the machine booted incorrectly but the result shows the correct step values present in the config.g. M350 also does not detect errors. One more question please.
                          in this row Autopoweroff
                          M911 S23 P "G91 M83 G1 Z10 E-2 F1000"
                          Could the R value be missing? or do I still have to enter it?
                          Does the fact that there is no R value create problems?
                          Thanks to everyone again and good evening

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

                            @3Dream said in duet ethernet start with wrong microstep:

                            I ran M92 when the machine booted incorrectly but the result shows the correct step values present in the config.g. M350 also does not detect errors.

                            Then I don't think this is the problem.

                            @3Dream said in duet ethernet start with wrong microstep:

                            Could the R value be missing? or do I still have to enter it?

                            Yes you need to add the R value.

                            https://duet3d.dozuki.com/Wiki/Gcode?revisionid=HEAD#Section_M911_Configure_auto_save_on_loss_of_power

                            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