Why does my external USB drive power off even when set not to?
Some brands ignore your preferences in favour of their own power down schedule. Most notably Seagate. 

The only thing you can do is change to another brand of drive that respects your preferences.