MPI 04.00 Reference >> mpiMotor
mpiMotorCreate
Declaration
mpiMotorCreate(MPIMotor *motor, MPIControl control, long number);
Required Header: stdmpi.h
Change History: Modified in 04.00.
Description
mpiMotorCreate creates a Motor object associated with the motor identified by number, and located on the motion controller (control). MotorCreate is the equivalent of a C++ constructor.
| Return Values |
|---|
| MPIMessageOK |
| MPIMotorMessageMOTOR_INVALID |
