@ -122,8 +122,8 @@ namespace Rs.Motion.GugaoEcat
//}
if(Config.EnableEncoder==0)
{
m_apiResult = ZTM.ZT_SetDCIAParam(Config.CardMc, (short)Config.AxisId, 256, Config.Current, 10, 0, 400, 10);
m_apiResult = ZTM.ZT_SetDCIAParam(Config.CardMc, (short)Config.AxisId, (short)(Config.PulseOneRound/200), Config.Current, 10, 0, 400, 10);
LogHelper.Debug($"axis {Config.AxisName} set current {Config.Current} ret={m_apiResult}");
LogHelper.Debug($"axis {Config.AxisName} set current {Config.Current} ret={m_apiResult},xifen={(short)(Config.PulseOneRound / 200)}");
if (m_apiResult != 0)
return ErrorCode.Fail;