7-238
MIDR(P),MIDW(P)
• The +1 value exceeds the number of characters for . (Error code: 4101)
• The + 0 value is 0. (Error code: 4101)
•"00
H
" does not exist in the specified devices that follow the device specified for .
(Error code: 4101)
Program Example
(1) The following program stores the 3rd character through the 6th character from the left of the
character string stored in the area starting from D10 at devices starting from D0 when X0 is
turned ON.
[Ladder Mode] [List Mode]
[Operation]
(2) The following program stores 4 characters of the character string data stored in the area
starting from D0 into the area starting from the 3rd character from the left of the character
string data in the area starting from D100 when X0 is turned ON.
[Ladder Mode] [List Mode]
[Operation]
S2
S1
S2
S1
Instruction
Device
Step
3
4R1
R0
D11
42
H
(B)41
H
(A)
32
H
(2)31
H
(1)
33
H
(3)46
H
(E)D12
D13
"BA213ED"
45
H
(D)00
H
D10
D1
32
H
(2)31
H
(1)
33
H
(3)46
H
(E)
D2
00
H
"213E"
D0
b15 b8b7 b0
b15 b8b7 b0
Instruction
Device
Step
3
4
R1
R0
D1
32
H
(2)31
H
(3)
46
H
(F)45
H
(E)
30
H
(0)33
H
(3)
D2
D3
"21FE03"
00
H
D0
D101
55
H
(U)53
H
(S)
43
H
(C)59
H
(Y)
D102
"USCYZ10B"
D100
5A
H
(Z)31
H
(1)
30
H
(0)42
H
(B)
00
H
D103
D104
Before execution
D101
55
H
(U)53
H
(S)
32
H
(2)31
H
(1)
D102
"US21FE0B"
D100
46
H
(F)45
H
(E)
30
H
(0)42
H
(B)
00
H
D103
D104
After execution
b15 b8b7
b0 b15 b8b7 b0
b15 b8b7 b0