MPIEventType / MEIEventType

MPIEventType  
typedef enum {
    MPIEventTypeINVALID,

    MPIEventTypeNONE,		/*  0 */

    /* Motor events */
    MPIEventTypeAMP_FAULT,	/*  1 */
    MPIEventTypeHOME,		/*  2 */
    MPIEventTypeLIMIT_ERROR,	/*  3 */
    MPIEventTypeLIMIT_HW_NEG,	/*  4 */
    MPIEventTypeLIMIT_HW_POS,	/*  5 */
    MPIEventTypeLIMIT_SW_NEG,	/*  6 */
    MPIEventTypeLIMIT_SW_POS,	/*  7 */
    MPIEventTypeENCODER_FAULT,	/*  8 */

    /* Motion events */
    MPIEventTypeMOTION_DONE,		/*  9 */
    MPIEventTypeMOTION_AT_VELOCITY,	/* 10 */

    /* Recorder events */
    MPIEventTypeRECORDER_FULL,	/* 11 */
    MPIEventTypeRECORDER_DONE,	/* 12 */

    /* External events */
    MPIEventTypeEXTERNAL,	/* 13 */
} MPIEventType;
Description

EventType is used by the MPIEventMask macros to help generate event masks.

  MPIEventTypeNONE This event type indicates no event was generated.
  MPIEventTypeAMP_FAULT This event type indicates an Amp Fault event was generated from a Motor object.
  MPIEventTypeHOME This event type indicates a Home event was generated from a Motor object.
  MPIEventTypeLIMIT_ERROR This event type indicates a position Error Limit was generated from a Motor object.
  MPIEventTypeLIMIT_HW_NEG This event type indicates a Negative Hardware Limit event was generated from a Motor object.
  MPIEventTypeLIMIT_HW_POS This event type indicates a Positive Hardware Limit event was generated from a Motor object.
  MPIEventTypeLIMIT_SW_NEG This event type indicates a Negative Software Limit event was generated from a Motor object.
  MPIEventTypeLIMIT_SW_POS This event type indicates a Positive Software Limit event was generated from a Motor object.
  MPIEventTypeENCODER_FAULT This event type indicates an Encoder Fault event was generated from a Motor object.
  MPIEventTypeMOTION_DONE This event type indicates a Motion Done event was generated from a Motion Supervisor object.
  MPIEventTypeMOTION_AT_VELOCITY This event type indicates an At Velocity event was generated from a Motion Supervisor object.
  MPIEventTypeRECORDER_FULL This event type indicates a Recorder Full event was generated from a Recorder object.
  MPIEventTypeRECORDER_DONE This event type indicates a Recorder Done event was generated from a Recorder object.
  MPIEventTypeEXTERNAL This event type indicates an External event was generated from an external source.

 

MEIEventType  
typedef enum {
	/* Motor events */
	MEIEventTypeLIMIT_USER0 = MPIEventTypeLAST,	/* 14 */
	MEIEventTypeLIMIT_USER1,	/* 15 */
	MEIEventTypeLIMIT_USER2,	/* 16 */
	MEIEventTypeLIMIT_USER3,	/* 17 */
	MEIEventTypeLIMIT_USER4,	/* 18 */
	MEIEventTypeLIMIT_USER5,	/* 19 */
	MEIEventTypeLIMIT_USER6,	/* 20 */
	MEIEventTypeLIMIT_USER7,	/* 21 */
	MEIEventTypeLIMIT_TORQUE,	/* 22 */

	/* Motion events */
	MEIEventTypeMOTION_OUT_OF_FRAMES,	/* 23 */
	MEIEventTypeMOTION_RESERVED0,		/* 24 */

	/* Axis events */
	MEIEventTypeIN_POSITION_COARSE,		/* 25 */
	MEIEventTypeIN_POSITION_FINE,		/* 26 */
	MEIEventTypeAT_TARGET,			/* 27 */
	MEIEventTypeFRAME,			/* 28 */
	MEIEventTypeAXIS_RESERVED0,		/* 29 */
	MEIEventTypeAXIS_RESERVED1,		/* 30 */
	MEIEventTypePOWER_FAILURE,		/* 31 */

} MEIEventType;
Description

EventType is used by the MPIEventMask macros to help generate event masks.

  MEIEventTypeLIMIT_USER0 This event type indicates a User Limit event was generated from a Motor object.
  MEIEventTypeLIMIT_USER1 This event type indicates a User Limit event was generated from a Motor object.
  MEIEventTypeLIMIT_USER2 This event type indicates a User Limit event was generated from a Motor object.
  MEIEventTypeLIMIT_USER3 This event type indicates a User Limit event was generated from a Motor object.
  MEIEventTypeLIMIT_USER4 This event type indicates a User Limit event was generated from a Motor object.
  MEIEventTypeLIMIT_USER5 This event type indicates a User Limit event was generated from a Motor object.
  MEIEventTypeLIMIT_USER6 This event type indicates a User Limit event was generated from a Motor object.
  MEIEventTypeLIMIT_USER7 This event type indicates a User Limit event was generated from a Motor object.
  MEIEventTypeLIMIT_TORQUE This event type indicates a Torque event was generated from a Motor object.
  MEIEventTypeMOTION_OUT_OF_FRAMES This event type indicates a Motion Done event was generated from a Motion Supervisor object.
  MEIEventTypeMOTION_RESERVED0 This event type indicates a Reserved Motion event was generated from a Motion Supervisor object. This event type is reserved for future use or custom motion events.
  MEIEventTypeIN_POSITION_COARSE This event type indicates an In Coarse Position event was generated from an Axis object.
  MEIEventTypeIN_POSITION_FINE This event type indicates an In Fine Position event was generated from an Axis object.
  MEIEventTypeAT_TARGET Rserved Frame Event.
  MEIEventTypeFRAME This is currently not supported and is reserved for future use.
  MEIEventTypeAXIS_RESERVED0 This event type indicates a Reserved Axis event was generated from an Axis object. This event type is reserved for future use or custom axis events.
  MEIEventTypeAXIS_RESERVED1 This event type indicates a Reserved Axis event was generated from an Axis object. This event type is reserved for future use or custom axis events.
  MEIEventTypePOWER_FAILURE This event type indicates a Power Failure event was generated from the controller.
     
See Also MPIEventMask | MPIEventMgr | MPINotify | MPIEventStatus
Special Note on the use of MPIEventTypeENCODER_FAULT