MPIUserLimitOutputMotorIo

Declaration

typedef struct MPIUserLimitOutputMotorIo {
    int32_t     motorNumber;
    int32_t     bit;
    MPI_BOOL newState;
} MPIUserLimitOutputMotorIo;

 

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

Description

MPIUserLimitOutputMotorIo holds the data for setting a motor digital output with a user limit’s output block.

motorNumber The number of the motor whose general purpose digital output is to be set when the user limit fires.
bit The general purpose digital output bit that will be set when the user limit fires.
newState If set to TRUE, then the general purpose digital output will be set “high” when the user limit fires.

If set to FALSE, then the general purpose digital output state will be set “low” when the user limit fires.

See Also

MPIUserLimitConditionData | MPIUserLimitConditionType