Observing the temperature of the workpiece