Skip to content
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

Use _temp_error() for all errors thrown by different heater sanity check mechanisms #2115

Merged
merged 6 commits into from
May 20, 2015

Conversation

AnHardt
Copy link
Member

@AnHardt AnHardt commented May 18, 2015

Now ending in an endless loop.
Tidy up the output format.
We now get:
ERRORTEXT ", system stopped! Heater_ID: " HEATERID

Where ERRORTEXT can be:
"Heating failed"
"Thermal Runaway"
"MAXTEMP triggered"
"MINTEMP triggered"
and soon
"Thermal Jump"

HEATERID can be
0, 1, 2 ,3 , "bed"

This messages are always followed by the common:
"Printer stopped due to errors. Fix the error and use M999 to restart. (Temperature is reset. Set it after restarting)"

Now ending in an endless loop.
Tidy up the output format.
We now get:
ERRORTEXT ", system stopped! Heater_ID: " HEATERID

Where ERRORTEXT can be:
"Heating failed"
"Thermal Runaway"
"MAXTEMP triggered"
"MINTEMP triggered"
and soon
"Thermal Jump"

HEATERID can be
0, 1, 2 ,3 , "bed"

This messages are always followed by the common:
"Printer stopped due to errors. Fix the error and use M999 to restart. (Temperature is reset. Set it after restarting)"
@AnHardt AnHardt added Needs: Testing Testing is needed for this change Needs: More Data We need more data in order to proceed PR: Bug Fix labels May 18, 2015
@AnHardt
Copy link
Member Author

AnHardt commented May 18, 2015

Addresses mainly the tests ending with 'Heating failed' in #2066.
Ideally you cant come out of this without a reset.
I hope not to break the serial protocol.
With the second line the host is informed about the stop, on the common way.

@thinkyhead
Copy link
Member

We should drop M999 with this perhaps. The only other condition that has a full Stop() is when a servo probe fails to deploy or stow.

@scotty1024
Copy link

How about M999 says yo home boy you don't need me anymore and drop the command after a decent interval?

On May 18, 2015, at 8:29 PM, Scott Lahteine [email protected] wrote:

We should drop th M999 with this. The only other condition that has a full Stop() is when a servo probe fails to deploy or stow.


Reply to this email directly or view it on GitHub.

@clefranc
Copy link
Contributor

Beginning testing now...

@clefranc
Copy link
Contributor

@AnHardt See #2066 for bed results.

There is something definitely wrong with this PR as the thermal jump is not there anymore for the bed.

I don't know if it's revelent to do hotend tests???

@AnHardt
Copy link
Member Author

AnHardt commented May 20, 2015

@clefranc
Ah, i see what happened.
This PR ( _temp_error()) #2115 only alters the behavior when an error was detected. Since you did not get any errors during last tests, you have not tested it at all.
To see the difference of _temp_error() without #2077, just repeat Test 8 (or an other one with "Heating failed") of you test row.

#2077 (Jumps) is the part where the errors are detected. You need #2115 and #2077 at the same time.
If you try to merge them together you'll get a minor merge conflict. Just add the message for 'Jump' in the new style of #2115.

AnHardt added a commit that referenced this pull request May 20, 2015
Use _temp_error() for all errors thrown by different heater sanity check mechanisms
@AnHardt AnHardt merged commit d6c1285 into MarlinFirmware:Development May 20, 2015
@clefranc
Copy link
Contributor

@AnHardt See #2066 Test 8.

@thinkyhead
Copy link
Member

yo home boy you don't need me anymore

Good general principle for anything that might go away.

@AnHardt
Copy link
Member Author

AnHardt commented May 21, 2015

@clefranc
Thank you for the test.
Conclusion: If we detect an error - we are safe now.

@thinkyhead
Copy link
Member

@scotty1024 Another option for M999 – Actually reset the board.

void (*ResetAVR)(void) = 0; // Reset function is Address 0
ResetAVR();

@AnHardt AnHardt deleted the _temp_error branch May 22, 2015 07:33
alephobjects-sync-bot pushed a commit to alephobjects/Marlin that referenced this pull request Apr 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs: More Data We need more data in order to proceed Needs: Testing Testing is needed for this change PR: Bug Fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants