MPI 04.00 Reference >> mpiMotor
MPIMotorStepperPulseType
Definition
typedef enum MPIMotorStepperPulseType { MPIMotorStepperPulseTypeINVALID = -1, MPIMotorStepperPulseTypeSTEP, MPIMotorStepperPulseTypeDIR, MPIMotorStepperPulseTypeCW, MPIMotorStepperPulseTypeCCW, MPIMotorStepperPulseTypeQUADA, MPIMotorStepperPulseTypeQUADB, MPIMotorStepperPulseTypeEND, MPIMotorStepperPulseTypeFIRST = MPIMotorStepperPulseTypeINVALID + 1 } MPIMotorStepperPulseType;
Required Header: stdmpi.h
Change History: Modified in 04.00.
Description
MPIMotorStepperPulseType is an enumeration used to specify the pulse output signal type.
MPIMotorStepperPulseTypeSTEP | This will enable the pulse output (either A or B) to generate a step output. Use it together with MPIMotorStepperPulseTypeDIR to provide a complete step interface. |
---|---|
MPIMotorStepperPulseTypeDIR | This will enable the pulse output (either A or B) to output the direction of the move. Use it together with MPIMotorStepperPulseTypeSTEP to provide a complete step interface. |
MPIMotorStepperPulseTypeCW | This will enable the pulse output (either A or B) to output a clockwise pulse train. Used together with MPIMotorStepperPulseTypeCCW to provide a complete step interface. |
MPIMotorStepperPulseTypeCCW | This will enable the pulse output (either A or B) to output a counter-clockwise pulse train. Use it together with MPIMotorStepperPulseTypeCW to provide a complete step interface. |
MPIMotorStepperPulseTypeQUADA | This will enable the pulse output (either A or B) to output a quadrature signal (90 degree phase difference to MPIMotorStepperPulseTypeQUADB). Use it together with MPIMotorStepperPulseTypeQUADB to provide a complete quadrature interface. |
MPIMotorStepperPulseTypeQUADB | This will enable the pulse output (either A or B) to output a quadrature signal (90 degree phase difference to MPIMotorStepperPulseTypeQUADA). Use it together with MPIMotorStepperPulseTypeQUADA to provide a complete quadrature interface. |