Mendel90 Z-Axis Endstop Issues
-
Hello,
I have a few problems but they are all somehow related to the Z-axis.
I have started trying to breathe new life into my beloved old Mendel by Nophead.
First I set the endstops to active-low (pull-up) and they are recognised.
M119 gives me the right output.
After I had to run the motors in reverse direction, all motors turned towards the endstop when homing.
BUT I have to adjust all home*.g files because they contain a Z-lift and even if M119 tells me that the end stop is triggered, the axis still tries to move upwards.
Due to the architecture of the printer, the endstops are X-Front, Y-Right, Z-Up.If I manually rotate the Z-axis down to make room for the lift commands, the homing works fine, but I have doubts that the changes to the g-code files are correct. I have a feeling that I may have done something wrong in the setup.
Why are movement commands executed even though the end stop is pressed?
Have I done something wrong or is it only the moment of pressing that is relevant for homing? -
One thing I also have problems with is the minimum and maximum of my z-axis.
Since my end stop is at the top, I have the coordinates 0-0-0 after homing:
X-right
Y-Front
Z-topWhat is the right setup?
; Axis Limits M208 X0 Y0 Z-200 S1 ; set axis minima M208 X200 Y200 Z0 S0 ; set axis maxima
; Axis Limits M208 X0 Y0 Z0 S1 ; set axis minima M208 X200 Y200 Z200 S0 ; set axis maxima
Thanks in advance
-
You should still set your Z axis values to be 0 when the bed touches the nozzle and 200 at the furthest distance.
For the Duet to know that the Z endstop is at the far end, set
M572 Z2 (seehttps://docs.duet3d.com/User_manual/Reference/Gcodes#m574-set-endstop-configuration).
To change the motor direction, use M569 (see https://docs.duet3d.com/User_manual/Reference/Gcodes#m569-set-motor-driver-direction-enable-polarity-mode-and-step-pulse-timing).
If you would add your complete set of config.g, homez.g, homeall.g here it would be easier to take a look (-:
-
Thanks for your Help.
Had to changeG1 H2 Z5 F6000 ; lift Z relative to current position
G1 H1 Z5 F6000 ; lift Z relative to current position
and I was missing
G92 Z200 ; set Z position to axis maximum (you may want to adjust this)
-
@psike you shouldn't need to set your Z position if you set the endstop location correctly.