|
|
@@ -146,12 +146,12 @@ namespace SKMC.Api.Motion.Control
|
|
|
/// 通过点位码驱动对应的Axis运动, speedRadio表示每秒旋转圈数
|
|
|
/// </summary>
|
|
|
/// <param name="pointCode">点位码</param>
|
|
|
- /// <param name="speedRadio">每秒旋转圈数</param>
|
|
|
+ /// <param name="speedRound">电机每秒旋转圈数</param>
|
|
|
/// <param name="waiting">是否等待到位, 默认为true</param>
|
|
|
/// <param name="inRange">整定范围, 单位毫米或者步距</param>
|
|
|
/// <param name="onSuccess">运动完成后的回调动作</param>
|
|
|
/// <param name="onTimeout">超时未完成的回调动作</param>
|
|
|
- void MoveRound(string pointCode, double speedRadio, bool waiting = true, double inRange = -1,
|
|
|
+ void MoveRound(string pointCode, double speedRound, bool waiting = true, double inRange = -1,
|
|
|
Action onSuccess = null, Action onTimeout = null);
|
|
|
|
|
|
/// <summary>
|
|
|
@@ -178,6 +178,18 @@ namespace SKMC.Api.Motion.Control
|
|
|
void MovePoint(RecipePoint recipePoint, RecipeSpeed recipeSpeed = null, bool waiting = true, double inRange = -1,
|
|
|
Action onSuccess = null, Action onTimeout = null);
|
|
|
|
|
|
+ /// <summary>
|
|
|
+ /// 让绑定点位码的(多个)电机以指定速度运动到点位码
|
|
|
+ /// </summary>
|
|
|
+ /// <param name="recipePoint">点位对象</param>
|
|
|
+ /// <param name="speedCode">速度码, null表示使用该点配置的默认速度码</param>
|
|
|
+ /// <param name="waiting">是否等待到位, 默认为true</param>
|
|
|
+ /// <param name="inRange">整定范围, 单位毫米或者步距</param>
|
|
|
+ /// <param name="onSuccess">运动完成后的回调动作</param>
|
|
|
+ /// <param name="onTimeout">超时未完成的回调动作</param>
|
|
|
+ void MovePoint(RecipePoint recipePoint, string speedCode = null, bool waiting = true, double inRange = -1,
|
|
|
+ Action onSuccess = null, Action onTimeout = null);
|
|
|
+
|
|
|
/// <summary>
|
|
|
/// 让绑定点位码的(多个)电机以指定速度运动到点位码并能叠加指定偏移量
|
|
|
/// </summary>
|
|
|
@@ -191,6 +203,19 @@ namespace SKMC.Api.Motion.Control
|
|
|
void MovePointFix(string pointCode, double[] posOffsets, string speedCode = null, bool waiting = true, double inRange = -1,
|
|
|
Action onSuccess = null, Action onTimeout = null);
|
|
|
|
|
|
+ /// <summary>
|
|
|
+ /// 让绑定点位码的(多个)电机以指定速度运动到点位码,并能叠加指定偏移量
|
|
|
+ /// </summary>
|
|
|
+ /// <param name="recipePoint">点位对象</param>
|
|
|
+ /// <param name="posOffsets">各个电机的偏移量数组, 需要按电机绑定顺序赋值</param>
|
|
|
+ /// <param name="speedCode">速度码, null表示使用该点配置的默认速度码</param>
|
|
|
+ /// <param name="waiting">是否等待到位, 默认为true</param>
|
|
|
+ /// <param name="inRange">整定范围, 单位毫米或者步距</param>
|
|
|
+ /// <param name="onSuccess">运动完成后的回调动作</param>
|
|
|
+ /// <param name="onTimeout">超时未完成的回调动作</param>
|
|
|
+ void MovePointFix(RecipePoint recipePoint, double[] posOffsets, string speedCode = null, bool waiting = true, double inRange = -1,
|
|
|
+ Action onSuccess = null, Action onTimeout = null);
|
|
|
+
|
|
|
/// <summary>
|
|
|
/// 让绑定点位码的(多个)电机以指定速度运动到点位码,并能叠加指定偏移量
|
|
|
/// </summary>
|
|
|
@@ -218,6 +243,20 @@ namespace SKMC.Api.Motion.Control
|
|
|
bool waiting = true, double inRange = -1,
|
|
|
Action onSuccess = null, Action onTimeout = null);
|
|
|
|
|
|
+ /// <summary>
|
|
|
+ /// 让绑定点位码的指定单个电机以指定速度运动到点位码
|
|
|
+ /// </summary>
|
|
|
+ /// <param name="recipePoint">点位对象</param>
|
|
|
+ /// <param name="axisCode">指定电机的电机码</param>
|
|
|
+ /// <param name="speedCode">速度码, null表示使用该点配置的默认速度码</param>
|
|
|
+ /// <param name="waiting">是否等待到位, 默认为true</param>
|
|
|
+ /// <param name="inRange">整定范围, 单位毫米或者步距</param>
|
|
|
+ /// <param name="onSuccess">运动完成后的回调动作</param>
|
|
|
+ /// <param name="onTimeout">超时未完成的回调动作</param>
|
|
|
+ void MovePointOne(RecipePoint recipePoint, string axisCode, string speedCode = null,
|
|
|
+ bool waiting = true, double inRange = -1,
|
|
|
+ Action onSuccess = null, Action onTimeout = null);
|
|
|
+
|
|
|
/// <summary>
|
|
|
/// 让绑定点位码的指定单个电机以指定速度运动到点位码
|
|
|
/// </summary>
|
|
|
@@ -262,6 +301,21 @@ namespace SKMC.Api.Motion.Control
|
|
|
bool waiting = true, double inRange = -1,
|
|
|
Action onSuccess = null, Action onTimeout = null);
|
|
|
|
|
|
+ /// <summary>
|
|
|
+ /// 让绑定点位码的指定单个电机以指定速度运动到点位码,并能叠加指定偏移量
|
|
|
+ /// </summary>
|
|
|
+ /// <param name="recipePoint">点位对象</param>
|
|
|
+ /// <param name="fixset">基于点位的偏移量(mm)</param>
|
|
|
+ /// <param name="axisCode">指定电机的电机码</param>
|
|
|
+ /// <param name="speedCode">速度码, null表示使用该点配置的默认速度码</param>
|
|
|
+ /// <param name="waiting">是否等待到位, 默认为true</param>
|
|
|
+ /// <param name="inRange">整定范围, 单位毫米或者步距</param>
|
|
|
+ /// <param name="onSuccess">运动完成后的回调动作</param>
|
|
|
+ /// <param name="onTimeout">超时未完成的回调动作</param>
|
|
|
+ void MovePointOneFix(RecipePoint recipePoint, double fixset, string axisCode, string speedCode = null,
|
|
|
+ bool waiting = true, double inRange = -1,
|
|
|
+ Action onSuccess = null, Action onTimeout = null);
|
|
|
+
|
|
|
/// <summary>
|
|
|
/// 聚合多个点位码并同时运动
|
|
|
/// </summary>
|