Concatenating String Data - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Concatenating string data

$+(P) [when two operands are set]
RnPCPU
RnCPU RnENCPU
(Process)
These instructions concatenate string data.
Ladder
(s)
FBD/LD
Not supported
( Page 636 $+(P) [when three operands are set])
■Execution condition
Instruction
$+
$+P
Setting data
■Description, range, data type
Operand
Description
(s)
Data to be concatenated or the start device containing the
data
(d)
Start device where the data to be concatenated is stored
■Applicable devices
Operand
Bit
X, Y, M, L,
SM, F, B, SB,
FX, FY
(s)
(d)
Processing details
• This instruction connects the character string stored in the device number specified by (s) and later to the end of the
character string data stored in the device number specified by (d) and later, and stores the connected data in the device
number specified by (d) and later.
b15
∙∙∙
b8
b7
(d)
42H (B)
41H (A)
(d)+1
44H (D)
43H (C)
(d)+2
00H
45H (E)
"ABCDE"
• For concatenating character strings, the instruction ignores 00H that indicates the end of the character string in the device
specified by (d) and appends the character string in the device specified by (s) following the last character in the device
specified by (d).
7 APPLICATION INSTRUCTIONS
634
7.8 String Processing Instructions
RnPCPU
RnSFCPU RnSFCPU
(Redundant)
(Standard)
(Safety)
(d)
Execution condition
Word
J\
T, ST, C, D, W,
SD, SW, FD, R,
ZR, RD
b15
∙∙∙
∙∙∙
b0
(s)
32H (2)
+
(s)+1
34H (4)
(s)+2
36H (6)
(s)+3
ST
Not supported
( Page 636 $+(P) [when three operands are set])
Range
U\G, J\,
Z
U3E\(H)G
b8
b7
∙∙∙
b0
(d)
31H (1)
(d)+1
33H (3)
(d)+2
35H (5)
00H
(d)+3
(d)+4
"123456"
(d)+5
Data type
String
String
Double word Indirect
specification
LT, LST,
LZ
LC
b15
∙∙∙
b8
b7
∙∙∙
b0
42H (B)
41H (A)
44H (D)
43H (C)
31H (1)
45H (E)
33H (3)
32H (2)
35H (5)
34H (4)
00H
36H (6)
"ABCDE123456"
Data type (label)
ANYSTRING_SINGL
E
ANYSTRING_SINGL
E
Constant
Others
K, H E
$

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents