Switch the cabinet fan with a DIN rail thermostat, and leave the controller's internal reading on the alarm list. The thermostat reads cabinet air, closes its contact at the setpoint, and keeps working when the controller is off or hung. Set it roughly 5 °C above the hottest ambient your cabinet sees; 40 °C on the dial covers a 35 °C shop. The internal sensor sits on the processor, so its number is processor temperature: it climbs with program and communications load and can move about 10 °C between an idle controller and a busy one. That makes it a useful health alarm and a poor input for a fan switch.
What does the controller's internal sensor actually measure?
The processor's own temperature: cabinet air plus a workload-dependent rise, so the same cabinet can show readings roughly 10 °C apart when communications load changes, and neither number is the cabinet air a fan switch needs.
The die warms itself while it computes, so the value you read is local air temperature plus a rise set by the processor's own dissipation. Serving a web page, polling field devices, averaging arrays every scan — each changes that rise. The cabinet air barely moves while the reading jumps. A cabinet full of drives can sit over its limit while the processor reads comfortable, and a frost-covered outdoor cabinet can hold a processor reading that never drops. Both directions break a fan wired to that value: it starts the fan for nothing, or it holds the fan off while the drives cook. Treat it as a diagnostic of one component's health, not a measurement of the volume the fan cools.
How do the two fan-control options compare?
The DIN rail thermostat wins the switching job: it reads cabinet air directly, acts through its own contact without a program, and keeps protecting the cabinet when the controller is powered down, hung, or mid-download.
| DIN rail cabinet thermostat | Controller's internal reading | |
|---|---|---|
| Quantity measured | Air at the thermostat's position | Processor package temperature |
| Reaction to workload | None, it reads air | Moves about 10 °C with communications load |
| Needs the controller running? | No, the contact sits in the fan circuit | Yes, plus logic and an output relay |
| Behaviour on controller fault or power-down | Fan control keeps working | Fan control dies with it |
| Mounting | 35 mm DIN rail, upper backplate | Nothing to mount |
| Typical hardware | Dial across 0-60 °C or 20-80 °C, about 5 K differential | A reading only, no contact |
| Best role | Switching the fan | Trend and alarm on processor overheating |
The row that decides most cabinets is the fault row. A fan answering to cabinet air still runs when the controller crashes, and a cabinet that just lost its controller still holds drives worth cooling.
When does the internal reading still earn its place?
As a health diagnostic it earns its keep: trend it week over week, alarm on a steady climb, and you catch a clogged filter mat or a dying fan before the cabinet cooks — zero extra hardware, a few lines of logic.
Every controller family documents the reading somewhere in its manual, usually under statistics or diagnostics, and your program can pick it up as an ordinary value. Give the tag a name that says processor temperature, put it on the trend display, and set the alarm at the limit the controller's own datasheet prints. A slow climb at constant workload points at the airflow path first: a loaded filter, a fan losing speed, a blocked vent. Keep that alarm's logic away from the fan output; the thermostat owns the switching, and the two jobs stay clean.
How do you set the thermostat setpoint for your ambient?
Set the cooling contact roughly 5 °C above the hottest ambient the cabinet sees, and hold the result at or below the 40 °C ambient rating most drives and controllers carry unless their datasheet allows more.
Worked example, with inputs to replace: a shop cabinet whose wall sees 35 °C on the hottest afternoons and electronics rated 40 °C ambient. The thermostat's manufacturer data lists a 5 K switching differential (9 °F). The arithmetic: 35 °C + 5 °C = 40 °C setpoint; the contact closes there and reopens 5 K lower, back at ambient. On that afternoon the cabinet cannot settle below the air feeding it, so the fan runs for hours without cycling, which is correct behaviour near ambient — whether cabinet cooling fans run continuously or on a thermostat explains the mechanics.
Next, check the fan keeps up, again with replaceable inputs: 60 W of electronics and a filter fan moving 100 m³/h. Air carries about 0.33 Wh per m³ per kelvin, so the rise is 60 ÷ (0.33 × 100) ≈ 1.8 K. The box rides near 37 °C at the design ambient, 3 K under the electronics' rating. Miss that margin and step up a fan size or move to a cooling unit; cabinet overheats in a hot shop: fan, filter fan or cooling unit compares the hardware, and the enclosure heat calculator runs the arithmetic for your box.
The margin moves with the plant. A shop that never passes 25 °C lands at a 30 °C dial and the fan barely runs. A sun-loaded rooftop at 45 °C shows the collision: 5 °C above ambient already passes the rating, so that cabinet wants refrigeration, not a higher dial. Once the dial is set, thermostat control for an enclosure fan above setpoint covers the wiring and the switching behaviour in detail.
Where should the thermostat sit in the cabinet?
Mount it in the upper third of the cabinet, on the 35 mm DIN rail or a panel flange, out of the fan's inlet stream and clear of heatsinks by about 100 mm [4 in], so it reads cabinet air, not one hot component.
Hot air collects under the top sheet, so the upper third tracks the worst condition the fan has to fix. Parked in the inlet stream, the device sits in cool supply air and holds the fan off while the top of the box cooks; strapped to a drive body, it reads conducted heat and runs the fan around the clock. The same placement logic applies to any air sensor you wire to the controller instead of a thermostat. Picking and mounting a heatsink thermostat covers the hardware and fixings, and the backplate and DIN rail layout guide shows where the thermostat strip belongs relative to duct and terminals. The device itself is an IP20 plastic body meant to live inside the cabinet; the enclosure's rating carries the weather outside it.
What wiring and contact rating does the fan circuit need?
Use the normally open cooling contact in series with the fan's live conductor: compact DIN rail thermostats carry a 15 A resistive contact at 120 V AC on their datasheets, and a 20-40 W panel fan draws well under 1 A, so the contact switches it directly.
Most devices carry a second, normally closed contact beside the first, which is how one strip holds a cabinet between frost protection and ventilation. The heater contact opens as the box warms; the fan contact closes on the same rise. For a bank of fans, land the thermostat contact on a small contactor coil instead of stacking motor currents through the strip; for a bolt-on cooling unit, close the unit's remote input with it. Fuse the fan circuit at the panel to the fan's rating and run its wiring in the duct with the rest of the AC. Before you land any of this, switch off the feeder, lock it out, and check for absence of voltage at the terminals.
Which option should you order?
Order the DIN rail thermostat and keep the controller's reading on the alarm list; then pick the cooling hardware by environment, because the sealed washdown box and the rooftop cabinet change the answer more than the controller ever will.
| Cabinet environment | What switches the airflow | Dial settings |
|---|---|---|
| Indoor shop, hottest ambient 35 °C | Thermostat's cooling contact and a filter fan | Fan at the worked setpoint |
| Sealed washdown 316L box | Wall conduction or a matched cooling unit; the box stays sealed | Spare contact as a 50 °C alarm |
| Rooftop or sun side, ambient to 45 °C | Cooling unit with its own control, thermostat as the high-temperature alarm | Alarm contact at 50 °C |
| Outdoor with freezing nights | Same device, both contacts | Heater point near 5 °C |
A filter fan needs an opening, and an opening ends the rating the manufacturer gave the box. Our 304 and 316L wall-mount enclosures are rated NEMA 4X / IP66 by the manufacturer; not UL listed. Keep them sealed and the walls do the work: stainless passes about 3.7 W per m² per kelvin of rise, the figure behind our heat guides. A cabinet with 0.8 m² of surface therefore carries roughly 30 W at a 10 K rise before any active cooling enters. Past that, a cooling unit matched to the rating takes over, and stainless wall-mount enclosures leads to the sizes and the 3D builder.
The thermostat order line is short: a compact DIN rail enclosure thermostat with a normally open cooling contact and a dial across 0-60 °C or 20-80 °C. Pick the two-contact version when the cabinet also gets a heater; the mechanical differential on these devices runs about 5 K. Add the heater and hygrostat pair for outdoor or washdown rooms — heating an outdoor control cabinet for a 1 to 50 C controller pairs them with the setpoints that keep condensation off the electronics. Size the box with the enclosure selector, which shortlists by environment and usable inside dimensions. Every enclosure is delivered in 10 business days, anywhere in the world, counted from the order; custom work counts from your approval of the drawing. Orders run through the checkout of Industrial Monitor Direct, who builds, ships and supports every box.
Catalog dimensions to compare
Compare these catalog dimensions with your component layout. Open each enclosure for its rating, material and usable space, then check those specifications against your application.
| Enclosure | Material | Outside H x W x D / display | Rating |
|---|---|---|---|
| 16 × 12 × 8 in | 304 stainless | 16 x 12 x 8 in | Rated NEMA 4X / IP66 by the manufacturer; not UL listed |
| 24 × 20 × 8 in | 304 stainless | 24 x 20 x 8 in | Rated NEMA 4X / IP66 by the manufacturer; not UL listed |
| 30 × 24 × 10 in | 304 stainless | 30 x 24 x 10 in | Rated NEMA 4X / IP66 by the manufacturer; not UL listed |
| 60 × 36 × 16 in | 304 stainless | 60 x 36 x 16 in | Rated NEMA 4X / IP66 by the manufacturer; not UL listed |
Questions
Does the fan still run if the controller faults or is powered down?
Yes. The thermostat's contact sits in the fan circuit, so a controller fault, a program download or a power cycle leaves the cabinet protection untouched. That is the strongest argument for the DIN rail device: a 35 mm rail thermostat needs no program, no logic and no controller at all. The internal-reading route puts the fan under the controller's health, which is the wrong way round for a cooling function.
What happens on a hot afternoon when the fan never stops?
Correct behaviour, not a fault. While the fan runs, the cabinet cannot settle below the air feeding it, so on a 35 °C afternoon the thermostat stays closed at its setpoint until the evening cools the wall. Size the airflow so that afternoon ride still sits under the electronics' ambient rating; the body's worked numbers show the check.
Can one thermostat run the heater as well as the fan?
Yes, on the devices that carry two contacts. The heating contact is normally closed and opens as the cabinet warms; the cooling contact is normally open and closes on the rise. Set the heater point near 5 °C and the fan point from the worked example, and one strip patrols the cabinet from frost protection to ventilation without touching the controller.
Is the thermostat contact big enough for a cooling unit?
For the unit's control input, yes: a cooling unit's remote input is a logic signal, and the thermostat contact closes it happily. For the unit's supply current, put a small contactor in the path; its coil draws far less than the 15 A resistive the typical contact carries at 120 V AC, the same margin that lets it switch a 20-40 W fan directly. Fuse the coil from the circuit its voltage matches.





