MPI 04.00 Reference >> mpiMotion
MPIMotionAttrOutput
Definition
typedef struct MPIMotionAttrOutput {
MPIMotionAttrOutputType type;
union {
int32_t *output;
int32_t motor;
} as;
int32_t offMask;
int32_t onMask;
int32_t pointIndex; /* MPIMotionAttrMaskOUTPUT for path
motion - point index for turning
on output - used with point lists */
} MPIMotionAttrOutput;
Description
| type | This value specifies the output type to determine the output bits to be set or cleared. |
|---|---|
| *output | This value specifies the memory address when MPIMotionAttrOutputTypeOUTPUT is used. |
| motor | This value specifies the motor number when MPIMotionAttrOutputTypeMOTOR is used. |
| offMask | This value specifies the bits to be turned OFF when MPIMotionAttrOutputTypeOFFMASK is used. |
| onMask | This value specifies the bits to be turned ON when MPIMotionAttrOutputTypeONMASK is used. |
| pointIndex | This value specifies an index to a point, when multiple point motion is used. |
