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
42H (B)41H (A)
32H (2)31H (1)
33H (3)46H (E)D12
D13
"BA213ED"
45H (D)00H
D10
D1
32H (2)31H (1)
33H (3)46H (E)
D2 00H
"213E"
D0
b15 b8b7 b0 b15 b8b7 b0
Instruction Device
Step
3
4
R1
R0
D1
32H (2)31H (3)
46H (F)45H (E)
30H (0)33H (3)
D2
D3
"21FE03"
00H
D0
D101
55H (U)53H (S)
43H (C)59H (Y)
D102
"USCYZ10B"
D100
5A
H (Z)31H (1)
30H (0)42H (B)
00H
D103
D104
Before execution
D101
55H (U)53H (S)
32H (2)31H (1)
D102
"US21FE0B"
D100
46H (F)45H (E)
30H (0)42H (B)
00H
D103
D104
After execution
b15 b8b7 b0 b15 b8b7 b0
b15 b8b7 b0