Motion.EnableAxisUnitConversion 方法
使轴得以使用一个实际单位。改变单位将会影响位置与速度,您需更新 McProfileSettings 中的 MinimumFollowingError
、MaximumFollowingError
与 McPidSettings 中的 MinimumOutput
、MaximumOutput
。
命名空间:IntervalZero.KINGSTAR.Local.Api
组合: IntervalZero.KINGSTAR.Local.Api (于 IntervalZero.KINGSTAR.Local.dll) 版本:4.4.0.0
语法
public KsError EnableAxisUnitConversion(
int Index,
bool Active
)
Public Function EnableAxisUnitConversion(
Index As Integer,
Active As Boolean
) As KsError
参数
Index
型别:int
轴索引。索引以 0 为起始;别名将影响此参数。
Active
型别:bool
true:使用实际单位;false:使用计数单位。
回传值
方法的回传代码。
范例
N/A
参见