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

Dual z Stop and Piezo Bed Level

Scheduled Pinned Locked Moved
Firmware installation
5
24
883
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.
  • undefined
    Palgon
    last edited by 18 Jul 2021, 11:11

    good day
    I am currently working on my Hevo RS with a Duet 2 Ethernet (RepRapFirmware for Duet 2 WiFi/Ethernet version 2.05.1 running on Duet Ethernet 1.02 or later
    Board ID: 08DJM-9178L-L2MS8-6JKDA-3S46T-KSHLN) with dual z stop
    i want to add a precisions piezo v2 orion to the hevo to have auto bed level but i can't really get it to work in the config
    my plan is to run the leveling of the printbed through the dual z stop thing and then the bed probe through the piezo

    are there some people among you who can help me since this printer is my first custom build i would be very grateful for any help

    and i hope you can do something with the infos

    config.g
    homeall.g

    undefined 1 Reply Last reply 20 Jul 2021, 19:07 Reply Quote 1
    • undefined
      Palgon
      last edited by 18 Jul 2021, 11:15

      here more information because the post is otherwise marked as spam
      homex.g
      homey.g
      homez.g

      1 Reply Last reply Reply Quote 1
      • undefined
        Phaedrux Moderator
        last edited by 20 Jul 2021, 03:32

        Since this is your first build and you're starting fresh I would suggest updating to RRF3. You can create a new config file using the online tool to get you started since there are some commands that have changed. However, in general, things are a bit easier to do in RRF3. Homing a single axis with two endstops for instance is much more straightforward. https://duet3d.dozuki.com/Wiki/Bed_levelling_using_multiple_independent_Z_motors

        If you still have access to DWC. Upload these 3 zip files, one at a time in the system tab. Don't extract them. Reboot after each. Use M115 to verify the firmware has been applied.
        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.3/Duet2and3Firmware-3.3.zip
        That will get your firmware and DWC up to date.

        You can see the change logs here:
        https://github.com/Duet3D/RepRapFirmware/wiki/Changelog-RRF-3.x

        For your config, might be a good idea to run through the configurator tool and generate a fresh set for RRF3.
        https://configtool.reprapfirmware.org/Start

        Backup your existing config files in the sys folder in case you want to switch back to RRF3. IT’s easy to switch back and forth, just upload the zip file for the version you want and then upload your config files.

        These documents will come in handy during the conversion.
        https://duet3d.dozuki.com/Wiki/RepRapFirmware_3_overview
        https://duet3d.dozuki.com/Wiki/Gcode

        Using endstops and probe is easy enough. This link shows how both ways are done. https://duet3d.dozuki.com/Wiki/Bed_levelling_using_multiple_independent_Z_motors

        Z-Bot CoreXY Build | Thingiverse Profile

        1 Reply Last reply Reply Quote 0
        • undefined
          ukwebb @Palgon
          last edited by 20 Jul 2021, 19:07

          @palgon
          I have a corexy machine with the same as you describe
          ie Duet3 mini5+ ( very similar to duet2 )
          two z motors left and right
          precision piezo sensor

          once you're on RR3 these are the relevant lines in my config

          ; Z Lead screws
          M671 X-100:400 Y160:160 S20 ; leadscrews at left (-100,160) and right (400,160)

          ; Endstops
          M574 Z1 S2 ; configure Z-probe endstop for low end on Z

          ; Z-Probe
          M558 P8 R0.3 F150 T4200 C"!io3.in" H3 ; PP sensor in digital mode connected it io3.in
          G31 Z0.05 ; set Z probe trigger value, offset and trigger height

          M557 X20:280 Y20:280 S60 ; define mesh grid

          undefined 1 Reply Last reply 25 Jul 2021, 16:08 Reply Quote 0
          • undefined
            Palgon
            last edited by 25 Jul 2021, 15:49

            Today I have dealt with the fact that I got the latest rrf3 installed on my board. Now I'm not sure if the web interface has updated or not. Furthermore, I must now look at how I can move the axes again and that the directions fit and all with a new Config where I find nothing right at the first moment. πŸ™‚ Do you have any tips or a checklist that I should now work through?

            undefined 1 Reply Last reply 25 Jul 2021, 16:31 Reply Quote 0
            • undefined
              Palgon @ukwebb
              last edited by 25 Jul 2021, 16:08

              @ukwebb Could you please tell me how to get the exact values for the m671 command on my printer I have a bed of 330 330 and my leadscrews are left and right 25mm away from the bed I would then have M671 X-25:375 Y165:165 S20 and is the S20 for the test grid

              undefined 1 Reply Last reply 25 Jul 2021, 16:23 Reply Quote 0
              • undefined
                ukwebb @Palgon
                last edited by 25 Jul 2021, 16:23

                @palgon no one can give you the exact measurements, other than you, as you have the printer to measure it!.

                Home your printer, then move the print head Y position until it's in line with your Y rods. That will give you the Y value.eg something around 165
                Then make sure x is at the 0 position and measure the distance from the tip of the nozzle to the approx centre of the z rod.
                You'll get something like -30mm. Then move the X across as close as you can to the right side, and again measure the nozzle to rod distance. Remembering to add in the X position. So if the head is at position 330, and the rod is a further 30mm away, then your number is 360mm.

                So in the examples above the positions would be -30,165 and 360,165

                1 Reply Last reply Reply Quote 0
                • undefined
                  DIY-O-Sphere @Palgon
                  last edited by DIY-O-Sphere 25 Jul 2021, 16:31

                  @palgon said in Dual z Stop and Piezo Bed Level:

                  Do you have any tips or a checklist that I should now work through?

                  If you have uploaded the complete zip, DWC should be updated.
                  If you have access to DWC you can check versions under Setting/General and Machine Specific

                  As several commands and files have changed under RRF3 generate a new config under
                  https://configtool.reprapfirmware.org

                  (UTC+1)

                  undefined 1 Reply Last reply 25 Jul 2021, 16:48 Reply Quote 0
                  • undefined
                    Palgon @DIY-O-Sphere
                    last edited by 25 Jul 2021, 16:48

                    @diy-o-sphere i have created a new rrf3 config i have saved my old one on my pc and on a usb stick so everything should be up to date then and thanks for your quick reply was just unsure since everything is new territory for me

                    undefined 1 Reply Last reply 25 Jul 2021, 16:58 Reply Quote 0
                    • undefined
                      fcwilt @Palgon
                      last edited by 25 Jul 2021, 16:58

                      @palgon

                      Hi,

                      Do you have dual Z axis endstop sensors?

                      Thanks

                      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

                      undefined 1 Reply Last reply 25 Jul 2021, 17:23 Reply Quote 0
                      • undefined
                        Palgon @fcwilt
                        last edited by 25 Jul 2021, 17:23

                        @fcwilt I use two Z motors on my hevors which are connected on the board at slot Z1(Z2 is plugged with jumpers) and E1 and they both have their own limit switch

                        undefined 1 Reply Last reply 25 Jul 2021, 17:52 Reply Quote 0
                        • undefined
                          fcwilt @Palgon
                          last edited by 25 Jul 2021, 17:52

                          @palgon

                          OK with two Z endstop sensors (or limit switches as you called them) ignore anything you read about homing Z with the Z probe.

                          You will be homing with the Z endstop sensors.

                          The Z probe will be used for:

                          • setting the Z=0 datum - which is needed for the next two items
                          • leveling the bed using the two Z steppers
                          • creating height maps for use with mesh compensation

                          Do you know how to configure for that?

                          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

                          undefined 1 Reply Last reply 25 Jul 2021, 18:04 Reply Quote 0
                          • undefined
                            Palgon @fcwilt
                            last edited by Palgon 25 Jul 2021, 18:04

                            @fcwilt i'm trying to read up on this right now but i'm currently at this report https://duet3d.dozuki.com/Wiki/Bed_levelling_using_multiple_independent_Z_motors and looking at what i have to do in the bed.g in the config.g i currently only have M584 X0 Y1 Z2:4 E3 and
                            M671 X-25:165 Y355:165 S20 inserted further I am not yet
                            and i need to somehow integrate the endstop sensors (e1) well my goal is that it stops each axis individually and the piezo then applies the mash

                            1 Reply Last reply Reply Quote 0
                            • undefined
                              DIY-O-Sphere
                              last edited by 25 Jul 2021, 18:26

                              @palgon

                              https://duet3d.dozuki.com/Wiki/Gcode#Section_M574_RepRapFirmware_Num_3
                              Find the example for two Z-motors

                              (UTC+1)

                              1 Reply Last reply Reply Quote 0
                              • undefined
                                Palgon
                                last edited by 25 Jul 2021, 18:59

                                how is that actually must one under rrf3 also everywhere where a z axis is defined a u axis add or searches the somewhere out for example with m350 /m92 /m201or m208 and can it be that I have the M584 command wrong because in my old M584 XO Y1 Z2:3 U3 E4 is written

                                undefined undefined 2 Replies Last reply 25 Jul 2021, 19:08 Reply Quote 0
                                • undefined
                                  DIY-O-Sphere @Palgon
                                  last edited by DIY-O-Sphere 25 Jul 2021, 19:08

                                  @palgon
                                  Extruder is swaped with 2. motor of Z

                                  Edit:
                                  M584 X0 Y1 Z2:4 E3
                                  should be
                                  M584 X0 Y1 Z2:3 E4

                                  (UTC+1)

                                  undefined 1 Reply Last reply 25 Jul 2021, 19:15 Reply Quote 0
                                  • undefined
                                    Palgon @DIY-O-Sphere
                                    last edited by Palgon 25 Jul 2021, 19:15

                                    @diy-o-sphere have a clean cfg on the printer where nothing is difiniert. this I have now copied times and test times edited and this is now the result
                                    config.g

                                    can the following command actually be inserted under M584 or where must it be inserted M574 Z1 S1 P "io2.in+io3.in" ; Z axis with two motors, individual min endstops, active high

                                    undefined 1 Reply Last reply 25 Jul 2021, 19:42 Reply Quote 0
                                    • undefined
                                      fcwilt @Palgon
                                      last edited by 25 Jul 2021, 19:31

                                      @palgon said in Dual z Stop and Piezo Bed Level:

                                      how is that actually must one under rrf3 also everywhere where a z axis is defined a u axis add or searches the somewhere out for example with m350 /m92 /m201or m208 and can it be that I have the M584 command wrong because in my old M584 XO Y1 Z2:3 U3 E4 is written

                                      Under older versions of the firmware you had to breakout one of the Z steppers as another letter.

                                      Now you don't have to do that because the M574 command for the Z axis allows specifying two endstop sensors.

                                      My printer controlled by a Duet 2 WiFI/Diuex 5 combo has three Z steppers and this is what the M574 command looks like for the Z axis:

                                      M574 Z1 S1 P"!duex.e2stop + !duex.e3stop + !duex.e4stop" ; configure active-high endstop for low  end on Z
                                      

                                      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
                                      • undefined
                                        DIY-O-Sphere @Palgon
                                        last edited by DIY-O-Sphere 25 Jul 2021, 19:42

                                        @palgon said in Dual z Stop and Piezo Bed Level:

                                        config.g

                                        Below should be the correct code for limits and endstops but there are to much other issues
                                        like
                                        M671 missing
                                        Wrong declaration of Z-Probe
                                        So I also expect issus with the generated files for homing beg.g ...etc.
                                        To much to fix by hand....

                                        Got through the configurator step by step

                                        ; Axis Limits
                                        M208 X0 Y0 Z0 S1 ; set axis minima
                                        M208 X295 Y295 Z390 S0 ; set axis maxima
                                        ; 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 S1 P"zstop+e0stop" ; configure active-high endstop for low end on Z via pin zstop+e0stop

                                        (UTC+1)

                                        undefined 1 Reply Last reply 25 Jul 2021, 19:55 Reply Quote 0
                                        • undefined
                                          Palgon @DIY-O-Sphere
                                          last edited by 25 Jul 2021, 19:55

                                          @diy-o-sphere I'm just a newbie when it comes to writing cfg and am today (25 Jul 2021, 17:49) just started with rrf3 and to the z prob entries I have not yet come because it's all very new to me I need longer for. because I have to read everything but thanks for the right end stops and because the printer under 2.05.1 is also only run without sample I wanted to work out the first time again and then teach him how he has to move with the sensor πŸ™‚

                                          undefined 1 Reply Last reply 25 Jul 2021, 20:23 Reply Quote 0
                                          6 out of 24
                                          • First post
                                            6/24
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA