.

MPIMotionAttrMask / MEIMotionAttrMask

Definition: MPIMotionAttrMask

 
typedef	enum {
    MPIMotionAttrMaskAPPEND,
    MPIMotionAttrMaskAUTO_START,
    MPIMotionAttrMaskDELAY,
    MPIMotionAttrMaskID,
    MPIMotionAttrMaskELEMENT_ID,
    MPIMotionAttrMaskRELATIVE,
    MPIMotionAttrMaskSYNC_END,
    MPIMotionAttrMaskSYNC_START,
MPIMotionAttrMaskREPEAT, MPIMotionAttrMaskMASTER_START, MPIMotionAttrMaskNO_BACKTRACK, MPIMotionAttrMaskNO_BACKTRACK_HOLD, MPIMotionAttrMaskALL, } MPIMotionAttrMask;

Description

 
MPIMotionAttrMaskAPPEND This mask enables the motion profile to be added to the end of a previous motion profile, in the controller's memory buffer. The APPENDed profile will begin execution after the previous profile has completed and the settling criteria has been met. The APPEND mask can be used with mpiMotionStart(...) or mpiMotionModify(...).
MPIMotionAttrMaskAUTO_START This mask converts a mpiMotionModify(...) call to a mpiMotionStart(...) if the modify occurs after the previous motion profile has completed. If the previous profile had completed, then mpiMotionModify(...) will return an error code, MPIMotionMessageAUTO_START.
MPIMotionAttrMaskDELAY This mask enables a time delay (seconds) before the motion profile begins. This mask can be used with mpiMotionStart(...). Motion with Modify is not supported with the DELAY attribute. Please see MPIMotionAttributes for more information.
MPIMotionAttrMaskID This mask enables an identification tag to be stored in the motion profile. Please see MPIMotionAttributes for more information. This mask can be used with mpiMotionStart(...) and mpiMotionModify(...).
MPIMotionAttrMaskELEMENT_ID This mask enables an identification tag to be stored in the path motion profiles. Please see MPIMotionAttributes for more information.
MPIMotionAttrMaskRELATIVE This mask changes the profile target position from absolute to relative coordinates. Currently only supports APPEND and ID attributes. Support for PT, PVT, SPLINE, BESSEL, or BSPLINE motion types will be added in the future.
MPIMotionAttrMaskSYNC_END This mask synchronizes the motion profiles for multiple axes so they will all end at the same time. Delays are inserted before the shorter profiles. When enabled, each axis will use its own MPITrajectory values.
MPIMotionAttrMaskSYNC_START This mask synchronizes the motion profiles for multiple axes so they will all start at the same time. Delays are inserted after the shorter profiles. When enabled, each axis will use its own MPITrajectory values.
MPIMotionAttrMaskREPEAT This attribute generates a repeating cam motion. If you use this attribute you need to fill in the repeatFrom field in the MPIMotionAttributes structure. See Repeating Cams.
MPIMotionAttrMaskMASTER_START This attribute specifics the position of the master that a cam will start.If you use this attribute you need to fill in the masterStart field in the MPIMotionAttributes structure. See
Starting at Specific Master Positions.
MPIMotionAttrMaskNO_BACKTRACK This attribute modifies a cam motion so that when the slave axes will only progress if the master is moving in a positive direction, if the master changes direction and moves backwards the slave axes will hold that position until the master velocity returns to the original direction.This attribute cannot be specified with the MPIMotionAttrNO_BACKTRACK attribute.
See Reversal of the Master - Backtracking.
MPIMotionAttrMaskNO_BACKTRACK_HOLD This attribute modifies a cam motion so that when the master changes direction the slave axes will hold that position until the master returns to the point where the direction changed.This attribute cannot be specified with the MPIMotionAttrFORWARD_ONLY attribute.
See Reversal of the Master with NO_BACKTRACK_HOLD.

Remarks

The motion attribute masks are used to enable features with mpiMotionStart(...) and mpiMotionModify(...). The masks are ORed with the MPIMotionType to enable each feature.

For the motion types MPIMotionTypeS_CURVE_JERK, MPIMotionTypeS_CURVE, MPIMotionTypeTRAPEZOIDAL, if neither MPIMotionAttrMaskSYNC_START nor MPIMotionAttrMaskSYNC_END are specified, then only one MPITrajectory structure will be used for by mpiMotionStart() and mpiMotionModify(). Please refer to MPIMotionAttr for more information.

Trajectory

 

Definition: MEIMotionAttrMask

 
typedef enum {
    MEIMotionAttrMaskEVENT,
    MEIMotionAttrMaskFINAL_VEL,
    MEIMotionAttrMaskNO_REVERSAL,
    MEIMotionAttrMaskHOLD,
    MEIMotionAttrMaskHOLD_LESS,
    MEIMotionAttrMaskHOLD_GREATER,
    MEIMotionAttrMaskOUTPUT,
    MEIMotionAttrMaskALL,
} MEIMotionAttrMask;

Description

 
MEIMotionAttrMaskEVENT This mask allows the user to specify an MPIEventMask during a motion.
MEIMotionAttrMaskFINAL_VEL This mask allows the user to specify a non-zero target velocity for point to point motion types.
MEIMotionAttrMaskNO_REVERSAL This mask prevents a motion profile from changing direction.
MEIMotionAttrMaskHOLD This mask prevents a motion profile from executing until the specified trigger conditions are met.
MEIMotionAttrMaskHOLD_LESS Motion attribute mask for less than or equal hold logic.
MEIMotionAttrMaskHOLD_GREATER Motion attribute mask for greater than or equal hold logic.
MEIMotionAttrMaskOUTPUT This mask allows the user to set or clear bits during a motion.
MEIMotionAttrOUTPUT This bit allows the user to set or clear bits during a motion.

See Also

mpiMotionStart | mpiMotionModify | MPIMotionType | MPITrajectory | MPIEventMask

MEIMotionAttrHold | MEIMotionAttrHoldSource | MEIMotionAttrHoldType

 

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