@Surgikill said in Command T0 sets bed to active temp and tool 0 to off:
@fcwilt Where would I be putting the M98 command, in the tpost.g file?
Have you determined how the T0 command is current affecting the heating state of the tool and/or bed?
In any case in the tpre#.g files the tool is not yet selected. In the tpost#.g files it is.
So you can put the M568 Pttt Ahhh in the tpost#.g file specifying the tool number with ttt and the heater state with hhh (0 = off, 1 = standby temps, 2 = active temps)
You can use M118 to monitor what happens during tool changes if you might find that helpful.
For example, you can put the following in each specified file where # is the tool number.
M118 S{"tpre#.g state.currentTool = " ^ state.currentTool}
M118 S{"tpost#.g state.currentTool = " ^ state.currentTool}
M118 S{"tfree#.g state.currentTool = " ^ state.currentTool}
Then as tool changes take place you can see how the value of the currentTool state changes.
Frederick