You can run DMAT and select the K300. It will give you an HMI FP with all the faults in it and a controller. It can be confusing to use the controller if you aren’t familiar with it. (Drives and Motors Accelerator Toolkit it’s free from Rockwell)
Also I think there is a sample code that has the same thing and a technote.