DVP-15MC Series Motion Controller Operation Manual
8-284
_8
Function Explanation
The DELETE instruction deletes L characters starting from the position specified by
P
of the
In
string and the characters after deletion will be output to
Out
. The deletion 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
DELETE_In is ’AaBbCcDd’, DELETE_L= 2 and DELETE_P = 3. When DELETE_EN is TRUE, Out1
is’AaCcDd’.
The variable table and program
Variable name
Data type
Current value
DELETE_EN
BOOL
TRUE
DELETE_In
STRING
‘AaBbCcDd’
DELETE_L
UINT
2
DELETE_P
UINT
3
Out1
STRING
‘AaCcDd’
In= ABCDEFGH L= 3 P=2
O ut A EFGH
:
ABCDEFGH
Deletion st arts f ro m
the s eco nd c harac ter
Th ree charac ters to delete
DELE TE
1
DE LETE
EN
E NO
In
Out
P
L
DEL ETE_EN
DE LETE_I n
DELETE_ P
DELETE_ L
Ou t1
Summary of Contents for DVP-15MC Series
Page 19: ...DVP 15MC Series Motion Controller Operation Manual 1 4 _1 MEMO...
Page 23: ...DVP 15MC Series Operation Manual 2 4 _2 MEMO...
Page 31: ...DVP 15MC Series Motion Controller Operation Manual 3 8 _3 MEMO...
Page 75: ...DVP 15MC Series Motion Controller Operation Manual 6 26 _6 MEMO...
Page 87: ...DVP 15MC Series Motion Controller Operation Manual 7 12 _7 MEMO...
Page 432: ...Chapter 8 Logic Instructions 8 345 8_ MEMO...
Page 470: ...DVP 15MC Series Motion Controller Operation Manual 10 34 10 MEMO...
Page 878: ...DVP 15MC Series Motion Controller Operation Manual 11 408 11 1 MEMO...
Page 920: ...DVP 15MC Series Motion Controller Operation Manual A 16 A MEMO...
Page 941: ...D 1 D Explanation of Homing Modes Table of Contents D 1 Explanation of Homing Modes D 2...
Page 966: ...DVP 15MC Series Motion Controller Operation Manual D 26 D MEMO...