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

    Ender 5 Plus with dual z calibration

    Scheduled Pinned Locked Moved
    General Discussion
    3
    53
    3.1k
    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.
    • nightmare90gtundefined
      nightmare90gt
      last edited by

      https://www.youtube.com/watch?v=tcf_zB_B2GU

      1 Reply Last reply Reply Quote 0
      • nightmare90gtundefined
        nightmare90gt
        last edited by

        new config.g file because i have added a few things throughout the day.

        ; Configuration file for Duet WiFi (firmware version 3)
        ; executed by the firmware on start-up
        ;
        ; generated by RepRapFirmware Configuration Tool v3.1.4 on Wed Sep 30 2020 16:34:31 GMT+0200 (Central European Summer Time)

        ; General preferences
        G90 ; send absolute coordinates...
        M83 ; ...but relative extruder moves
        M550 P"Ender 5 Plus CoreXY" ; set printer name
        M669 K1 ; select CoreXY mode

        ; Network
        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 S1 ; physical drive 3 goes forwards
        M569 P4 S1 ; physical drive 4 goes forwards
        M569 P5 S0 ; physical drive 5 goes backwards
        M584 X0 Y1 Z2:5 E3:4 ; configure 2 Z motors connected to outputs Z and P5
        M671 X-20:370 150:150 S0.5 ; leadscrews at left (connected to Z) and right (connected to P5) of X axis
        M350 X16 Y16 Z16 E16:16 I1 ; configure microstepping with interpolation
        M92 X80.00 Y80.00 Z800.00 E415.00:415.00 ; set steps per mm
        M566 X900.00 Y900.00 Z12.00 E120.00:120.00 ; set maximum instantaneous speed changes (mm/min)
        M203 X6000.00 Y6000.00 Z180.00 E1200.00:1200.00 ; set maximum speeds (mm/min)
        M201 X500.00 Y500.00 Z20.00 E250.00:250.00 ; set accelerations (mm/s^2)
        M906 X800 Y800 Z800 E600:600 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 X313 Y350 Z400 S0 ; set axis maxima
        M208 X0:313 Y0:350 Z400 ; X carriage moves from 0 to 313, Y axis goes from 0 to 350

        ; Endstops
        M574 X1 S1 P"xstop" ; configure active-high endstop for low end on X via pin xstop
        M574 Y1 S1 P"ystop" ; configure active-high endstop for low end on Y via pin ystop
        M574 Z1 S2 P"zstop+D5stop" ; configure Z-probe endstop for low end on Z

        ; Z-Probe
        M950 S0 C"duex.pwm5" ; create servo pin 0 for BLTouch
        M558 P9 C"^zprobe.in" H5 F120 T6000 ; set Z probe type to bltouch and the dive height + speeds
        G31 P500 X30.814 Y17.505 Z-0.425 ; set Z probe trigger value, offset and trigger height
        M557 X50:313 Y15:350 S50 ; 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 B1 S1.00 ; enable 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" T500000 B4723 C1.19622e-7 ; 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
        M308 S2 P"e1temp" Y"thermistor" T500000 B4723 C1.19622e-7 ; configure sensor 2 as thermistor on pin e1temp
        M950 H2 C"e1heat" T2 ; create nozzle heater output on e1heat and map it to sensor 2
        M307 H2 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit

        ; Fans
        M950 F0 C"fan0" Q20 ; create fan 0 on pin fan0 and set its frequency
        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
        M106 P1 S1 H1 T45 ; set fan 1 value. Thermostatic control is turned on
        M950 F2 C"fan2" Q500 ; create fan 2 on pin fan2 and set its frequency
        M106 P2 S1 H2 T45 ; set fan 2 value. Thermostatic control is turned on

        ; Tools
        M563 P0 S"E0" 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"E1" D1 H2 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

        ; Custom settings are not defined

        ; Miscellaneous
        M575 P1 S1 B57600 ; enable support for PanelDue
        T0 ; select first tool
        M911 S21.0 R23.0 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000"
        M591 D0 P5 C"e0_stop" R40:120 E3.0 S0 ; Duet3D laser sensor for extruder drive 0, connected to endstop input 3 (E0), tolerance 40 to 120%, 3mm comparison length, disabled
        M591 D1 P5 C"e1_stop" R40:120 E3.0 S0 ; Duet3D laser sensor for extruder drive 1, connected to endstop input 4 (E1), tolerance 40 to 120%, 3mm comparison length, disabled

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

          can you post your home scripts?

          1 Reply Last reply Reply Quote 0
          • nightmare90gtundefined
            nightmare90gt
            last edited by

            @Veti ; homeall.g
            ; called to home all axes
            ;
            ; generated by RepRapFirmware Configuration Tool v3.1.4 on Wed Sep 30 2020 16:34:31 GMT+0200 (Central European Summer Time)
            G91 ; relative positioning
            G1 H2 Z5 F6000 ; lift Z relative to current position
            G1 H1 X-325 Y-355 F1800 ; move quickly to X or Y endstop and stop there (first pass)
            G1 H1 X-325 ; home X axis
            G1 H1 Y-355 ; home Y axis
            G1 X5 Y5 F6000 ; go back a few mm
            G1 H1 X-325 F360 ; move slowly to X axis endstop once more (second pass)
            G1 H1 Y-355 ; then move slowly to Y-axis endstop
            G90 ; absolute positioning
            G1 X150 Y150 F6000 ; go to the middle of the bed and home Z
            G30 ; home Z by probing the bed

            ; Uncomment the following lines to lift Z after probing
            ;G91 ; relative positioning
            ;G1 Z5 F100 ; lift Z relative to current position
            ;G90 ; absolute positioning

            ; homex.g
            ; called to home the X axis
            ;
            ; generated by RepRapFirmware Configuration Tool v3.1.4 on Wed Sep 30 2020 16:34:31 GMT+0200 (Central European Summer Time)
            G91 ; relative positioning
            G1 H2 Z5 F6000 ; lift Z relative to current position
            G1 H1 X-325 F1800 ; move quickly to X axis endstop and stop there (first pass)
            G1 X5 F6000 ; go back a few mm
            G1 H1 X-325 F360 ; move slowly to X axis endstop once more (second pass)
            G1 H2 Z-5 F6000 ; lower Z again
            G90 ; absolute positioning

            ; homey.g
            ; called to home the Y axis
            ;
            ; generated by RepRapFirmware Configuration Tool v3.1.4 on Wed Sep 30 2020 16:34:31 GMT+0200 (Central European Summer Time)
            G91 ; relative positioning
            G1 H2 Z5 F6000 ; lift Z relative to current position
            G1 H1 Y-355 F1800 ; move quickly to Y axis endstop and stop there (first pass)
            G1 Y5 F6000 ; go back a few mm
            G1 H1 Y-355 F360 ; move slowly to Y axis endstop once more (second pass)
            G1 H2 Z-5 F6000 ; lower Z again
            G90 ; absolute positioning

            ; homey.g
            ; called to home the Y axis
            ;
            ; generated by RepRapFirmware Configuration Tool v3.1.4 on Wed Sep 30 2020 16:34:31 GMT+0200 (Central European Summer Time)
            G91 ; relative positioning
            G1 H2 Z5 F6000 ; lift Z relative to current position
            G1 H1 Y-355 F1800 ; move quickly to Y axis endstop and stop there (first pass)
            G1 Y5 F6000 ; go back a few mm
            G1 H1 Y-355 F360 ; move slowly to Y axis endstop once more (second pass)
            G1 H2 Z-5 F6000 ; lower Z again
            G90 ; absolute positioning

            ; homez.g
            ; called to home the Z axis
            ;
            ; generated by RepRapFirmware Configuration Tool v3.1.4 on Wed Sep 30 2020 16:34:31 GMT+0200 (Central European Summer Time)
            G91 ; relative positioning
            G1 H2 Z5 F6000 ; lift Z relative to current position
            G90 ; absolute positioning
            G1 X19.186 Y-2.504999999999999 F6000 ; go to first probe point
            G30 ; home Z by probing the bed

            ; Uncomment the following lines to lift Z after probing
            ;G91 ; relative positioning
            ;G1 Z5 F100 ; lift Z relative to current position
            ;G90 ; absolute positioning

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

              i dont see anything wrong in the config.

              the difference between the homeall and home x / y is:

              home x and y use both motors.

              the initial move in homeall uses just 1 motor (corexy diagonal moves is just one motor turning)

              so things to check. is the other motor actually still, or does it move.

              i think its something mechanical
              try reducing the speed and see what happens during the move.
              so change
              G1 H1 X-325 Y-355 F1800 ; move quickly to X or Y endstop and stop there (first pass)
              to
              G1 H1 X-325 Y-355 F180 ; move quickly to X or Y endstop and stop there (first pass)

              1 Reply Last reply Reply Quote 0
              • nightmare90gtundefined
                nightmare90gt
                last edited by

                I can tell you the y motor rotates very slowly when performing home all.

                I will lower the feedrate tomorrow and report back. Thanks for the help

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

                  @nightmare90gt said in Ender 5 Plus with dual z calibration:

                  I can tell you the y motor rotates very slowly when performing home all.

                  so that could be a wiring problem, a loose grubscrew, or the motor is not getting enough current.

                  1 Reply Last reply Reply Quote 0
                  • nightmare90gtundefined
                    nightmare90gt
                    last edited by

                    Swapped y motor to x driver and x motor to y driver and the stuttering went to the x motor.

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

                      @nightmare90gt
                      did you change the wire to a new one?

                      nightmare90gtundefined 1 Reply Last reply Reply Quote 0
                      • nightmare90gtundefined
                        nightmare90gt
                        last edited by

                        No just moved the connector

                        1 Reply Last reply Reply Quote 0
                        • nightmare90gtundefined
                          nightmare90gt @Veti
                          last edited by

                          @Veti moved the connector on the duet not the motors

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

                            try a different wire. it could be a phase not making a connection.

                            1 Reply Last reply Reply Quote 0
                            • nightmare90gtundefined
                              nightmare90gt
                              last edited by

                              Wouldnt moving the connector at the board take the wiring out of the equation? I'm thinking that the y driver might be bad. Because the same motor and wiring on the x driver worked as intended.

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

                                ah i get you. you did swap the wire that way as well.

                                so if you move reconfigure the driver to be on the duex it works for both?

                                1 Reply Last reply Reply Quote 0
                                • nightmare90gtundefined
                                  nightmare90gt
                                  last edited by

                                  I dont know how to reconfigure the y driver to be on the duex

                                  1 Reply Last reply Reply Quote 0
                                  • nightmare90gtundefined
                                    nightmare90gt
                                    last edited by

                                    Changed what it think it would to drive 6 and still get the stuttering

                                    1 Reply Last reply Reply Quote 0
                                    • nightmare90gtundefined
                                      nightmare90gt
                                      last edited by

                                      Tried reloading firmware, new configuration from the config tool nothing has worked

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

                                        @nightmare90gt said in Ender 5 Plus with dual z calibration:

                                        M584 X0 Y1 Z2:5 E3:4 ; configure 2 Z motors connected to outputs Z and P5

                                        change to
                                        M584 X0 Y6 Z2:5 E3:4 ; configure 2 Z motors connected to outputs Z and P5

                                        1 Reply Last reply Reply Quote 0
                                        • nightmare90gtundefined
                                          nightmare90gt
                                          last edited by

                                          I did that still did the samething

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

                                            with the motors powered can you move the belt of the x or y motors without much force?

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