Declaration |
long mpiMotorAmpEnableSet(MPIMotor motor,
long ampEnable)
|
|
|
Description |
MotorAmpEnableSet sets the
state of the amp enable output for a Motor (motor)
to ampEnable. Note that the actual state of amp enable
output also depends upon the actual wiring and the polarity chosen
in the instance of the MPIMotorConfig structure.
|
|
If "ampEnable" is |
Then |
FALSE (0) |
the amp will be disabled |
TRUE (1) |
the amp will be enabled |
|
Return Values |
MPIMessageOK |
if MotorAmpEnableset
successfully sets the Motor's amp enable output state to ampEnable |
|
|