Wait for chamber temp without heater?



  • Hello everybody.
    I want to have control of the chamber temp but not sure yet that I want a chamber heater.
    Is there a way to get the printer to wait for a chamber temp without using a chamber heater, just the heated bed?
    I just get a fault trying M191 because it wants a heater as well.

    Any ideas?

    Thank you!
    /Christian


  • Moderator

    You could perhaps script it out in your startup gcode to use the bed heater as a chamber heater and wait for the temp to be reached then reconfigure it as a bed heater before starting the print.

    Otherwise, something like what you want might be possible in RRF3, where you can define a sensor independant of a heater.



  • @Phaedrux
    I use RRF3 and was just trying to use as a independent probe. But I haven't found how to use it in the way I want.
    Maybe it's easier to do like you said, and make the bed the heater at startup and then switch it over. I'm only going to use it for ABS and such, so scripting it to a specific temp in each profile is not a bad idea.



  • Would a virutal heater fit the bill?

    M305 P103 X3 S"Chamber" or something? I'm out on thin ice

    (missed the RRF3 part - dc42 to the rescue as usal)



  • @bearer
    Interresting. Sound like the way to go when you read the description. I will try that.


  • administrators

    Virtual heaters are for RRF2 only. In RRF3 they are not needed (and not supported) because sensors are configured independently of heaters.

    To wait for a sensor to reach a temperature, use something like this:

    while sensors.analog[2].lastReading < 50
      G4 S1
    

    You can put that in a macro and then call that macro using M98.



  • @dc42
    Yes I was using this:
    M308 S2 P"e1temp" Y"thermistor" T100000 B4725 C7.06e-8 A"Chamber"
    But couldnt figure out how to use it. Wasn't aware of the ability to use logic code.
    Thanks!


  • administrators

    @Kryckan said in Wait for chamber temp without heater?:

    Wasn't aware of the ability to use logic code.

    This is only available in the 3.01-RC releases, so if you are on RRF 3.0 then you will need to update to 3.01-RC4.

    See https://duet3d.dozuki.com/Wiki/GCode_Meta_Commands.



  • @dc42 @bearer @Phaedrux

    Works like a charm!

    For anyone that want to use this, put this in your macro:

    *while sensors.analog[2].lastReading < 50
      G4 S1
    M99*
    

    And your startup script:

    *M98 P"0:/macros/Chamber temp/chamber_temp_50.g"*
    

    And of course name it to what you want and set the correct sensor number and temperature. And be sure to use RRF 3.01-RC4 or later.

    Thank you for your help.
    /Christian


Log in to reply