25 CHARACTER STRING FUNCTIONS
25.4 Link Character Strings
1029
25
25.4
Link Character Strings
CONCAT(_E)
These functions concatenate character strings and output the result.
*1 The input variable "s" can be changed in the range of 2 to 28.
Setting data
■
Descriptions, types, and data types
Processing details
■
Operation processing
• These functions concatenate the character string input to the input variables (s2) to (s28) after the one input to (s1) and
output the result from (d).
• When character strings are concatenated, 00H indicating an end of the character string specified by (s1) is ignored and the
character string specified by (s2) to (s28) is concatenated.
• When the concatenated character string exceeds 255 bytes, these functions output a character string within 255 bytes.
• A value input to the input variables (s1) and (s2) to (s28) is the STRING type data value and within the range from 0 to 255
byte(s).
Ladder diagram, FBD/LD
Structured text
[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: Execution, FALSE: Stop)
Input variable
BOOL
s1(IN1) to s28(IN28)
Input
Input variable
STRING(255)
ENO
Output status (TRUE: Normal, FALSE: Abnormal)
Output variable
BOOL
d(CONCAT(_E))
Output
Output variable
STRING(255)
s1
d
s2
EN
ENO
d
s1
s2
32H (2)
31H (1)
34H (4)
33H (3)
36H (6)
00H
35H (5)
High-order byte Low-order byte
"123456"
42H (B)
41H (A)
44H (D)
43H (C)
31H (1)
45H (E)
33H (3)
32H (2)
35H (5)
34H (4)
00H
36H (6)
+1
+2
+3
+4
+5
+0
+1
+2
+3
+0
42H (B)
41H (A)
44H (D)
43H (C)
00H
45H (E)
High-order byte Low-order byte
"ABCDE"
+1
+2
+0
High-order byte Low-order byte
"ABCDE123456"
(s1)
(s2)
(d)
32H (2)
31H (1)
34H (4)
33H (3)
36H (6)
00H
35H (5)
High-order byte Low-order byte
"123456"
+1
+2
+3
+4
+5
+0
+1
+2
+3
+0
00H
36H (6)
35H (5)
34H (4)
33H (3)
32H (2)
00H
31H (1)
45H (E)
44H (D)
43H (C)
44H (D)
43H (C)
42H (B)
41H (A)
42H (B)
41H (A)
45H (E)
High-order byte Low-order byte
"ABCDE"
+1
+2
+0
High-order byte Low-order byt
"ABCDE123456"
(s1)
(s2)
(d)
e
Summary of Contents for MELSEC iQ-F FX5
Page 1: ...MELSEC iQ F FX5 Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 17: ...15 CONTENTS ...
Page 24: ...22 MEMO ...
Page 1050: ...1048 26 TIME DATA FUNCTIONS 26 4 Division MEMO ...
Page 1068: ...1066 29 COUNTER FUNCTION BLOCKS 29 4 Counter Function Block Operation error There is no error ...
Page 1107: ...I 1105 MEMO ...
Page 1111: ......