The 24vdc supply is usually for the PLC section (I/O).
You would need to check the power rating of the supply to see if you can use it.
Most DC fans now are BLDC with internal controller IC, in some cases you can use a $4. PWM controller for it.
You could also try a lower voltage to see if that works, 12v e.g.
Al.