MotionController Axis MultiAxis IO IOPoint NetworkNode RsiError
Sample Apps Changelog

RapidCode API

◆ AmpFaultTriggerStateSet()

void AmpFaultTriggerStateSet ( bool  state)
pure virtual

Set the trigger state of the Amp Fault input.

Description:
AmpFaultTriggerStateSet sets the trigger state of the Amp Fault input.
Parameters
state1 = triggers on active high signal, 0 = triggers on active low signal.
Sample Code:
AmpFaultTriggerStateSet(1); // Active high
RapidSetup:
Go to axis screen->Limits & Actions. In the image below, AmpFaultTriggerStateSet sets the trigger state shown in the Amp Fault box. It currently triggers on a HIGH because the "High" checkbox is checked.
Limits_Actions.jpg
See also
AmpFaultTriggerStateGet
 
Examples
ConfigAmpFault.cpp.