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 #219 background imageLoading...
Page #219 background image
DVP-15MC Series Motion Controller Operation Manual
8-132
_8
When Num=2, all bits of the value of In are shifted by two bits to the left and the values of Bit0~Bit1 are
supplemented with 0 and Bit6~Bit7 are discarded as shown in the following figure.
Precautions for Correct Use
The input variables are not allowed to omit. An error will occur during the compiling of the software
if any input variable is omitted. But the output variable is allowed to omit.
The value of Out is the same as In when the value of Num is 0.
Programming Example
The data types of SHL_In and SHL_Num are UINT and USINT respectively and their values are
300 and 3 respectively. The data type of Out1 is BYTE and the value of Out1 is 2400 when
SHL_EN is TRUE.
The variable table and program
Variable name
Data type
Current value
SHL_EN
BOOL
TRUE
SHL_In
UINT
300
SHL_Num
USINT
3
Out1
UINT
2400
Illustration of the example
1
0101101
0
0101011
Bit0Bit7
In
Out
Discarded
fill 0
Num=2, shifted by two bits toward the left
1
SHL
EN ENO
In Out
SHL_EN
SHL_In Out1
Num
SHL_Num
0
1
0
1
1
0 00
0
Bit0Bit15
SHL_In
Out1
3 bits discarded
0 for 3 supplementa ry
bits
SHL_Num=3,
shifted by three bits left
1
0000000
00
01011 0 00 10000
Bit0Bit15

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