6-67
$+(P)
1
2
3
4
4
6
7
8
6.2 Arithmetic Operation Instructions
6.2.15 Linking character strings ($+(P))
When three 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 .
(2) When character strings are linked, the "00H" which indicates the end of character string data
indicated by , is ignored, and the character string indicated by 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)
: Data to be linked or head number of the devices where the data to be linked is stored (character string)
: Head number of the devices where the linking result will be stored (character string)
Setting
Data
Internal Devices R, ZR J\ U\G Zn Constants
$Other
Bit Word Bit Word
–– –– ––
–– –– ––
–– –– –– ––
S1
S2
D
Command
Command
$+
$+P
S1 S2 D
S1 S2 D
$+
$+P
S1
S2
D
S1
S2
D
S2
S1 D
46H(F)
b15 b8
48H(H)
b7 b0
+1 41H(A)
00H
+2
2DH( )
35H(5)
b15 b8
31H(1)
b7 b0
33H(3)
41H(A)
39H(9)
46H(F)
b15 b8
48H(H)
b7 b0
41H(A)
31H(1)
2DH( )
00H
33H(3)
41H(A)
35H(5)
39H(9)
00H
S1 S2 D
S1
S1
+1
+2
S2
S2
+1
+2
+3
+4
D
D
D
D
S1
S2
S1