inferred z-probe not working after messed up config and update
-
i messed up my SD card so lost all my config
now i need to get my z probe working and i cant seem to get it to see the bed now
it is detecting as i can see the red light on the probe light up on the dashboard of the software it showing zprobe 0 when it gets near anything it will go up to 530 so its is detecting and software picking it up ....
the z just doesn't stopbut in the config i cant get the gcode right
its an inferred detector connected to the zprobe port next to screen socket where its always been and always worked before i screwed up my SD card with the settings on. below is my config
i remember you used to be able to see the z probe active live now that seems to have been removed in Duet Web Control 3.3.0 so i cant even see if it triggers so i have to do a bed level each time to see if it works all attempts failed so far; 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 Z0 P"nil" ; no Z endstop switch, free up Z endstop input ; 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 Z2.5 ; set Z probe trigger value, offset and trigger
-
@dmkmedia said in inferred z-probe not working after messed up config and update:
M574 Z0 P"nil"
M574 Z1 S2 ; configure Z-probe endstop for low end on Z
Edit:
Plugin for endstop monitor https://github.com/Duet3D/DSF-Plugins/releases/tag/v3.3.0 -
@diy-o-sphere your original M574 Z command was correct.
Are you trying to do a G30 with it, or to home the Z axis? If you are trying to home the Z axis, see https://duet3d.dozuki.com/Wiki/ConfiguringRepRapFirmwareCartesianPrinter#Section_Homing_Z_using_a_Z_probe and test using G30 first.
-
Post your homeall.g
-
G91 ; relative positioning G1 H2 Z5 F6000 ; lift Z relative to current position G1 H1 X-240 Y-240 F3000 ; move quickly to X and Y axis endstops and stop there (first pass) G1 H2 X5 Y5 F6000 ; go back a few mm G1 H1 X-240 Y-240 F240 G1 H2 X20 Y60 F6000 G1 H1 Z-265 F240 ; move Z down stopping at the endstop G90 ; absolute positioning 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 Z5 F100 ; lift Z relative to current position G90 ; absolute positioning
-
G1 H1 Z-265 F240 ; move Z down stopping at the endstop G90 ; absolute positioning G92 Z0 ; set Z position to axis minimum (you may want to adjust this)
This section uses a G1 H1 Z move to home to the endstop. To use the probe, you must replace those quotes lines with something like this
G1 X150 Y150 F6000 ; move probe to center of bed G30 ; use probe to find Z0