EasyManuals Logo

Delta DVP-15MC Series User Manual

Delta DVP-15MC Series
972 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 #377 background imageLoading...
Page #377 background image
DVP-15MC Series Motion Controller Operation Manual
8-290
_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 charact er
Extract three characters
MID
1
MID
EN ENO
In Out
P
L
MID_EN
MID_In1
MID_P
MID_L
Out1

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Delta DVP-15MC Series and is the answer not in the manual?

Delta DVP-15MC Series Specifications

General IconGeneral
BrandDelta
ModelDVP-15MC Series
CategoryController
LanguageEnglish

Related product manuals