EasyManua.ls Logo

Delta Electronics DVP15MC11T

Delta Electronics DVP15MC11T
601 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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
isAaCcDd’.
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
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
8-190

Table of Contents

Related product manuals