MATH.LimitAlarm_DINT (FB)

(CAA_Mathematics.library)

This function block checks whether an integral value lies between an integral lower bound  and an integral upper bound . The Boolean output value will be set according to the result.

Input:

diValue

DINT

value  to be tested

diLimitPos

DINT  

upper bound

diLimitNeg

DINT

lower bound

Output:

xExceedsPos

BOOL

TRUE, if   (FALSE else)

xExceedsNeg

BOOL

TRUE, if   (FALSE else)

xlnLimits

BOOL

TRUE, if  (FALSE else; also in the atypical  case  )