1950
32 STRING FUNCTIONS
32.3 Extracting String Data
■Operation result
1. Function without EN/ENO
The operation processing is performed. The operation result is output from (d).
2. Function with EN/ENO
The execution conditions and operation results will be as follows.
*1 If the value FALSE is output from ENO, the output data from (d) will be undefined. Create a program so that the undefined value will not
be used in operations.
Execution condition Operation result
EN ENO (d)
TRUE (executed) TRUE Operation result output value
FALSE (not executed) FALSE
*1
Undefined value
Error code
(SD0)
Description
2820H There is no NULL code (00H) in the setting area specified by (s) in the device/label memory.
3405H The number of characters in the string input to (s) exceeds 16383.
Out-of-range data is set to (n1) or (n2).
• The value input to (n1) or (n2) is 0 or smaller.
• The value input to (n2) is other than the valid values (-1, 0, 1 or bigger).
• The value input to (n1) exceeds the number of characters in (s).
• The sum of (n1) and (n2) exceeds the number of characters in (s).