.

mpiMotionPositionSet

Declaration

 
long mpiMotionPositionSet(MPIMotion motion,
                          double    *actual,
                          double    *command) 
 

Required Header: stdmpi.h

Description

mpiMotionPositionSet sets the actual and command position values for all axes associated with a Motion (motion). The actual and command arguments each point to an array with a size equal to the number of axes associated with motion.

mpiMotionPostionSet(...) internally calls mpiAxisActualPositionSet(...) and mpiAxisCommandPositionSet(...) for the axes mapped to the motion object. If any of the Axis position set methods fail, mpiMotionPositionSet(...) will halt and return the error code from the Axis method.

 
Return Values
MPIMessageOK  
MPIAxisMessageCOMMAND_NOT_SET  

See Also

mpiMotionPositionGet | Controller Positions | mpiAxisCommandPositionSet | mpiAxisActualPositionSet

 

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