Mitsubishi MELSEC Q Series Programming Manual page 609

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

(2) The NULL code (00
) indicating the end of the character string is automatically added to the
H
end of the character string.
Refer to 3.2.5 for the format of the character string data.
(3) No processing will be conducted if the number of characters designated by
(4) If the number of characters designated by
character designated by
b15
b8b7
S 1
42
(B)
H
S 1
+1
44
(D)
H
S 1
+2
46
(F)
H
S 1
+3
48
(H)
H
S 1
+4
4A
(J)
H
S 1
+5
00
H
"ABCDEFGHIJK"
5
S2
1
+1
S2
MIDW
(1) Extracts the character string data of
character string data designated by
data designated by
D
end.
b15
b8b7
S 1
31
(1)
H
S 1
+1
33
(3)
H
S 1
+2
35
(5)
H
S 1
+3
37
(7)
H
+4
S 1
00
H
"012345678"
Position counted from the left
3
S2
end of character string data
designated by
6
+1
S2
Number of characters counted
from the left end of the character
string data designated by
(2) The NULL code (00
) indicating the end of the character string is automatically added to the
H
end of the character string.
Refer to 3.2.5 for the format of the character string data.
(3) No processing will be conducted if the number of characters designated by
+1 is " 1", stores the data up to the final
S2
starting from the device designated by
S
b0
41
(A)
H
43
(C)
H
45
(E)
H
Position of
47
(G)
H
the 5th
49
(I)
H
character
S2
4B
(K)
H
+1 characters, starting from the left end of the
S2
, and stores the extracted data to the character string
S1
in the area starting from the position designated by
b0
30
(0)
H
32
(2)
H
34
(4)
H
36
(6)
H
38
(8)
H
D
S1
MIDR(P),MIDW(P)
+1 is "0".
S2
.
D
b15
b8b7
D
46
(F)
H
D
+1
48
(H)
H
+2
D
4A
(J)
H
+3
D
00
H
"EFGHIJK"
from the left
S2
Before execution
b15
b8b7
D
42
(B)
H
D
+1
44
(D)
H
D
+2
46
(H)
H
D
+3
48
(H)
H
D
+4
00
H
"ABCDEFGHI"
After execution
b15
b8b7
D
42
(B)
H
D
+1
31
(1)
H
D
+2
33
(3)
H
D
+3
35
(5)
H
D
+4
00
H
"AB012345I"
+1 is "0".
S2
1
2
3
b0
45
(E)
H
47
(G)
H
4
49
(I)
H
4B
(K)
H
6
6
7
8
b0
41
(A)
H
43
(C)
H
45
(E)
H
47
(G)
H
49
(I)
H
b0
41
(A)
H
30
(0)
H
32
(2)
H
34
(4)
H
49
(I)
H
7-235

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents