Motion.EnableAxisUnitConversion 方法

使轴得以使用一个实际单位。改变单位将会影响位置与速度,您需更新 McProfileSettings 中的 MinimumFollowingErrorMaximumFollowingErrorMcPidSettings 中的 MinimumOutputMaximumOutput

命名空间IntervalZero.KINGSTAR.Local.Api

组合: IntervalZero.KINGSTAR.Local.Api (于 IntervalZero.KINGSTAR.Local.dll) 版本:4.4.0.0

语法

C#VB
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:使用计数单位。

回传值

型别:KsError

方法的回传代码。

范例

C#
N/A

参见

Motion 类别

IntervalZero.KINGSTAR.Local.Api 命名空间