When the mold temperature is lower than the set value, the heating system of the mold temperature controller starts and heats the heat medium to the required temperature. When the mold temperature is higher than the set value, the cooling system of the mold temperature controller starts and cools the heat medium to the required temperature.