MotionController Axis MultiAxis IO IOPoint NetworkNode RsiError
Sample Apps Changelog

RapidCode API

◆ AmpEnableGet()

bool AmpEnableGet ( )
pure virtual

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:
if(axis.AmpEnableGet() == true)
{
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.
DedicatedIO.jpg
See also
AmpEnableSet, Dedicated I/O
 
Examples
DedicatedIO.cpp, and DedicatedIO.cs.