EasyManuals Logo

Delta Electronics DVP15MC11T User Manual

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
Page #267 background imageLoading...
Page #267 background image
DVP15MC11T Operation Manual
_8
Function Explanation
The MID instruction extracts L characters starting from the number-P character of the In string. The
extracted string is output to Out. The extraction 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
The MID_In string is AaBbCcDd, MID_L=2 and MID_LP=3. When MID_EN is TRUE, Out1 is Bb’.
The variable table and program
Variable name
Data type
Current value
MID_EN
BOOL
TRUE
MID_In
STRING
‘AaBbCcDd’
MID_L
UINT
2
MID_P
UINT
3
Out1 STRING
‘Bb’
In =ABCDEFGH L= 3 P=2
Out :
BCD
ABCDEFGH
Extrac tion starts from
the second character
Extract three characters
MID
1
MID
EN ENO
In Out
P
L
MID_EN
MID_In1
MID_P
MID_L
Out1
8-196

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Delta Electronics DVP15MC11T and is the answer not in the manual?

Delta Electronics DVP15MC11T Specifications

General IconGeneral
BrandDelta Electronics
ModelDVP15MC11T
CategoryController
LanguageEnglish

Related product manuals