-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UP!Mini stops after having printed some layers #26
Comments
Hi, in case you can please attach the UMC file for inspection. This kind of problem really should be investigated and solved. EDIT: Looks like something is really strange with your screen capture. It says Layer: 1 and height 2.47 which I doubt is correct. So please also share the .gcode file you used in case you can. |
Hi Maik, This ZIP file contains both the GCODE and the UMC file: bunny-3cm-fails-on-upmini.zip. I managed to print another smaller version of the same model without problems. So I guess there's something wrong in my GCODE or in the UMC file. An interesting fact is that my third attempt with the same file it stopped again as suspected but somehow the heating of the nozzle lost control. The nozzle became so extremely hot (I guess around 300 degrees) that a lot of black smoke came out of the printer... |
Hi, from your description it sounds like the UP internal CPU crashed which let it fail to control temperature. Most likely this was caused due to a bad machine command read from SD card. I will investigate the UMC file you provided but it also might been caused by a bad SD card read. You reported in another issue that you had SD card problems and changed it. Here some suggestions:
In case you reproduce the failure reliable at the exact same position in print then it would be very helpful if you can take out the SD card after a failed print and read the complete content, ZIP it and provide it. Maik |
I will upload the UMC file to another SD card to make sure it's not the card. Then after the crash I will provide you with a zipped image of the SD-card. |
Hi, I have the same problem with my mini. Different models, different slicers, formatted SD card, result is the same - nozzle stops after printing few layers. |
The same problem here. Stops right during the first layer print, reproducable with different models. Here is the sample UMC. |
Same issue here for an Up Plus! |
Hi, I will have a look on it. Thanks for the files. |
I can also offer a pretty stripped down gcode (and umc) file - got it down to 300 odd lines, with the second to last (functional) line triggering the error. |
Bisection testing shows me that I can print with release 0.5.0, but I can't print with release 0.6.0. Gotta get the compilation set up to pinpoint the exact commit... |
Might be that there's a rounding error that generates an acceleration of 0 or something like that. |
Possibly. I can now confirm, patching the current master with acceleration = 2000, 2000 leads to a working umc. Please find attached the invader_minimal gcode from above in both ok (acceleration=2000) and broken (1500). (actually, it also depends on the speeds applied. Even with 2000, I have a 'faster' gcode file of my space invader where the same issue seems to occur) |
sa_x, sa_y and sa_a (line 175, hoststepper.c) are sometimes 0 with both 2000 and 1500 acceleration for the invader_minimal gcode. |
I instrumented the umc writer and it's helper.
Does this suggests anything to any of you devs? |
Disregard my earlier analysis with regard to 'it didn't happen with versions <=0.5' - I have a (substantial) gcode here that shows the same stop in earlier layers :( |
Any ideas what I could try next? The issue appears to be rotation invariant. Neither 45 nor 15 degree rotation in Slic3r seem to make a difference. |
I just tried using the G-code transcoder for the first time. I sliced a model in slic3r, transcoded it and loaded it. The entire machine froze after a dozen or so layers. I tried again, and it froze at the same exact moment. Is there a way to fix this problem? Maybe even just a temporary hack to prevent it from happening? I'll even settle for a way to know whether or not a job is going to crash the machine. I really don't want to have the uncertainty of big prints failing because of a machine crash. |
@link0007 you can always try a test print without any filament to see if it finishes :(. |
using 500R pot hooked to hotend sensor connector instead of pt100 (disconnect hotend completely) dialed around 200R and you don't even need to waste energy heating the hotend for the test print :D |
@link0007 @TyberiusPrime have you tried with the new version? This version changes the calculation of the movement parameters and might influence the crash you observe. |
@kscheff It still crashes on pretty much every file I throw at it. I am generating the gcode with slic3r. Do you think a different slicer would solve the issue? |
Which Printer, what Version? STL source, Gcode File and generated UMC file with all steps involved might be helpful to understand what is going on. |
Not sure if this thread is still active, but I am having the same issue as well. The print stops after a certain number of layers at the same spot. I can replicate this whether the g-code has been generated by Slic3r or Simply3D. changed few parameters such as speed, acceleration, extrusion speed...no avail. |
I believe I have the same problem as other users have reported in this bug report. That a particular gcode file will consistently stop at the same point. Background:
My initial experimentation found that both the feed rates and accelerations would change the position at which the print would stop. As other users, have reported. After two weeks of futile experimentation including using usbpcap with original UP software, modify up3dtranscode to generating very similar UMC (2 > p1 > 500 and 12500 > p2 > 25000 in steps of 50) with only the same machine parameters being set in the same order as the UP software does. Which all seemed to amount to nothing :( In a move caused by complete frustration, I added periodic umcwriter_pause instructions every 50 gcode lines, and this seem to solve my problem. I then reverted my modifcations except for the periodic umcwriter_pauses and I managed to do three test prints with different feeds and accelerations. For further validation, I tried printing myobject from this thread. Which stops around layer 5, during the high speed internal fill printing. It stopped without and with pauses. Additionally, I tried preventing up3dtranscode from creating segments with p1 less than 2, and p2 periods less than 12500 to no avail. However, with both the pauses and highly modified up3dtranscode (only the hoststepper mods, p1/p2 emulating the up software) it prints without issues. I would release my sources, but I currently have a bug. Which requires disabling of the global error correction code. In the mean time if you are having this problem, try printing slower with maximum feeds of 25mm/s and adding “G4 P1” to your slicer software to be performed on layer change, or during retracts. I will capture some test prints from the UP software at higher speeds to see if and how it’s UMC changes. Then do some more experimentation to determine what our printers have a problem with. |
@lovelytwo are you able to offer any suggestions or a code snippet on how you implemented he umcwriter_pause instructions? Many Thanks Rob. |
3 years later ... :-) I share with you my background. All tests)
Test 1 using slic3r, up mini fw3.3, wonderfull up3dtools to transcode and upload)
Test 2 using official UP.exe, mini fw3.0, wonderfull up3dtools to upload and fixup3d)
int main(int argc, char *argv[]) {
} Regard PS: specials greats to MaikStohn (up3dtools and fixup3d) |
Thank you for your last comment. Can you say me everything about your working softwares (f.ex. software, version and config of your slicer or version of your up3d)? Please, I need this :) |
Sorry to revive a dead thread but I'm having the exact issue stated. I do t fully understood the solution to the problem? I've tried tweaking the overall speed multiplier and junction argument but I can't get it to continue printing. Right now it freezes before the first layer is done so the advice above about adding a G4 P1 command on layer change can't help cause it never gets to a layer change. I see a code snippet above but I don't fully understand how to use it and don't know what it does. Could someone help me out I'll be happy to give files in a bit. And for reference i have multiple Up Plus printers and every single one of them failed at the exact same spot. |
Hello, To help you i join a patched winusb.dll (special thanks to great master MaikStohn for original). This patch change 2 things from original :
I join too another patch to change temperature (named temp.exe) Shame on me because i'm not a dev man and my code is not smart Regards |
Will this help with the printer stoping randomly? I don't know if your referencing me or not |
If i compare two methods : Slicer with original UP.exe and patched winusb.dll
Other slicer who make a gcode file
I notice a difference between this two ways. ./up3dtranscode use UP3DPCMD_MoveF (0x03) primitive and original UP.exe slicer use UP3DPCMD_MoveL (0x04). Maybe a begining of explanation Regards |
Alright so there's another program that will get me the .umc file you said it's Up.exe? Where could I find that and how exactly does it function. Does it convert gcode to umc or does it take in an .stl or other 3D object format and give the .umc . Thanks for the quick replies! |
Thank you for answers. In the meantime, I've found a solution with Prusaslicer and UpStudio2.x with Python script. The only problem was with bed temperature after 1 hour. I cannot test it through 2 weeks, but if you need this still in next year, then I can show this. If so, remind me in January. |
I don't know what is your tool. An umc file is a file you can use with ./up3dload tool (from great master MaikStohn) To make an umc file, i know two ways.
Regards |
Happy to know you have a solution. Nice if you can publish this script in 2021 (when you have time because it is not in a hurry for me) Happy new year |
Are you talking about UpStudio? https://www.tiertime.com/up-studio/ Because that's what I was using previously to print. In that program it just prints immediately to the printer with no "save as umc" option. Is that what your windoesusb.dll thing does? |
I know Upstudio. I dont use because (maybe it's fixed for now) it hang sometime. (and patched winusb.dll is used to make umc file) |
He is using Up.exe software. You can download it from: |
I'm currently investigating a problem where my UP!Mini stops after having printed some layers. In my second attempt it stopped at the same place with the same UMC file. I'm trying with another UMC file now.
This was the state in UP!3D Shell when it stopped.
The text was updated successfully, but these errors were encountered: