DVP-15MC Series Motion Controller Operation Manual
8-286
_8
Function Explanation
The INSERT instruction inserts the
In2
string into the
In1
string and the new string is output to
Out.
The insertion position is between the position specified by
P
and the position specified by
P+1
of
the characters in
In1
. If P =0, the
In2
string is inserted at the start of the
In1
string. The insertion
way is illustrated as below.
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
Insert_In1 is ’AaBbCcDd’, Insert_In2 is ’Ee’ and Insert_P=2. When Insert_EN is TRUE, Out1
is ’AaEeBbCcDd’.
The variable table and program
Variable name
Data type
Current value
Insert_EN
BOOL
FALSE
Insert_In1
STRING
‘AaBbCcDd’
Insert_In2
STRING
‘Ee’
Insert_P
UINT
2
Out1
STRING
‘AaEeBbCcDd’
In 1=AB CDE FG H
P
=
0
Out
:
abc ABCDEFGH
ABCDEFGH
Ins ert I n2
INSERT
I n2=ab c
P
=
2
Out
:
ABab cCDEFGH
ABCDEFG H
Ins ert I n2
INSERT
1
Ins ert
EN
ENO
I n1
O ut
P
I n2
In sert _EN
In sert _In1
Ins ert_P
In sert _In2
Out 1
Содержание DVP-15MC Series
Страница 16: ...1 1 1 Preface Table of Contents 1 1 Explanation of Symbols in This Manual 1 2 1 2 Revision History 1 3...
Страница 19: ...DVP 15MC Series Motion Controller Operation Manual 1 4 _1 MEMO...
Страница 20: ...2 1 2 Overview Table of Contents 2 1 Product Description 2 2 2 2 Functions 2 2 2 3 Profile and Components 2 3...
Страница 23: ...DVP 15MC Series Operation Manual 2 4 _2 MEMO...
Страница 31: ...DVP 15MC Series Motion Controller Operation Manual 3 8 _3 MEMO...
Страница 75: ...DVP 15MC Series Motion Controller Operation Manual 6 26 _6 MEMO...
Страница 87: ...DVP 15MC Series Motion Controller Operation Manual 7 12 _7 MEMO...
Страница 432: ...Chapter 8 Logic Instructions 8 345 8_ MEMO...
Страница 433: ...9 1 9 Chapter 9 Introductions of Axis Parameters Table of Contents 9 1 Description of Axis Parameters 9 2...
Страница 470: ...DVP 15MC Series Motion Controller Operation Manual 10 34 10 MEMO...
Страница 878: ...DVP 15MC Series Motion Controller Operation Manual 11 408 11 1 MEMO...
Страница 920: ...DVP 15MC Series Motion Controller Operation Manual A 16 A MEMO...
Страница 941: ...D 1 D Explanation of Homing Modes Table of Contents D 1 Explanation of Homing Modes D 2...
Страница 966: ...DVP 15MC Series Motion Controller Operation Manual D 26 D MEMO...