Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 639

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

Advertisement

Processing details
• This instruction connects the character string stored in the device number specified by (s2) and later to the end of the
character string data stored in the device number specified by (s1) and later, and stores the connected data in the device
number specified by (d) and later.
b15
∙∙∙
b8
b7
∙∙∙
b0
(s1)
42H (B)
41H (A)
(s1)+1
44H (D)
43H (C)
(s1)+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 (s1) and appends the character string in the device specified by (s2) following the last character in the device
specified by (s1).
Operation error
Error code
Description
(SD0)
2820H
After the device number specified by (s1) and later, there is no 00H before the relevant device number.
After the device number specified by (s2) and later, there is no 00H before the relevant device number.
2821H
The device numbers for storing the strings in the devices specified by (s2) and (d) are overlapping.
3405H
The number of characters in the string specified by (s1) exceeds 16383.
The number of characters in the string specified by (s2) exceeds 16383.
3406H
The string stored in the device specified by (d) is out of the output enable range.
• The number of characters in the concatenated string exceeds 16383.
• The entire string after concatenate processing cannot be stored in the setting area specified by (d) in the device/label memory. (The
number of required points is insufficient.)
b15
∙∙∙
b8
b7
∙∙∙
(s2)
32H (2)
31H (1)
+
(s2)+1
34H (4)
33H (3)
(s2)+2
36H (6)
35H (5)
(s2)+3
00H
"123456"
b0
b15
∙∙∙
b8
b7
(d)
42H (B)
41H (A)
(d)+1
44H (D)
43H (C)
(d)+2
31H (1)
45H (E)
(d)+3
33H (3)
32H (2)
(d)+4
35H (5)
34H (4)
(d)+5
00H
36H (6)
"ABCDE123456"
∙∙∙
b0
7 APPLICATION INSTRUCTIONS
7.8 String Processing Instructions
7
637

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents