High level of StepErrors. What can cause them ?
-
This is the config.g file that I currently use for my WorkBee. Y is dual axis and W is the slave Y. The problem is very rarely visible but it makes a "bump" sound during the movements. I changed to an air cooled HF spindle lately, much quieter than the previous Kress one, and now the "bumps" are more obvious.
This is the GCode file that exhibits at some point the problem. If left running, it just happens. Initially I have though that the extra force require for pushing the cutter through the material was the problem, but the debug was done with the spindle off, just moving through air. From what I have observed in the past, it correlates with changes from straight line to arcs, but only in some very specific situations. Originally M566 was set at 900 for X, Y and Z, but reducing to 300 didn't improve things too much (apart from slowing down some files!).
0_1528894066967_Enclosure - Inputs.Part1 - Kyocera EGR1250-060 - 24kRPM.g
-
Hi, the attached file exhibits the problem very close to the beginning. I have not done any debug capture on it, but the "bumps" are clearly there!
[0_1529257674474_Enclosure lid.Part1 - Sorotec 90deg V-mill - 20kRPM.nc](Uploading 100%)
-
Thanks that will be helpful.
-
I had some more files that made it happen and did some more studies on the generated machining paths. There is no problem if the start/stop of the arc is tangential to the straight move before/after it (both the arc first/last segment and previous/following line are collinear). But when it isn't, the algorithm has problems! And the problem can't be avoided by reducing maximum jerk. Sometimes even reducing the feedrate doesn't help at all.
-
@catalin_ro, this is on my list to investigate when I return from vacation. Please keep your sample file available because I haven't downloaded it yet.
-
@catalin_ro said in High level of StepErrors. What can cause them ?:
Hi, the attached file exhibits the problem very close to the beginning. I have not done any debug capture on it, but the "bumps" are clearly there!
[0_1529257674474_Enclosure lid.Part1 - Sorotec 90deg V-mill - 20kRPM.nc](Uploading 100%)
Looks like that file upload failed or the link isn't right. Can you upload it again please?
-
-
Thanks.
I am trying reproduce the step errors using the original file. Can you tell me what the W axis is used for, and when it is activated? The M584 command in config,.g hides it normally.
-
PS - I have just run the file that you just uploaded, with no step errors reported. However, the original errors you were getting were related to movement of the W axis (that's what "DMW" means), and I can't see anything in the GCode file that would cause W to move. Is there something else I need to do before starting the print, other than using G92 to pretend that the machine is homed?
-
@jarery said in High level of StepErrors. What can cause them ?:
That does look bad. My guess it that they are triggered by the combination of using pressure advance and a RDD extruder drive.
The other thing you can try is repeating the print with no pressure advance.The same print with pressure advance off, no other changes.
=== Move ===
MaxReps: 12, StepErrors: 0, FreeDm: 240, MinFreeDm 120, MaxWait: 4200683977ms, Underruns: 0, 0So it went from StepErrors: 15494, to StepErrors: 0 by turning pressure advance off.
Hi @Jarery ,
Please can you provide your config.g problem and a GCode file that provokes these step errors.
-
@dc42 I will re-run it and see what is going on this time. The W axis is the slave Y axis and, indeed, there is no GCode sending commands specifically for it except for the ones in the homing scripts. And those scripts show it strictly during Y axis homing. The complete homing scripts are at https://forum.duet3d.com/topic/4669/ooznest-workbee-screw-driven.
-
@catalin_ro said in High level of StepErrors. What can cause them ?:
@dc42 I will re-run it and see what is going on this time. The W axis is the slave Y axis and, indeed, there is no GCode sending commands specifically for it except for the ones in the homing scripts. And those scripts show it strictly during Y axis homing. The complete homing scripts are at https://forum.duet3d.com/topic/4669/ooznest-workbee-screw-driven.
Thanks. Are the debug messages produced shortly after Y homing, or at intervals during the print?
-
@dc42 Only at intervals during the print. And only with some GCode files.
-
@catalin_ro, thanks. I found the problem. The hidden W axis was being moved sometimes, because the stale data for it in the move queue records from earlier moves when it was not hidden was not being cleared out when the same move queue records were re-used with the axis hidden. Had you connected a stepper motor to the output of driver 9, you would have seen it moving! This was definitely worth investigating.
I have fixed this in 2.02beta2. Please try it (carefully!) when I release it - later today I hope.
-
@dc42 That is great news! This single problem prevented me from using the fastest possible feedrate and I also had to reduce the jerk in order to avoid it in most cases.
When the new firmware is released, I will do some air cutting and see how it goes!