Stock temperature measurement in plastifying equipment