Voron 2.4 new TAP - Z end stop or Z probe config ?
-
@KCMARINE said in Voron 2.4 new TAP - Z end stop or Z probe config ?:
"Failed to home axes ZG1: Failed to enable endstops"
How can it be "Failed to enable"? I can not set Z end-stop and Z probe to the same C"io3.in"It's failing because you're likely trying to use a G1 H1 Z endstop move when no Z endstop exists. As Jay says, the voron tap should be used as a probe, so instead of G1 H1 Z moves, you would need to use a G30 to initiate a Z probe movement.
-
This post is deleted! -
Thanks for the help, moving forward with your advice I am now able to successfully home X - Y and Z using the G30 command in the homez.g file.
The issue I am now facing is that once Z is homed, it will only move in the negative direction - I can not get it to move in the positive direction!How do I clarify that Z = 0 - my understanding is it thinks Z = 355mm?
I also see my next mission is figuring out tramming the gantry and bed mesh calibration - any pointers greatly appreciated.
Attaching the config and homing files below
; Configuration file for Duet 3 MB 6HC (firmware version 3.3) ;++++++General preferences M575 P1 S1 B57600 ; enable support for PanelDue G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"Harlod" ; set printer name M669 K1 ; select CoreXY mode ; Thermal section ------------------------------------------------------------ M308 S3 Y"mcu-temp" A"Board" ; Board thermal sensor M912 P0 S-2 ; MCU tempurature sensor correction (subtract 2°K) ;+++++Wait a moment for the CAN expansion boards to start G4 S2 ; Drives --------------------------------------------------------------------- ; ----+---- Z-Drives ; | 2 | 3 | ; ----+---- ; | 1 | 4 | ; ----+---- ; Front M584 X0.4 Y0.5 Z0.0:0.1:0.2:0.3 E1.0 ; set drive mapping +++ possible swap X and Y M569 P0.4 S1 ; A motor goes forwards M569 P0.5 S1 ; B motor goes forwards M569 P0.0 S1 ; Z0 motor FL goes forwards M569 P0.1 S0 ; Z1 motor RL goes backwards M569 P0.2 S1 ; Z2 motor RR goes forwards M569 P0.3 S0 ; Z3 motor FR goes backwards M569 P1.0 S0 ; E motor Extruder goes backwards M350 Z16 I0 ; configure microstepping without interpolation M350 X16 Y16 E16 I1 ; configure microstepping with interpolation M92 X162.222 Y161.298 Z805.721 E426 ; set steps per mm ;M566 X8000.00 Y8000.00 Z8000.00 E800.00 ; set maximum instantaneous speed changes (mm/min) ;M203 X12000.00 Y12000.00 Z12000.00 E1200.00 ; set maximum speeds (mm/min) ;M201 X6000.00 Y6000.00 Z4000.00 E1500.00 ; set accelerations (mm/s^2) M906 X1200 Y1200 Z1200 E600 I30 ; set motor currents (mA) and motor idle factor in per cent M84 S10 ; Set idle timeout ; Axis Limits ---------------------------------------------------------------- M208 X0 Y0 Z0 S1 ; set axis minima M208 X343 Y350 Z340 S0 ; set axis maxima ; Endstops ------------------------------------------------------------------- M574 X2 S1 P"io1.in" ; configure switch-type (e.g. microswitch) endstop for high end on X via pin io1.in M574 Y2 S1 P"io2.in" ; configure switch-type (e.g. microswitch) endstop for high end on Y via pin io2.in M574 Z S2 ; notes ;When using the Z probe to home Z, M574 Z has no bearing on the probe setup or usage. ;A Z probe and a Z endstop can both be configured at the same time. ;G30 calling the probe setup with M558, and G1 H1 Z moves calling the endstop configured with M574 Z. ; Z-Probe -------------------------------------------------------------------- M558 P1 C"io3.in" H5 F120 T6000 ; set Z probe type to switch and the dive height + speeds G31 P500 X0 Y0 Z0 ; set Z probe trigger value, offset and trigger height M557 X40:260 Y40:260 S20 ; define mesh grid ; Heaters -------------------------------------------------------------------- ;-Hot Bed M308 S0 A"HOT-BED" P"temp0" Y"thermistor" T100000 B3950 ; configure sensor 0 as thermistor on pin temp0 M950 H0 C"out0" T0 ; create bed heater output on out0 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 S120 ; set temperature limit for heater 0 to 120C ;-Hot End M308 S1 A"HOT-END" P"temp1" Y"thermistor" T100000 B4138 ; configure sensor 1 as thermistor on pin temp1 M950 H1 C"out1" T1 ; create nozzle heater output on out1 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 ;-Chamber Heater M308 S2 A"CHAMBER" P"temp2" Y"thermistor" T100000 B4138 ; configure sensor 2 as thermistor on pin temp2 M950 H2 C"out3" T2 ; create nozzle heater output on out1 and map it to sensor 2 M307 H2 B1 S1.00 ; disable bang-bang mode for heater and set PWM limit M143 H2 S280 ; set temperature limit for heater 1 to 280C ; Fans ----------------------------------------------------------------------- ;-Part Cooling Fan M950 F0 C"out7" Q500 ; create fan 0 on pin out7 and set its frequency M106 P0 S0 H-1 ; set fan 0 value P0. Thermostatic control is turned off H-1 ;-Hot End Fan set to start at 45 degrees M950 F1 C"out8" Q500 ; create fan 1 on pin out8 and set its frequency M106 P1 S0 H1 T45 ; set fan 1 value P1. Thermostatic control is turned on H1 ;-Hot Bed Fans M950 F2 C"out4" Q500 ; create fan 2 on pin out4 and set its frequency M106 P2 S0 H1 T45 ; set fan 2 value P2. Thermostatic control is turned off ; Tools ---------------------------------------------------------------------- M563 P0 S"Stealth Burner " D0 H1 F0:1 ; 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 -------------------------------------------- M671 X-60: -60:357:357 Y-6:365:356:-6 ;+++++Miscellaneous M501 ; load saved parameters from non-volatile memory T0 ; select first tool
; homeall.g ; called to home all axes ; ; generated by RepRapFirmware Configuration Tool v3.3.15 on Thu Jan 19 2023 16:09:43 GMT+0800 (Australian Western Standard Time) G91 ; relative positioning G1 H2 Z5 F6000 ; lift Z relative to current position G1 H1 X295 Y295 F1800 ; move quickly to X or Y endstop and stop there (first pass) G1 H1 X295 ; home X axis G1 H1 Y295 ; home Y axis G1 X-5 Y-5 F6000 ; go back a few mm G1 H1 X295 F360 ; move slowly to X axis endstop once more (second pass) G1 H1 Y295 ; then move slowly to Y axis endstop G1 H1 Z255 F360 ; move Z up stopping at the endstop G90 ; absolute positioning G92 Z250 ; 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
; homex.g ; called to home the X axis ; ; generated by RepRapFirmware Configuration Tool v3.3.15 on Thu Jan 19 2023 16:09:43 GMT+0800 (Australian Western Standard Time) G91 ; relative positioning G1 H2 Z5 F6000 ; lift Z relative to current position G1 H1 X355 F1800 ; move quickly to X axis endstop and stop there (first pass) G1 X-5 F6000 ; go back a few mm G1 H1 X355 F360 ; 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.3.15 on Thu Jan 19 2023 16:09:43 GMT+0800 (Australian Western Standard Time) G91 ; relative positioning G1 H2 Z5 F6000 ; lift Z relative to current position G1 H1 Y355 F1800 ; move quickly to Y axis endstop and stop there (first pass) G1 Y-5 F6000 ; go back a few mm G1 H1 Y355 F360 ; 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.3.15 on Thu Jan 19 2023 16:09:43 GMT+0800 (Australian Western Standard Time) G91 ; relative positioning G1 H2 Z5 F6000 ; lift Z relative to current position G30 H2 Z0 F1800 G1 H2 Z5 F6000 ; lift Z relative to current position G92 Z350 F1800 ; set Z position to axis maximum (you may want to adjust this)
-
It still doesn't look like you've changed your files.
G1 H1 Z255 F360 ; move Z up stopping at the endstop G90 ; absolute positioning G92 Z250 ; set Z position to axis maximum (you may want to adjust this)
The G1 H1 move needs to be replaced with a G1 X Y move to position the print head, and then a G30 to use the probe.
Then you must also remove the G92 Z250 command because that would override your probe result.
-
@KCMARINE said in Voron 2.4 new TAP - Z end stop or Z probe config ?:
M574 Z S2
Also remove that from your config.g
-
Many thanks, @Phaedrux
I have updated as you advised
; homez.g ; called to home the Z axis ; ; generated by RepRapFirmware Configuration Tool v3.3.15 on Thu Jan 19 2023 16:09:43 GMT+0800 (Australian Western Standard Time) G91 ; relative positioning G1 Z150 Y150 F6000 ; move to position G30 G1 H2 Z5 F6000 ; lift Z relative to current position
and also removed the M574 Z S2 form config.g
; Configuration file for Duet 3 MB 6HC (firmware version 3.3) ;++++++General preferences M575 P1 S1 B57600 ; enable support for PanelDue G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"Harlod" ; set printer name M669 K1 ; select CoreXY mode ; Thermal section ------------------------------------------------------------ M308 S3 Y"mcu-temp" A"Board" ; Board thermal sensor M912 P0 S-2 ; MCU tempurature sensor correction (subtract 2°K) ;+++++Wait a moment for the CAN expansion boards to start G4 S2 ; Drives --------------------------------------------------------------------- ; ----+---- Z-Drives ; | 2 | 3 | ; ----+---- ; | 1 | 4 | ; ----+---- ; Front M584 X0.4 Y0.5 Z0.0:0.1:0.2:0.3 E1.0 ; set drive mapping +++ possible swap X and Y M569 P0.4 S1 ; A motor goes forwards M569 P0.5 S1 ; B motor goes forwards M569 P0.0 S1 ; Z0 motor FL goes forwards M569 P0.1 S0 ; Z1 motor RL goes backwards M569 P0.2 S1 ; Z2 motor RR goes forwards M569 P0.3 S0 ; Z3 motor FR goes backwards M569 P1.0 S0 ; E motor Extruder goes backwards M350 Z16 I0 ; configure microstepping without interpolation M350 X16 Y16 E16 I1 ; configure microstepping with interpolation M92 X162.222 Y161.298 Z805.721 E426 ; set steps per mm ;M566 X8000.00 Y8000.00 Z8000.00 E800.00 ; set maximum instantaneous speed changes (mm/min) ;M203 X12000.00 Y12000.00 Z12000.00 E1200.00 ; set maximum speeds (mm/min) ;M201 X6000.00 Y6000.00 Z4000.00 E1500.00 ; set accelerations (mm/s^2) M906 X1200 Y1200 Z1200 E600 I30 ; set motor currents (mA) and motor idle factor in per cent M84 S10 ; Set idle timeout ; Axis Limits ---------------------------------------------------------------- M208 X0 Y0 Z0 S1 ; set axis minima M208 X343 Y350 Z350 S0 ; set axis maxima ; Endstops ------------------------------------------------------------------- M574 X2 S1 P"io1.in" ; configure switch-type (e.g. microswitch) endstop for high end on X via pin io1.in M574 Y2 S1 P"io2.in" ; configure switch-type (e.g. microswitch) endstop for high end on Y via pin io2.in ; notes ;When using the Z probe to home Z, M574 Z has no bearing on the probe setup or usage. ;A Z probe and a Z endstop can both be configured at the same time. ;G30 calling the probe setup with M558, and G1 H1 Z moves calling the endstop configured with M574 Z. ; Z-Probe -------------------------------------------------------------------- M558 P1 C"io3.in" H5 F120 T6000 ; set Z probe type to switch and the dive height + speeds G31 P500 X0 Y0 Z0 ; set Z probe trigger value, offset and trigger height M557 X40:260 Y40:260 S20 ; define mesh grid ; Heaters -------------------------------------------------------------------- ;-Hot Bed M308 S0 A"HOT-BED" P"temp0" Y"thermistor" T100000 B3950 ; configure sensor 0 as thermistor on pin temp0 M950 H0 C"out0" T0 ; create bed heater output on out0 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 S120 ; set temperature limit for heater 0 to 120C ;-Hot End M308 S1 A"HOT-END" P"temp1" Y"thermistor" T100000 B4138 ; configure sensor 1 as thermistor on pin temp1 M950 H1 C"out1" T1 ; create nozzle heater output on out1 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 ;-Chamber Heater M308 S2 A"CHAMBER" P"temp2" Y"thermistor" T100000 B4138 ; configure sensor 2 as thermistor on pin temp2 M950 H2 C"out3" T2 ; create nozzle heater output on out1 and map it to sensor 2 M307 H2 B1 S1.00 ; disable bang-bang mode for heater and set PWM limit M143 H2 S280 ; set temperature limit for heater 1 to 280C ; Fans ----------------------------------------------------------------------- ;-Part Cooling Fan M950 F0 C"out7" Q500 ; create fan 0 on pin out7 and set its frequency M106 P0 S0 H-1 ; set fan 0 value P0. Thermostatic control is turned off H-1 ;-Hot End Fan set to start at 45 degrees M950 F1 C"out8" Q500 ; create fan 1 on pin out8 and set its frequency M106 P1 S0 H1 T45 ; set fan 1 value P1. Thermostatic control is turned on H1 ;-Hot Bed Fans M950 F2 C"out4" Q500 ; create fan 2 on pin out4 and set its frequency M106 P2 S0 H1 T45 ; set fan 2 value P2. Thermostatic control is turned off ; Tools ---------------------------------------------------------------------- M563 P0 S"Stealth Burner " D0 H1 F0:1 ; 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 -------------------------------------------- M671 X-60: -60:357:357 Y-6:365:356:-6 ;+++++Miscellaneous M501 ; load saved parameters from non-volatile memory T0 ; select first tool
I can home X and then Y, and when I home Z am immedetly getting the error message
Error: Failed to home axes ZG1: G0/G1: insufficient axes homed.
Must be missing something in the config ?
-
@KCMARINE you need to make the same changes to homeall
-
The homeall.g file
; homeall.g ; called to home all axes ; ; generated by RepRapFirmware Configuration Tool v3.3.15 on Thu Jan 19 2023 16:09:43 GMT+0800 (Australian Western Standard Time) G91 ; relative positioning G1 H2 Z5 F6000 ; lift Z relative to current position G1 H1 X355 Y355 F1800 ; move quickly to X or Y endstop and stop there (first pass) G1 H1 X355 ; home X axis G1 H1 Y355 ; home Y axis G1 X-5 Y-5 F6000 ; go back a few mm G1 H1 X355 F360 ; move slowly to X axis endstop once more (second pass) G1 H1 Y355 ; then move slowly to Y axis endstop G1 H1 Z255 F360 ; move Z up stopping at the endstop G1 Z150 Y150 F6000 ; move to position G30 G90 ; absolute positioning G1 H2 Z5 F6000 ; lift Z relative to current position
Doing either Home Z or Home all gets the error
Error: Failed to home axes ZG1: G0/G1: insufficient axes homed
-
@KCMARINE said in Voron 2.4 new TAP - Z end stop or Z probe config ?:
G1 H2 Z5 F6000 ; lift Z relative to current position
no H217 G1 Z5 F6000 ; lift Z relative to current position
H2 only for movements of an axis that is not homed
-
G1 H1 Z255 F360 ; move Z up stopping at the endstop
Remove that from home all.
You would get insufficient axis homed error in home z if you try and run it without the x and y axis already being homed.
-
Thank you for your help Gents,
I managed to now get X Y and Z homed - for any other people facing this problem in the future, this is the code that worked for me:
; homeall.g G91 ; relative positioning G1 H1 X355 Y355 F1800 ; move quickly to X or Y endstop and stop there (first pass) G1 H1 X355 ; home X axis G1 H1 Y355 ; home Y axis G1 X-5 Y-5 F6000 ; go back a few mm G1 H1 X355 F360 ; move slowly to X axis endstop once more (second pass) G1 H1 Y355 ; then move slowly to Y axis endstop G30 ; Sets the Z coordinate to the probe trigger height G90 ; absolute positioning
; homez.g G91 ; relative positioning G30 ; Sets the Z coordinate to the probe trigger heightG30 G90 ; absolute positioning
Now I am onto gantry tramming/bed leveling/height mapping so I am sure to have more questions
Thanks again
-
You may want to add a G1 X Y move before the G30 to position the print head where you want to probe. Typically the center of the bed is used.
-
-