DVP15MC11T Operation Manual
_8
Function Explanation
The CONCAT instruction joins two or more strings to form a new string and the new string is output to
Out
. The parameters from In1 to InN are joined in order as shown in the following figure.
Precautions for Correct Use
The input variables are not allowed to omit. An error will occur during the compiling of the software if
the input variables are omitted. But the output variable is allowed to omit.
Programming Example
The data types of CONCAT_In1, CONCAT_In2 and Out1 are strings and the values of
CONCAT_In1 and CONCAT_In2 are ’Asasz’ and ’B1255’ respectively. When CONCAT_EN is
TRUE, the value of Out1 is ’AsaszB1255’.
The variable table and program
Variable name
Data type
Current value
CONCAT_EN
BOOL
TRUE
CONCAT_In1
STRING
‘Asasz’
CONCAT_In2
STRING
‘B1255’
Out1
STRING
‘AsaszB1255’
In 1 ABCD
:
In 2 abc d
:
In 3 ef1 23
:
CO NCAT
O ut AB CDa bcde f123
:
1
CONCAT
EN
ENO
I n1
O ut
I n2
CO NCAT_EN
CO NCAT_In1
CO NCAT_In2
Out 1
8-188
Summary of Contents for DVP15MC11T
Page 9: ...Memo viii...
Page 15: ...DVP15MC11T Operation Manual _2 MEMO 2 4...
Page 71: ...DVP15MC11T Operation Manual _7 Memo 7 10...
Page 81: ...DVP15MC11T Operation Manual _8 Timing Chart F_TRG_CLK F_TRG_Q 8 10...
Page 158: ...Chapter 8 Logic Instructions 8_ The program 1 ASIN EN ENO In Out ASIN_EN ASIN_In Out1 8 87...
Page 249: ...DVP15MC11T Operation Manual _8 8 178...
Page 285: ...DVP15MC11T Operation Manual _8 Memo 8 214...
Page 323: ...DVP15MC11T Operation Manual 10 MEMO 10 34...
Page 549: ...DVP15MC11T Operation Manual A MEMO A 16...