DVP-15MC Series Motion Controller Operation Manual
8-284
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
DELETE_EN
BOOL
TRUE
Out1 STRING
‘AaCcDd’
In=ABCDEFGH L=3 P=2
Out AEFGH:
ABCDEFGH
Deletion starts from
the second character
Three characters to delete
DELETE
1
DELETE
EN ENO
In Out
P
L
DEL ETE_EN
DELETE_In
DELETE_P
DELETE_L
Out1