Duet 2 Wifi + BLtouch issues on Ender 5 pro
-
@peter247 M401 and M402 work.
I have not set up macros (i probably should). Would that be just making a macro with M401 and a separate one with M402?
I have not made macros for homing x y and z as i use the buttons on the dashboard that say home all, home x, home y and home z. Should i make macros?Im not sure how to home Z....the button on the dashboard uses the endstop switch, which i do have connected until i figure this whole thing out lol when you say "make this z0" how exactly would i do this?
thank you for helping btw...i really appreciate it. Been trying to get this sorted and printing for a few weeks now.
-
@alxndr post these files .
retractprobe.g
deployprobe.g
homeall.g
homez.gDoes x and y homing work ?
Type in send code ( and send ) M401 and M402 and see if the bltouch works
just a silly thing ,but are you on version 3 of the firmware ? -
@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 -
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. -
@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.
-
@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. -
@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.
-
@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.
-
@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.
-
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
-
@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?
-
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.0mmMAKE 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.
-
@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...
-
@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 ?
-
@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!
-
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. -
@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?
-
@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 maximaYou 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
-
@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 370x377if 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 . -
@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.Ian