Duet 2 Wifi + BLtouch issues on Ender 5 pro
-
@alxndr said in Duet 2 Wifi + BLtouch issues on Ender 5 pro:
does it have to be perfectly in the center?
No, it's just to keep it away from the ends of the axis.
-
@Phaedrux so something is wrong. I did everything you said to do. and im still getting everything in the wrong direction. The one thing that is weird is that after changing x1 and y1 to x2 and y2, the movement buttons still dont work in the right direction BUT only move to the left just a little bit and then wont continue. Im not sure if this makes sense.
ill post my config.g with how it was before i made your changes as well as my homing files. if you could help, that would be amazing.
; General preferences
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"Ender 5 Pro" ; set printer name; Network
M552 S1 ; enable network
M586 P0 S1 ; enable HTTP
M586 P1 S1 ; enable FTP
M586 P2 S1 ; enable Telnet; Drives
M569 P0 S1 ; physical drive 0 goes forwards
M569 P1 S1 ; physical drive 1 goes forwards
M569 P2 S0 ; physical drive 2 goes backwards
M569 P3 S1 ; physical drive 3 goes backwards
M584 X0 Y1 Z2 E3 ; set drive mapping
M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
M92 X80.00 Y80.00 Z800.00 E415.00 ; set steps per mm
M566 X900.00 Y900.00 Z12.00 E120.00 ; set maximum instantaneous speed changes (mm/min)
M203 X6000.00 Y6000.00 Z300.00 E1200.00 ; set maximum speeds (mm/min)
M201 X500.00 Y500.00 Z20.00 E250.00 ; set accelerations (mm/s^2)
M906 X800 Y800 Z800 E900 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 X220 Y220 Z300 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" ; set endstops controlled by probe; Z-Probe
M558 P9 C"^zprobe.in" H5 F100 T2000 ;
M950 S0 C"exp.heater3" ; define GPIO/Servo pin index
M557 X35:185 Y35:185 S50 ; define mesh grid
G31 X-45 Y-4 Z0 ;
M307 H3 A-1 C-1 D-1 ;; 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 B0 S1.00 ; disable bang-bang mode for the bed heater and set PWM limit
M140 H0 ; map heated bed to heater 0
M143 H0 S100 ; set temperature limit for heater 0 to 100C
M307 H0 A161.3, C526.0, D1.2 S1 ; PID Heater - Bed
M308 S1 P"e0temp" Y"thermistor" T100000 B4138 ; 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
M143 H1 S230 ; set temperature limit for heater 1 to 230C
M307 H1 A499.2, C151.6, D3.8 S1 ; PID Heater - Nozzle; Fans
M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency
M106 P0 S1 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; Tools
M563 P0 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; Custom settings
G29 S1 ; Load mesh bed; Miscellaneous
M501 ; load saved parameters from non-volatile memory; homeall.g
; called to home all axes
;
; generated by RepRapFirmware Configuration Tool v3.1.4 on Fri Aug 07 2020 18:12:00 GMT-0400 (Eastern Daylight Time);G28 XY
G91 ; relative positioning
G1 H2 Z5 F6000 ; lift Z relative to current position
G1 H1 X-225 F3000 ; move quickly to X axis endstop and stop there (first pass)
G1 H1 Y-225 F3000 ; move quickly to Y axis endstop and stop there (first pass)
;G1 H2 Z-5 F6000 ; lower Z again
G90 ; absolute positioningG1 X65 Y114 F4000 ; Move probe to middle of bed
G30
; homex.g
; called to home the X 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 Z5 F6000 ; lift Z relative to current position
G1 H1 X-225 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 225 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.4 on Fri Aug 07 2020 18:12:00 GMT-0400 (Eastern Daylight Time)G91 ; relative positioning
G1 H2 Z5 F6000 ; lift Z relative to current position
G1 H1 Y-225 F3000 ; move quickly to Y axis endstop and stop there (first pass)
;G1 H2 Y-5 F6000 ; go back a few mm
;G1 H1 Y225 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
;
; generated by RepRapFirmware Configuration Tool v3.1.4 on Fri Aug 07 2020 18:12:00 GMT-0400 (Eastern Daylight Time);G28 XY
G91 ; relative positioning
G1 H2 Z5 F6000 ; lift Z relative to current position
G1 H1 X-225 F3000 ; move quickly to X axis endstop and stop there (first pass)
G1 H1 Y-225 F3000 ; move quickly to Y axis endstop and stop there (first pass)
;G1 H2 Z-5 F6000 ; lower Z again
G90 ; absolute positioningG1 X65 Y114 F4000 ; Move probe to middle of bed
G30
-
@alxndr said in Duet 2 Wifi + BLtouch issues on Ender 5 pro:
the movement buttons still dont work in the right direction BUT only move to the left just a little bit and then wont continue. Im not sure if this makes sense.
It's only going to start working right when everything is changed. Go through the steps I describe. It'll work.
M574 X2 Y2
Homing moves in positive direction
Then test your motor movement directions -x to the left, +x to the right, -y to the front, +y to the back. Change M569 S to get those directions.Then homing and jogging should work.
-
I'll leave it to you !!!!
He is still using negative homing , still got the wrong motor direction and using low end homing.
I think he is only changing one setting at the time and saying it not working.
How do you get it wrong when you give someone a full set of correct homing file and tell him step by step what to change in the config.g file.
I guess it is true ? you can get a horse to water , but you can't make it drink. -
@Phaedrux thanks so much for explaining and for your patience. I'll give all that a try today and report back.
-
so i got everything homing perfectly now! great guide, thank you!!
as for my axis limits, does this make any sense to you? the advertised is 220x220x300
the bed physically measures 235x235
and when i run the commands you send me after manually bringing the print head to 0,0, these are the numbers i get (below).
also, do i have to home the printer every time i reboot it? it keeps turning the buttons orange and sometimes says not homed when i try stuff...
thanks again!
; Axis Limits
M208 X0 Y0 Z0 S1 ; set axis minima
M208 X228.8 Y219.5 Z300 S0 ; set axis maxima -
@alxndr said in Duet 2 Wifi + BLtouch issues on Ender 5 pro:
also, do i have to home the printer every time i reboot it?
Yes. When the power is off the motors can't be guaranteed to hold their position, so you need to rehome the printer.
Those axis maxima look pretty good
-
@Phaedrux but the build plate is actually 235x235 though. Are my numbers still ok even though?
-
235 based on what?
What you measured was what the nozzle can actually reach if you placed 0,0 at the corner of the reachable area. -
@Phaedrux if I measure with a tape, it's 235mm by 235mm. The actual glass bed I mean
-
And can the nozzle reach all that area?
-
@Phaedrux yes I can. All of it. Basically the edges are right where the nozzle goes until. That's why it's confusing to me. It should be 235 not 228.8 lol am I missing something? Everything else seems to be fine now. Just that mystery is left
-
When the nozzle is at the corner and at 0,0 can it still move left or to the front? (-x or -y)?
If so, you can use that negative amount in your M208 minima. That may regain you the "missing" size between 229 and 235.
-
@Phaedrux when I bring it to 0,0 I can no longer move it Left or front. But it should go to 235 becauae that's the length of the actual bed. But it only goes to 228.8.
-
@alxndr said in Duet 2 Wifi + BLtouch issues on Ender 5 pro:
I can no longer move it Left or front.
Because the firmware is preventing you or because it's at the physical limit?
M564 S0 will let you move beyond the firmware limits, but be careful when you use this because it will let you crash into the hard stop, but it will let you move beyond the 0,0 point in the negative. See how far you can go before it touches the physical end of travel.
-
@Phaedrux no it's because I'm physically blocked lol 0,0 (bottom left) is basically at a physical limit.
So I'll ask again because I'm a little lost. If my bed physically measures 235x235, why is it that my number is 228.8? Shouldn't it be 235? That's what the bed actually measures if I measure it with a tape. And the nozzle won't physically go beyond the printable area.
-
If the 228 came from sending G1 H3 X400 from the 0,0 position then it's measuring the distance between the nozzle being at 0,0 and when the endstop triggers, which is your reachable area. Are you saying you could jog beyond 228?
-
@Phaedrux I cannot jog past that point physically but I'm wondering why that numbet is different from the actual measurement
-
@Phaedrux oh wait...the x cant go ALL the way to the left because of the bltouch!!
now last thing...trying to set 4 probing points....using this: M557 X20:208.8 Y20:203.5 P4
But it only probes 3 points? the results in the console say "probed 12 points" but its actually probed 9...any ideas with that?
-
@alxndr I have an ender5 Pro as well modified with BL-Touch and Duet2. It looks like you are getting close to resolving your issues.
I have archived my configuration here:
https://github.com/kiowadriver/Duet2Ender5HemeraI have also archived my mods here:
https://www.randoprojects.com/2020/07/26/ender-5-mainboard-upgrade/When adding the Duet2 I took an opportunity to update the wiring scheme to use twisted pairs to reduce stepper noise so the configuration on motor direction could be different. I would be happy to share more Ender5 configs if you find it helpful.