364
7 APPLICATION INSTRUCTION
7.6 Character string operation instruction
Concatenating character strings
$+(P) [For 2 operands]
These instructions concatenate the character string data stored in the device specified by (s) and later to the end of the
character string data stored in the device specified by (d) and later, and store the concatenated string in the device specified
by (d) and later.
■Descriptions, ranges, and data types
■Applicable devices
*1 T, ST, C cannot be used.
• These instructions concatenate the character string data stored in the device specified by (s) and later to the end of the
character string data stored in the device specified by (d) and later, and store the concatenated string in the device
specified by (d) and later.
• Character strings in the devices specified by (s) and (d) up to a device that stores 00H are concatenated.
• When character strings are concatenated, 00H indicating an end of the character string specified by (d) is ignored and the
character string specified by (s) is concatenated to the last character of (d).
Ladder diagram Structured text
Not supported
Operand Description Range Data type Data type (label)
(s) Head device number storing data to be concatenated or data, or
directly specified character string
Character string Character string
(d) Head device number storing data to which another data is
concatenated
Character string Character string
Operand Bit Word Double word Indirect
specification
Constant Others
X, Y, M, L,
SM, F, B, SB
U\G T, ST,
C, LC
T, ST, C, D,
W, SD, SW, R
U\G Z LC LZ K, H E $
(s)
*1
(d)
*1
"ABCDE123456"
+
b15
(d)
(d)+1
(d)+2
42H (B)
b8
41H (A)
b7 b0
43H (C)44H (D)
45H (E)00H
"ABCDE"
b15 b0
(s)
(s)+1
(s)+2
(s)+3
32H (2)
b8
31H (1)
b7
33H (3)34H (4)
35H (5)
0000H
36H (6)
"123456"
b15 b0
00H
(d)+1
(d)
(d)+2
(d)+3
(d)+4
(d)+5
42H (B)
b8
41H (A)
b7
43H (C)44H (D)
45H (E)31H (1)
32H (2)33H (3)
34H (4)
36H (6)
35H (5)