T0 tool selection and "wait for temperatures to stabilize"



  • Running 2.0, I'm configuring a new profile for S3D. I've modified the S3D "firmware configuration" to use G10 and M116 rather than M104 and M109 for setting tool temperatures, so it doesn't stomp over my "standby" temperatures. (Side note: could M104 and M109 be made to control only the active temperature and not the standby temperature?)

    According to the docs, T0 should wait for temperatures to stabilize since I do not have tfree/tpre/tpost scripts configured, but this code sequence does not wait, and instead charges on printing cold:

    T-1
    G10 P0 S210
    M116 P0
    T0
    

    I'm able to work around this by adding a tpost0.g containing an M116 P0.

    Is this user error, doc error, or a bug?


  • administrators

    G10 tells the firmware what temperatures to use for tool 0 if/when it is activated. So if it isn't active when you use it, there is nothing for a subsequent M116 command to wait for. You need to put the M116 command after the T0 command.

    M104 and M109 used to set the active temperature only, but some users complained about that because it prevented slicers from preheating another tool shortly before a tool change.



  • @daveidmx said in T0 tool selection and "wait for temperatures to stabilize":

    I'm able to work around this by adding a tpost0.g containing an M116 P0.

    For me that was included by default.



  • True about the listed M116--I wasn't expecting that one to wait, I was just including it in the quoted command sequence for completeness. What I was expecting was for the T0 command to perform an implicit M116 based on this:

    T Select Tool

    The sequence followed is:

    1. Set the current tool to its standby temperatures specified by G10 (see above),
    2. Set the new tool to its operating temperatures specified by G10 and wait for all temperatures to stabilise,
    3. Apply any X, Y, Z offset for the new tool specified by G10,
    4. Use the new tool.

  • administrators

    @daveidmx said in T0 tool selection and "wait for temperatures to stabilize":

    True about the listed M116--I wasn't expecting that one to wait, I was just including it in the quoted command sequence for completeness. What I was expecting was for the T0 command to perform an implicit M116 based on this:

    T Select Tool

    The sequence followed is:

    1. Set the current tool to its standby temperatures specified by G10 (see above),
    2. Set the new tool to its operating temperatures specified by G10 and wait for all temperatures to stabilise,
    3. Apply any X, Y, Z offset for the new tool specified by G10,
    4. Use the new tool.

    If you have M116 in your tpost0.g file, then when you send T0 to select tool 0 it should wait for the temperature to be reached; except in these cases:

    1. If the printer hasn't been homed that the tool change files are not run.

    2. DWC provides an option to not tun tool change fies when you select a tool in DWC.



  • Yep, that's the behavior I see. I just didn't expect the tpost file to be required, based on the docs. Cheers!


 

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