MPIMotionAttributes / MPIMotionAttributes

Definition: MPIMotionAttributes

typedef struct MPIMotionAttributes {
  const double			*delay; 	/* MPIMotionAttrMaskDELAY */
  int32_t				id; 		/* MPIMotionAttrMaskID */
  const int32_t			*elementId; 	/* MPIMotionAttrMaskELEMENT_ID */
  double				masterStart;	/* MPIMotionAttrMaskMASTER_START */
  int32_t				repeatFrom; 	/* MPIMotionAttrMaskREPEAT */
  MPIEventMask			eventMask;	/* MPIMotionAttrMaskEVENT */
  const double			*finalVelocity; /* MPIMotionAttrMaskFINAL_VEL */
  const MPIMotionAttrHold		*hold;		/* MPIMotionAttrMaskHOLD */
  const int32_t			*outputCount;	/* MPIMotionAttrMaskOUTPUT for path motion - number of outputs - per axis */
  const MPIMotionAttrOutput	*output;	/* MPIMotionAttrMaskOUTPUT for path and non path motion - outputs - per axis */
} MPIMotionAttributes;
Change History: Modified in the 03.04.00

Description

delay This array defines the delay time (seconds) before a motion profile begins execution.
id This value defines the identity for a point to point motion. The id is limited to 16-bit resolution by the controller firmware.
elementId This array defines the identity for each element of a path motion. The elementId is limited to 16-bit resolution by the controller firmware.
masterStart This field is only used with the MASTER_START motion attribute and when commanding a cam motion. This field defines the position of the master at the start of the cam motion. See Starting at Specific Master Positions.
repeatFrom This field is only used with the REPEAT motion attribute and when commanding a cam motion. This field defines the first frame that is repeated. Any frames before this frame will act as a run-in sequence. See Repeating Cams .

Definition: MPIMotionAttributes

Description

eventMask This structure specifies the mask to enable event generation. See MPIEventMask for more information.
*finalVelocity This array specifies the target velocity for each axis when MPIMotionAttrMaskFINAL_VEL is used.
*hold This array specifies the hold configurations for each axis when MPIMotionAttrMaskHOLD is used.
*outputCount This array specifies the number of points per axis, to set/clear an output when MPIMotionAttrMaskOUTPUT is used.
*output This structure specifies the output configuration for each axis when MPIMotionAttrMaskOUTPUT is used.

See Also

MPIEventMask | MPIMotionAttrMask