<p>OK here's some background of the problem:</p>
<p>Symptoms:</p>
<ul>
<li><p>All retracts on the extruder produce a screeching noise. The extruder extrudes normally all other times.</p>
</li>
<li><p>Any fast move on the Z-axis also produces a screeching noise and the Z-axis will move normally at all other times.</p>
</li>
<li><p>This appears to happen regardless of any printing state whether the heaters are on or not it will still occur it even happens during the ABL process.</p>
</li>
</ul>
<p>Specifications of the printer:</p>
<ul>
<li>Mainboard: MKS Gen L V2</li>
<li>Drivers: TMC2209 UART</li>
<li>Stepper motors: Stepperonline 17HS15-1504S 1.8 deg 1.5A</li>
<li>Pulleys: GT2 16T</li>
<li>Leadscrew: 2 mm pitch T8</li>
<li>Hotend: E3D V6</li>
</ul>
<p>OK so basically I performed an upgrade of my stepper drivers as well as the leadscrew and pulleys on my 3D printer which was originally a Tevo tornado and at the start of every print I would experience a loud screeching noise coming from the Z-axis and I originally identified it to be a single line in my G-code that would only trigger the screech if it was preceded by another line and by commenting out the first line I was able to start printing</p>
<p>Lines in question:</p>
<pre><code>G1 X3 Y1 Z15 F9000 ; Move safe Z height to shear strings
G0 X1 Y1 Z0.2 F9000 ; Move in 1mm from edge and up [z] 0.2mm
</code></pre>
<p>However, while I was able to start printing, I soon found out that the extruder was doing the same thing with every retract it would create a loud screech and the filament wouldn't be retracted this caused heavy stringing as well as poor layer adhesion resulting in prints failing. I figured the problem was with the version of Marlin I was using so I attempted to use the latest bug fix. However, I was still experiencing the same problems. I attempted to see if the stepper current was the problem and after identifying that the stepper current was not the cause of the problem, I figured I needed to replace the stepper motors and after replacing the stepper motors the problem still remained. I figured the problem must be with Marlin so I attempted to use Klipper. However, I am still experiencing the same and now I can't even complete a mesh bed leveling as the movements that Klipper uses are triggering the loud screeching and causing the steppers to freeze up.</p>
<p>I am unsure as to what could be causing this as I think I've checked everything that could be causing it so I'm not quite sure how to proceed I've also made a video that should show the problem in action. So I guess I'm wondering what's my next troubleshooting step?</p>
<p><div class="youtube-embed"><div>
                <iframe width="640px" height="395px" src="https://www.youtube.com/embed/v_vXF8f9GdQ?start=0"></iframe>
            </div></div></p>
<p>EDIT: Updates</p>
<p>I have tried changing the drivers back to TMC2208s there have been no changes on both Kilpper and Marlin.</p>
<p>I tried switching to an MKS Gen L V2.1 in case it was a mainboard problem. sill experiencing problems</p>
<p>Marlin Config</p>
<p>Configuration.H
<a href="https://paste-bin.xyz/41662" rel="nofollow noreferrer">https://paste-bin.xyz/41662</a></p>
<p>Configuration_ADV.H
<a href="https://paste-bin.xyz/41663" rel="nofollow noreferrer">https://paste-bin.xyz/41663</a></p>
<p>Klipper Config
<a href="https://paste-bin.xyz/41677" rel="nofollow noreferrer">https://paste-bin.xyz/41677</a></p>
<p>Edit:</p>
<p>The only other thing I think I can try is running the TMC2209s in standalone mode</p>

[{'answer_id': 19030, 'author': 'Zeiss Ikon', 'author_id': 28508, 'author_profile': 'https://3dprinting.stackexchange.com/users/28508', 'pm_score': 3, 'selected': False, 'text': "<p>If you have an empty spool of the same brand, you could weigh the empty spool and the one you're trying to &quot;measure&quot; to get an approximate weight of the remaining filament.  Divide by the (presumably available from manufacturer) weight per meter to get a rough length in meters, if that's more useful to you than weight.</p>\n"}, {'answer_id': 19034, 'author': 'user10489', 'author_id': 28397, 'author_profile': 'https://3dprinting.stackexchange.com/users/28397', 'pm_score': 2, 'selected': False, 'text': '<p>If you are down to one layer of filament, count the number of loops left on the spool, and multiply by the circumference of the spool to get the length. (<span class="math-container">$ \\pi \\times diameter \\times loops $</span>)</p>\n<p>This can work if you have more than one layer and know the core diameter and the outer diameter of the filament left, but there would be some integration and a lot of estimation.</p>\n'}, {'answer_id': 19035, 'author': 'R.. GitHub STOP HELPING ICE', 'author_id': 11157, 'author_profile': 'https://3dprinting.stackexchange.com/users/11157', 'pm_score': 2, 'selected': False, 'text': '<p>Some filament vendors put a window to see the remaining spooled filament with a decal showing graduations to match how much is left based on the diameter visible. You could do the same as a printed (in the paper sense) insert you slip along the <em>inside</em> of any spool between the filament and outer wall. You just need to compute the relationship between diameter and amount of filament based on the filament diameter and the number of turns per layer. Or you could just copy the design from a vendor who does this and figure it will be close enough.</p>\n'}, {'answer_id': 19038, 'author': 'FarO', 'author_id': 2338, 'author_profile': 'https://3dprinting.stackexchange.com/users/2338', 'pm_score': 2, 'selected': False, 'text': '<p>If you use klipper you can use <a href="https://github.com/zellneralex/klipper_config/blob/master/printtime.cfg" rel="nofollow noreferrer">this script</a> (by zellneralex) to calculate the filament length used since the last manual reset. Obviously it works with a single spool, if you switch spools it doesn\'t work.</p>\n<p>If you want to know how much filament is left in the spool, the exact formula based on inner radius of the spool <span class="math-container">$r_{int}$</span> and outer radius of the spool when new <span class="math-container">$r_{ext}$</span> and based on the current outer radius of the remaining filament <span class="math-container">$x$</span> should be:</p>\n<p><span class="math-container">$$ 100 \\left( \\frac{x-r_{int}}{r_{ext}-r_{int}} \\right)^2 $$</span></p>\n<p>You can see that you get 100% when <span class="math-container">$x=r_{ext}$</span> (spool is new) and 0% when <span class="math-container">$x=r_{int}$</span>.</p>\n<p>It\'s a simple integration in <span class="math-container">$(x-x_0)\\,dx$</span>.</p>\n'}, {'answer_id': 19040, 'author': 'Perry Webb', 'author_id': 15075, 'author_profile': 'https://3dprinting.stackexchange.com/users/15075', 'pm_score': 0, 'selected': False, 'text': "<p>Besides using the window on a spool that estimates the amount of filament left, I've used large calipers to measure the diameter of an empty spool and the diameter of the filament left on the spool.</p>\n"}, {'answer_id': 19043, 'author': 'Paul', 'author_id': 33375, 'author_profile': 'https://3dprinting.stackexchange.com/users/33375', 'pm_score': 1, 'selected': False, 'text': '<p>I made an Excel spreadsheet that calculates this based on the spool dimensions. You can download it <a href="http://www.brownsbrain.com/Length%20on%20Spool%20Public.xlsx" rel="nofollow noreferrer">here</a>.</p>\n<p>There are products available that will keep track of the length of spools once you give it a starting length. The starting length could come from the spreadsheet.</p>\n'}, {'answer_id': 19311, 'author': 'Ole Mak', 'author_id': 33983, 'author_profile': 'https://3dprinting.stackexchange.com/users/33983', 'pm_score': 0, 'selected': False, 'text': '<p>Why not use a database online with a filament consumption counter?\nSee this <a href="https://www.etsy.com/ca/listing/1216011789/fdb-22-3d-printers-filament-consumption?ga_order=most_relevant&amp;ga_search_type=all&amp;ga_view_type=gallery&amp;ga_search_query=FDB-22&amp;ref=sr_gallery-1-1&amp;organic_search_click=1" rel="nofollow noreferrer">link</a>.</p>\n<p>You can create a database without buying counters. I have two printers an Ender and Mega Zero and 2 counters that automatically consume the selected filaments.</p>\n<p>Very cool tool. I love it</p>\n'}]
['https://3dprinting.stackexchange.com/questions/19048', 'https://3dprinting.stackexchange.com', 'https://3dprinting.stackexchange.com/users/33395/']