Hello, new use here in the forums. I'm the author of the Filaswitch tool and pondering about how to fix this temperature problem. I've previously had a Marlin based board and with it, tool change after M104-command doesn't force the temperature to change to something that was set for that tool. So Marlin seems to behave differently in this regard.
In Filaswitch the temperature change is initiated before the actual tool change, just to make sure that nozzle is closer to correct temperature before new filament is fed to the nozzle. So for example we have active tool T0 (210C) and we are going to be switching to T1 (220C). The sequence would be:
T0
.
.
.
M104 S220 T0
(filament long retract g-code...)
T1
(filament long feed g-code...)
If I understand correctly, in Duet the tool change will result in the temperature being changed to whatever T1 is set to be.
So perhaps the fix would be:
T0
.
.
.
M104 S220 T0
M104 S220 T1
(filament long retract g-code...)
T1
(filament long feed g-code...)
.
.
.
M104 S210 T0
M104 S210 T1
(filament long retract g-code...)
T0
(filament long feed g-code...)
Support for G10 is a possibility, but will need more time as I need to understand all the changes the new command entails.