/// <summary> /// 零点丢失 /// </summary> public static void CmdHomeCal() { DynaLinkHS.CmdClearAlm(); //判断MotFault //如果有错误是否要clearfault();,之前逻辑这边有通过MotFault去判断 if (DiagnosticStatus.MotStatus.Fault) { DynaLinkHS.CmdClearFault(); } DynaLinkHS.CmdServoOff(); DynaLinkHS.CmdHomeCal(); }
void ClearFaultClick() { DynaLinkHS.CmdClearFault(); }