6-65
$+(P)
1
2
3
4
4
6
7
8
6.2 Arithmetic Operation Instructions
6.2.15 Linking character strings ($+(P))
6.2.15 Linking character strings ($+(P))
$+(P)
When two data are set ( + )
Function
(1) Links the character string data designated by after the character string data designated
by and stores the result into the area starting with the device number designated by .
The object of character string data is that character string data stored from device numbers
designated at and to that stored at "00
H
".
(2) When character strings are linked, the "00
H
", which indicates the end of character string
data designated at , is ignored, and the character string designated at is appended to
the last character of the string.
: Data for linking or head number of the devices where the data for linking is stored (character string)
:
Head number of the devices where the data to be linked is stored (character string)
Setting
Data
Internal Devices
R, ZR
J\
U\G
Zn
Constants
$
Other
Bit Word Bit Word
–– –– ––
–– –– –– ––
Process
High
performance
Redundant
Universal
Basic
D
S
D
Command
Command
$+P
$+
S D
S
D
$+P
$+
S
D
S
D
S
D D
D
S
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)
b15 b8
31
H
(1)
b7 b0
+1
33
H
(3)
+2
35
H
(5)
34
H
(4)
42
H
(B)
b15 b8
41
H
(A)
b7 b0
+1
43
H
(C)
+2
45
H
(E)
44
H
(D)
00
H
36
H
(6)
+3
+3
32
H
(2)
+4
34
H
(4)
00
H
+5
36
H
(6)
31
H
(1)
33
H
(3)
35
H
(5)
"ABCDE123456"
"123456"
"ABCDE"
D
S
D
D
S
S
S
D
D
D
D
D
D
S
D