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