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
參見