.

Motion.AxisRemove

Removes an axis from the Motion object’s axis list.

Version History

Introduced in MPX 2.0.

Result

Void

Arguments

 
Argument Type Description
axisIndex UInt32 The index of the axis object to be removed from the axis list.

Common Exceptions

 
Error Occurs when...
Argument The specified axis index is either not valid or the axis is already a part of the axis list.
MotionMoving The motion object is currently in the moving state (State.Moving). The axis list cannot be changed at this time.
MotionStopping The motion object is currently in the stopping state (State.Stopping). The axis list cannot be changed at this time.
MotionStoppingError The motion object is currently in the stopping-error state (State.StoppingError). The axis list cannot be changed at this time.

 

Visual Basic

Syntax

Sub AxisRemove(axisIndex As UInt32)

Sample Code

 

controller.Motion(0).AxisRemove(0) ' Remove Axis 0

              


Sample Application

 

C#

Syntax

void AxisRemove(uint axisIndex);

Sample Code

 

controller.Motion[0].AxisRemove(0); // Remove Axis 0

 

See Also

Axes
AxisAdd

Enumerations
State

Overviews
Motion-Axis Mapping Overview

 

       Legal Notice  |  Tech Email  |  Feedback
      
Copyright ©
2001-2021 Motion Engineering