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

    Creality CR-10 upgrade

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    14
    252
    53.2k
    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.
    • Agniusmundefined
      Agniusm
      last edited by

      @Phaedrux Is it possible to connect Z max endstop to E1 stop connector? How to define it?

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

        @agniusm I'm not exactly sure. I've never done that before. My Z probe uses the probe connector, so the Z endstop is free for my Z max switch.

        I don't think you would have to do anything to specifically define it other than to say you have a Z max endstop, then in your homing files you will need a G1 S1 Z+ move to seek the endstop. But I could be completely wrong. @dc42 would have to give you an exact answer.

        https://duet3d.dozuki.com/Wiki/Gcode#Section_M574_Set_endstop_configuration

        M574 Z2 S0 ; Set active-low switch at the high end for Z Max.

        Are your switches active-high or active-low triggers?

        Z-Bot CoreXY Build | Thingiverse Profile

        1 Reply Last reply Reply Quote 0
        • Agniusmundefined
          Agniusm
          last edited by

          My z endstop is polulated and e0 is for filament runout If I remember correctly, switch I want to use is NC. I thought I need to assign e1 endstop to z max but I found no hint in wiki.

          1 Reply Last reply Reply Quote 0
          • dc42undefined
            dc42 administrators
            last edited by

            What do you want your Z Max endstop to do when it is triggered? if you want it to carry out an emergency stop, you can do that by connecting it to the E1 endstop connector and using the M581 command to assign a trigger action to it,

            Duet WiFi hardware designer and firmware engineer
            Please do not ask me for Duet support via PM or email, use the forum
            http://www.escher3d.com, https://miscsolutions.wordpress.com

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

              @dc42 what if you want to use it as a zmax endstop but connected to the e1 endstop? Can endstops be defined in software?

              Z-Bot CoreXY Build | Thingiverse Profile

              1 Reply Last reply Reply Quote 0
              • Agniusmundefined
                Agniusm
                last edited by

                @dc42, i want to use it for rehoming Z after powerloss. My gantry is heavy and it sags some.
                But yes, as @Phaedrux i too would like to know if its possible to reassign endstops.

                dc42undefined 1 Reply Last reply Reply Quote 0
                • dc42undefined
                  dc42 administrators @Agniusm
                  last edited by

                  @agniusm said in Creality CR-10 upgrade:

                  @dc42, i want to use it for rehoming Z after powerloss. My gantry is heavy and it sags some.

                  In that case, in your home-after-power-loss script you can use M574 Z2 S2 to select Z probe as the homing switch type, M558 P4 to select switch Z probe, and use G91 G1 S1 Znnn to home Z. Then use M574 and M558 to reset the homing switch type/position and Z probe type back to normal.

                  Reassigning endstop switches is not yet possible but will be implemented soon.

                  Duet WiFi hardware designer and firmware engineer
                  Please do not ask me for Duet support via PM or email, use the forum
                  http://www.escher3d.com, https://miscsolutions.wordpress.com

                  Agniusmundefined 1 Reply Last reply Reply Quote 0
                  • Agniusmundefined
                    Agniusm @dc42
                    last edited by

                    @dc42 Should i use M116 after resetting Z probe type commands in "home-after-power-loss script" and before changing it back to normal commands?

                    dc42undefined 1 Reply Last reply Reply Quote 0
                    • dc42undefined
                      dc42 administrators @Agniusm
                      last edited by

                      @agniusm said in Creality CR-10 upgrade:

                      @dc42 Should i use M116 after resetting Z probe type commands in "home-after-power-loss script" and before changing it back to normal commands?

                      You need to use M116 somewhere in your resurrect-prologue.g file, to make sure that the heaters are up to temperature before it completes.

                      Duet WiFi hardware designer and firmware engineer
                      Please do not ask me for Duet support via PM or email, use the forum
                      http://www.escher3d.com, https://miscsolutions.wordpress.com

                      1 Reply Last reply Reply Quote 0
                      • Agniusmundefined
                        Agniusm
                        last edited by

                        So i am back at mesh mapping and my inconsistent first layer accross the bedoinI might be doig it wrong.
                        My induction probe is offset on x axis by -24.5mm only and inline with the nozzle on y.

                        1. Do i need to position the nozzle where i want to probe or do i need to position the probe where i want to probe?
                          I am homing with probe and at the moment i do that at x10 y10.
                        2. Would probing at the bed center improve accuracy?
                        1 Reply Last reply Reply Quote 0
                        • dc42undefined
                          dc42 administrators
                          last edited by

                          In general, when probing you tell the firmware where you want to probe, then it uses the declared XY probe offsets to put the probe where you specified, not the nozzle. The exception is a plain G30 or G30 S-1 move, which probes wherever the head currently is.

                          When using a Z probe to home Z, it is best to probe at the centre of the bed, because any print do is likely to use that area of the bed.

                          Duet WiFi hardware designer and firmware engineer
                          Please do not ask me for Duet support via PM or email, use the forum
                          http://www.escher3d.com, https://miscsolutions.wordpress.com

                          1 Reply Last reply Reply Quote 0
                          • Agniusmundefined
                            Agniusm
                            last edited by

                            @dc42, swapping wifi for eth module, would i need to put eth firmware first or after swap?

                            dc42undefined 1 Reply Last reply Reply Quote 0
                            • dc42undefined
                              dc42 administrators @Agniusm
                              last edited by

                              @agniusm said in Creality CR-10 upgrade:

                              @dc42, swapping wifi for eth module, would i need to put eth firmware first or after swap?

                              Assuming you are using a recent firmware release, both run the same firmware file (Duet2CombinedFirmware.bin).

                              Duet WiFi hardware designer and firmware engineer
                              Please do not ask me for Duet support via PM or email, use the forum
                              http://www.escher3d.com, https://miscsolutions.wordpress.com

                              1 Reply Last reply Reply Quote 0
                              • Agniusmundefined
                                Agniusm @Phaedrux
                                last edited by

                                @phaedrux, can you post your HomeZMax.g script? I got Z max installed on Z endstop input and after power loss it slams into my bed. I have something incorrect.
                                Thanks

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

                                  @agniusm Here you go

                                  ; HomeZMax.g
                                  ; Called to home Z to max endstop
                                  ;
                                  
                                  M291 R"Are you sure?" P"Press OK to Home to ZMax. Or Cancel to abort." S3
                                  M574 Z2 S1			; Set active-high switch (Opto) at the high end for Z Max.
                                  M98 P"0:/sys/ZSpeedsZMaxHome.g"		; Load slower Z Speeds profile
                                  G91				; Relative positioning
                                  G1 S1 Z330 F300			; Move bed down until endstop triggers
                                  G1 Z-5 F100			; back off 5mm
                                  G1 S1 Z10 F100			; go back to trigger endstop more slowly
                                  M98 P"0:/sys/ZSpeedsNormal.g"		; Load normal Z Speeds profile	
                                  

                                  Z-Bot CoreXY Build | Thingiverse Profile

                                  Agniusmundefined 1 Reply Last reply Reply Quote 0
                                  • Agniusmundefined
                                    Agniusm @Phaedrux
                                    last edited by Agniusm

                                    @phaedrux Thank you.
                                    I think i am missing something. I have not specified exact Z max distance. would that be the case?
                                    How would you calculate exact one? I have induction probe for z min and a micro switch for z max
                                    My induction is connected to E0 endstop and Z max to Z endstop

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

                                      I have another macro that lets me adjust the trigger height of my optical endstop. It could also be used to measure the exact distance and set the axis limit. I'll post that later today.

                                      Z-Bot CoreXY Build | Thingiverse Profile

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

                                        @agniusm Here you go

                                        ; 0:/macros/Bed Leveling/0_Measure Zmax trigger.g
                                        ; Automates measuring the Zmax trigger for optical endstop at 300mm
                                        ;
                                        M291 P"This will set Z0 and calibrate Zmax height to 300mm" R"Proceed?" S3
                                        M291 P"Homing all axis" T5
                                        G28			; Home all
                                        G90			; Absolute positioning
                                        G1 X149 Y130 Z4		; move to bed center
                                        G92 Z6
                                        M291 P"Adjust nozzle height until it's touching bed" Z1 S3
                                        G92 Z0 			; set Z0
                                        M291 P"Bed will now drop to Z300" S3
                                        G1 Z300			; Move bed down 300mm
                                        M291 P"Adjust optical endstop flag until light just turns off" R"Set Zmax=300mm" S3
                                        M291 P"ZMax homing will now be tested, starting with homing Zmin" S3
                                        M291 P"Homing to Zmin" T5
                                        G28 Z
                                        M291 P"Ready to test Zmax homing?" R"Proceed?" S3
                                        M291 P"Homing to Zmax" T5
                                        M98 P"0:/macros/2_HomeZMax.g" ; Test Zmax homing
                                        M291 P"ZMax homing test complete. Printer will now home all." R"Proceed?" S3
                                        G28	; Home all
                                        M291 "ZMax calibration complete." S3
                                        

                                        Z-Bot CoreXY Build | Thingiverse Profile

                                        1 Reply Last reply Reply Quote 0
                                        • Agniusmundefined
                                          Agniusm
                                          last edited by

                                          @dc42
                                          I have replaced my duet wifi with eth. What procedure i should follow to get firmware working?
                                          I had latest duet firmware, updated prob 3 weeks ago.
                                          Thanks

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

                                            @agniusm said in Creality CR-10 upgrade:

                                            @dc42
                                            I have replaced my duet wifi with eth. What procedure i should follow to get firmware working?
                                            I had latest duet firmware, updated prob 3 weeks ago.
                                            Thanks

                                            What firmware is the new board currently running? If it's at least 2.0 or newer you can upload the single combined zip file as is and the duet will extract the firmware files and update everything as needed.

                                            Otherwise, the usual procedure here should work: https://duet3d.dozuki.com/Wiki/Installing_and_Updating_Firmware

                                            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