Ender 5 + Duet wifi starts on wrong side g29
-
; Configuration file for Duet WiFi (firmware version 3) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool v3.1.3 on Sat Jun 20 2020 16:28:00 GMT+0100 (British Summer Time) ; General preferences G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"Ender 5 Plus" ; set printer name M551 P"nnnnnnnn" ; Network M552 S1 ; enable network M586 P0 S1 ; enable HTTP M586 P1 S0 ; disable FTP M586 P2 S0 ; disable Telnet ; Drives M569 P0 S1 ; physical drive 0 goes backwards M569 P1 S0 ; physical drive 1 goes backwards M569 P2 S0 ; physical drive 2 goes backwards M569 P3 S0 ; physical drive 3 goes backwards M569 P4 S0 ; physical drive 4 goes backwards M584 X0 Y1 Z2:3 E4 ; set drive mapping M350 X16 Y16 Z16 I1 ; configure microstepping with interpolation M350 E16 I0 ; configure microstepping without interpolation M92 X80.00 Y80.00 Z800.00 E409 ; set steps per mm , e380 , e135 , bmg 420 cal M566 X1200.00 Y1200.00 Z24.00 E300 ; set maximum instantaneous speed changes (mm/min) M203 X8500.00 Y8500.00 Z180.00 E2700.00 ; set maximum speeds (mm/min) M201 X500.00 Y500.00 Z100.00 E5000.00 ; set accelerations (mm/s^2) M906 X600 Y600 Z600 E1000 I50 ; 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 X340 Y350 Z400 S0 ; set axis maxima ; Endstops M574 X2 S1 P"!xstop" ; configure active-high endstop for low end on X via pin xstop M574 Y2 S1 P"!ystop" ; configure active-high endstop for low end on Y via pin ystop M574 Z1 S2 ; External Triggers M950 J0 C"!^e0stop" M950 J1 C"!^e1stop" M581 P0 T1 S1 R1 ; M581 P1 T3 S1 R0 ; ; Z-Probe M558 P9 C"^zprobe.in" H2 F100 T8000 A5 ; set Z probe type to bltouch and the dive height + speeds M950 S0 C"exp.heater7" ; create servo pin 0 for BLTouch G31 P500 X 57.5 Y-10.5 Z 1.70 ; set Z probe trigger value, offset and trigger height M557 X65:275 Y50:290 S30 ; define mesh grid .. 30 , 60 , 80 ; Bed adjustment screw locations M671 X-36:381 Y0:0 S0.5 ; leadscrews at left (connected to Z) and right (connected to E1) of X axis ; Heaters M308 S0 P"bedtemp" Y"thermistor" T100000 B4092 ; 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 B1 S1.00 ; enable bang-bang mode for the bed heater and set PWM limit M140 H0 ; map heated bed to heater 0 M143 H0 S150 ; set temperature limit for heater 0 to 150C ; M308 S1 P"e0temp" Y"thermistor" T100000 B4092 ; configure sensor 1 as thermistor on pin e0temp M308 S1 P"e0temp" Y"thermistor" T100000 B4725 C7.06e-8 ; 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 ; Fans M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency M106 P0 S1 H1 T45 ; 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 S0 H-1 ; set fan 1 value. M950 F2 C"fan2" Q500 ; create fan 2 on pin fan2 and set its frequency M106 P2 S1 H1 T45 ; set fan 2 value. ; Tools M563 P0 D0 H1 F1 ; 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 are not defined M572 D0 S0.025 M221 D0 S90 ; 87% extrude M501
; 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 X125 Y175 F4000 ; Move probe to middle of bed G30
; Drives M569 P0 S1 ; Physical drive 0 goes forwards M569 P1 S1 ; Physical drive 1 goes forwards M569 P0 S1 ; physical drive 0 goes backwards M569 P1 S0 ; physical drive 1 goes backwards
So Y is going the other ways to mine .
; 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 X2 S1 P"!xstop" ; configure active-high endstop for low end on X via pin xstop M574 Y2 S1 P"!ystop" ; configure active-high endstop for low end on Y via pin ystop
Your end stops are wrong they are low end not high end . ( and may be the ! , but that could be my wiring )
AND your homing is wrong you should be homing plus not minis !!
-
@peter247 said in Ender 5 + Duet wifi starts on wrong side g29:
M574 X2 S1 P"!xstop" ; configure active-high endstop for low end on X via pin xstop M574 Y2 S1 P"!ystop" ; configure active-high endstop for low end on Y via pin ystop
hi
thanks for hekping me
now after changes my x and y crashes into endstops
-
@lui2004
Don't forget to change all the problems motor direction , end stops and home files plus not minus.Does to crash into the correct end stop , eg right back ?
Use M119 to get the end stop status , and check if the end stop is working before homing .The ! on the end stop , is the switch trigger on normally open or closed , So that may differ , it all depend how you have wired it.
-
@peter247 said in Ender 5 + Duet wifi starts on wrong side g29:
M119
i have changed it all but it crashes in right back.
M119
Endstops - X: not stopped, Y: not stopped, Z: not stopped, Z probe: not stoppedcan you help me for home files ?
-
@lui2004 o.k , manually home it , eg trigger all the switches and do a M119 ?
How do the opposite , moving the head from all the switches and do a M119 again ... any difference ?One command which may help you is : M84 x y z , switch off all motors.
I don't think you have set up the btlotch yet , so you will have problems with Z homing , but lets get your X , Y end stop switches working first.
-
@lui2004 said in Ender 5 + Duet wifi starts on wrong side g29:
M569 P1 S1 ; Physical drive 1 goes forwards
homeall will try to trigger on left front instead of right back
-
Z axis will crash in the bed also
; 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 X125 Y175 F4000 ; Move probe to middle of bed G30
This is my home all file , very simple but it works .
G91 set relative , which means move eg move 5mm plus , not to position 5mm.
G1 H2 Z5 F6000 , which means move up 5mmNow this is the part you have wrong !!!
G1 H1 X 355 F3000 , move right ( not left ) until you hit the end stop
G1 H1 Y 355 F3000 , move the head back until you hit the end stop
G90 ; absolute positioning againNext problem
G1 X125 Y175 F4000 ; Move probe to middle of bed
G30 , use the BLTOUCH to home not any end switches .READ THE LAST POST is their any difference between homed and not homed with M119 ?
-
m119
Endstops - X: at max stop, Y: at max stop, Z: not stopped, Z probe: not stoppedi cant home my axis it will crashes every time i change it in config
-
@lui2004 said in Ender 5 + Duet wifi starts on wrong side g29:
Endstops - X: at max stop, Y: at max stop, Z: not stopped, Z probe: not stopped
So that is when homed and you are X and Y not stop if not homed ?
Have you copied my homing all file ? and changed the motor direction . -
not all
only setup for :
Endstop,motor drive
-
@lui2004 X and Y , Z motor should be the same ( MUST ) , But E could be any direction , that is a suck it and see.
O.K , lets make a macro and see if we are on the same page.
Move the head it middle of the bed and try.
G91
G1 H2 Z5 F6000
G1 H1 X 10 F3000
G1 H1 Y 10 F3000
G1 H2 Z-5 F6000
G90Does it move to the right and too the back 10mm in each direction ?
If it doesn't change the motor direction until it does !!!!
-
the macro will only move the bed up and down
-
O.K to safe , it looks like you can see a 10mm change .
G91
G1 H2 Z5 F6000
G1 H1 X 100 F3000
G1 H1 Y 100 F3000
G1 H2 Z-5 F6000
G90This should lift the head up , move right and to the back 100mm now.
-
@peter247 said in Ender 5 + Duet wifi starts on wrong side g29:
G91
G1 H2 Z5 F6000
G1 H1 X 100 F3000
G1 H1 Y 100 F3000
G1 H2 Z-5 F6000
G90only z moves up and down few mm
but x and y dont moves
-
o.k confirm this :- After you run the macro and it goes up and down , does it say homed X an Y ?
-
yes after i run the macro it move only the z but x and y was homed
-
@lui2004 o.k wiser .
; Endstops M574 X2 S1 P"!xstop" M574 Y2 S1 P"!ystop"
So have you changed this and what too ?
-
yes i have changed it
-
@lui2004 With the ! ?
-
yes with the '!'