kliment / Printrun

Pronterface, Pronsole, and Printcore - Pure Python 3d printing host software
GNU General Public License v3.0
2.38k stars 996 forks source link

PID Tune Error SKR MINI E3 V2 #1233

Closed DarthCookies closed 2 years ago

DarthCookies commented 2 years ago

Hey Guys,

i tried everything i know, switching usb cabels and what not, but my PID Tune will constantly fail.

thats what my debug says: echo: PID_DEBUG 0: Input 44.08 Output 0.00 pTerm 0.00 iTerm 0.00 dTerm 0.00

and that is the error i get:

m303 s210 e0 c8 SENDING:M303 S210 E0 C8 PID Autotune start Exception in thread read thread: Traceback (most recent call last): File "printrun\printcore.py", line 333, in _readline File "printrun\printcore.py", line 329, in _readline_nb File "serial\serialwin32.py", line 275, in read serial.serialutil.SerialException: ClearCommError failed (PermissionError(13, 'Das Gerät erkennt den Befehl nicht.', None, 22))

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "threading.py", line 932, in _bootstrap_inner File "threading.py", line 870, in run File "printrun\printcore.py", line 420, in _listen File "printrun\printcore.py", line 354, in _readline IndexError: tuple index out of range Can't write to printer (disconnected ?): Traceback (most recent call last): File "printrun\printcore.py", line 744, in _send File "serial\serialwin32.py", line 317, in write serial.serialutil.SerialException: WriteFile failed (PermissionError(13, 'Das Gerät erkennt den Befehl nicht.', None, 22))

any tips on what i can look for? PID is enabled in configure.h

volconst commented 2 years ago

Duplicate of #1204 which seems still unresolved.

DivingDuck commented 2 years ago

What version of Printrun is running?

In the past we had this issue https://github.com/kliment/Printrun/issues/1204 with the same SKR board but this issue is still open.

Unfortunately I do not have this board so I can't really help you. On my board with smoothieware sending M303 E0 S245 works just fine.

Errors with serial connection can point as well to a bad USB connection / too fast baud rates / too long USB cable. Maybe worth to check too.

DivingDuck commented 2 years ago

Hi @volconst you was a little bit faster... :)

volconst commented 2 years ago

Hi, @DivingDuck I was tempted to tell you the same, but you win more points for details. If I knew you will answer, I would give you way. Cheers :)

DarthCookies commented 2 years ago

im using 2.0.0rc8 on win 10. for now i will try to pid via arduino or via gcode file or use the PID on my printer itself. i will answer if that worked for me

rockstorm101 commented 2 years ago

Closing. Duplicate of #1204.