.

Returns for mpiMotionStart and mpiMotionModify

Both mpiMotionStart and mpiMotionModify return error codes, which are summarized in the table below.

Return Values - for both mpiMotionStart and MotionModify
MPIMotionMessageERROR if MotionStart is called when the Motion Supervisor is in the error state.
MPIMotionMessageAXIS_COUNT if the motion object has no axes.
MPIMotionMessagePROFILE_ERROR if the Motion profile specified by the parameters cannot be calculated correctly.
MPIMotionMessageATTRIBUTE_INVALID

if the specified motion attribute mask is not valid with the motion type.

Please see possible causes for receiving this message.

MPIMessagePARAM_INVALID

if the specified motion parameters are not valid with the Motion type.

Please see possible causes for receiving this message.

MPIMessageARG_INVALID

if any of the MotionStart arguments are not valid.

Possible Causes:
Number of axes on the motion commanded exceeds MEIXmpMAX_COORD_AXES.

MPIMessageUNSUPPORTED

if the motion type is not supported by the controller.

Possible Causes:
Unsupported motion type specified.

List of supported motion types:
MPIMotionTypePT
MPIMotionTypePTF
MPIMotionTypePVT
MPIMotionTypePVTF
MPIMotionTypeSPLINE
MPIMotionTypeBESSEL
MPIMotionTypeBSPLINE
MPIMotionTypeBSPLINE2
MPIMotionTypeS_CURVE
MPIMotionTypeS_CURVE_JERK
MPIMotionTypeTRAPEZOIDAL
MPIMotionTypeVELOCITY
MPIMotionTypeVELOCITY_JERK
MEIMotionTypeFRAME

Return to mpiMotionStart or mpiMotionModify

 

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