7 APPLICATION INSTRUCTION
7.6 Character string operation instruction
399
7
• A character string can be directly specified in the character string (s1).
Error code
(SD0/SD8067)
Description
2820 No NULL code (00H) exists in the corresponding device range of the device specified by (s1) and later.
No NULL code (00H) exists in the corresponding device range of the device specified by (s2) and later.
3405 The value stored in a device specified in (s3) exceeds the number of characters of (s2).
The character string specified by (s1) has more than 16383 characters.
The character string specified by (s2) has more than 16383 characters.
31H (1)32H (2)
33H (3)34H (4)
41H (A)42H (B)
35H (5)36H (6)
41H (A)42H (B)
00H
"1234AB56AB"
"AB"
b15 b0b7b8
(s2)
(s2)+1
(s2)+2
(s2)+3
(s2)+4
(s2)+5
3
(s3)
5
(d)
Search start position (s3): 3rd character
Fifth character from the head character
Character string to be searched for (s1)