30 SELECTION FUNCTIONS
30.3 Controlling the Upper/Lower Limit
1935
30
30.3 Controlling the Upper/Lower Limit
LIMIT(_E)
These functions output an input value that has been controlled in terms of the upper and lower limits.
■Description, type, data type
*1 DX cannot be used.
Ladder, FBD/LD Structured text
[Without EN/ENO] [With EN/ENO] [Without EN/ENO]
d:=LIMIT(s1,s2,s3);
[With EN/ENO]
d:=LIMIT_E(EN,ENO,s1,s2,s3);
Argument Description Type Data type
EN Execution condition (TRUE: Executed, FALSE: Not executed) Input variable BOOL
s1 (MN)
*1
Lower limit value (minimum output threshold value) Input variable ANY_ELEMENTARY
s2 (IN)
*1
Input value to be controlled with the upper and lower limits Input variable ANY_ELEMENTARY
s3 (MX)
*1
Upper limit value (maximum output threshold value) Input variable ANY_ELEMENTARY
ENO Output status (TRUE: Normal, FALSE: Abnormal) Output variable BOOL
d Output Output variable ANY_ELEMENTARY
RnCPU
RnENCPU
RnSFCPU RnSFCPURnPCPURnPCPU
(Standard) (Safety)
(Redundant)
(Process)
EN ENO
ds1
s2
s3