Sample KAS Fault Handling code and project has been created for KAS applications that utilize the AKD2G drive. Differences in parameter names and functionality between the AKD and AKD2G led to the new code being created.
The following shows parts of the project starter template (project .kas link below) in which the Program FaultMonitorAKD2G and Subprogram MCFB_AKD2G_Fault are included. The .kas project is for a Dual Axis AKD2G drive. This code can be modified for a single axis AKD2G drive by removing the parts that correspond to the second axis.