What gcode are you using the configure and control them?
What firmware version?
Do they function at all as fans now? Perhaps it would be best to switch them as io devices instead using M42

Have you seen this?
https://docs.duet3d.com/en/User_manual/Connecting_hardware/IO_GPIO