◆ HomeActionGet()

virtual RSIAction HomeActionGet ( )
pure virtual

Get the action that will occur when the Home Event triggers.

ℹ This function is avaliable in RapidCode and RapidSequencer

Part of the Limits and Action Configuration method group.

Description:
HomeActionGet returns the action that will occur when the Home Event triggers.
Returns
(RSIAction) Action taken on Home trigger.
Note:
Available Actions are Abort(), EStop(), Stop(), None, EStopAbort(), and EStopModify()
Sample Code:
if (HomeActionGet() == RSIAction.RSIActionSTOP) {
Console.WriteLine("Homing Action is set to STOP.");
}
RapidSetup:
Go to axis screen->Limits & Actions. In image below, HomeActionGet returns the action type shown in the Home Fault box. It is currently set to STOP.
Limits_Actions.jpg
See also
HomeActionSet