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 "00H".
(2) When character strings are linked, the "00H", 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
DSD
Command
Command
$+P
$+
S D
SD
$+P
$+
S
D
S
D
S
D D
DS
42H(B)
b15 b8
41H(A)
b7 b0
+1 43H(C)
00H
+2 45H(E)
44H(D)
32H(2)
b15 b8
31H(1)
b7 b0
+1 33H(3)
+2 35H(5)
34H(4)
42H(B)
b15 b8
41H(A)
b7 b0
+1 43H(C)
+2 45H(E)
44H(D)
00H
36H(6)
+3 +3 32H(2)
+4 34H(4)
00H
+5 36H(6)
31H(1)
33H(3)
35H(5)
"ABCDE123456"
"123456"
"ABCDE"
DS
D
D
S
S
S
D
D
D
D
D
DS
D