6-68
$+(P)
Operation Error
(1) In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and
an error code is stored into SD0.
• The entire character string linked from the device number designated by to the final
device number of the relevant device cannot be stored. (Error code: 4101)
• The storage device numbers for the character strings designated by and overlap.
(Error code: 4101)
• The storage device numbers for the character strings designated by and overlap.
(Error code: 4101)
• The character string of , and exceeds 16383 characters. (Error code: 4101)
Program Example
(1) The following program links the character string stored from D10 to D12 with the character
string "ABCD" when X0 is ON, and stores them in D100 onwards.
[Ladder Mode] [List Mode]
[Operation]
D
S1
S2
S2
D
S1
S2
D
Step
Instruction
Device
Automatically stores "00H".
62
H
(b)
b15 b8
61
H
(a)
b7 b0
D11
63
H
(c)
00
H
D12
65
H
(e)
64
H
(d)
62
H
(b)
b15 b8
61
H
(a)
b7 b0
D100
63
H
(c)
D102
65
H
(e)
64
H
(d)
D103
42
H
(B)
D104
44
H
(D)00
H
41
H
(A)
43
H
(C)
"ABCD"
+
D10
D101