%SetLimitStatus function


Old name
%SetLimitStatusV
Function
The function sets the limit state according to the defined limits VLL, LL, HL and VHL to a given expression value. Result is a value of the same type as the expression. Using the function is meaningful only in scripts for local variables.
Declaration
UNIVAL  %SetLimitStatus(
   in expression, 
   in VLL, 
   in LL, 
   in HL, 
   in VHL
 )

Parameters
expression Arbitrary expression.
VLL, LL, HL, VHL Expressions defining individual limits.

Example
 _locVar1 := %SetLimitStatus(U.K4_T02, 45, 60, 80, 115)
 
 _locVar2 := %SetLimitStatus(P.TlakSL5, U.VLL_S5, U.LL_S5, U.HL_S5, U.VHL_S5) 

Napíšte komentár