MotionController Axis MultiAxis IO IOPoint NetworkNode RsiError
Sample Apps Changelog

RapidCode API

◆ AmpFaultGet()

bool AmpFaultGet ( )
pure virtual

Get the current state of the Amp Fault input.

Description:
AmpFaultGet returns the current state of the Amp Fault input.
Returns
(bool) State of the Amp Fault input.
Sample Code:
if(axis.AmpFaultGet() == true)
{
Console.WriteLine("Amp Fault input is High");
}
RapidSetup:
Go to axis screen->Dedicated I/O tab. The High/Low state next to Amp Fault is the result of the AmpFaultGet function.
DedicatedIO.jpg
See also
Dedicated I/O
 
Examples
DedicatedIO.cpp, and DedicatedIO.cs.