Microswitch Z-Stop Config and Home File
-
Hello,
I am having some trouble configuring my Toolchanger z-stop (somehow the config file was erased and I don't have a backup). The printer uses a microswitch for the probe.
Board: Duet 2 Wifi with Duex Expansion
FW: 3.4.3 (2022-10-05)Config and home-z files below:
; config.g ; Endstops M574 X1 Y1 S3 ; Set X / Y endstop stall detection M574 C0 ; No C endstop ; Z probe M558 C"z_stop" T50000 A1 ; Define probe M574 Z1 S1 P"!z_stop" ; Set Z endstop to active low M557 X10:290 Y20:180 S40 ; Define mesh grid G31 Z0 ; Set trigger height
;homez.g G29 S2; G91 ; Relative mode G1 H2 Z10 F5000 ; Lower the bed G90 ; back to absolute positioning G53 G1 X150 Y100 F50000 ; Position the endstop above the bed centre M558 F3000 G30 M558 F300 G30 G29 S1;
With this homez.g the following error occurs:
Error: in file macro line 12: G30: Z probe 0 not found
Error: Z probe 0 not found
Error: in file macro line 14: G30: Z probe 0 not found
Error: Failed to home axes ZTrying to figure out what I'm doing wrong but I'm hitting a wall. Any help would be appreciated
-
-
-
-
@Merlin246 Something like
M558 P5 C"zstop" H5 F120 T3000
should suffice to configure your Z-probe. Remove the following M574 line.
When you've made that change to config.g, runM98 P"config.g"
and check for potential errors. -
-
@chrishamm thanks for the reply. Works great, I owe you a beer.