MPI 04.00 Reference >> mpiMotor

mpiMotorDedicatedOutGet

Declaration

int32_t mpiMotorDedicatedOutGet(MPIMotor       motor,
int32_t startBit,
int32_t bitCount,
uint32_t *state);

Required Header: stdmpi.h
Change History: Added in 03.02.00

Description

mpiMotorDedicatedOutGet gets the current state of one or more of the dedicated outputs.

motor a handle to the Motor object
startBit the first dedicated out bit that is returned by the function.
bitCount the number of dedicated out bits that is returned by the function.
*state the address of where the current state of the outputs is returned.
Return Values
MPIMessageOK

See Also

Dedicated Motor I/O | MPIMotorDedicatedOut