IMotion.MoveAxisAbsolute method

Commands a controlled motion to a specified absolute position.

Namespace: IntervalZero.KINGSTAR.Base.Api

Assembly: IntervalZero.KINGSTAR.Base.Api (in IntervalZero.KINGSTAR.Base.dll) Version: 4.4.0.0

Syntax

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

Parameters

Index [in]

Type: int

The index of an axis. Indexes are zero based. Aliases affect this parameter.

 

Position [in]

Type: double

The target position for the motion. [unit] (negative or positive)

 

Velocity [in]

Type: double

A value of the maximum velocity. Not necessarily reached if the target position is close. [unit/second]

 

Acceleration [in]

Type: double

A value of the acceleration. Always positive. The unit is determined by McProfileType. (increasing power of the motor) [unit/second2] or [second]

 

Deceleration [in]

Type: double

A value of the deceleration. Always positive. The unit is determined by McProfileType. (decreasing power of the motor) [unit/second2] or [second]

 

Jerk [in]

Type: double

A value of the jerk. Always positive. The unit is determined by McProfileType. [unit/second3] or [second]

 

Direction [in]

Type: McDirection

The moving direction of an axis.

 

BufferMode [in]

Type: McBufferMode

Defines how to blend the velocity of two methods.

Return value

Type: KsCommandStatus

Returns the KsCommandStatus class.

Remarks

Examples

C#
N/A

See also

IMotion Interface

IntervalZero.KINGSTAR.Base.Api Namespace