IMotion Interface

Represents motion control.

Inheritance Hierarchy

System.Object
  IntervalZero.KINGSTAR.Base.Api.IMotion

Namespace: IntervalZero.KINGSTAR.Base.Api

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

Syntax

C#VB
public interface IMotion
Public Interface IMotion

 

The IMotion interface exposes the following members.

Methods

Usable EtherCAT states for IMotion methods: ecatOP.

Axis configuration methods

Configures an axis.

 NameDescription
EnableAxisUnitConversionEnables the axis to use a real-world unit.
GetAxisAvailableControlModesChecks the control modes the axis can use.
GetAxisParameterGets the value of a vendor-specific parameter from an axis.
SetAxisControlModeSets a control mode of an axis at run time.
SetAxisCountsPerUnitSets the conversion ratio of the user-defined position unit to the count (pulse) unit used by an axis.
SetAxisDirectionSets the direction of an axis' position.
SetAxisEncoderSets an encoder to use with an axis.
SetAxisHomeSwitchSets a digital sensor to be used as a homing switch.
SetAxisInterpolationSets the interpolation time of an axis.
SetAxisMotionProfileConfigures the motion settings of an axis.
SetAxisMotionProfileOverrideSets the override values for the whole axis, and all methods that are working on that axis.
SetAxisNegativeLimitSwitchSets a negative limit switch for an axis.
SetAxisParameterSets the value of a vendor-specific parameter for an axis.
SetAxisPositionOffsetShifts the coordinate system of an axis by manipulating both the setpoint position as well as the actual position of an axis with the same value without causing any movement (recalibration with same following error).
SetAxisPositiveLimitSwitchSets a positive limit switch for an axis.
SetAxisSecondEncoderCountsPerUnitSets the conversion ratio of the user-defined position unit to the count (pulse) unit used by an axis for the secondary encoder.
SetAxisTorquePidConfigures the PID settings used by an axis in the torque mode.
SetAxisTorquePolaritySets the direction of an axis' torque.
SetAxisVelocityPidConfigures the PID settings used by an axis in the velocity mode.
SetVirtualAxisAssigns the signals to link a simulated axis with real hardware.

Axis control methods

Controls the power of an axis, resets an axis, records the position of an axis, and use it to control a switch.

 NameDescription
PowerAxisEnables or disables the operation of an axis.
ReleaseAxisReleases an axis from the Stopping state or detaches it from camming or gearing.
ResetAxisMakes the transition from the state ErrorStop to Standstill or Disabled by resetting all internal axis-related errors — it doesn't affect the output of the method instances.
SetAxisCamSwitchUses an axis' position to control a switch that triggers a digital output.
SetAxisCyclicSwitchUses an axis' position to control a switch that triggers a digital output repeatedly.
SetAxisTouchProbeRecords the position of an axis at a trigger event.

Axis PTP motion methods

Controls the movement of a single axis.

 NameDescription
AxisWaitForTriggerAn axis starts a new move when the trigger condition is met.
HaltAxisCommands a controlled motion stop.
HomeAxisCommands the axis to perform the "search home" sequence.
InchAxisCommands a never-ending controlled motion at a specified velocity with a maximum distance.
JogAxisCommands a never-ending controlled motion at a specified velocity.
MoveAxisAbsoluteCommands a controlled motion to a specified absolute position.
MoveAxisAdditiveAdds a relative distance based on the last commanded position in the Discrete Motion state.
MoveAxisContinuousAbsoluteCommands a controlled motion to a specified absolute position ending with the specified velocity.
MoveAxisContinuousRelativeCommands a controlled motion of a specified relative distance ending with the specified velocity.
MoveAxisRelativeCommands a controlled motion of a specified distance relative to the current set position.
MoveAxisVelocityCommands a never-ending controlled motion at a specified velocity.
SimulateAxisAbsoluteCalculates the duration an absolute move takes to complete.
SimulateAxisRelativeCalculates the duration a relative move takes to complete.
StopAxisCommands a controlled motion stop and sets an axis to the Stopping state.
TestAxisRuns a command test to check the drive response to the commanded value, such as commanded position, velocity, or torque.
UpdateCommandUpdates the motion parameters of a command.

Axis status methods

Gets the current state of an axis, including the error, power, motion, homing states.

 NameDescription
GetAxesStatusGets the states of the selected axes.
GetAxisErrorGets general axis errors not relating to the methods, such as axis errors, drive errors, and communication errors.
GetAxisInfoGets information concerning an axis, such as modes, inputs directly related to the axis, and certain status information.
GetAxisMotionStateGets the state of the axis in connection with the motion currently in progress.
GetAxisStateGets the state of the selected axis.

Axis synchronized motion methods

Synchronizes axes and moves them. The movement includes cam and gear motion.

 NameDescription
GetAxisCamInfoGets the cam information from an axis that is currently set as cam slave.
GetCamTableGets the information of a cam table.
SetAxisCamLinks the axes and starts to cam.
SetAxisGearCommands a ratio between the velocity of the slave and master axis.
SetAxisGearInPosCommands a gear ratio between the position of the slave and master axes from the synchronization point onwards.
SetCamTableSets a cam table by setting the connections to a relevant table.
SimulateAxisCamSimulates the cam interpolation results.

Axis variable methods

Sets or gets a value of position, velocity, torque, input, and output from an axis.

 NameDescription
GetAxisDigitalInputGets the value of a digital input indicated by the index.
GetAxisDigitalOutputGets the value of a digital output indicated by the index.
GetAxisFollowingErrorGets the following error from an axis.
GetAxisPositionGets the current position from an axis.
GetAxisTorqueGets the current torque from an axis.
GetAxisTorqueOffsetGets the torque offset from an axis.
GetAxisVelocityGets the current velocity from an axis.
SetAxisDigitalOutputSets a bool value to an output indicated by the index.
SetAxisPositionSets the target position of an axis.
SetAxisTorqueSets the target torque of an axis.
SetAxisTorqueOffsetSets a torque offset of an axis.
SetAxisVelocitySets the target velocity of an axis.

Group configuration methods

Configures an axis group.

 NameDescription
AddAxisToGroupAdds an axis to a group.
GetCartesianTransformGets the parameters of the Cartesian transformation that is active between the MCS and PCS.
GetGroupAccelerationGets a group's acceleration in the selected coordinate system of an axis group.
GetGroupConfigurationGets the index of an axis according to the given group index to read the current configuration of an axis group.
GetGroupParameterGets the value of a parameter from an axis group.
GetGroupPositionGets a group's position in the selected coordinate system of an axis group.
GetGroupVelocityGets a group's velocity in the selected coordinate system of an axis group.
GetKinTransformGets the kinematic transformation that is active between the ACS and MCS.
RemoveAxisFromGroupRemoves an axis from a group.
SetCartesianTransformSets a Cartesian transformation between the MCS and PCS.
SetGroupParameterSets the value of a parameter for an axis group.
SetKinTransformSets a kinematic transformation between the ACS and MCS based on the predefined kinematic model.
UngroupAllAxesRemoves all axes from a group.

Group control methods

Controls the working states, the override values of an axis group, and sets the positions of all axes in it.

 NameDescription
DisableGroupChanges the state of a group to GroupDisabled.
EnableGroupChanges the state of a group from GroupDisabled to GroupStandstill.
ResetGroupChanges the state GroupErrorStop to GroupStandstill by resetting all internal group-related errors.
SetGroupMotionProfileOverrideSets the override values for an axis group, and all methods that are working on that group.
SetGroupPositionOffsetSets the position of all axes in a group without moving the axes.

Group motion methods

Controls the movement of an axis group.

 NameDescription
CreateSplineCreates a spline curve.
DeleteSplineDeletes a spline curve.
GroupWaitForTriggerA group starts a new move when the trigger condition is met.
HaltGroupCommands a controlled motion stop.
InchGroupCommands a never-ending controlled motion at a specified velocity for an axis group with a maximum distance.
JogGroupCommands a never-ending controlled motion at a specified velocity for an axis group.
MoveCircularAbsoluteCommands an interpolated circular movement on an axis group from the current position of the tool center point.
MoveCircularAdditiveCommands an interpolated circular movement on an axis group from the current position of the tool center point.
MoveCircularRelativeCommands an interpolated circular movement on an axis group from the current position of the tool center point.
MoveDirectAbsoluteCommands a movement of an axis group to a specified absolute position in the specified coordinate system without taking care of how (on which path) the target position is reached.
MoveDirectRelativeCommands a movement of an axis group to a relative position without taking care of how (on which path) the target position is reached.
MoveHelicalAbsoluteCommands an interpolated helical movement on an axis group from the current position of the tool center point.
MoveHelicalAdditiveCommands an interpolated helical movement on an axis group from the current position of the tool center point.
MoveHelicalRelativeCommands an interpolated helical movement on an axis group from the current position of the tool center point.
MoveLinearAbsoluteCommands an interpolated linear movement on an axis group from the current position of the tool center point to an absolute position in the specified coordinate system.
MoveLinearAdditiveCommands an interpolated linear movement on an axis group from the current position of the tool center point to a relative position in the specified coordinate system.
MoveLinearRelativeCommands an interpolated linear movement on an axis group from the current position of the tool center point to a relative position in the specified coordinate system.
MoveSplineMoves an axis group along a spline curve.
ReleaseGroupRelease a group from the GroupStopping state.
SetGroupPathCamSwitchUses an axis group's travel distance to control a switch that triggers a digital output.
StopGroupCommands a controlled motion stop and transfers the axis group to the state GroupStopping.

Group status methods

Gets the states of an axis group.

 NameDescription
GetGroupErrorGets general axis group errors not relevant to the methods.
GetGroupsStatusGets the state of axis groups according to the active grouped method.
GetGroupStateGets the state of an axis group according to the active grouped method.

See also

IntervalZero.KINGSTAR.Base.Api Namespace