Report as inappropriate

You can not limit the voltage to the fan in firmware. Limiting the voltage would require a voltage divider, voltage regulator, or some other type solution. Which can be created with two resistors of the appropriate voltage rating.

Far easier to purchase the appropriate 24V fan.