Need help to define Z max endstop
-
I have a bltouch, but I want also add a switch to lower the bed at the end of the print (like ultimaker)
-
you can either have a probe or an endstop, not both.
see
https://duet3d.dozuki.com/Wiki/Gcode#Section_M574_Set_endstop_configurationSnnn Endstop type: 0 = active low endstop input, 1 = active high endstop input, 2 = Z probe, 3 = motor load detection
-
Ok thank you. I will find another solution.
Thanks. -
what are you trying to achieve?
-
Hypercube evolution
-
what are you trying to achieve with the z max endstop?
-
@olivier Rather than using a switch, if you just want to lower the bed then send it to that specific position at the end of the print: G1 Zzzz Fnnnn
You don't need a switch because the printer knows where Z is at the end of the print.
-
Hi @T3P3Tony ,
Yes but I would like to add a user macro "down the bed" without homing (for exemple after a power failure).Maybe it's possible with stall detection ?
-
@olivier It may be possible with stall detection. but if you just want a macro and you have a switch then just write the macro to move and stop when the switch is sensed, wrap the movement in a line to configure that switch as the Z endstop and then configure it back to the probe after the movement has finished.
-
I tryed to do that but without good result,
Could you just write this 2 or 3 lines ? Thank you for your help. -
@olivier If you determine the Z axis setting to use a switch at Z max (i think you have already done that) then the macro would be something like:
Z_Max_home.g macro in /macros/
M574 Z2 S0
G1 Z300 F<something sensible> H1
M574 <whatever you have in your config.g to setup for the BL touch>Note i have not tried this so you will need to experiment a bit and have your hand on the power button as things move!
-
@t3p3tony said in Need help to define Z max endstop:
M574 Z2 S0
Bed going down but don't stop when I press the switch. The endstop LED react correctly
-
@olivier
add S1 to the G1 command -
@veti It dont move at all with S1
-
-
@veti Same problem...
-
-
@Olivier what does M119 show when you have the Z switch triggered?
-
M119
Endstops - X: not stopped, Y: not stopped, Z: at min stop, Z probe: at min stop -
@olivier
issue the command
M574 Z2 S0check M119 when the endstop is not triggerd
hold endstop
check M119 again