If you want a bit in your process data for resetting the drive, then I recommend adding the signal control word S145 to your process data and configuring it in Drive Engineering to include S99 C500 Reset Command.
If you're also using the PLC App you could consider using the MC_Reset function block. Or more specific to your application, add the library CXA_Drive_Util, and have a look at the PowerSupply POUs and the examples folder there.
... View more