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
Содержание MELSEC iQ-F FX5
Страница 1: ...MELSEC iQ F FX5 Programming Manual Instructions Standard Functions Function Blocks ...
Страница 2: ......
Страница 17: ...15 CONTENTS ...
Страница 24: ...22 MEMO ...
Страница 25: ...23 PART 1 PART 1 OVERVIEW Part 1 consists of the following chapter 1 OVERVIEW 2 PRECAUTIONS ON PROGRAMMING ...
Страница 126: ...124 6 SEQUENCE INSTRUCTIONS 6 3 Output Instructions Operation error There is no operation error ...
Страница 132: ...130 6 SEQUENCE INSTRUCTIONS 6 3 Output Instructions Operation error There is no operation error ...
Страница 140: ...138 6 SEQUENCE INSTRUCTIONS 6 3 Output Instructions Operation error There is no operation error ...
Страница 191: ...7 BASIC INSTRUCTIONS 7 2 Arithmetic Operation Instructions 189 7 Operation error There is no operation error ...
Страница 202: ...200 7 BASIC INSTRUCTIONS 7 2 Arithmetic Operation Instructions Operation error There is no operation error ...
Страница 278: ...276 7 BASIC INSTRUCTIONS 7 4 Bit Processing Instructions Operation error There is no operation error ...
Страница 280: ...278 7 BASIC INSTRUCTIONS 7 4 Bit Processing Instructions Operation error There is no operation error ...
Страница 915: ...18 TYPE CONVERSION FUNCTIONS 18 13 Converting DWORD to WORD 913 18 Operation error There is no operation error ...
Страница 917: ...18 TYPE CONVERSION FUNCTIONS 18 14 Converting DWORD to INT 915 18 Operation error There is no operation error ...
Страница 932: ...930 18 TYPE CONVERSION FUNCTIONS 18 26 Converting DINT to WORD Operation error There is no operation error ...
Страница 1050: ...1048 26 TIME DATA FUNCTIONS 26 4 Division MEMO ...
Страница 1068: ...1066 29 COUNTER FUNCTION BLOCKS 29 4 Counter Function Block Operation error There is no error ...
Страница 1107: ...I 1105 MEMO ...
Страница 1111: ......