PID Cooling

How to control the Cooling Block temperature with a pwm driven pump via PID (or bang-bang)?

Water cooling can be that strong that you want to reduce the cooling power for the hotend.
I have a Thermistor in the cold part of the hotend and like to PID-control the temperature of the cold end, which is water cooled.

How can I tell the temperature_control module not to heat but to cool?
Or is there another solution?

Imported from wikidot

Hi,
What do you mean cooling block? Are you referring to the heat sink on a 3D printer or some other application? You need to better describe what you’re doing if you want help, from what you’ve written, it’s confusing.