<p>When manually controlling the z-axis in reprap, it works fine. If I use the home button, it doesn't move. Instead, it stalls/freezes/hangs. It attempts to turn, but can't successfully make a full turn. </p>

[{'answer_id': 6846, 'author': 'profesor79', 'author_id': 9730, 'author_profile': 'https://3dprinting.stackexchange.com/users/9730', 'pm_score': 3, 'selected': True, 'text': '<p>lower the moving speed of the Z-axis motor, search for </p>\n\n<blockquote>\n  <p>homing feed rate</p>\n</blockquote>\n\n<p>in config.h as it looks like the given speed is to high.</p>\n'}, {'answer_id': 6852, 'author': 'Serge Rabyking', 'author_id': 11199, 'author_profile': 'https://3dprinting.stackexchange.com/users/11199', 'pm_score': 0, 'selected': False, 'text': '<p>Looks like endstop signal for Z is inverted. In this case Z will move in manual mode but when homing it will try and stop as limit detected immediately. Change Z_MIN_ENDSTOP_INVERTING to opposite value.</p>\n'}, {'answer_id': 6934, 'author': 'silver', 'author_id': 12950, 'author_profile': 'https://3dprinting.stackexchange.com/users/12950', 'pm_score': 0, 'selected': False, 'text': '<p>If you run M503 you should be able to see your max speeds. They, along with your homing speeds, are probably far too high and causing skipped steps (no movement). You can lower them down temporarily with M203. <a href="http://marlinfw.org/docs/gcode/M203.html" rel="nofollow noreferrer">http://marlinfw.org/docs/gcode/M203.html</a></p>\n'}]
['https://3dprinting.stackexchange.com/questions/6845', 'https://3dprinting.stackexchange.com', 'https://3dprinting.stackexchange.com/users/12862/']