EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Page 696

Mitsubishi Electric MELSEC iQ-R Series
2110 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
694
7 APPLICATION INSTRUCTIONS
7.8 String Processing Instructions
Processing details
These instructions extract the data by the number of characters specify by (s2)+1 from the location specified by (s2) in the
character string data stored in the device number specified by (s1) and later, and store the extracted data in the device
number specified by (d) and later.
The NULL code (00H) indicating the end of a character string is automatically added to the end of the character string data.
If the number of characters in the device specified by (s2)+1 is 0, no processing is performed.
When the number of characters of the data in the device specified by (s2)+1 is -1, the data till the last character data in the
device specified by (s1) is stored in the device specified by (d) and later.
Operation error
(1) Position specified by (s2): 5th character
(2) ASCII code ((s2)+1)th character from the specified position)
(1) Position specified by (s2): 5th character
Error code
(SD0)
Description
2820H There is no NULL code (00H) in each setting area in the device/label memory in the device specified by (s1) and later.
3405H The number of characters of the character string in the device specified by (s1) exceeds 16383.
An out-of-range value is set to (s2).
The value in the device specified by (s2) is 0 or less.
The value in the device specified by (s2)+1 is other than the valid values (-1, 0, 1 or bigger).
The value in the device specify by (s2) exceeds the number of characters in the device specified by (s1).
The value obtained by adding those in the devices specify by (s2) and (s2)+1 exceeds the number of characters in the device specified
by (s1).
41H (A)42H (B)
43H (C)44H (D)
45H (E)46H (F)
47H (G)48H (H)
45H (E)46H (F)
47H (G)48H (H)
49H (I)4AH (J)
4BH (K)00H
49H (I)00H
"ABCDEFGHIJK"
"EFGHI"
b15 b0 b7b8
b15 b0 b7b8
(s1)
(s1)+1
(s1)+2
(s1)+3
(s1)+4
(s1)+5
(d)
(d)+1
(d)+2
5
5
(s2)
(s2)+1
(1)
(2)
41H (A)42H (B)
43H (C)44H (D)
45H (E)46H (F)
47H (G)48H (H)
45H (E)46H (F)
47H (G)48H (H)
49H (I)4AH (J)
4BH (K)00H
49H (I)4AH (J)
4BH (K)00H
"ABCDEFGHIJK"
"EFGHIJK"
b15 b0 b7b8
b15 b0 b7b8
(s1)
(s1)+1
(s1)+2
(s1)+3
(s1)+4
(s1)+5
(d)
(d)+1
(d)+2
(d)+3
5
-1
(s2)
(s2)+1
(1)

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals