MotionController
Axis
MultiAxis
IO
IOPoint
NetworkNode
RsiError
Sample Apps
Changelog
RapidCode API
Contact us
Support
◆
HomeTriggerStateGet()
bool HomeTriggerStateGet
(
)
pure virtual
Get the trigger state for the Home input.
Description:
HomeTriggerStateGet returns the trigger state.
Returns
(int32) 1 = triggers on active high signal, 0 = triggers on active low signal.
Sample Code:
if
(
HomeTriggerStateGet
())
{
Console.WriteLine(
"Home triggers on active high signal."
);
}
else
{
Console.WriteLine(
"Home triggers on active low signal.);
}
RapidSetup:
Go to axis screen->Limits & Actions. In the image below, HomeTriggerStateGet returns the trigger state which is NOT currently displayed in Home box.
See also
HomeTriggerStateSet