many many hiccups (thousands)
-
@gloomyandy
I am already running 3.5.0-rc3My stepper setupp file:
;Set up default stepper parameters. This file is called from config.g for initial setup
; it is also called from other macros after the default settings were changed in order to return to default parameters.
; ie for probing speed, acceleration and jerk needs to be reduced. After the probing has finished, call this file to restore the default settings
; call this file as follows: M98 P"default_stepper_parameters.g"M201 X5000 Y5000 ; Accelerations (mm/s^2)
;M201 X10000 Y10000 ; Accelerations (mm/s^2)
M201 Z400 ; LDO ZZZ Acceleration
M201 U800 ; LDO U Accelerations (mm/s^2)
M201 E5000 ; Extruder maximum accelerationM203 X25000 Y25000 Z400 E8000 U9000 ; Maximum axis speeds (mm/min)
M566 X600 Y600 Z100 E600 U50 ; Maximum jerk speeds (mm/min)
;M566 X5 Y5 Z5 E3000 U50 ; Maximum jerk speeds (mm/min); Note: RepRapFirmware does not support individual motor settings where an axis has multiple motors connected to different stepper drivers. The first parameter specified will be used for all motors on
; the axis. You should use identical motors on any axis that has more than one motor to avoid unexpected behaviour. -
@jens55 The binaries in the thread I linked to are post rc3. They contain various fixes for step related problems.
-
@jens55 Also I don't think you are setting the extruder acceleration and jerk values (and possibly other settings) correctly. Although the comment that you have in the file:
; Note: RepRapFirmware does not support individual motor settings where an axis has multiple motors connected to different stepper drivers. The first parameter specified will be used for all motors on ; the axis. You should use identical motors on any axis that has more than one motor to avoid unexpected behaviour.
is correct for X,Y, Z etc. this is not the case when you have multiple extruders. For those you can/should specify a value for each of your extruders. You may want to run:
M203
M566
M201
in the console to check what values are currently set. -
@gloomyandy
OK, I updated to rc3+ (for 6HC and 1LC) and have started a test print . I will report back.m203
Max speeds (mm/min): X: 25000.0, Y: 25000.0, Z: 400.0, U: 9000.0, E: 8000.0:8000.0:8000.0:8000.0, min. speed 30.00m566
Maximum jerk rates (mm/min): X: 600.0, Y: 600.0, Z: 100.0, U: 50.0, E: 600.0:600.0:600.0:600.0, jerk policy: 0m201
Accelerations (mm/sec^2): X: 5000.0, Y: 5000.0, Z: 400.0, U: 800.0, E: 5000.0:5000.0:5000.0:5000.0 -
@gloomyandy
A one hour test print resulted in 16654 hiccupsm122 b22
Diagnostics for board 22:
Duet TOOL1LC rev 1.1 or later firmware version 3.5.0-rc.3+ (2024-02-21 15:51:16)
Bootloader ID: SAMC21 bootloader version 2.3 (2021-01-26b1)
All averaging filters OK
Never used RAM 2976, free system stack 71 words
Tasks: Move(3,nWait 7,0.7%,83) HEAT(2,nWait 6,0.4%,91) CanAsync(5,nWait 4,0.0%,55) CanRecv(3,nWait 1,0.3%,71) CanClock(5,nWait 1,0.0%,59) ACCEL(3,nWait 6,0.0%,53) TMC(2,delaying,3.7%,53) MAIN(1,running,89.9%,315) IDLE(0,ready,0.0%,27) AIN(2,delaying,5.1%,112), total 100.0%
Owned mutexes:
Last reset 01:10:29 ago, cause: software
Last software reset time unknown, reason: AssertionFailed, available RAM 3392, slot 1
Software reset code 0x0120 ICSR 0x00000000 SP 0x2000415c Task Freestk 129 bad marker
Stack: 00000544 00022ffc 00019b65 20003134 00016cff 20003134 000163d1 20000ed0 00000000 00000001 00008275 200071c8 200071c8 200071e0 00000000 20000f50 00011647 000223b8 00022474 00021ac8 00019b05 200071c8 200071c8 20000f50 000083ed 200071d8 000009c7
Driver 0: pos 0, 830.0 steps/mm, standstill, SG min 0, read errors 3, write errors 1, ifcnt 42, reads 5046, writes 15, timeouts 7, DMA errors 0, CC errors 0, failedOp 0x6a, steps req 0 done 13112142
Moves scheduled 116998, completed 116998, in progress 0, hiccups 16654, segs 40, step errors 0, maxLate 0 maxPrep 490, maxOverdue 414, maxInc 72, mcErrs 0, gcmErrs 0, ebfmin 0.00 max 1.00
Peak sync jitter -1/4, peak Rx sync delay 265, resyncs 0/0, no timer interrupt scheduled
VIN voltage: min 20.3, current 24.4, max 24.5
MCU temperature: min 35.4C, current 52.9C, max 53.6C
Last sensors broadcast 0x00000004 found 1 105 ticks ago, 0 ordering errs, loop time 0
CAN messages queued 86788, send timeouts 0, received 205816, lost 0, errs 1, boc 0, free buffers 18, min 17, error reg 20000
dup 0, oos 0/0/0/0, bm 0, wbm 0, rxMotionDelay 540, adv 35670/74677
Accelerometer: LIS3DH, status: 00
I2C bus errors 0, naks 3, contentions 0, other errors 0
=== Filament sensors ===
Interrupt 5726621 to 0us, poll 2 to 3188us
Driver 0: ok -
I noticed this line in the m122 b22 output:
VIN voltage: min 20.3, current 24.4, max 24.5
I can't think of any reason why the minimum voltage was 20.3V and I am wondering if this could be the cause for hiccups or possibly the little temperature bumps I see. In the print that showed the low voltage, there was also a situation that nozzle temperature dropped for a while and also increased above the set point for a while which might have been caused by an input voltage fluctuation. This temperature change, unlike the little temperature bumps, was gradual and consistent with normal cool down and heat-up behaviour
Anyway, I am wondering if there is any way to display or keep track of the Vin voltage during a print to see if there is any correlation between input voltage and things that are happening. I also wonder if the hiccup count could be displayed continuously during a print.
BTW, neither the 6HC nor any of the tool boards that did not print anything show this substantial voltage drop (but I don't know if a1LC not being actively used would track this information). I will double check all the connections in the power lines that lead to the tool boards.
-
@jens55 You might want to run M122 bxx (where xx is the board number you will be using during the print), before you start the print. That will clear the stats if you thn run the M122 again after the print you will see if the voltage has dropped over the print run. It may be that the voltage drop you are seeing was captured as the power supply came on line.
It looks like you have filament sensors attached to the toolboards, are these active at the moment? If so it might be worth trying a print with them disabled. The same goes for pressure advance and input shaping. Note this is just to try and identify what may be causing the hiccups, I'm not saying that these should not work.
-
@gloomyandy
The m122 b22 command was run before the test print and after.
Yes, I have filament sensors on the tool boards. I can't see how these would affect things since the status did not change during the print but I will pull the plug on the sensor, comment out input shaping in config.g and disable pressure advance. I will report back after my next print.
Thanks! -
@jens55 Monitoring the filament sensor will be adding to the load on the toolboard mcu, which may cause delays in processing the stepper commands. It's really just about trying to figure out possible causes at this point.
-
I ran the same model with three different tools. All filament sensors were disabled, no pressure advance was used and no input shaping was used.
M122 b23 - hiccups 6809, min Vin 23.1 max Vin 24.2
M122 b22 - hiccups 7561, min Vin 23.5 max Vin 24.5
M122 b21 - hiccups 776, min Vin 23.1, max Vin 24.1No idea why the one tool had only a fraction of the hiccups as the other two (but still too many)
Edit:
b21 uses an LGX extruder, 22 and b23 both use a BMG clone extruder. The LGX runs at a considerably slower step rate.
m92
Steps/mm: X: 100.000, Y: 100.000, Z: 3200.000, U: 30.578, E: 404.800:830.000:830.000:830.000 -
@jens55 Are those numbers for the hiccups for the same model that you used previously (when you had PA and the filament monitors enabled)? In the previous run above it was showing 16654 hiccups.
-
@gloomyandy
No, it was a much simpler model. I could try the other print to see if turning off the various features made a difference.
Oh, I also forgot to mention that when I ran the three tests, I did not feed filament (the printer did not know that there was no filament present)The model with 16654 hiccups actually printed stuff so if you want me to run that previous print, I will run filament as well.
Edit: Thinking about it, I can't run the exact same model as I need to re-slice it and it no longer exists (it was a bunch of shims which I have the files for but there were multiple shims which I would need to put together and the model would then be slightly different)
The 16654 hiccups job was for 20? little pieces, the 6809/7561/776 hiccups model was a single larger object with a substantially simpler tool path.
Both jobs ran for roughly an hour.
I guess I could turn on everything I turned off and run the simpler job to see if it shows a significant difference in the hiccups while everything was turned back on. -
@jens55 It might be interesting to see what the hiccup count is if you print the simplified model with PA and filament monitor enabled. If the hiccups go up that may provide a clue as to what is going on.
But really at this stage I think we need @dc42 to take a look at this and see if he has any thoughts/comments.
-
I will run the simpler job with everything turned on and post the results.
-
Enabling all the previously turned off features resulted in a print with 7170 hiccups.
-
-
-
@jens55 please provide the GCode file you were printing that provoked this large number of hiccups. I see that you have already provided your config.g file.
-
@dc42
The file is too large (1.3 MB) for the forum. I do not have access to any sort of file storage/exchange service. I zipped the file but the forum does not permit .zip files. I renamed the .zip file as a .bin file and managed to upload it. Hopefully nothing was messed up in the process.
flip stop mounting block.binPlease note that the issue is not limited to this particular file. An interesting side comment - I did a m122 b22 shortly after the start of one of the various test prints. The printer had just laid down a couple of loops of skirt and had just started the actual print and it already had something like 5 hiccups. I can't recall if I tried printing the same gcode with one of my Duet2WIFI based printers but those printers have never given me issues beyond a few hiccups at the most. I would be happy to run the same gcode on a Duet2 based printer if that would help.
-
@dc42, have you had a chance to look at the gcode file I provided?
Anything else I can try to figure out what causes the hiccups? -
A related question: Are hiccups strictly related to stepper motor movements?
The reason I am asking is that I am currently about 1.5 hours into a 2 hr print job, I have roughly 64000(!!!!) hiccups on the 1LC and zero hiccups on the 6HC. All x/y/z movement in this printer is controlled by the 6HC and only the extruder movement is done from the tool board.
At the same time, the diagnostic on the 6HC shows a steady supply voltage (Vin) whereas the 1LC reports Vmin of around 7(!!!) volts and Vmax of around 30(!!!) volts. While I suppose the 7 volt figure could in theory be produced by a bad connection, the 30 volt reading is pure nonsense seeing that the 6HC is running off the same power supply and shows a steady voltage. -
@jens55 can we have a photo of your 1LC including full view of the voltage wiring? Just curious whether this might be an issue with insufficient strain relief.