double unit = 6,000; // 360000 / 60 ec.ecmSxCfg_SetUnitDist(netID, axisID, unit, ref errorCode); ec.ecmSxCfg_SetUnitSpeed(netID, axisID, unit, ref errorCode);