Mitsubishi MELSEC-Q/L Programming Manual page 229

Table of Contents

Advertisement

Function
(1) Links the character string data designated by
the area starting with the device number designated by
b15
b8
b7
46
(F)
48
(H)
S1
H
H
2D
( )
41
(A)
S1
+1
H
H
00
S1
+2
H
(2) When character strings are linked, the "00
and the character string indicated by
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.
Error
code
The number of device points starting from the device specified in
insufficient to store all character strings.
The storage device numbers for the character strings specified by
4101
and
overlap.
S2
The storage device numbers for the character strings specified by
and
overlap.
D
The number of characters of
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]
[Operation]
b15
b8
b7
b0
62
(b)
61
(a)
D10
H
H
D11
64
(d)
63
(c)
H
H
00
65
(e)
D12
H
H
after the character string data designated by
S2
b0
b15
b8
b7
35
(5)
31
S2
H
39
(9)
33
S2
+1
H
00
41
S2
+2
H
" which indicates the end of character string data indicated by
H
is appended to the last character of the
S2
Error details
,
and
exceeds 16383.
S1
S2
D
[List Mode]
Step
+
"ABCD"
Automatically stores "00
.
D
b0
b15
b8
(1)
46
(F)
D
H
H
(3)
2D
( )
D
+1
H
H
(A)
35
(5)
D
+2
H
H
D
39
(9)
+3
H
00
D
+4
H
S1
Q00J/
Q00/
QnH
Q01
is
D
S1
S2
Device
Instruction
b15
b8
b7
62
(b)
61
D100
H
D101
64
(d)
63
H
41
(A)
65
D102
H
43
(C)
42
D103
H
00
44
D104
H
".
H
$+, $+P
and stores the result into
S1
b7
b0
48
(H)
H
41
(A)
H
31
(1)
H
33
(3)
H
41
(A)
H
, is ignored,
S1
string.
QnPH QnPRH
QnU
b0
(a)
H
(c)
H
(e)
H
(B)
H
(D)
H
1
2
3
4
6
LCPU
7
8
227

Advertisement

Table of Contents
loading

Table of Contents