Console.WriteLine("📜 Axis Config: AmpFault");
try
{
Axis axis = controller.AxisGet(axisNumber: 0);
Console.WriteLine($"Amp Enabled: {isEnabled}");
Console.WriteLine($"Fault Action: {faultAction}");
Console.WriteLine($"Fault Trigger State: {faultTriggerState}");
Console.WriteLine($"Fault Duration: {faultDuration}");
}
finally
{
controller.Delete();
}
RSIAction AmpFaultActionGet()
Get the Amp Fault action.
bool AmpEnableGet()
Get the state of the Amp Enable Output.
void AmpFaultActionSet(RSIAction action)
Set the Amp Fault action.
void AmpFaultTriggerStateSet(bool state)
Set the trigger state of the Amp Fault input.
double AmpFaultDurationGet()
Get the duration required before the Amp Fault event triggers.
bool AmpFaultTriggerStateGet()
Get the Amp Fault trigger state.
void AmpFaultDurationSet(double seconds)
Set the duration required before the Amp Fault event triggers.
Represents a single axis of motion control. This class provides an interface for commanding motion,...
static MotionController * Get()
Get an already running RMP EtherCAT controller.
Represents the RMP soft motion controller. This class provides an interface to general controller con...
int32_t AmpEnableSet(bool enable, int32_t ampActiveTimeoutMilliseconds=AmpEnableTimeoutMillisecondsDefault, bool overrideRestrictedState=false)
Enable all amplifiers.
RSIAction
Action to perform on an Axis.
Helpers namespace provides utility functions for common tasks in RMP applications.