Mitsubishi MELSEC-Q/L Programming Manual page 228

Table of Contents

Advertisement

$+, $+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.
Error
code
The number of device points starting from the device specified in
insufficient to store all character strings.
4101
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 to the character string "ABCD" when X0 is ON.
[Ladder Mode]
[Operation]
b15
b8
b7
b0
62
(b)
61
(a)
D10
H
H
64
(d)
63
D11
(c)
H
H
00
65
(e)
D12
H
H
When three data are set ( +
$+
$+P
: Data for linking or head number of the devices where the data for linking is stored (character string)
S1
: Data to be linked or head number of the devices where the data to be linked is stored (character string)
S2
: Head number of the devices where the linking result will be stored (character string)
D
Internal Devices
Setting
Data
Bit
Word
––
S1
––
S2
––
D
226
Error details
and
exceeds 16383.
S
D
[List Mode]
Step
+
"ABCD"
Automatically stores "00 ".
)
S1
S2
D
Command
Command
J
\
R, ZR
Bit
Q00J/
Q00/
QnH
Q01
is
D
S
Instruction
Device
b15
b8
b7
62
(b)
61
D10
H
H
64
(d)
63
D11
H
41
(A)
65
D12
H
43
(C)
42
D13
H
H
00
44
D14
H
H
H
$+
S1
$+P
S1
U
\G
Word
––
––
––
QnPH QnPRH
QnU
b0
(a)
(c)
H
(e)
H
(B)
(D)
S2
D
S2
D
Constants
Zn
Other
$
––
LCPU
––
––
––

Advertisement

Table of Contents
loading

Table of Contents