<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>X &quot;Walking&quot; .3mm with each layer?</title>
        <description>I just finished my new dedicated machine (I had been printing via my CNC which was incredibly slow (and hard on the machine)). I am super happy with the results, a super-solid, welded steel frame with plenty of cnc-milled Lexan parts. Some of my better work if I do say so myself.

Here is a video show and tell and my first test print.
[url=http://www.youtube.com/watch?v=Bb4icBq6Ay8]http://www.youtube.com/watch?v=Bb4icBq6Ay8[/url]

Everything seems to be in order, I have my steps figured out and a MM is actually a MM. Ultipanel is dialed in and and works great. In fact, everything seems to be 100% --With the exception of the fact that my X seems to be walking its way to the left a little each layer.

I did some measuring, and it looks as if the print is walking .3mm to the left each layer. The final print is slanted exactly the same amount as its height. I don&#039;t feel as if I am loosing steps --unless of course, I am loosing a perfectly-equal number of steps each layer. I mean, the &quot;walking&quot; is so even, and so consistant, that I would be surprised if it were mechanical or a &quot;lost steps&quot; sorta issue. 

At first, I thought this was an issue with the Ebay-cheapie drivers I am using. They are a little &quot;buzzy&quot; when at rest so I changed in the firmware to disable the steppers when at rest --My assumption was that the drivers were being &quot;reset&quot; when enabled/ disabled and thus, were gaining or loosing a step during each &quot;start-up&quot;. I have changed this, and it seems this is not the problem. At this point, I am out of ideas.

Oh, I am using Marlin, Pronterface and Slicer.</description>
        <link>https://reprap.org/forum/read.php?1,132371,132371#msg-132371</link>
        <lastBuildDate>Sat, 18 Jul 2026 08:38:44 -0400</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://reprap.org/forum/read.php?1,132371,263301#msg-263301</guid>
            <title>Re: X &quot;Walking&quot; .3mm with each layer?</title>
            <link>https://reprap.org/forum/read.php?1,132371,263301#msg-263301</link>
            <description><![CDATA[ Hi all,<br />
<br />
I have had some time to clear my head and the problem I have is NOT electronics or software.<br />
It's my own stupidity. (Nophead... I think you're right...need a new... and a bigger house)<br />
In regards to my two old machines I have had a good look at them (3hrs....I was not going to, but had no choice....) and they are not as bad as I thought after first run. They have a timber frame and needed some adjusting before they where back working ok again after being retired for a while. Just coincidental that they slanted on first try and I was just in too much of a hurry when I did my first test. (Could not see the trees for the forest)<br />
Don't bother testing with the files I posted. They will turn out good.<br />
<br />
Lesson learned? Well, don't rush when you try to test and solve a problem. (And use your head....:) )<br />
I will come back later with information when I have resolved my problem.<br />
<br />
Thanks again for your replies.<br />
<br />
Regards<br />
Jan]]></description>
            <dc:creator>IceMan</dc:creator>
            <category>General</category>
            <pubDate>Tue, 05 Nov 2013 07:13:30 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,132371,263251#msg-263251</guid>
            <title>Re: X &quot;Walking&quot; .3mm with each layer?</title>
            <link>https://reprap.org/forum/read.php?1,132371,263251#msg-263251</link>
            <description><![CDATA[ Have you tried a different  Arduino? Although rare, it is possible to get problems in the MCU such that a bit in one register is communicating with another bit. In this case it may be something like the counter for layer toggling the step output. That is, not a software or firmware problem but a hardware problem.<br />
<br />
Mike]]></description>
            <dc:creator>leadinglights</dc:creator>
            <category>General</category>
            <pubDate>Tue, 05 Nov 2013 04:02:53 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,132371,263231#msg-263231</guid>
            <title>Re: X &quot;Walking&quot; .3mm with each layer?</title>
            <link>https://reprap.org/forum/read.php?1,132371,263231#msg-263231</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>nophead</strong><br />
<blockquote class="bbcode"><div><small>Quote<br /></small><strong></strong><br />And why at around 117-118mm?</div></blockquote>
<br />
When it is independent of position, mechanical drive system, firmware, host and slicer the only explanation I can think of is a small discontinuity in the space time continuum in your house :S</div></blockquote>
<br />
Quite possible....I do seem to loose track of time when I "play" with these printers.....but my i3 is not the Einstein variant...  :)<br />
<br />
<br />
I will concentrate on my i3 to see if I can find the solution as it is easy to access in regards to electronics and drive train.<br />
But this is what I have done so far on my i3<br />
Tried 3 different firmware<br />
Tried 3 different slicers<br />
Tried 2 different hostware<br />
<br />
All on same machine just to see if there was a difference. And I have changed any setting I can think of.<br />
<br />
I am printing very nice parts on this machine and speed can be from slow to fast and no issues, as long as the part is less than 117mm in X or Y.<br />
Layer height is 0.2mm.<br />
<br />
Things I will try next:<br />
1) Change layer height<br />
2) Create the file I try to print using various CAD applications (maybe this is an excuse to learn OpenSCAD).<br />
3) Rotate the file 45 deg.<br />
4) Print a file with base less then 117mm but larger above (Like a vase)<br />
5) Continue to google.....<br />
6) ...<br />
.<br />
.<br />
666) Call a priest..........<br />
<br />
If anyone could try to print the files using a printer with Arduino 2560 and Ramps 1.4 and report back that would be great. And if anyone does experience the same then I would love to hear from someone that could print the files using a different board (Rambo, X3 or any other) and report back.<br />
Thanks in advance.<br />
<br />
The printing takes only a couple of minutes.<br />
<br />
Regards<br />
Jan]]></description>
            <dc:creator>IceMan</dc:creator>
            <category>General</category>
            <pubDate>Tue, 05 Nov 2013 02:58:55 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,132371,263115#msg-263115</guid>
            <title>Re: X &quot;Walking&quot; .3mm with each layer?</title>
            <link>https://reprap.org/forum/read.php?1,132371,263115#msg-263115</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong></strong><br />And why at around 117-118mm?</div></blockquote>
<br />
When it is independent of position, mechanical drive system, firmware, host and slicer the only explanation I can think of is a small discontinuity in the space time continuum in your house :S]]></description>
            <dc:creator>nophead</dc:creator>
            <category>General</category>
            <pubDate>Mon, 04 Nov 2013 16:39:09 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,132371,263106#msg-263106</guid>
            <title>Re: X &quot;Walking&quot; .3mm with each layer?</title>
            <link>https://reprap.org/forum/read.php?1,132371,263106#msg-263106</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>nophead</strong><br />
So you are saying you have the same problem with three types of mechanical drive, three different firmwares, two hosts and three slicers? And always 0.3mm per layer?<br />
<br />
Wow that is so weird it is spooky.</div></blockquote>
<br />
Hi nophead,<br />
<br />
Yes it is driving me crazy at the moment.<br />
My layer height is 0.2mm as I use 0.3 nozzle right now, but the problem is very weird indeed. Will try different heights and report back.<br />
As I said before I normally don't print over 100mm parts so the problem does not show up..<br />
I will try to do some different layer heights and report back.<br />
What really gets me is that I can run at snail pace, heat sinks and fan and cool drivers and all "looks and sounds ok" but as soon as the layer change happens it is skewered a smidgent (same every layer). I need to double check the 45 degrees rotation and see what happens.<br />
And why at around 117-118mm?<br />
<br />
When I get back from work I'll do some more investigation/ testing.<br />
<br />
Thanks for your reply<br />
<br />
Regards<br />
Jan]]></description>
            <dc:creator>IceMan</dc:creator>
            <category>General</category>
            <pubDate>Mon, 04 Nov 2013 16:22:16 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,132371,262593#msg-262593</guid>
            <title>Re: X &quot;Walking&quot; .3mm with each layer?</title>
            <link>https://reprap.org/forum/read.php?1,132371,262593#msg-262593</link>
            <description><![CDATA[ What layer height are you using? Does the angle of the slope change with different layer heights?<br />
<br />
What happens if you rotate the object 45 degrees?]]></description>
            <dc:creator>nophead</dc:creator>
            <category>General</category>
            <pubDate>Sun, 03 Nov 2013 09:29:49 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,132371,262590#msg-262590</guid>
            <title>Re: X &quot;Walking&quot; .3mm with each layer?</title>
            <link>https://reprap.org/forum/read.php?1,132371,262590#msg-262590</link>
            <description><![CDATA[ So you are saying you have the same problem with three types of mechanical drive, three different firmwares, two hosts and three slicers? And always 0.3mm per layer?<br />
<br />
Wow that is so weird it is spooky.]]></description>
            <dc:creator>nophead</dc:creator>
            <category>General</category>
            <pubDate>Sun, 03 Nov 2013 09:21:43 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,132371,262457#msg-262457</guid>
            <title>Re: X &quot;Walking&quot; .3mm with each layer?</title>
            <link>https://reprap.org/forum/read.php?1,132371,262457#msg-262457</link>
            <description><![CDATA[ Hi all,<br />
Every now and then this issue pops up and I have not found a "definite answer" to the problem. Could be me so correct me if I am wrong and please point me to the answer.<br />
Here is the story:<br />
Slanting as in posts above but no mechanical problems..<br />
Happens on several printers. One with nema23 and threaded rods as drive train. One with belts and 2 Prusa i3's with braid line.<br />
BUT it only happens when the part is larger then 117mm (??)<br />
I can print any parts that have an x or y smaller then 117mm perfectly on these printers.<br />
I can print the parts on any part of the bed and at any speed I set the printer at without loosing steps.<br />
As an example I print the large wades herringbone gear anywhere on my table and no problems at all.<br />
I have made up some test files of a simple rectangle and printed slowly and fast.<br />
I have changed everything I can think of in the firmware  but no change.<br />
<br />
The issue happens at layer change as in post above.<br />
I tried to add the delay but no change. (Maybe I added it in the wrong place....been some long nights)<br />
<br />
<br />
Firmware tried:  Marlin (I normally use this)<br />
                       Sprinter<br />
                       Repetier<br />
<br />
Host software:  Pronterface and Repetier<br />
<br />
Slicer tried:     Kisslicer, Slic3r and Skeinforge<br />
<br />
Hardware is Arduino with Ramps 1.4 and Pololu drivers <br />
<br />
Checked vref on drivers.<br />
Have active cooling on drivers with heatsinks<br />
<br />
Most parts I print are way smaller then 117mm so it does not affect my prints BUT why does it slant above 117mm?<br />
<br />
Have attached some test files for those who are willing to try and report back.<br />
117mm file prints ok<br />
118mm and above slants<br />
150mm file slants<br />
<br />
The critical point is somewhere between 117 and 118 both X and Y<br />
Rotate part in slicer to test Y axis<br />
<br />
Any help on this much appreciated.<br />
<br />
<br />
Regards<br />
Jan]]></description>
            <dc:creator>IceMan</dc:creator>
            <category>General</category>
            <pubDate>Sat, 02 Nov 2013 20:52:45 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,132371,137521#msg-137521</guid>
            <title>Re: X &quot;Walking&quot; .3mm with each layer?</title>
            <link>https://reprap.org/forum/read.php?1,132371,137521#msg-137521</link>
            <description><![CDATA[ Hey guys, sorry for the delay.<br />
<br />
I have been a bit swamped with orders --I gotta do stuff that feeds me before I get to go play with printers. <br />
<br />
Okey dokey, the delay itself was added to the actual HIGH/LOW step command. This can be found under the "Marlin" tab in some versions and under the "stepper" tab in some other versions. In either case, you can usually find what you need by doing a "find" search for "HIGH". Eventually, you will find something that looks like this:<br />
<br />
if (counter_x &gt; 0) {<br />
        WRITE(X_STEP_PIN, HIGH);<br />
        counter_x -= current_block-&gt;step_event_count;<br />
        WRITE(X_STEP_PIN, LOW);<br />
        count_position[X_AXIS]+=count_direction[X_AXIS];   <br />
      }<br />
<br />
There will be similar routines for each axis. My delay-added version looks like this:<br />
<br />
if (counter_x &gt; 0) {<br />
        WRITE(X_STEP_PIN, HIGH); <b>&lt;-- this is the actual step</b><br />
        counter_x -= current_block-&gt;step_event_count;   <b>&lt;-- this is the code "counting" steps</b><br />
        <b>delayMicroseconds(2); &lt;-- this is the added delay to make the step pulse longer</b><br />
        WRITE(X_STEP_PIN, LOW);  <b>&lt;-- end of the step, back to low</b><br />
        count_position[X_AXIS]+=count_direction[X_AXIS];   <b>&lt;--more counting stuff</b><br />
      }<br />
<br />
I should also add that this whole problem stems from the fact that I have a habit of reinventing the wheel. Reprap and all of its cousins, has been pretty much figured out. In hind sight, I would have been better served by simply replacing the "standard" reprap frame with my beefy welded-steel assembly and called it good. Instead, I felt the need to upgrade to really over-sized motors and thus, really big drivers. These drivers, unlike any "standard" reprap driver you could use, includes opto-isolators. These opto-isolators are basically a LED and a photo sensor (facing each other) inside of a little chip. These are handy in that the thing that is sending the signal and the driver itself are completely isolated from each other. There is no chance for noise to backfeed and no problems with any kind of "surge". The problem is that the LED's and sensor take a little bit to physically turn on. Sure, we are talking millionths of a second here, but still much longer than what marlin and the arduino are spitting out. <br />
<br />
Although, adding this delay solved my problem, I have now found that when I print, there is a "sweet spot" in terms of the final printing speed. (I use a ultipanel and thus, can speed up or down while printing).  Even with the "fix" in the code, the walking effect can return if I simply print too fast or even if I print really slowly. Put simply, although this does indeed "fix" the problem, a FAR better fix would be to use the proper drivers in the first place. And on those lines, I am doing just that. I am in the process now of converting to more "standard" drivers.]]></description>
            <dc:creator>Chris the Carpenter</dc:creator>
            <category>General</category>
            <pubDate>Tue, 12 Jun 2012 20:31:54 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,132371,137093#msg-137093</guid>
            <title>Re: X &quot;Walking&quot; .3mm with each layer?</title>
            <link>https://reprap.org/forum/read.php?1,132371,137093#msg-137093</link>
            <description><![CDATA[ I am having the same issue, (although I was printing fine and it just suddenly came up out of the blue), but I'd like to try adding a small delay too.  +1 for finding out where in the code you added it.<br />
<br />
Thanks,<br />
<br />
Steve]]></description>
            <dc:creator>mouritsen</dc:creator>
            <category>General</category>
            <pubDate>Sat, 09 Jun 2012 23:40:07 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,132371,136965#msg-136965</guid>
            <title>Re: X &quot;Walking&quot; .3mm with each layer?</title>
            <link>https://reprap.org/forum/read.php?1,132371,136965#msg-136965</link>
            <description><![CDATA[ i would be tempted to say you timing pulley is slipping i would rough up the surface of the shaft and put the timing pulley back on and tighten it right up, also i'd get those belts nice and tight (springy),  i'd also be tempted to print some abd timing pulleys anf press fit those on instead, how much current are you putting into those steppers?]]></description>
            <dc:creator>thejollygrimreaper</dc:creator>
            <category>General</category>
            <pubDate>Sat, 09 Jun 2012 06:00:51 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,132371,136963#msg-136963</guid>
            <title>Re: X &quot;Walking&quot; .3mm with each layer?</title>
            <link>https://reprap.org/forum/read.php?1,132371,136963#msg-136963</link>
            <description><![CDATA[ Could you please indicate where in the Marlin code you inserted the delayMicroseconds(2) ?<br />
Thanks!]]></description>
            <dc:creator>dzach</dc:creator>
            <category>General</category>
            <pubDate>Sat, 09 Jun 2012 05:36:33 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,132371,133751#msg-133751</guid>
            <title>Re: X &quot;Walking&quot; .3mm with each layer? (Solved)</title>
            <link>https://reprap.org/forum/read.php?1,132371,133751#msg-133751</link>
            <description><![CDATA[ It would be nice if the pulse width time could be set in the configuration.h file. I have an extra CNC controller that I am thinking about using for a 3D printer I'm building right now. I had a similar problem with a board I bought on Ebay that came from China. The problem with that board was that the opto couplers were too slow and made the square wave look like a triangle wave so at faster speeds it lost a lot of steps. <br />
<br />
<a href="http://www.kwartzlab.ca/2011/06/taig-milling-machine-stepper-motor-and-controller-upgrade/" target="_blank"  rel="nofollow">http://www.kwartzlab.ca/2011/06/taig-milling-machine-stepper-motor-and-controller-upgrade/</a>]]></description>
            <dc:creator>Karl_Williams</dc:creator>
            <category>General</category>
            <pubDate>Sun, 20 May 2012 21:27:40 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,132371,133605#msg-133605</guid>
            <title>Re: X &quot;Walking&quot; .3mm with each layer? (Solved)</title>
            <link>https://reprap.org/forum/read.php?1,132371,133605#msg-133605</link>
            <description><![CDATA[ Solved and solved.  AND I GOT MY MARLIN BACK!<br />
<br />
Once again, I can not tell you guys how much I appreciate your help on thinking this one through. It is a real blessing to be part of so many open source communities. Sharing and helping are good things.<br />
<br />
Alrighty -- Yes, I was loosing steps. However, I was not loosing steps via the motors actually "slipping" or "skipping". Instead, it was a simple matter of the pulse width coming from the Arduino (and Marlin firmware). We had arrived at this earlier in this forum thread, but I can now confirm this with data. I finally got around to getting a scope/ logic analyzer on one of my drivers. I was able to monitor the pulse going into the driver (via the O-scope) and also the 4 outputs going to the stepper (via the logic analyzer). I could see each step being sent clearly, but I did not always see a corresponding change in the 4 bits that were showing me the state of the motor coils. Put simply, the pulses were just too quick for the drivers to catch.<br />
<br />
You wanna know what I did?  --I made them longer (and it could not be more KISS than this...)<br />
<br />
delayMicroseconds(2);<br />
<br />
That's it. I simply added a 2/1,000,000 second delay and all is right in the world. The walking is simply non-existent. I can see no noticable change what-so-ever in the function of the firmware with this tiny delay added. I have also repeated my original test (scope/logic probe) and, I can confirm the fix. Oh! It is SOOOO nice to have my LCD, encoder wheel and on-the-fly adjusting back. <br />
<br />
<br />
On a side note, I should mention that I also got around to finishing my heated bed. I milled my own PCB(s) and (because God loves me) I got pretty darn close to the resistance I wanted. I now have (2) 6x9 PCB's for a total heater size of 9x12 (230x300). The machine is actually capable of 14x14x16  (350,350,400) but for now, I think 9x12 should do me just fine. The final specs for the heater come out to 1.8 ohm @ 24v = 13.5 A and 320 watts. Not too shabby. <br />
<br />
Thanks again guys.]]></description>
            <dc:creator>Chris the Carpenter</dc:creator>
            <category>General</category>
            <pubDate>Sat, 19 May 2012 22:49:47 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,132371,132671#msg-132671</guid>
            <title>Re: X &quot;Walking&quot; .3mm with each layer?</title>
            <link>https://reprap.org/forum/read.php?1,132371,132671#msg-132671</link>
            <description><![CDATA[ Interesting indeed.<br />
<br />
I will put a O-scope on the output for both Marlin and Sprinter and I will tell you my friend, exactly how long those gosh-darn pulses are. Well, I mean I will get to it...  At this point, I simply have a working machine and I just want to use the darn thing! I have been doing a bunch of test prints and trying to get things dialed in, so far with fantastic success. To put it simply, I am currently distracted by a shiny thing --forget the problems of the past.  :)<br />
<br />
Here is your update, guys --Its a good one.<br />
<br />
<a href="http://www.youtube.com/watch?v=UYBbkfThmOM&amp;feature=youtu.be" target="_blank"  rel="nofollow">http://www.youtube.com/watch?v=UYBbkfThmOM&amp;feature=youtu.be</a><br />
<br />
Oh, and specs for the driver? Um, yeah --I think there is one, single, EE in Shenzhen who designed the board and thus knows the specs of these drivers. For the other 99.99999% of the world, we just shell out our 17 bucks to ebay and hope for the best. --Joking aside, I am sure I could unbolt the heat sink and find out what chip is in it but again...   ...distracted by a shiny thing.]]></description>
            <dc:creator>Chris the Carpenter</dc:creator>
            <category>General</category>
            <pubDate>Sun, 13 May 2012 22:29:48 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,132371,132651#msg-132651</guid>
            <title>Re: X &quot;Walking&quot; .3mm with each layer?</title>
            <link>https://reprap.org/forum/read.php?1,132371,132651#msg-132651</link>
            <description><![CDATA[ Interesting, the counter change in marlin is going to be of the order of 1-3 clocks, so you'd end up with pulses in the low 100s of ns range assuming  WRITE_E_STEP is just writing to a memory mapped location, which is really short compared to what something like Mach3/EMC would put out for a mill. <br />
I just looked and the drivers on my mill are specced with a minimum pulse width of 2.5us or 2500ns.  <br />
<br />
Since Sprinter appears to work I think your suggested change to Marlin would actually provide a longer pulse than sprinter so it's worth a shot.<br />
<br />
I wonder what the spec for Chris' drivers is?]]></description>
            <dc:creator>Polygonhell</dc:creator>
            <category>General</category>
            <pubDate>Sun, 13 May 2012 17:58:16 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,132371,132587#msg-132587</guid>
            <title>Re: X &quot;Walking&quot; .3mm with each layer?</title>
            <link>https://reprap.org/forum/read.php?1,132371,132587#msg-132587</link>
            <description><![CDATA[ Sprinter looks like this:<br />
<pre class="bbcode">
void do_step(int axis) {
  switch(axis){
  case 0:
    WRITE(X_STEP_PIN, HIGH);
    break;
  case 1:
    WRITE(Y_STEP_PIN, HIGH);
    break;
  case 2:
    WRITE(Z_STEP_PIN, HIGH);
    break;
  case 3:
    WRITE(E_STEP_PIN, HIGH);
    break;
  }
  steps_taken[axis]+=1;
  WRITE(X_STEP_PIN, LOW);
  WRITE(Y_STEP_PIN, LOW);
  WRITE(Z_STEP_PIN, LOW);
  WRITE(E_STEP_PIN, LOW);
}</pre>
<br />
So X gets a shorter pulse than the others.<br />
<br />
Marlin looks like this:<br />
<br />
<pre class="bbcode">

      if (counter_x &gt; 0) {
        WRITE(X_STEP_PIN, HIGH);
        counter_x -= current_block-&gt;step_event_count;
        WRITE(X_STEP_PIN, LOW);
        count_position[X_AXIS]+=count_direction[X_AXIS];   
      }

      counter_y += current_block-&gt;steps_y;
      if (counter_y &gt; 0) {
        WRITE(Y_STEP_PIN, HIGH);
        counter_y -= current_block-&gt;step_event_count;
        WRITE(Y_STEP_PIN, LOW);
        count_position[Y_AXIS]+=count_direction[Y_AXIS];
      }

      counter_z += current_block-&gt;steps_z;
      if (counter_z &gt; 0) {
        WRITE(Z_STEP_PIN, HIGH);
        counter_z -= current_block-&gt;step_event_count;
        WRITE(Z_STEP_PIN, LOW);
        count_position[Z_AXIS]+=count_direction[Z_AXIS];
      }

      #ifndef ADVANCE
        counter_e += current_block-&gt;steps_e;
        if (counter_e &gt; 0) {
          WRITE_E_STEP(HIGH);
          counter_e -= current_block-&gt;step_event_count;
          WRITE_E_STEP(LOW);
          count_position[E_AXIS]+=count_direction[E_AXIS];
        }
      #endif //!ADVANCE</pre>
<br />
So all pulses are the same and a bit shorter than Sprinter. Simply moving the low write to after the update of count_position might be enough to make it the same as Sprinter.]]></description>
            <dc:creator>nophead</dc:creator>
            <category>General</category>
            <pubDate>Sun, 13 May 2012 06:30:04 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,132371,132577#msg-132577</guid>
            <title>Re: X &quot;Walking&quot; .3mm with each layer?</title>
            <link>https://reprap.org/forum/read.php?1,132371,132577#msg-132577</link>
            <description><![CDATA[ Glad you've got it working.<br />
Interesting info about Sprinter/Marlin and I assume the other derivatives, I wouldn't have guessed that and I've never put a scope of the signal pins because I've never had an issue.]]></description>
            <dc:creator>Polygonhell</dc:creator>
            <category>General</category>
            <pubDate>Sun, 13 May 2012 05:05:04 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,132371,132556#msg-132556</guid>
            <title>Re: X &quot;Walking&quot; .3mm with each layer?</title>
            <link>https://reprap.org/forum/read.php?1,132371,132556#msg-132556</link>
            <description><![CDATA[ Do you think this would be as easy as just adding say, a 1 or 2 uS delay in the code after the high/low step? The Mach3 software I use for my mill has this "elongated pulse" option standard, I wonder if I can replicate this lengthened pulse by doing the above.<br />
<br />
Don't get me wrong, I am very happy to be printing again, and I am stoked to start work on the proper build table and to start getting things dialed in for good prints --that said, I sure do want my LCD back.]]></description>
            <dc:creator>Chris the Carpenter</dc:creator>
            <category>General</category>
            <pubDate>Sat, 12 May 2012 18:26:20 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,132371,132554#msg-132554</guid>
            <title>Re: X &quot;Walking&quot; .3mm with each layer?</title>
            <link>https://reprap.org/forum/read.php?1,132371,132554#msg-132554</link>
            <description><![CDATA[ It probably is the pulse timing then. Sprinter gives shorter pulses on the X axis that it does for Y, which is shorter than Z and so on.. Marlin may well be shorter still.]]></description>
            <dc:creator>nophead</dc:creator>
            <category>General</category>
            <pubDate>Sat, 12 May 2012 18:20:49 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,132371,132549#msg-132549</guid>
            <title>Re: X &quot;Walking&quot; .3mm with each layer?</title>
            <link>https://reprap.org/forum/read.php?1,132371,132549#msg-132549</link>
            <description><![CDATA[ Fixed. I guess...<br />
<br />
It was firmware. I am running Sprinter now and all seems right in the world. Of course, this means I have lost my fancy-schmancy LCD and encoder wheel, but I am getting prints going straight up now. <br />
<br />
Now I have to figure out if I want to go back to Marlin and see if I can find the problem (I am thinking more now about float rounding problems) or if I want to just suck it up and stick with Sprinter. Ugg.<br />
<br />
I cannot tell you guys how much I appreciate your help on this one.<br />
<br />
Chris]]></description>
            <dc:creator>Chris the Carpenter</dc:creator>
            <category>General</category>
            <pubDate>Sat, 12 May 2012 17:20:41 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,132371,132542#msg-132542</guid>
            <title>Re: X &quot;Walking&quot; .3mm with each layer?</title>
            <link>https://reprap.org/forum/read.php?1,132371,132542#msg-132542</link>
            <description><![CDATA[ Thanks guys,<br />
<br />
I had a moment of clarity last night when I noticed that we seem to be walking <u>exactly</u> the same distance as we are moving up on the Z. --Z is moving up .3mm (approx) each layer and what do you know, we are also walking about .3mm on each layer.<br />
<br />
Seems to me that I have some Z "bleeding" into my X. I mean, the math would be there for that theory.<br />
<br />
Ok, for today, I am going to do the "print twice as big" thing, going to try swapping pins on the Arduino and finally, I will probably re-wire the X axis.<br />
<br />
I think we might be running out of things "it could be".]]></description>
            <dc:creator>Chris the Carpenter</dc:creator>
            <category>General</category>
            <pubDate>Sat, 12 May 2012 16:11:14 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,132371,132531#msg-132531</guid>
            <title>Re: X &quot;Walking&quot; .3mm with each layer?</title>
            <link>https://reprap.org/forum/read.php?1,132371,132531#msg-132531</link>
            <description><![CDATA[ If you are using normal CNC drivers it is quite likely the step pulse width is too small or the setup and hold time of the direction signal is too short.<br />
<br />
I got a similar effect when I had my step signal the wrong polarity so it changed too close to setting the dir signal.<br />
<br />
Reprap firmware is designed to drive stepper motor chips directly. Often CNC drives have opto couplers which slow everything down.]]></description>
            <dc:creator>nophead</dc:creator>
            <category>General</category>
            <pubDate>Sat, 12 May 2012 15:23:51 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,132371,132505#msg-132505</guid>
            <title>Re: X &quot;Walking&quot; .3mm with each layer?</title>
            <link>https://reprap.org/forum/read.php?1,132371,132505#msg-132505</link>
            <description><![CDATA[ Other thoughts.<br />
You could try changing the I/O pins on the arduino that you're using to drive the bad axis.<br />
Personally I'd re run the wiring for that axis as well.]]></description>
            <dc:creator>Polygonhell</dc:creator>
            <category>General</category>
            <pubDate>Sat, 12 May 2012 12:28:52 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,132371,132441#msg-132441</guid>
            <title>Re: X &quot;Walking&quot; .3mm with each layer?</title>
            <link>https://reprap.org/forum/read.php?1,132371,132441#msg-132441</link>
            <description><![CDATA[ Try printing the part twice the size. If it displaces twice the amount on each layer, the error accumulates as it's printing the layer. Bigger layer = more errors. Then it's likely a noise issue. You could also try out the default sprinter firmware to weed out that issue.<br />
<br />
If the walking errors are the same and each of the layers come out fine, the issue appears as you move from one layer to the next. This implies noise from when the z motors activate. Are they always on, even when idle? How's the z acceleration? Either way, I'd double check every connection and soldering point on the offending stepper controller. You could try beefing up the grounding cables, but it's a shot in the dark.<br />
<br />
You can also try to switch the z stepper controller for the x. I don't know the drivers you're using, but a faulty driver is not uncommon.<br />
<br />
Good luck!]]></description>
            <dc:creator>Nudel</dc:creator>
            <category>General</category>
            <pubDate>Sat, 12 May 2012 04:45:35 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,132371,132429#msg-132429</guid>
            <title>Re: X &quot;Walking&quot; .3mm with each layer?</title>
            <link>https://reprap.org/forum/read.php?1,132371,132429#msg-132429</link>
            <description><![CDATA[ Yup, I was afraid of that...<br />
<br />
I remember fighting through different firmwares when I was printing with my CNC. Ugg <br />
<br />
At any rate, I appreciate everyone's help on thinking this one through, I think I just have some good ol' fashoned tinkering time ahead of me.<br />
<br />
Thanks, guys.]]></description>
            <dc:creator>Chris the Carpenter</dc:creator>
            <category>General</category>
            <pubDate>Fri, 11 May 2012 22:28:55 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,132371,132426#msg-132426</guid>
            <title>Re: X &quot;Walking&quot; .3mm with each layer?</title>
            <link>https://reprap.org/forum/read.php?1,132371,132426#msg-132426</link>
            <description><![CDATA[ Ok then I misunderstood the description and it's  likely not mechanical.<br />
I assume you've tried slicing/printing something else?<br />
Assuming you swapped the wiring bewtween the microcontroller and the drivers to swap the axis, it could still be a noise problem or an electrical problem before the drivers.<br />
Without a scope or replacement hardware that's hard to test.<br />
<br />
It's probably easier to try a different firmware and rule that out.]]></description>
            <dc:creator>Polygonhell</dc:creator>
            <category>General</category>
            <pubDate>Fri, 11 May 2012 22:10:40 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,132371,132424#msg-132424</guid>
            <title>Re: X &quot;Walking&quot; .3mm with each layer?</title>
            <link>https://reprap.org/forum/read.php?1,132371,132424#msg-132424</link>
            <description><![CDATA[ I would agree, it would be amazing if this were an issue with slicer, pronter or marlin. However, in terms of mechanical...<br />
<br />
The issue started on the X axis (gantry axis) and slowly stepped to the "-" side each layer. When I swapped out the driver, the issue was identical (thus, not the driver). When I tried to print on a different portion of table (thus, different part of the rods and belt) the issue was identical. Then, when I swapped the axis, and made the table into X and the gantry into Y, the issue was identical, but now slanting allong the axis of the sliding table. If this were a mechanical issue, then that mechanical issue exists on both the mechanics of the gantry and the mechanics of the table. I should mention that the issue is IDENTICAL whether using the table as my X or the gantry as my X --Thus, unless the mechanical problem exists (in exactly the same way) on both systems of glides. That would be a pretty big co-inky-dink.]]></description>
            <dc:creator>Chris the Carpenter</dc:creator>
            <category>General</category>
            <pubDate>Fri, 11 May 2012 21:58:28 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,132371,132422#msg-132422</guid>
            <title>Re: X &quot;Walking&quot; .3mm with each layer?</title>
            <link>https://reprap.org/forum/read.php?1,132371,132422#msg-132422</link>
            <description><![CDATA[ I think unless you're using something really esoteric I really doubt if the issue is in the firmware/slicer/host software.<br />
If you use something like repetier host you can preview the sliced file, and rule that out.<br />
<br />
If the error didn't change directions when you swapped drivers etc, I would say the one thing you haven't ruled out is it being mechanical, or am I misunderstanding your description?]]></description>
            <dc:creator>Polygonhell</dc:creator>
            <category>General</category>
            <pubDate>Fri, 11 May 2012 21:37:07 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,132371,132420#msg-132420</guid>
            <title>Re: X &quot;Walking&quot; .3mm with each layer?</title>
            <link>https://reprap.org/forum/read.php?1,132371,132420#msg-132420</link>
            <description><![CDATA[ And still some more...<br />
<br />
I just swapped my X and Y axis and I can cause exactly the same problem using the mechanics of the Y axis. It is identical whether I use the sliding table as my X or if I use the gantry as my X. So far, I have swapped/tested each driver, each stepper and mechanics of each axis. <br />
<br />
Looks like it is not mechanical. It also seems like the problem is not wiring either (a loose connection etc. would not be this consistant)<br />
<br />
I suppose it has to be in the firmware, host software and or slicer. <br />
<br />
Again, I am open to any thoughts]]></description>
            <dc:creator>Chris the Carpenter</dc:creator>
            <category>General</category>
            <pubDate>Fri, 11 May 2012 21:08:08 -0400</pubDate>
        </item>
    </channel>
</rss>
