gvdberg1966 / tronxy-x5sa

tronxy x5sa working marlin software. Software with bed tramming baby steps and z offset wizard
0 stars 2 forks source link

PID Autotune failed! Bad heater id #2

Open slepiec opened 5 months ago

slepiec commented 5 months ago

While performing PID Bed Tuning, I received a message Send: M303 E-1 S55 C8 Recv: PID Autotune failed! Bad heater id Please help

gvdberg1966 commented 5 months ago

While performing PID Bed Tuning, I received a message Send: M303 E-1 S55 C8 Recv: PID Autotune failed! Bad heater id Please help

is it also on an octopus v1.1?

gvdberg1966 commented 5 months ago

I think it is because the auto PID tune is enabled in the firmware.

gvdberg1966 commented 5 months ago

While performing PID Bed Tuning, I received a message Send: M303 E-1 S55 C8 Recv: PID Autotune failed! Bad heater id Please help

is it also on an octopus v1.1?

I think it is because the auto PID tune is enabled in the firmware.

slepiec commented 5 months ago

I have an X5SA Pro with the CXY-V6-191121 board. I tried to compile my own marlin but got an error message and since I'm not good at programming I was stuck. Below is the error message

`Building in release mode RuntimeError: deque mutated during iteration:

File "C:\Users\Marek.platformio\penv\Lib\site-packages\platformio\builder\main.py", line 180: env.SConscript(env.GetExtraScripts("post"), exports="env")

File "D:.platformio\packages\tool-scons\scons-local-4.6.0\SCons\Script\SConscript.py", line 609: return _SConscript(self.fs, *files, **subst_kw)

File "D:.platformio\packages\tool-scons\scons-local-4.6.0\SCons\Script\SConscript.py", line 279: exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)

File "D:!Marlin\F4xx-SIM480x320-firmware\buildroot\share\PlatformIO\scripts\tronxy_scrypt.py", line 9: marlin.relocate_vtab(board.get('build.offset'))

File "D:!Marlin\F4xx-SIM480x320-firmware\buildroot\share\PlatformIO\scripts\marlin.py", line 30: replace_define("VECT_TAB_OFFSET", address)

File "D:!Marlin\F4xx-SIM480x320-firmware\buildroot\share\PlatformIO\scripts\marlin.py", line 19: for define in env['CPPDEFINES']:`

I tried reading various solutions to this problem, but it always ended with Marlin compiling, but after downloading to the printer, the screen remained dead.

I will add that in this PlatformIO environment I compiled marlin for Sapphire Pro without any problems

Additionally, the filament change function also works poorly, because after replacement, the head returns to the X-Y position, but Z remains at about 8-10 mm and after a few seconds and extruding the filament over the model, it returns to the correct Z height, but then the filament extruded above the model causes problems.

But this is a separate problem and I should probably start a separate topic

gvdberg1966 commented 5 months ago

Here is a link on how to properly install the firmware yourself first. Did you also choose the TFT if Marlin or Tronxi Ui for the TFT?

https://github.com/tronxy3d/F4xx-SIM480x320

Op di 13 feb. 2024 10:31 schreef Marek Derkacz @.***>:

I have an X5SA Pro with the CXY-V6-191121 board. I tried to compile my own marlin but got an error message and since I'm not good at programming I was stuck. Below is the error message

`Building in release mode RuntimeError: deque mutated during iteration:

File "C:\Users\Marek.platformio\penv\Lib\site-packages\platformio\builder\main.py", line 180: env.SConscript(env.GetExtraScripts("post"), exports="env")

File "D:.platformio\packages\tool-scons\scons-local-4.6.0\SCons\Script\SConscript.py", line 609: return _SConscript(self.fs, *files, **subst_kw)

File "D:.platformio\packages\tool-scons\scons-local-4.6.0\SCons\Script\SConscript.py", line 279: exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)

File "D:!Marlin\F4xx-SIM480x320-firmware\buildroot\share\PlatformIO\scripts\tronxy_scrypt.py", line 9: marlin.relocate_vtab(board.get('build.offset'))

File "D:!Marlin\F4xx-SIM480x320-firmware\buildroot\share\PlatformIO\scripts\marlin.py", line 30: replace_define("VECT_TAB_OFFSET", address)

File "D:!Marlin\F4xx-SIM480x320-firmware\buildroot\share\PlatformIO\scripts\marlin.py", line 19: for define in env['CPPDEFINES']:`

I tried reading various solutions to this problem, but it always ended with Marlin compiling, but after downloading to the printer, the screen remained dead.

I will add that in this PlatformIO environment I compiled marlin for Sapphire Pro without any problems

Additionally, the filament change function also works poorly, because after replacement, the head returns to the X-Y position, but Z remains at about 8-10 mm and after a few seconds and extruding the filament over the model, it returns to the correct Z height, but then the filament extruded above the model causes problems.

But this is a separate problem and I should probably start a separate topic

— Reply to this email directly, view it on GitHub https://github.com/gvdberg1966/tronxy-x5sa/issues/2#issuecomment-1940906862, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATFUKDQ5YV6EIOXOYM43F5DYTMXHNAVCNFSM6AAAAABDFGOSJKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBQHEYDMOBWGI . You are receiving this because you commented.Message ID: @.***>

slepiec commented 5 months ago

I know this repository, but Tronxy itself admits that this Marlin (at least on my board works unstable). I compiled Marlin and it even started working, but it restarted at random times.

That's why I was looking for other sources and came across here - the software from this update 330.zip package works correctly, but I wanted to do PID Tuning of the bed and now we're writing about it :)

I "fixed" your sources using the method found here

https://community.platformio.org/t/marlin-runtimeerror-deque-mutated-during-iteration/34661/3

but now I receive further error messages,

In file included from Marlin\src\feature\tramming.cpp:27: Marlin\src\feature\tramming.h:31:40: error: 'TRAMMING_POINT_XY' was not declared in this scope 31 | constexpr xy_pos_t tramming_points[] = TRAMMING_POINT_XY; (...)

and as I have already written, I am not proficient in this

Anyway, thanks for Marlin working on 446 :)

gvdberg1966 commented 5 months ago

strangely in my version i have been able to activate bed tramming. deactivate it and see if you get a working version first, then we will solve that problem

Op di 13 feb. 2024 16:14 schreef Marek Derkacz @.***>:

I know this repository, but Tronxy itself admits that this Marlin (at least on my board works unstable). I compiled Marlin and it even started working, but it restarted at random times.

That's why I was looking for other sources and came across here - the software from this update 330.zip package works correctly, but I wanted to do PID Tuning of the bed and now we're writing about it :)

I "fixed" your sources using the method found here

https://community.platformio.org/t/marlin-runtimeerror-deque-mutated-during-iteration/34661/3

but now I receive further error messages,

In file included from Marlin\src\feature\tramming.cpp:27: Marlin\src\feature\tramming.h:31:40: error: 'TRAMMING_POINT_XY' was not declared in this scope 31 | constexpr xy_pos_t tramming_points[] = TRAMMING_POINT_XY; (...)

and as I have already written, I am not proficient in this

Anyway, thanks for Marlin working on 446 :)

— Reply to this email directly, view it on GitHub https://github.com/gvdberg1966/tronxy-x5sa/issues/2#issuecomment-1941753426, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATFUKDXWEWMMOEQGN4EYZQTYTN7MHAVCNFSM6AAAAABDFGOSJKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBRG42TGNBSGY . You are receiving this because you commented.Message ID: @.***>

slepiec commented 5 months ago

Ok, after turning off trimm I managed to compile Marlin from your repository

`Advanced Memory Usage is available via "PlatformIO Home > Project Inspect" RAM: [===== ] 46.8% (used 61400 bytes from 131072 bytes) Flash: [====== ] 57.1% (used 299148 bytes from 524288 bytes) Building .pio\build\tronxy_stm32f446\firmware.bin ========================================================================================= [SUCCESS] Took 45.09 seconds =========================================================================================

Environment Status Duration


tronxy_stm32f446 SUCCESS 00:00:45.088`

and surprisingly there is an option to perform pid tuning of the bed.

I'll check to see if replacing the filament will work properly

slepiec commented 5 months ago

Unfortunately, changing the filament still doesn't work Here's an example https://slepiec.myds.me/download/filament_change_Marlin466.jpeg

gvdberg1966 commented 5 months ago

take an e-steps measurement and, if necessary, calibrate

Op do 15 feb. 2024 21:10 schreef Marek Derkacz @.***>:

Unfortunately, changing the filament still doesn't work Here's an example https://slepiec.myds.me/download/filament_change_Marlin466.jpeg

— Reply to this email directly, view it on GitHub https://github.com/gvdberg1966/tronxy-x5sa/issues/2#issuecomment-1947222701, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATFUKDU3WQRQM5LQWQSTRBDYTZTSNAVCNFSM6AAAAABDFGOSJKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBXGIZDENZQGE . You are receiving this because you commented.Message ID: @.***>

gvdberg1966 commented 5 months ago

on my github the 2.1.2 version marlin is for an octopus board. make 4 extruders into 1 and adjust the run out sensors. then try to write it down for your board. my printer is a x5sa 330 x 330 x 400

Op di 13 feb. 2024 19:19 schreef gijsbert van den berg < @.***>:

strangely in my version i have been able to activate bed tramming. deactivate it and see if you get a working version first, then we will solve that problem

Op di 13 feb. 2024 16:14 schreef Marek Derkacz @.***>:

I know this repository, but Tronxy itself admits that this Marlin (at least on my board works unstable). I compiled Marlin and it even started working, but it restarted at random times.

That's why I was looking for other sources and came across here - the software from this update 330.zip package works correctly, but I wanted to do PID Tuning of the bed and now we're writing about it :)

I "fixed" your sources using the method found here

https://community.platformio.org/t/marlin-runtimeerror-deque-mutated-during-iteration/34661/3

but now I receive further error messages,

In file included from Marlin\src\feature\tramming.cpp:27: Marlin\src\feature\tramming.h:31:40: error: 'TRAMMING_POINT_XY' was not declared in this scope 31 | constexpr xy_pos_t tramming_points[] = TRAMMING_POINT_XY; (...)

and as I have already written, I am not proficient in this

Anyway, thanks for Marlin working on 446 :)

— Reply to this email directly, view it on GitHub https://github.com/gvdberg1966/tronxy-x5sa/issues/2#issuecomment-1941753426, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATFUKDXWEWMMOEQGN4EYZQTYTN7MHAVCNFSM6AAAAABDFGOSJKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBRG42TGNBSGY . You are receiving this because you commented.Message ID: @.***>

slepiec commented 5 months ago

take an e-steps measurement and, if necessary, calibrate Op do 15 feb. 2024 21:10 schreef Marek Derkacz @.***>:

It's not a problem with steps calibration. I will write again: After performing the filament change procedure from the printer menu, the head moves forward, the filament is retracted, then back, I clean the nozzle, click continue and after a while the head returns to the proper XY coordinates, but stops a few millimeters above the model and starts extrude the filament and only after covering some distance the head lowers to the correct height, but it keeps feeding the filament, which means that part of the layer is missing, but unnecessary filament appears on the model, which the nozzle later catches on.

I noticed that the higher the filament is changed, the greater the distance. When I changed the filament on the second layer, everything looked OK, I was even going to write that it worked, but I changed the filament again in the middle of the calibration cube and I got the effect as in the photo attached earlier.

Here is a photo of the same model from the other side. You can see that she finished the rest of the layer and the next ones.

https://slepiec.myds.me/download/filament_change_Marlin466_2.jpeg

Maybe check how the printer behaves in such a situation. My printer is Tronxy X5SA Pro 330

gvdberg1966 commented 5 months ago

hoi, ik snapte hem wel maar weet de oplosing niet in deze versie mariln die van tronxy zelf afkomt. er zit een bug in hun firmware. daarom probeer met de marlin 2.1.2 waar ik zeker van weet dat dit wel werkt voor jou board de printer mee te bouwen. wat is de afmeting van je pro . ala het een 330 x330 x400 is dan staat de config voor een 4e al in mijn github. maar dat is voor een octopus board. pas dat aan en zet het juiste display er in zoals het ook in je gebruikte versie staat . pas de runout sensoren aan en de extruders op1 en flash het

Op vr 16 feb. 2024 07:55 schreef Marek Derkacz @.***>:

take an e-steps measurement and, if necessary, calibrate Op do 15 feb. 2024 21:10 schreef Marek Derkacz @.***>:

It's not a problem with steps calibration. I will write again: After performing the filament change procedure from the printer menu, the head moves forward, the filament is retracted, then back, I clean the nozzle, click continue and after a while the head returns to the proper XY coordinates, but stops a few millimeters above the model and starts extrude the filament and only after covering some distance the head lowers to the correct height, but it keeps feeding the filament, which means that part of the layer is missing, but unnecessary filament appears on the model, which the nozzle later catches on.

I noticed that the higher the filament is changed, the greater the distance. When I changed the filament on the second layer, everything looked OK, I was even going to write that it worked, but I changed the filament again in the middle of the calibration cube and I got the effect as in the photo attached earlier.

Here is a photo of the same model from the other side. You can see that she finished the rest of the layer and the next ones.

https://slepiec.myds.me/download/filament_change_Marlin466_2.jpeg

Maybe check how the printer behaves in such a situation. My printer is Tronxy X5SA Pro 330

— Reply to this email directly, view it on GitHub https://github.com/gvdberg1966/tronxy-x5sa/issues/2#issuecomment-1947850013, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATFUKDXUGSVHBDRIEAEPMF3YT37F3AVCNFSM6AAAAABDFGOSJKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBXHA2TAMBRGM . You are receiving this because you commented.Message ID: @.***>