The drive manual will tell you what the Fault output requires or can handle, often they will say something like "Can sink or source 20Ma @ 24vdc".

If you have 24Vdc then that's what I'd use as it's more stable than 5V and protect the drive/controller with a resistor. 1K resistor should do it.