EasyManuals Logo
Home>Delta Electronics>Controller>DVP15MC11T

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 #199 background imageLoading...
Page #199 background image
DVP15MC11T Operation Manual
_8
8.10.3 ROL
FB/FC
Explanation Applicable model
FC
ROL is used to rotate left all bits of a variable or constant by the specified
number of bits and the result is output to Out.
DVP15MC11T
Parameters
Parameter
name
Meaning
Input/
Output
Description Valid range
In
Data to
rotate
Input
The original data to rotate
left
Depends on the data type of the
variable that the input parameter is
connected to.
Num
Number of
bits
Input
The number of bits by
which the bits of the
original data are rotated
to the left
Depends on the data type of the
variable that the input parameter is
connected to.
Out Result Output
Result from rotating all
bits of the original data by
the number of bits
specified by Num to the
left
Depends on the data type of the
variable that the output parameter is
connected to.
Boolean
Bit string Integer
Real
number
Time, date
String
BOOL
BYTE
WORD
DWORD
LWORD
USINT
UINT
UDINT
ULINT
SINT
INT
DINT
LINT
REAL
LREAL
TIME
DATE
TOD
DT
STRING
In
Num
Out
The data type of Out must be the same as In.
Note:
The symbol indicates that the parameter is allowed to connect to the variable or constant of the data type.
Function Explanation
ROL is used to rotate all bits of the value of In by the number of bits specified by Num to the left and the
result is output to Out.
Via ROL, the bits shifted out of the left will shift to the null bits in the right one by one. When Num=2, all
bits of the value of In rotates by two bits to the left. The rotation method is that Bit0~Bit5 are shifted to
Bit2~Bit7 respectively, Bit 7 is shifted to Bit1 and Bit 6 is shifted to Bit0.
ROL
EN ENO
In Out
Num
8-128

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