20 SELECTION FUNCTIONS
20.3 Limit Control
807
20
â– Operation result
1. Function without EN/ENO
The following table lists the operation results.
2. Function with EN/ENO
The following table lists the execution conditions and operation results.
*1 When FALSE is output from ENO, data output from (d) is undefined. In that case, modify a program so that the data output from (d) is
not used.
• (s1), (s2), and (s3) are INT or WORD
• (s1), (s2), and (s3) are DINT, DWORD, or TIME
• (s1), (s2), and (s3) are BOOL
• (s1), (s2), and (s3) are the REAL type
• (s1), (s2), and (s3) are STRING
Operation result (d)
No operation error occurred Operation output value
An operation error occurred Indefinite value
Execution condition Operation result
EN ENO (d)
TRUE (Executes operation) TRUE (Operation error did not occur) Operation output value
FALSE (Operation error occurred)
*1
Indefinite value
FALSE (Stops operation) FALSE
*1
Indefinite value
Error code
(SD0/SD8067)
Description
3405 The lower limit value specified by (s1) is greater than the upper limit value specified by (s2).
Error code
(SD0/SD8067)
Description
3405 The lower limit value specified by (s1) is greater than the upper limit value specified by (s2).
Error code
(SD0/SD8067)
Description
3405 The lower limit value specified by (s1) is greater than the upper limit value specified by (s3).
Error code
(SD0/SD8067)
Description
3402 The value of (s1) is outside the following range.
0, 2
-126
ï‚£|(s1)|<2
128
The data specified by (s1) is -0, denormalized number, NaN (not a number), or .
The value of (s2) is outside the following range.
0, 2
-126
ï‚£|(s2)|<2
128
The data specified by (s2) is -0, denormalized number, NaN (not a number), or .
The value of (s3) is outside the following range.
0, 2
-126
ï‚£|(s3)|<2
128
The data specified by (s3) is -0, denormalized number, NaN (not a number), or .
3405 The lower limit value specified by (s1) is greater than the upper limit value specified by (s3).
Error code
(SD0/SD8067)
Description
2820 "00H" is not set to a label specified by (s1), (s2), and (s3) or devices from specified device number to the end device number of
corresponding device.
3405 The lower limit value specified by (s1) is greater than the upper limit value specified by (s3).
The character strings specified by (s1), (s2), and (s3) have more than 16383 characters.
3406 The specified character string cannot be stored in a label specified by (d) or devices from specified device number to the end device
number of corresponding device.