<p>Problem:  Z-Axis doesn't work during a print.  It attempts to work, maybe climbs on the Z-Axis, but screws back down.  It whines, too.  But, Z-Axis DOES work while not printing.  It doesn't matter if the bed and nozzle heating or not, if it's not printing, it works as it should.  I don't know what else I can do to troubleshoot this problem.</p>

<p>I have:</p>

<ul>
<li>Changed the Ramps 1.4 board twice</li>
<li>Swapped drivers around, bought new drivers</li>
<li>Swapped X-Axis and Z-Axis motor connections</li>
<li>Cleaned threaded rod.</li>
<li>Leveled two Z-Axis threaded rod riders to near atomic perfection.</li>
<li>Changed firmware to each of the 3 latest updates</li>
<li>Remounted motor so both face same cardinal direction</li>
<li>Cursed</li>
<li>Changed jumper configurations from 16th microstepper to 8th for more power.  No dice.  Fried two drivers that way.</li>
<li>Dialed and redial and tridialed and quaddialed the driver pots</li>
<li>Recalled the Z-motors work while not printing so it isn't the driver pots</li>
<li>Cursed again</li>
<li>Scoured the web for similar issues</li>
<li>Looked for G-code that might limit Z-Axis elevation</li>
<li>Died a little.  Just a little</li>
</ul>

<p>Hardware:</p>

<ul>
<li>RepRap Guru DIY Prusa i3 V2 3D Printer Kit</li>
<li>Ramps 1.4</li>
<li>A4988 Driver</li>
<li>Firmware: 

<ul>
<li>Marin 1.1.8, 

<ul>
<li>1.1.7 (screen didn't function), </li>
<li>1.1.6 (screen didn't function), </li>
</ul></li>
<li>RepRapGuru_Marlin_v4, </li>
<li>RepRapGuru_Marlin_v2</li>
</ul></li>
</ul>

<p>Additional information:</p>

<ul>
<li>My power supply is the original 12&nbsp;V 360&nbsp;W supply with the kit.

<ul>
<li>The 5 amp power in is 12.02&nbsp;V, the 11 amp power port is 11.96&nbsp;V and 12.18&nbsp;V depending on which heater is on. </li>
<li>The bed measures 11.50&nbsp;V and the hotend is 3.4&nbsp;V</li>
</ul></li>
<li>While heating the bed and hotend I am using the LCD screen and rotary encoder to move my axes. It works as expected until printing. I have upgraded to an aluminum 12/24&nbsp;V hotbed from the original PCB.</li>
<li>Currently getting Repetier. Will update.</li>
<li>The z-axis leadscrew is M5-0.8 mm</li>
</ul>

[{'answer_id': 6423, 'author': 'Carl Witthoft', 'author_id': 2191, 'author_profile': 'https://3dprinting.stackexchange.com/users/2191', 'pm_score': 2, 'selected': False, 'text': '<p>I would check the gcode you\'re generating to make sure it\'s not full of &quot;bad&quot; z-commands.</p>\n<p>Further, I\'d take any gcode file you have and manually edit it, leaving in all the initializations, heatings, zeroing, etc.,  and then delete everything except some z-motion commands.  Run that as a test case to see what happens.</p>\n<p>I  think it\'s extremely unlikely that the gantry has enough mass to force the z-screws to counter-rotate (lowering the gantry), and you\'d see that with power off in any case.</p>\n<h2>edit</h2>\n<p>As Greenonline discovered, a <a href="https://3dprinting.stackexchange.com/questions/4031/would-using-a-leadscrew-with-1-or-2-mm-lead-en-lieu-of-8-mm-result-in-a-better/4038#comment5535_4038">bad choice of lead screw</a> might cause the behavior you\'re seeing.  It would be a bit scary if a stock kit such as the one you bought provided high-pitch Z-screws.  Better check that out!</p>\n'}, {'answer_id': 6424, 'author': 'Greenonline', 'author_id': 4762, 'author_profile': 'https://3dprinting.stackexchange.com/users/4762', 'pm_score': 2, 'selected': False, 'text': '<p>From <a href="https://3dprinting.stackexchange.com/questions/6421/z-axis-doesnt-work-only-during-printing#comment9763_6421">your comment</a></p>\n\n<blockquote>\n  <p>the z-axis leadscrew is m5-.8</p>\n</blockquote>\n\n<p>I presume that your lead is 8&nbsp;mm? You don\'t state whether it is a threaded rod or a leadscrew, so I will presume that it is a leadscrew.</p>\n\n<p>If so, then I would suggest that you choose a different leadscrew, one with a lesser lead, say 2&nbsp;mm or 4&nbsp;mm. This is because, for a 8&nbsp;mm lead, the stepper motor has to lift the X-axis gantry by 8&nbsp;mm upon one rotation, which requires four times the amount of work that would be required to lift the X-axis gantry by just 2&nbsp;mm if a rod with a 2&nbsp;mm lead is used.</p>\n\n<p>So you need to either:</p>\n\n<ul>\n<li>Change/upgrade your stepper motors to ons with more torque, or;</li>\n<li>Change the rods, for some with a smaller lead.</li>\n</ul>\n\n<p>Depending where you are in the world, one option may be cheaper than the other. </p>\n\n<p><em>If you are going to upgrade your rods</em>, then change from a <a href="https://reprap.org/wiki/Threaded_rod" rel="nofollow noreferrer">threaded rod</a> (if you are using one), to a <a href="https://reprap.org/wiki/Threaded_rod#Leadscrew" rel="nofollow noreferrer">leadscrew</a>, as they are much better quality, have less friction, more precision and less wobble. However, you may also have to change your [rotary] fittings, i.e. the nut that goes around the rod - although you would have to do that anyway if you change your threaded rod for one with a lesser lead. Also, many threaded rods, and leadscrews, come with the rotary fittings included.</p>\n\n<p>Also, you state that your threaded rod/leadscrew is M5. Again, if you are going to have to change it, it might also be worth changing from M5 to M8, see <a href="https://3dprinting.stackexchange.com/questions/5589/lead-screws-m8-instead-of-m5?rq=1">Lead screws - M8 instead of M5?</a></p>\n\n<hr>\n\n<p>For a more in depth explanation, see <a href="https://3dprinting.stackexchange.com/questions/4031/would-using-a-leadscrew-with-1-or-2-mm-lead-en-lieu-of-8-mm-result-in-a-better/4038#4038">this answer</a> to the question, <a href="https://3dprinting.stackexchange.com/questions/4031/would-using-a-leadscrew-with-1-or-2-mm-lead-en-lieu-of-8-mm-result-in-a-better">Would using a leadscrew with 1 or 2 mm lead, en lieu of 8 mm, result in a better printer?</a> Here are some highlights:</p>\n\n<blockquote>\n  <p>A more aggressive leadscrew will require more torque to drive. We have one kit printer we bought a couple years ago that has an overly aggressive multi-start leadscrew for the z-axis. The small motors included in the kit do not have the torque required to reliably start upward movement of the carriage, leaving it sitting there skipping steps until the carriage is given a little upward nudge to get it going (no, it\'s not a lubrication issue or a driver that needs turning up).</p>\n</blockquote>\n\n<p>and </p>\n\n<blockquote>\n  <p>(As Tom <a href="https://3dprinting.stackexchange.com/questions/4031/would-using-a-leadscrew-with-1-or-2-mm-lead-en-lieu-of-8-mm-result-in-a-better/4038#comment5535_4038">points out</a>) An 8 mm lead can result in the weight of the X-axis gantry (especially in a P3Steel) overcoming the idle torque of the stepper. As a result of this, the X-axis gantry can end up sliding down the leadscrew, in particular at power down</p>\n</blockquote>\n\n<hr>\n\n<p>Note that there is a difference between <em>pitch</em> and <em>lead</em>:</p>\n\n<ul>\n<li><strong>Pitch</strong> is the distance between adjacent grooves on the rod, whereas;</li>\n<li><strong>Lead</strong> is the distance travelled along the rod upon one rotation</li>\n</ul>\n\n<p>The difference depends upon the number of leads, or <em>starts</em> that your threaded rod has.</p>\n\n<p>From <a href="https://www.thomsonlinear.com/website/com/eng/training/difference_between_screw_pitch_and_lead.php" rel="nofollow noreferrer">What is the difference between screw pitch and lead?</a></p>\n\n<blockquote>\n  <p><a href="https://i.stack.imgur.com/QHdqn.png" rel="nofollow noreferrer" title="Pitch versus Lead"><img src="https://i.stack.imgur.com/QHdqn.png" alt="Pitch versus Lead" title="Pitch versus Lead"></a></p>\n</blockquote>\n'}, {'answer_id': 6425, 'author': 'RMF', 'author_id': 12364, 'author_profile': 'https://3dprinting.stackexchange.com/users/12364', 'pm_score': 2, 'selected': False, 'text': "<p>Carl Witthoft, I think you are on to something with rogue commands limiting the Z-Axis.  Thank you for pressing me to try a new program.  Now I need to learn it...</p>\n\n<p>So, it works now.  The only difference is that I am printing from Repitier using Cora instead of using Slicer to make g-code for an SD card.  While, I am happy with the results, I am dissapointed that I still don't <em>KNOW</em> the source of the issue.  There must be some command from stock Slicer causing issues.  </p>\n"}, {'answer_id': 20112, 'author': 'Rexave', 'author_id': 35797, 'author_profile': 'https://3dprinting.stackexchange.com/users/35797', 'pm_score': 1, 'selected': False, 'text': '<p>I had the same issue with an Ender 3.\nThe threaded rod was not lubricated enough. Adding some lithium grease, applying it evenly, and moving the Z-axis from top to bottom multiple times fixed the issue.\nI had to recalibrate the Z-offset after that.</p>\n'}]
['https://3dprinting.stackexchange.com/questions/6421', 'https://3dprinting.stackexchange.com', 'https://3dprinting.stackexchange.com/users/12364/']