Get the state of the Amp Enable Output.
- Description:
- AmpEnableGet returns the state of the Amp Enable Output.
- Returns
- (int32) 0 = amp is disabled, 1 = amp is enabled.
- Sample Code:
{
Console.WriteLine("Amp is enabled");
}
- RapidSetup:
- Go to axis screen->Dedicated I/O tab. The High/Low state next to Amp Enable is the result of the AmpEnableGet function.
- Note
- For the RMP DedicatedIOGet(RSIMotorDedicatedIn::RSIMotorDedicatedInAMP_ACTIVE) is a more accurate state of the physical drive rather than logical axis.
- See also
- AmpEnableSet, Dedicated I/O
- Examples
- DedicatedIO.cpp, and DedicatedIO.cs.