-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
improve RRF #1962
improve RRF #1962
Conversation
@bigtreetech @Msq001 I wrote my testing results to the related issues. Thank you for this PR :) |
@bigtreetech All working now, thaks for the fix. The fan was off, until phase 5 when it supposed to be turned on. |
As I raised all three of the linked issues, should I be testing these fixes, too? |
@Wombat37 Yeah, sure, more feedback is welcomed! You need to compile your own from Msq'repo, let us know hows it working! |
OK - perhaps not, I can't work out which files to compile in the msq repo :( |
Just download msq's repo, open it in Vs code and compile it for your TFT in the platformio.ini. you don't have to change anything or look for anything specific. |
My apologies - I'm still learning my way around all this stuff and I'm totally unfamiliar with it - but learning well. I have now compiled the Msq001 repo and have been able to load and run it on my BTT-E3-RRF/TFT35-E3 system so I can test the new changes. In the first instance, I tested the PID tuning functions on the TFT under RRF and, while I can say that they now mostly work, there are still some fairly serious issues with the implementation. I can post a fairly detailed report (with screen shots etc.). Should I post that here, in my original issue posting or somewhere else? It will be several pages long. |
Post it regardless the place, just let us know if there any issues present :) |
Msq001 BigTreeTech Touch Screen Firmware Build Downloaded 06/10/2021 Functional Testing of Heater PID Autotune Functions I've included a lot of details in the following posting and I hope these make sense. I will go on to test the other functions tomorrow. For ease of reading I summarize my main take-outs from these initial tests on the newly developed PID tuning page on the TFT:
And now the gory details... Platform The development firmware was downloaded and compiled from https://github.com/Msq001/BIGTREETECH-TouchScreenFirmware/tree/RRF The BIN file, the config_rrf.ini and font and icon files were installed on the TFT from an SD card. On power-up, the PID tuning screen was accessed on the TFT and a Nozzle PID tune at 220°C was initiated from the TFT. While the tuning was in progress, I monitored the status on the RRF DWC screen which is copied below: This was a good start! However, there are a few points I'd like to highlight:
I understand that the config-override.g is only called if there is a M501 command entered into the RRF config.g file (normally at the end). This doesn't happen by default and I think the message in FIGURE 5 is trying to tell me that. I assume that this message comes from the RRF system which obviously has the intelligence to know that the PID tuning just conducted (by the TFT) is not going to work unless the M501 code is put into the config.g file. When I add the M501 code to the RRF config.g file, the message in FIGURE 5 no longer appears when I rerun the PID tuning.
Following the first semi-successful test of the Nozzle PID tuning, I next attempted to tune the bed heater. This was a total disaster! The following screens summarize what happened: This second tuning was monitored on the DWC as shown in FIGURE 13. There were some serious concerns with this PID tuning of the bed heater:
The system was powered down and then powered up and this time the bed heater was correctly tuned with the same issues listed for the nozzle tuning under points 1, 2 and 3. Now PID tuning of the nozzle was immediately attempted following the semi-successful bed tuning. This time it did tune the right heater (the nozzle) but timed out again with an abort message as shown in FIGURE 12. Recycling the power enabled the nozzle to be retuned correctly. |
@Wombat37 Hello, For 2. The requirement of adding Thank you very much for your time. The test results and steps are very detailed and helpful |
Thank you for your response (and kind words) I'm very pleased that you feel you can address a lot of what I'm suggesting. I had one idea which may provide a quick fix to most of the above issues - why not do a system reset after PID tuning is completed (perhaps with a suitable "PID Tuning Complete, Now Rebooting" message)? This would achieve the following:
Just a thought :) In the meantime, I've started to check the Fan Speed status on the front page - looks great! I want to finish testing with an active print today. |
```Call config.g and hence config-override.g to apply the new M307 settings
(I don't know if your code already issues a M307 command at the end of
tuning)```
This shouldn't be needed as its handled by RRF and whatever is the outcome
of the tuning process is automatically applied
…On Fri, 11 Jun 2021 at 15:47, Wombat37 ***@***.***> wrote:
Thank you for your response (and kind words) I'm very pleased that you
feel you can address a lot of what I'm suggesting.
I had one idea which may provide a quick fix to most of the above issues -
why not do a system reset after PID tuning is completed (perhaps with a
suitable "PID Tuning Complete, Now Rebooting" message)?
This would achieve the following:
- Clear the workspace so that the weird behavior seen with a follow-on
tune wouldn't occur
- Call config.g and hence config-override.g to apply the new M307
settings (I don't know if your code already issues a M307 command at the
end of tuning)
- Eliminate the still tuning screen after tuning has finished
Just a thought :)
In the meantime, I've started to check the Fan Speed status on the front
page - looks great! I want to finish testing with an active print today.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1962 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AATUSBQM2DY3L2ZPTBSXQQLTSIOXXANCNFSM454DCPHA>
.
|
OK - thanks for the clarification. I've now finished testing the fixes for the other two issues I raised: Part fan speed display on main screen This now appears to work perfectly and will track changes to the fan speed made in the print method, from the DWC and from explicit M106 commands from a terminal. I had understood from initial feedback on this site that this would not be possible to fix, so thank you so much for your work on this. This feature is important to me as I like to see the fan speed to check on the method being correct and to assess bridging performance etc. Load/Unload Extruder Movement This too looks like it's now working perfectly and is a real joy to use! My BMG extruder is a real pig to get filament loaded manually. It needs about 450mm of filament to be pushed through to reach the nozzle from the extruder. With the current firmware Extruder Load/Unload functions, it was almost impossible to load filament into my printer - with this fix, it now it takes just a few seconds. I would also like to make the observation that with fixes like these, the use of RFF on BTT products is becoming much more robust and user friendly and I'm becoming a lot more comfortable that I've bought a finished and usable product rather than a complex experimental test bed :) Also, if any problems are revealed, it looks like there is an opportunity for them to be reviewed and possibly fixed. Thank you again for your efforts, they are really appreciated! Should I close the two original issues I posted (I think the PID tuning is still open)? |
I will merge this PR first and close the two original issues , and then submit a new PR to fix PID related problems |
Requirements
Description
Benefits
Related Issues
fix #1856 M303 Auto tune PID for RRF
fix #1867 Auto query status to get fan speed
fix #1909 Set relative/absolute mode after startup.