Git Product home page Git Product logo

Comments (11)

Traumflug avatar Traumflug commented on August 11, 2024

To shorten this down to
M116
M92 E0

M92 isn't supported (whatever that is), probably you mean G92 E0, right?

When using this sequence Teacup waits until temp is achieved (something like a minute), then processing continues. Could be improved, though, as waiting for temp should be asynchronous.

from teacup_firmware.

Traumflug avatar Traumflug commented on August 11, 2024

BTW., do you get this "Temp achieved" message after a minute? If not, Teacup simply doesn't detect the temperature is achieved and thus won't proceed.

from teacup_firmware.

martynabacus avatar martynabacus commented on August 11, 2024

Yeah Sorry G92 E0, D'oh
And no 'temp achieved' messages.

Would that cause a blocking situation for all subsequent commands

from teacup_firmware.

Traumflug avatar Traumflug commented on August 11, 2024

Yes, not achieving temperature blocks further proceeding. That's the point of M116, after all.

from teacup_firmware.

martynabacus avatar martynabacus commented on August 11, 2024

gcode_process.c that case M116 is different to M109 Literally

enqueue(NULL);
break;

M109 still work right? is that a blocking cmd?

from teacup_firmware.

Traumflug avatar Traumflug commented on August 11, 2024

Yes, M109 blocks. M109 is also gone in the Gen7 branch already, as it's a bit pointless. Can be replaced with M104 & M116.

from teacup_firmware.

martynabacus avatar martynabacus commented on August 11, 2024

Well the Good news is I can workaround this by getting to temp manually then start print after i comment out M116/M109 type commands. G92 does not stop print, only after M116/M109

from teacup_firmware.

Traumflug avatar Traumflug commented on August 11, 2024

The code checking wether temperature is achieved is in temp.c, line 294...300. For debugging you can insert this in line 301:

sersendf_P(PSTR("Sensor %d: last_read: %d  residency: %d\n"),
           i,  temp_sensors_runtime[i].last_read_temp,
           temp_sensors_runtime[i].temp_residency);

This will output all the read temperature values. "residency" should count up to 6000 as soon as the temperature is reached and then stay there. In case residency is set back to 0 occasionally, your temperature readout is flakey. If you can imagine how to detect this or how to deal with this, I'm all ears.

Raising TEMP_HYSTERESIS in config.h should help dealing with this, too. It raises the allowance for instable temperature readings.

from teacup_firmware.

Traumflug avatar Traumflug commented on August 11, 2024

I can workaround this

Well, I if the failure is indeed due to a flakey sensor I'd rely on you and your hardware to find a fix :-)

from teacup_firmware.

Traumflug avatar Traumflug commented on August 11, 2024

Proposed fix/reliability enhancement: ce7ab40

from teacup_firmware.

Traumflug avatar Traumflug commented on August 11, 2024

Looks like this is resolved. If not, please open a new issue with a description of the behaviour of the code in the current experimental branch. Thanks for reporting!

from teacup_firmware.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.