.

mpiMotionAxisRemove

Declaration

 
long mpiMotionAxisRemove(MPIMotion  motion,
                         MPIAxis    axis) 
 

Required Header: stdmpi.h

Description

mpiMotionAxisRemove removes an Axis (axis) from a Motion (motion). Since the Motion Supervisor is a host-based object, a Motion Supervisor's axes mapping will only be loaded onto the controller when the application runs and an action is performed. View the Motion Supervisor and Axis Mapping: MS Host-based Object video tutorial for more information.

NOTE: User must call mpiMotionAction(..., MEIActionMAP) after calling mpiMotionAxisRemove(...) to complete new axis map configuration.

 
Return Values
MPIMessageOK  

Sample Code

Call mpiMotionAction(..., MEIActionMAP) after all calls to mpiMotionRemove(...) and before mpiMotionDelete(...). See the sample code below.

 

mpiMotionAxisRemove(motion, axis)
mpiMotionAction(motion, MEIActionMAP)
mpiMotionDelete(motion)


See Also

mpiMotionAction | mpiMotionDelete | MEIAction

 

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