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

    Duet 2 Wifi + BLtouch issues on Ender 5 pro

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    5
    80
    3.9k
    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.
    • alxndrundefined
      alxndr @peter247
      last edited by

      @peter247 ill be able to post the files when i get in from work. X and Y homing does work. But i do have the homez.g so here it is;

      ; homez.g
      ; called to home the Z axis
      ;
      ; generated by RepRapFirmware Configuration Tool v3.1.4 on Fri Aug 07 2020 18:12:00 GMT-0400 (Eastern Daylight Time)
      G91 ; relative positioning
      G1 H2 Z2.5 F6000 ; lift Z relative to current position
      G1 H1 Z-305 F1800 ; move Z down until the endstop is triggered
      G92 Z0 ; set Z position to axis minimum (you may want to adjust this)

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

      1 Reply Last reply Reply Quote 0
      • peter247undefined
        peter247
        last edited by

        That is wrong it is using the Z homing switches not the bltouch .

        First get the bltouch working with the M401 and M402 , test out the bltouch deploying and retracting .

        From my system I had problem with heater 3 and needed to move to heater 7 .
        I would post my macros , but not sure how your printer homes.

        Ender 5 plus linear rail and hemera powered by duet 2 wifi , CR10s pro v1 with bltouch mostly stock , BLV mgn Cube slowly being built powered by duet 3 mini 5+

        alxndrundefined 1 Reply Last reply Reply Quote 0
        • alxndrundefined
          alxndr @peter247
          last edited by

          @peter247 how would i move to heater 7? is it just changing the values? or physically moving the pins connected to the board?

          also, i settled for this: M557 X35:185 Y35:185 S50

          that way i probe 4 points and not 5. I think that should work like it did on marlin.

          so if m401 and m402 work, do i still need to move to heater 7? and if so, id need some guidance or direction if possible please.

          peter247undefined 1 Reply Last reply Reply Quote 0
          • peter247undefined
            peter247 @alxndr
            last edited by

            @alxndr o.k first little point are you on version 2 or 3 , because the code is different .
            I can see your config file is for version 3 , but are you running version 3 of the firmware ?.

            If M401 and M402 works sit back and relax your bltouch is fully working .
            If you need to change to a different heater , YES , lots config changes and hardware changes.

            Ender 5 plus linear rail and hemera powered by duet 2 wifi , CR10s pro v1 with bltouch mostly stock , BLV mgn Cube slowly being built powered by duet 3 mini 5+

            alxndrundefined 1 Reply Last reply Reply Quote 0
            • alxndrundefined
              alxndr @peter247
              last edited by

              @peter247 i upgraded the firmware to latest which is 3.1.1 i believe!

              and if i remember correctly, m401 and m402 were working fine but ill test again tonight. but i do remember manually entering those commands to deploy and retract.

              peter247undefined 1 Reply Last reply Reply Quote 0
              • peter247undefined
                peter247 @alxndr
                last edited by peter247

                @alxndr O.K you have a ender 5 pro , So how or should I say where does to home , Right ( X max ) , Back ( Y max ) , Z Bltouch ?

                If so I can more or less give you my homing macros , but mine is for a 350x350 bed , so the hitting the centre of the bed will need to be changed.

                Ender 5 plus linear rail and hemera powered by duet 2 wifi , CR10s pro v1 with bltouch mostly stock , BLV mgn Cube slowly being built powered by duet 3 mini 5+

                alxndrundefined 1 Reply Last reply Reply Quote 0
                • alxndrundefined
                  alxndr @peter247
                  last edited by

                  @peter247 thats correct...mine homes at the back (y max) right (x max) when im facing the front. as for the z, its the end stop right now...bltouch doesnt deploy yet cause i didnt get to change it yet as im at work.

                  peter247undefined 1 Reply Last reply Reply Quote 0
                  • peter247undefined
                    peter247 @alxndr
                    last edited by

                    @alxndr

                    change 355 to 225 , 5mm more than the max

                    ; homex.g
                    ; called to home the X axis
                    ;
                    ; generated by RepRapFirmware Configuration Tool v3.1.3 on Sat Jun 20 2020 16:28:00 GMT+0100 (British Summer Time)
                    G91               ; relative positioning
                    G1 H2 Z5 F6000    ; lift Z relative to current position
                    G1 H1 X 355 F3000 ; move quickly to X axis endstop and stop there (first pass)
                    ;G1 H2 X-5 F6000    ; go back a few mm
                    ;G1 H1 X 355 F240  ; 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.3 on Sat Jun 20 2020 16:28:00 GMT+0100 (British Summer Time)
                    G91               ; relative positioning
                    G1 H2 Z5 F6000    ; lift Z relative to current position
                    G1 H1 Y 355 F3000 ; move quickly to Y axis endstop and stop there (first pass)
                    ;G1 H2 Y-5 F6000    ; go back a few mm
                    ;G1 H1 Y355 F240  ; 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
                    ;
                    ;G28 XY
                    G91               ; relative positioning
                    G1 H2 Z5 F6000    ; lift Z relative to current position
                    G1 H1 X 355 F3000 ; move quickly to X axis endstop and stop there (first pass)
                    G1 H1 Y 355 F3000 ; move quickly to Y axis endstop and stop there (first pass)
                    ;G1 H2 Z-5 F6000   ; lower Z again
                    G90               ; absolute positioning
                    
                    G1 X220 Y175 F4000 ; Move probe to middle of bed
                    G30
                    

                    note is the same as homez.g

                    ; homeall.g
                    ; called to home all axes
                    ;
                    ;G28 XY
                    G91               ; relative positioning
                    G1 H2 Z5 F6000    ; lift Z relative to current position
                    G1 H1 X 355 F3000 ; move quickly to X axis endstop and stop there (first pass)
                    G1 H1 Y 355 F3000 ; move quickly to Y axis endstop and stop there (first pass)
                    ;G1 H2 Z-5 F6000   ; lower Z again
                    G90               ; absolute positioning
                    
                    G1 X220 Y175 F4000 ; Move probe to middle of bed
                    G30
                    

                    X220 is the centre of my bed , 350 / 2 + 45 offset

                    Ender 5 plus linear rail and hemera powered by duet 2 wifi , CR10s pro v1 with bltouch mostly stock , BLV mgn Cube slowly being built powered by duet 3 mini 5+

                    alxndrundefined 1 Reply Last reply Reply Quote 0
                    • alxndrundefined
                      alxndr @peter247
                      last edited by

                      @peter247 wow thank you!

                      a few questions....my x and y both have a value of 220....why do the values need to be 5mm more? is it so that it backs up afterwards? like the amount of distance to press into the switch and back out?

                      also, for the z im a little confused...how do i find the value for that?

                      and lastly, the bed is x220 and y220 so would the center be 110? the nozzle seems to be perfectly in the center at x110 y110....and the z at that point id have to figure out i guess?

                      1 Reply Last reply Reply Quote 0
                      • peter247undefined
                        peter247
                        last edited by peter247

                        you don't need to set the value that high , so 220 or less will do , it is maximum travel before it stops and say I'm homed without hitting the switch.

                        no 110 is not the centre of the bed for the bltouch it is the centre of the bed for the nozzle , so the centre is 110 plus the offset of 45mm X ( 155mm for the bltouch ) and 110 + 4mm Y so just go at half .

                        Hope that makes sense to you now ?.

                        how do you find the off set ?
                        first set the value in G31 Z to zero , Home and see if it home but is off the bed , then slowly increase the value of Z until it hits the bed when Z say Z say 0.0mm

                        MAKE SURE IT WILL HOME FIRST , THAT IS THE IMPORTANT PART.

                        o.k my system all the motor are backward ? , make sure to motor direction is correct too.

                        Ender 5 plus linear rail and hemera powered by duet 2 wifi , CR10s pro v1 with bltouch mostly stock , BLV mgn Cube slowly being built powered by duet 3 mini 5+

                        alxndrundefined 1 Reply Last reply Reply Quote 0
                        • alxndrundefined
                          alxndr @peter247
                          last edited by

                          @peter247 first part makes sense! thank you. What did you mean by "just go at half?'

                          X be 155 and Y would be 114 because of the offset of the bltouch?

                          as for the z offset, how would i set the value of G31 Z to 0? just input the line G31 Z0 ?

                          and then you say to check if it homes. But im pretty sure it pushes up onto my nozzle if i home z. I dont get the last part when you say "...then slowly increase the value of Z until it hits the bed when Z say Z say 0.0mm"

                          My motors seem correct....not sure if they are backwards...but they home at the back right which is what it was with the stock motherboard...

                          peter247undefined 1 Reply Last reply Reply Quote 0
                          • peter247undefined
                            peter247 @alxndr
                            last edited by

                            @alxndr My motors seem correct....

                            Two wrongs can make a right , eg if you are homing in the wrong
                            direction and your motor are in the wrong direction it will look right.

                            Look at your config file :
                            ; Z-Probe
                            M558 P9 C"^zprobe.in" H5 F100 T2000 ;
                            M950 S0 C"exp.heater3" ; define GPIO/Servo pin index
                            M557 X0:220 Y0:220 S25 ; define mesh grid
                            G31 X-45 Y-4 Z3.737 ; <------------- just change this to Z0 ---------
                            M307 H3 A-1 C-1 D-1 ;

                            What I'm saying is get it to home with crashing into the bed , then you can find the true offset .

                            Have you changed the homing files ? and does m401 and m402 work ?

                            Ender 5 plus linear rail and hemera powered by duet 2 wifi , CR10s pro v1 with bltouch mostly stock , BLV mgn Cube slowly being built powered by duet 3 mini 5+

                            alxndrundefined 1 Reply Last reply Reply Quote 0
                            • alxndrundefined
                              alxndr @peter247
                              last edited by

                              @peter247 i havent had a chance to test m401 and m402 yet as im still at work. ill do those tests after work and get back to you! thanks so much for helping. im learning and progressing so much! ill reply back with my test results asap!

                              1 Reply Last reply Reply Quote 0
                              • peter247undefined
                                peter247
                                last edited by peter247

                                Going to bed soon I`m in the UK , so bits to check.

                                (1) See if m401 and m402 works
                                (2) You need to change all the homing files
                                (3) press home x then press the x micro-switch does it stop , PANIC if not
                                (4) press home y then press the y micro-switch does it stop, PANIC if not
                                (5) press home all and see which way the head goes now to home ( with your finger on the emergency stop), I think your motors direction is wrong x , y , z ) it is the M569 commands in the config.g
                                (6) get it to home all axis correct without the nozzle hitting to bed.

                                Ender 5 plus linear rail and hemera powered by duet 2 wifi , CR10s pro v1 with bltouch mostly stock , BLV mgn Cube slowly being built powered by duet 3 mini 5+

                                alxndrundefined 1 Reply Last reply Reply Quote 0
                                • alxndrundefined
                                  alxndr @peter247
                                  last edited by

                                  @peter247 so homing z works fine now. ive got it all set up with the homey homex and homez and homeall....now im having a stupid little annoying issue......220 isnt the bed size? the bed size is actually 235!! wtf...creality advertises it as 220 but when i measure it, its actually 235!! do i need to change everything now?

                                  peter247undefined droftartsundefined 2 Replies Last reply Reply Quote 0
                                  • Phaedruxundefined
                                    Phaedrux Moderator @alxndr
                                    last edited by Phaedrux

                                    @alxndr said in Duet 2 Wifi + BLtouch issues on Ender 5 pro:

                                    ; Axis Limits
                                    M208 X0 Y0 Z0 S1 ; set axis minima
                                    M208 X220 Y220 Z300 S0 ; set axis maxima

                                    You can change your axis limits with the M208 commands.

                                    This may mean you need to change your M557 grid spacing a bit.

                                    You also need to make sure that the homing moves in your homing files are long enough to hit the endstops if they are at the opposite end already.

                                    You might find this series of guides helpful

                                    https://duet3d.dozuki.com/Guide/Ender+3+Pro+and+Duet+Maestro+Guide+Part+3:+Commissioning/39

                                    Z-Bot CoreXY Build | Thingiverse Profile

                                    Phaedruxundefined 1 Reply Last reply Reply Quote 1
                                    • peter247undefined
                                      peter247 @alxndr
                                      last edited by

                                      @alxndr the bed size is actually 235!! wtf

                                      The 220 x 220 is the printable size !!
                                      A cr10s pro says 300x300 , but the bed is 320x310
                                      a ender 5 plus says 350x350 , but the bed is 370x377

                                      if you print at 0:0 you can't print on fresh air so the bed is always bigger than the printable area.
                                      When it X and Y homes is that under the bed , just check that all the printable area is under the bed .

                                      Ender 5 plus linear rail and hemera powered by duet 2 wifi , CR10s pro v1 with bltouch mostly stock , BLV mgn Cube slowly being built powered by duet 3 mini 5+

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

                                        @alxndr I tend to use the P parameter rather than the S parameter with M557. This sets the number of points to probe, rather than the spacing between them. Then, if you change the probe area, it still probes the same number of points, evenly spaced, without having to calculate the probe spacing yourself. It's also quicker to change if you want to change the number of probe points in the mesh. So:
                                        M557 X35:185 Y35:185 S50 (which probes X and Y at 35, 85, 135 and 185, so 4 points in each axis for a total of 16 points)
                                        becomes:
                                        M557 X35:185 Y35:185 P4
                                        To increase or decrease the number of probe points, you just change the P parameter.

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

                                        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

                                        alxndrundefined 1 Reply Last reply Reply Quote 1
                                        • alxndrundefined
                                          alxndr @peter247
                                          last edited by

                                          @peter247 i just dont get something...if the physical bed is 235x235, why are my axis limits 220x220? I mean...dont i base my bed center off of the actual bed size? nowhere in the gcode shows the ACTUAL bed size of 235x235. Am i doing something wrong? because if i go from left to right, it goes from 0 to 220...

                                          as for everything else, homing works and the bltouch works 🙂 deploys and retracts properly! m401 and m402 confirmed working!!

                                          what are the next steps? do i have to remove the lines for my z endstop?

                                          droftartsundefined 1 Reply Last reply Reply Quote 0
                                          • alxndrundefined
                                            alxndr @droftarts
                                            last edited by

                                            @droftarts this is great to know! thank you!

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