EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Concatenating String Data

Mitsubishi Electric MELSEC iQ-R Series
2110 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
32 STRING FUNCTIONS
32.4 Concatenating String Data
1951
32
32.4 Concatenating String Data
CONCAT(_E)
These functions concatenate character strings, and output the operation result.
*1 The input variable s can be changed within the range from 2 to 28.
Setting data
Description, type, data type
Processing details
Operation processing
These functions concatenate the strings input to (s2) to (s28) to the end of the string input to (s1), and output the operation
result from (d).
The (s2) to (s28) strings are concatenated successively, ignoring 00H, which indicates the end of the (s1) string.
If the string after concatenation exceeds 255 bytes, the substring up to the 255th byte will be output.
Input a STRING data type value to (s1) and (s2) to (s28) within the range of 0 to 255 bytes.
Ladder, FBD/LD
*1
Structured text
*1
[Without EN/ENO] [With EN/ENO] [Without EN/ENO]
d:=CONCAT(s1,s2);
[With EN/ENO]
d:=CONCAT_E(EN,ENO,s1,s2);
Argument Description Type Data type
EN Execution condition (TRUE: Executed, FALSE: Not executed) Input variable BOOL
s1 (IN1) to s28 (IN28) Input Input variable ANYSTRING_SINGLE
ENO Output status (TRUE: Normal, FALSE: Abnormal) Output variable BOOL
d Output Output variable ANYSTRING_SINGLE
RnCPU
RnENCPU
RnSFCPU RnSFCPURnPCPURnPCPU
(Standard) (Safety)
(Redundant)
(Process)
s1 d
s2
EN ENO
ds1
s2
(s1)
(s2)
(d)
+
ABCDE123456ABCDE
45H(E)00H
43H(C)44H(D)
41H(A)42H(B)
36H(6)00H
34H(4)35H(5)
32H(2)33H(3)
45H(E)31H(1)
43H(C)44H(D)
41H(A)42H(B)
123456
35H(5)
00H
36H(6)
33H(3)34H(4)
31H(1)32H(2)+0
+2
+1
+0
+3
+2
+1
+0
+5
+4
+3
+2
+1
Lower byteUpper byteLower byteUpper byte Lower byteUpper byte

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals