DVP15MC11T Operation Manual
_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
8-190
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...