The RMP Motion Controller APIs

◆ NegativeLimitGet()

bool NegativeLimitGet ( )
Description:
NegativeLimitGet returns the state of the Hardware Negative Limit input.
Returns
(bool) State of the input.
Remarks
This function is also available in RapidSequencer.

Part of the Dedicated I/O method group.

Note
Will return true when the dedicated IO is LOW if Trigger value is low.
See also
HardwareNegLimitTriggerStateSet
Sample Code:
IO: Input & Output
// Retrieve dedicated inputs with generic and specific function.
Console.WriteLine("RSIMotorDedicatedInLIMIT_HW_NEG: {0} and {1}",
axis.DedicatedInGet(RSIMotorDedicatedIn.RSIMotorDedicatedInLIMIT_HW_NEG),
Console.WriteLine("RSIMotorDedicatedInLIMIT_HW_POS: {0} and {1}",
axis.DedicatedInGet(RSIMotorDedicatedIn.RSIMotorDedicatedInLIMIT_HW_POS),
Console.WriteLine("RSIMotorDedicatedInHOME: {0} and {1}",
axis.DedicatedInGet(RSIMotorDedicatedIn.RSIMotorDedicatedInHOME),
axis.HomeSwitchGet());
Console.WriteLine("RSIMotorDedicatedInAMP_FAULT: {0} and {1}",
axis.DedicatedInGet(RSIMotorDedicatedIn.RSIMotorDedicatedInAMP_FAULT),
axis.AmpFaultGet());
Console.WriteLine("RSIMotorDedicatedInAMP_ACTIVE: {0} and {1}",
axis.DedicatedInGet(RSIMotorDedicatedIn.RSIMotorDedicatedInAMP_ACTIVE),
axis.AmpEnableGet());
RapidSetup:
Go to axis screen->Dedicated I/O tab. The High/Low state next to Neg. HW limit is the result of the NegativeLimitGet function.
See also
PositiveLimitGet, HomeSwitchGet
Examples
InputOutput.cs.