MPI 04.00 Reference >> mpiMotor

mpiMotorDedicatedOutGet

Declaration

long mpiMotorDedicatedOutGet(MPIMotor       motor,
long startBit,
long bitCount,
unsigned long *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