The firmware doesn't wait for the temperature to drop



  • @elmoret:

    Maybe as a short term workaround, wait until it gets to 40C and then pause for X seconds?

    Thanks, that's what I'm doing now, but that pause doesn't get me back to the same temperature each time. As you said, it's a good short-term workaround.


  • administrators

    @PayTor:

    I found the issue!

    M109 RXX works for any number greater than or equal to 40. Any number below 40 doesn't work. In my application, I need to wait for the heater to get to the room temperature. Is there any way I can do that?

    That's right, 40C is considered low enough that it might be close to room temperature in a hot climate and cooling below that might be impossible. But you said you were commanding 50C. The Duet doesn't know what your room temperature is.



  • I was commanding a lot of numbers and was confused what was going on. I wrote 50 here as an example because I thought there was something wrong with my setup and the number doesn't actually matter. Anyway, thanks for the replies. I think I need to figure out a workaround for what I want to do.



  • I'm encountering a similar problem with tool change

    tfree0.g
    G10
    G91
    G1 F5000 Z2
    G90
    M106 S255
    M116

    tfree1.g
    G10
    G91
    G1 F5000 Z2
    G90
    M106 S255
    M116

    tpost0.g
    M116

    tpost1.g
    M116

    it doesn't wait fro temp stabilisation, it just goes straight through, i.e. the print doesn't wait on the tool change to sort its temp before restarting


  • administrators

    What active and standby temperatures have you set in your G10 commands?



  • Active for both is 190 Standby for both is 170



  • Hi, any ideas on this as I want to use for my dual extrusion work?


  • administrators

    My dual extrusion machine is down to single extrusion at present, but I'll try to get the second extruder working again and test it over the weekend.



  • Brilliant, thanks



  • Hi DC, any update as want to try and move to tool macros but need this to work.


  • administrators

    I'm sorry, I re-installed my send extruder but I didn't get any further than that.

    Please can you confirm exactly what problem you are getting on a tool change.



  • Hi, yes it may be my interpretation of M116, but I thought that "wait for temperatures to stabilise would mean that on a dual extruder system where you set both extruders to have an active temp of 190 and a standby temp of 170 the firmware would pause during the extruder change for the standby tool to reach 170 and the active to reach 190.

    So in my macros (above) issue M116 on tfre would wait for the currently active but soon to be inactive tool to reach 170, then another M116 in the tpre or tpost would wait for the active tool to reach 190 before restarting the print. This is not happening, so although the tools swap, the original tool is still cooling and the new tool starts to print at 170 and the temperature rises to 190.


  • administrators

    Yes, M116 with no parameters should work like that. I'll check it out. However, tfree#.g is called just before the tool is deselected, so the M116 command in your tfree#.g files won't do anything because the old tool is still active at that point.

    I normally recommend just M116 P0 in the tpost0.g file and M116 P1 in the tpost1.g file. That way, it waits for the new tool to heat to active temperature, but doesn't wait for the old one to cool down - which takes longer and isn't necessary on most printers. But M116 with no parameters in tpost#.g should work if you want to wait for cool down as well.



  • So just to verify, if I add
    M116 P1
    M116 P0

    to tpost0

    and

    M116 P0
    M116 P1

    to tpost1

    it should wait for the previous extruder to cool to standby and then wait for the new to heat to active before proceeding?


  • administrators

    Yes, that ought to work.



  • Hi DC, tested it from the Machine Control, and sorry to say it doesn't appear to be working, i.e. the 2nd extruder starts to heat at the same time as the first extruder is cooling rather than waiting for the first extruder to cool down first, it does appear like there may be a bug in the code here.


  • administrators

    I have just tested M116 on my dual nozzle machine, and it works as expected. However, I did find a peculiarity. If I send a G10 command to change the active and/or standby temperatures of a tool other than the one that is selected, the new temperatures get stored somewhere, but they are not actioned or displayed in DWC. They only get used and shown in DWC when you select that tool. Would this explain the problem you are having?



  • Hi DC, just retested, cleaned everything out of tool macros apart from

    M116 P1
    M116 P0
    in tpost0
    and
    M116 P0
    M116 P1
    in tpost1

    set active temp to 190 and passive temp to 140 for both.

    wait till tool 0 at 190 and tool 1 at 140

    in console issue a T1 command followed by a G1 X100 Y100, the system doesn't wait it just makes T1 active and moves the bed straight away, rather than my expectation which is that it would wait for T0 to reach 140, T1 to reach 190, then move the bed.

    Also re the oddity with G10, that is also reflected in the web control, i.e. you can select a temp for T1, but it doesn't get applied until you click Tool1 making it active. This also means that the turn all off function doesn't work as expected, so if you set active and standby temps for both tools as above and click Control All, Turn Everything Off, The Bed is turned off, the active tool is turned of but the inactive tool is left at standby.



  • Hi DC, any update on this?


  • administrators

    Hi pcsentinal,

    This seems really strange to me. I tested M116 with no parameters and it worked perfectly for me. OTOH the oddity about G10 is reproduced and on my list to look at. Unfortunately it will be a few days before I can look at this again - you can blame the rampant success of the Duet WiFi/Duet Ethernet leading to more support requests and OEM special requirements, and the peculiar tax year end date of 5 April in the UK. So feel free to remind me around the middle of next week. Sorry for the delay! - David


Locked
 

Looks like your connection to Duet3D was lost, please wait while we try to reconnect.