Motion.MoveAxisVelocity 方法

命令一个永不停止的控制运动以指定的速度移动。

命名空间IntervalZero.KINGSTAR.Local.Api

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

语法

C#VB
public KsCommandStatus MoveAxisVelocity(
       int Index,
       double Velocity,
       double Acceleration,
       double Deceleration,
       double Jerk,
       McDirection Direction,
       McBufferMode BufferMode
)
Public Function MoveAxisVelocity(
       Index As Integer,
       Velocity As Double,
       Acceleration As Double,
       Deceleration As Double,
       Jerk As Double,
       Direction As McDirection,
       BufferMode As McBufferMode
) As KsCommandStatus

参数

Index [in]

型别:int

轴索引。索引以 0 为起始;别名将影响此参数。

 

Velocity [in]

型别:double

指定速度的值。[单位/秒]

 

Acceleration [in]

型别:double

加速度值,单位由 McProfileType 决定(增加马达电量)。[单位/秒2] 或 [秒]

 

Deceleration [in]

型别:double

减速度值,单位由 McProfileType 决定(减少马达电量)。[单位/秒2] 或 [秒]

 

Jerk [in]

型别:double

加加速度值,单位由 McProfileType 决定。[单位/秒3] 或 [秒]

 

Direction [in]

型别:McDirection

轴的移动方向。无法使用 mcShortestWay

 

BufferMode [in]

型别:McBufferMode

定义如何融合两方法的速度。

回传值

型别:KsCommandStatus

回传 KsCommandStatus 类别。

备注

范例

C#
N/A

参见

Motion 类别

IntervalZero.KINGSTAR.Local.Api 命名空间