Quantcast
Channel: Reprap Forum - Firmware - Marlin
Viewing all articles
Browse latest Browse all 12117

Re: Define position at power-up for Z axis

$
0
0
That's the part I want to change. When I power it on, I want to make it assume (0,0,160) instead of (0,0,0). When it assumes (0,0,0), it also assumes when I home X it needs to move Z away because of the probe, yet in reality my Z axis is 160mm away from the head and does not need to move to home X and Y.

It homes fine, but when I home X and Y it starts to try and move Z away, which is already at the end of it's travel. I supposed I could add Z-max limit switches, but there should be a way to define the assumed start. For now, I have a workaround in my start G-code, but that doesn't help when someone homes the machine from the LCD panel.

Workaround:
G92 Z160 ; define Z position
M84; make sure all the motors are off to force the Z axis to drop if its not at the bottom already
G28; Home the machine

Doing the above in my start code stops the Z axis from trying to move due to the Z probe settings, but that doesn't cover the case when someone homes the machine from the LCD menu which is why I asked if its possible to change the power-up position.

Viewing all articles
Browse latest Browse all 12117

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>