typedef union {
long polarity; /* 0 => active low, else active high */
long position; /* MPIEventTypeLIMIT_SW_[POS|NEG] */
float error; /* MPIEventTypeLIMIT_ERROR */
long mask; /* MPIEventTypeENCODER_FAULT */
} MPIMotorEventTrigger;
Description
polarity
configures the polarity
for Motor Event. Active Low = 0, Active High = non-zero.
position
configures position at which Positive
and Negative Software limits generate Events.