6-58
6.2 Arithmetic Operation Instructions
6.2.14 Character string data concatenation
$+
O
p
erat
i
on
E
rror
In any of the following cases, an operation error occurs, the error flag (SM0) is turned ON, and
the corresponding error code is stored to SD0.
• The entire character strings cannot be stored to the variable specified for
.
(Error code: 4101)
• The variables specified for
and
overlap.
(Error code: 4101)
• The variables specified for
and
overlap.
(Error code: 4101)
• The character string of
,
and
exceeds 16383 characters.
(Error code: 4101)
Program
E
xam
pl
e
In the following program, the character string "ABCD" is connected to the character string stored
in Var_D10 when X0 turns ON, and the results are stored to Var_D100 and the following devices.
[Structured ladder]
d
s
1
s
2
s
2
d
s
1
s
2
d
Summary of Contents for MELSEC Q Series
Page 1: ...Structured Programming Manual Mitsubishi Programmable Controller QCPU Common Instructions ...
Page 2: ......
Page 14: ...A 12 MEMO ...
Page 340: ...6 178 MEMO MTR ...
Page 708: ...7 368 MEMO ...
Page 776: ...8 68 MEMO ...
Page 796: ...9 20 MEMO ...
Page 804: ...App 8 MEMO ...
Page 812: ...Index 8 MEMO ...
Page 815: ......