Mitsubishi MELSEC-Q/L Programming Manual page 490

Table of Contents

Advertisement

MIDR, MIDRP, MIDW, MIDWP
(2) The NULL code (00
) indicating the end of the character string is automatically added to the end of the character string.
H
Refer to Page 90, Section 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
from the device 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
, and stores the extracted data to the character string data designated by
S1
designated by
from the left end.
S2
b15
b8b7
S 1
31
(1)
H
S 1
+1
33
(3)
H
S 1
+2
35
(5)
H
+3
S 1
37
(7)
H
+4
S 1
00
H
"012345678"
Position counted from the left
3
S2
end of character string data
designated by
+1
6
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 end of the character string.
H
Refer to Page 90, Section 3.2.5 for the format of the character string data.
(3) No processing will be conducted if the number of characters designated by
488
+1 is "-1", stores the data up to the final character designated by
S2
.
D
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 character string data designated by
S2
b0
30
(0)
H
32
(2)
H
34
(4)
H
36
(6)
H
38
(8)
H
D
S1
+1 is "0".
S2
b15
b8b7
D
46
(F)
H
+1
D
48
(H)
H
+2
D
4A
(J)
H
+3
D
00
H
"EFGHIJK"
in the area starting from the position
D
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
starting
S
b0
45
(E)
H
47
(G)
H
49
(I)
H
4B
(K)
H
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

Advertisement

Table of Contents
loading

Table of Contents