Shift Instructions; Shl - Delta Electronics DVP15MC11T Operation Manual

Table of Contents

Advertisement

DVP15MC11T Operation Manual

8.10 Shift Instructions

8.10.1 SHL

FB/FC
SHL is used to shift all bits of a variable or constant by the specified number
FC
of bits to the left and the result is output to Out.
Parameters
Parameter
Meaning
name
In
Data to shift Input
Number to
Num
shift
Out
Result
● ●
In
Num
Out
_8
Note:
The symbol ● indicates that the parameter is allowed to connect to the variable or constant of the data type.
8-124
Explanation
Input/
Output
The original data to shift
to the left
The number of bits by
which all bits of the
Input
original data are shifted to
the left
Result from shifting all
bits of the original data by
Output
the number of bits
specified by Num to the
left
Bit string
The data type of Out must be the same as In.
SHL
E N
ENO
In
O ut
Nu m
Description
Depends on the data type of the
variable that the input parameter is
connected to.
Depends on the data type of the
variable that the input parameter is
connected to.
Depends on the data type of the
variable that the output parameter is
connected to.
Integer
Applicable model
DVP15MC11T
Valid range
Real
Time, date
number

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents