MotionController Axis MultiAxis IO IOPoint NetworkNode RsiError
Sample Apps Changelog

RapidCode API

◆ UserLimitConditionSet() [2/2]

void UserLimitConditionSet ( int32  number,
int32  conditionNumber,
RSIUserLimitLogic  logic,
uint64  address,
double  limitValue 
)
pure virtual

Set the conditions for a User Limit.

Description:
UserLimitConditionSet set one of the conditions for a User Limit.
Parameters
numberThe index of the UserLimit. Starts from 0 and goes to (UserLimitCountGet - 1).
conditionNumberThis should be 0 or 1, User Limits only support two conditions.
logicUse RSIUserLimitLogic
*addressUse any address in the controller (see sample code).
limitValue64-bit double value to be compared with the value stored at the address specified.
Sample Code:
// configure user limit to evaluate input bit
controller->UserLimitConditionSet(0,
0,
1234.56789);
See also
UserLimitConfigSet , UserLimitOutputSet