
22 CHARACTER STRING FUNCTIONS
22.4 Link Character Strings
819
22
22.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
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 to s28
Input
Input variable
STRING(255)
ENO
Output status (TRUE: Normal, FALSE: Abnormal)
Output variable
BOOL
d
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)
2nd word
3rd word
4th word
5th word
6th word
1st word
2nd word
3rd word
4th word
1st word
42H (B)
41H (A)
44H (D)
43H (C)
00H
45H (E)
High-order byte Low-order byte
"ABCDE"
2nd word
3rd word
1st word
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"
2nd word
3rd word
4th word
5th word
6th word
1st word
2nd word
3rd word
4th word
1st word
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"
2nd word
3rd word
1st word
High-order byte Low-order byt
"ABCDE123456"
(s1)
(s2)
(d)
e
Summary of Contents for MELSEC iQ-F FX5 series
Page 1: ...MELSEC iQ F FX5 Series Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 21: ...19 PART 1 PART 1 OVERVIEW Part 1 consists of the following chapter 1 OVERVIEW ...
Page 98: ...96 4 STANDARD FUNCTIONS FUNCTION BLOCKS 4 2 Standard Function Blocks MEMO ...
Page 840: ...838 23 TIME DATA FUNCTIONS 23 4 Division MEMO ...
Page 887: ......