Confused after FW upgrade to 3.3
-
Hi,
I went from 2.02 to 3.3 and messed up my whole System. I used the config tool but I cant get my motors and endstops to work properly. I have a CoreXY which worked fine before but now with the new config when I try homing it doesnt work for any axe. Pressing Z home results in driving Z5mm up and stops. Pressing X home results in driving Z 5mm up and stops, the same is for Y. In the console I can read failed to enable endstops. Dont see what might cause this issue.config.g:
; General preferences M575 P1 S1 B57600 ; enable support for PanelDue G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"NoName" ; set printer name M669 K1 ; select CoreXY mode ; 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 forwards M569 P3 S1 ; physical drive 3 goes forwards M584 X0 Y1 Z2 E3 ; set drive mapping M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation M92 X80.23 Y80.26 Z800.00 E423.00 ; set steps per mm M566 X1000.00 Y1000.00 Z120.00 E120.00 ; set maximum instantaneous speed changes (mm/min) M203 X18000.00 Y18000.00 Z300.00 E1200.00 ; set maximum speeds (mm/min) M201 X1000.00 Y1000.00 Z200.00 E300.00 ; set accelerations (mm/s^2) M906 X900 Y900 Z950 E800 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 X290 Y250 Z260 S0 ; set axis maxima ; Endstops M574 X1 S0 P"xstop" ; configure switch-type (e.g. microswitch) endstop for low end on X via pin xstop M574 Y1 S0 P"ystop" ; configure switch-type (e.g. microswitch) endstop for low end on Y via pin ystop M574 Z2 S1 P"!zstop" ; configure switch-type (e.g. microswitch) endstop for high end on Z via pin !zstop ; Z-Probe M558 P1 C"zprobe.in" H5 F120 T6000 ; set Z probe type to unmodulated and the dive height + speeds G31 P500 X0 Y0 Z0 ; set Z probe trigger value, offset and trigger height M557 X15:195 Y15:195 S20 ; define mesh grid ; 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 S120 ; set temperature limit for heater 0 to 120C 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 S280 ; set temperature limit for heater 1 to 280C ; Fans M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency M106 P0 S0 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
homeall.g:
; homeall.g ; called to home all axes ; ; generated by RepRapFirmware Configuration Tool v3.3.10 on Tue Dec 21 2021 12:54:13 GMT+0100 (MitteleuropƤische Normalzeit) G91 ; relative positioning G1 H2 Z5 F6000 ; lift Z relative to current position G1 H1 X-295 Y-255 F1800 ; move quickly to X or Y endstop and stop there (first pass) G1 H1 X-295 ; home X axis G1 H1 Y-255 ; home Y axis G1 X5 Y5 F6000 ; go back a few mm G1 H1 X-295 F360 ; move slowly to X axis endstop once more (second pass) G1 H1 Y-255 ; then move slowly to Y axis endstop G1 H1 Z245 F360 ; move Z up stopping at the endstop G90 ; absolute positioning G92 Z240 ; set Z position to axis maximum (you may want to adjust this) ; Uncomment the following lines to lift Z after probing ;G91 ; relative positioning ;G1 Z5 F100 ; lift Z relative to current position ;G90 ; absolute positioning
home.x:
; homex.g ; called to home the X axis ; ; generated by RepRapFirmware Configuration Tool v3.3.10 on Tue Dec 21 2021 12:54:13 GMT+0100 (MitteleuropƤische Normalzeit) G91 ; relative positioning G1 H2 Z5 F6000 ; lift Z relative to current position G1 H1 X-295 F1800 ; move quickly to X axis endstop and stop there (first pass) G1 X5 F6000 ; go back a few mm G1 H1 X-295 F360 ; move slowly to X axis endstop once more (second pass) G1 H2 Z-5 F6000 ; lower Z again G90 ; absolute positioning
-
@chefffe said in Confused after FW upgrade to 3.3:
M574 X1 S0 P"xstop"
Change S0 to S1. Same on the Y axis.
Then check again using M119 -
@jay_s_uk
This is also weird.
M119
Endstops - X: at min stop, Y: at min stop, Z: at max stop, Z probe: at min stop
Homing X results in Z driving 5mm up then 5mm down and x only drives only few mm before it stops. x coordinates are always showing zero. The same is for Y. Z is unchanged, stopping automatically after driving 5mm. -
@chefffe then you need to invert your endstop signal. Add a ! to the xstop and ystop names, like Z.
Also check the endstops by manually triggering them and sending M119 at the same time -
@jay_s_uk
Thanks a lot, this was a good step forward. Now the X + Y Axis move fine, also the Z one but there are still issues.
When homing all Axes the head is driving diagonal to the 0 position (which is normally fine but I need first Y home than X home to hit my endstop switches).
The 2nd issue is when I home Z, it stops at Z Endstop but when I afterwards press X-home then the Z-axe is going 5mm higher and press the printhead :(). Looks like the board "forgets" that it was before already in Z-End. -
@chefffe you'll need to modify your homeall to home Y first and then X rather than them both together.
You might as well post your homeall and homez files -
@jay_s_uk
homeall is in post1. Here is thehomez.g:
; homez.g ; called to home the Z axis ; ; generated by RepRapFirmware Configuration Tool v3.3.10 on Tue Dec 21 2021 12:54:13 GMT+0100 (MitteleuropƤische Normalzeit) G91 ; relative positioning G1 H2 Z5 F6000 ; lift Z relative to current position G1 H1 Z245 F1800 ; move Z up until the endstop is triggered G92 Z240 ; set Z position to axis maximum (you may want to adjust this) ; Uncomment the following lines to lift Z after probing ;G91 ; relative positioning ;G1 Z5 F100 ; lift Z relative to current position ;G90 ; absolute positioning
Is it enough to delete:
G1 H1 X-295 Y-255 F1800 ; move quickly to X or Y endstop and stop there (first pass)
and move Y before X in the list? -
@chefffe looks like your Z axis is moving the wrong way
M569 P2 S0 ; physical drive 2 goes forwards
change the S0 on that line to S1
; homeall.g ; called to home all axes ; ; generated by RepRapFirmware Configuration Tool v3.3.10 on Tue Dec 21 2021 12:54:13 GMT+0100 (MitteleuropƤische Normalzeit) G91 ; relative positioning G1 H2 Z5 F6000 ; lift Z relative to current position G1 H1 X-295 F1800 ; home X axis G1 H1 Y-255 F1800 ; home Y axis G1 X5 Y5 F6000 ; go back a few mm G1 H1 X-295 F360 ; move slowly to X axis endstop once more (second pass) G1 H1 Y-255 F60 ; then move slowly to Y axis endstop G1 X5 Y5 F6000 ; go back a few mm G1 H1 Z-245 F360 ; move Z up stopping at the endstop G1 Z5 G90 ; absolute positioning ; Uncomment the following lines to lift Z after probing ;G91 ; relative positioning ;G1 Z5 F100 ; lift Z relative to current position ;G90 ; absolute positioning
and Z
; homez.g ; called to home the Z axis ; ; generated by RepRapFirmware Configuration Tool v3.3.10 on Tue Dec 21 2021 12:54:13 GMT+0100 (MitteleuropƤische Normalzeit) G91 ; relative positioning G1 H2 Z5 F6000 ; lift Z relative to current position G1 H1 Z-245 F1800 ; move Z up until the endstop is triggered G1 Z5 G90 ; Uncomment the following lines to lift Z after probing ;G91 ; relative positioning ;G1 Z5 F100 ; lift Z relative to current position ;G90 ; absolute positioning
Give those a whirl
-
@jay_s_uk
With that change the homez.g works. The homeall works as well but when I try to move Z after homing the movement is reversed. I assume I need to reverse the Z motor again? -
@chefffe
where is your endstop at? zmin?
you should use + movements to move away from the bed or bed away from the nozzle and vice versa -
@jay_s_uk
My Z Endstop is at the top end close to the nozzle. When triggered the bed should only be able to go down (-).This is current state:
M119
Endstops - X: at min stop, Y: not stopped, Z: at max stop, Z probe: at min stopWhen I press - I expect the bed going down, with + up. The Z-Endstop ist an optical, which is normally on (off when triggered).
-
This is my homeall.g from the old configuration running fine:
G91 ; relative positioning G1 Z5 F6000 S2 ; lift Z relative to current position G1 S1 y-255 f3000 G1 Y5 f3000 G1 S1 y-255 f360 G1 S1 x-295 f3000 G1 x5 f3000 G1 S1 x-295 f360 G1 S1 z-245 f3000 G1 z5 f3000 G1 S1 z-245 f360 G1 S1 X-295 F360 ; move slowly to X axis endstop once more (second pass) G1 S1 Y-255 ; then move slowly to Y axis endstop G1 S1 Z-245 F360 ; move Z down stopping at the endstop G90 ; absolute positioning G92 Z0 ; set Z to axis minimum (you may want to adjust this)
This the old homez.g.
``` G91 ; relative positioning G1 Z5 F6000 S2 ; lift Z relative to current position G1 S1 Z-255 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 S2 Z5 F100 ; lift Z relative to current position ;G90 ; absolute positioning ```
-
@chefffe to move your bed away it should be a positive movement, not a negative movement
-
@jay_s_uk
I see that in my old config.g the Z axe was also configured like you said:
M569 P2 S1
Maybe I mix now something up.
I set the Duet up about 3 years ago and forgot a lotshame on me ...
I will print later on something, then its clear. Many thanks for now! -
@jay_s_uk
After "playing" a little bit around I end up now that homing works fine ... but ... after Z homing the Z axe is only moving in minus direction (up towards nozzle) and not in plus direction (down away from nozzle). I couldnt yet find what could cause this ?
The Z axe stops every plus movement after leaving the Z Endstop. -
@chefffe what M574 Z command are you currently using in config.g ?
-
@dc42
Hi, it is ->
; Endstops
M574 X0 S1 P"!xstop" ; configure switch-type (e.g. microswitch) endstop for low end on X via pin xstop
M574 Y1 S1 P"!ystop" ; configure switch-type (e.g. microswitch) endstop for low end on Y via pin ystop
M574 Z2 S1 P"zstop" ; configure switch-type (e.g. microswitch) endstop for high end on Z via pin !zstopWhen I add the ! to Z I get an error that the endstop is not working. The endstop type is an optical which is normal "on" and triggered "off".
-
@chefffe change the Z2 to Z1
-
@jay_s_uk
This did the trick!! I am very happy, Great Forum thanks again! -
undefined Phaedrux marked this topic as a question
-
undefined Phaedrux has marked this topic as solved