6 - 49 6 - 49
MELSEC-Q/QnA
6 BASIC INSTRUCTIONS
High Performance
QnA Q4AR
Basic
QCPU
PLC CPU
Process CPU
6.2.12 Linking character strings ($+, $+P)
Usable Devices
Internal Devices
(System, User)
MELSECNET/10(H)
Direct J
\
Set
Data
Bit Word
File
Register
Bit Word
Special
Function
Module
U
\G
Index
Register
Zn
Constant
$
Other
S
D
[Instruction Symbol] [Execution Condition]
Command
Command
$+P
$+
S D
S D
$+P
$+
[Set Data]
Set Data Meaning Data Type
S
Head number of device holding linked data or data
D
Head number of device holding data which has been linked
Character string
[Functions]
(1) Character string data stored in device numbers starting with that designated at
S
will be
appended after character string data stored in device numbers starting with that designated at
D
, and will be stored in device numbers starting with that designated at
D
.
The object of character string data is that character string data stored from device numbers
designated at
D
and
S
to that stored at "00
H
".
42
H
(B)
b15 - - - b8
41
H
(A)
b7 - - - - b0
+1
43
H
(C)
00
H
+2
45
H
(E)
44
H
(D)
32
H
(2) 31
H
(1)
+1
33
H
(3)
+2
35
H
(5)
34
H
(4)
42
H
(B) 41
H
(A)
+1
43
H
(C)
+2
45
H
(E)
44
H
(D)
00
H
36
H
(6)
+3
+3
32H
(2)
+4
34
H
(4)
00
H
+5
36
H
(6)
31
H
(1)
33
H
(2)
35
H
(3)
"ABCDE123456"
"123456"
"ABCDE"
+
D S
D
D
S
S
S
D
D
D
D
D
b15 - - - b8 b7 - - - - b0 b15 - - - b8b7 - - - - b0
(2) When character strings are linked, the "00
H
", which indicates the end of character string data
designated at
D
, is ignored, and the character string designated at
S
is appended to the last
character of the
D
string.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com