IMotion.EnableAxisUnitConversion 方法

使軸得以使用一個實際單位。改變單位將會影響位置與速度,您需更新 McProfileSettings 中的 MinimumFollowingErrorMaximumFollowingErrorMcPidSettings 中的 MinimumOutputMaximumOutput

命名空間IntervalZero.KINGSTAR.Base.Api

組合: IntervalZero.KINGSTAR.Base.Api (於 IntervalZero.KINGSTAR.Base.dll) 版本:4.4.0.0

語法

C#VB
KsError EnableAxisUnitConversion(
       int Index,
       bool Active
)
Function EnableAxisUnitConversion(
       Index As Integer,
       Active As Boolean
) As KsError

參數

Index

型別:int

軸索引。索引以 0 為起始;別名將影響此參數。

 

Active

型別:bool

true:使用實際單位;false:使用計數單位。

回傳值

型別:KsError

方法的回傳值。

範例

C#
N/A

參見

IMotion 介面

IntervalZero.KINGSTAR.Base.Api 命名空間