EasyManua.ls Logo

ABB ACSM1 - Shr

ABB ACSM1
510 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
Loading...
Standard function blocks
338
Inputs The input data type is selected by the user.
Number of bits (BITCNT): INT; DINT
Input (I): INT, DINT
Outputs Output (O): INT; DINT
SHR
(10016)
Illustration
Execution time 0.80 µs
Operation Input bits (I) are rotated to the right by the number (N) of bits defined by BITCNT. The N
least significant bits (LSB) of the input are lost and the N most significant bits (MSB) of
the output are set to 0.
Example: If BITCNT = 3
Inputs The input data type is selected by the user.
Number of bits (BITCNT): INT; DINT
Input (I): INT, DINT
Outputs Output (O): INT; DINT
SHR
(DINT) 62
TLA1 1 msec (1)
BITCNT
I
O
O(62)
I 11100000111001011101001100110101
O 00011100000111001011101001100110
3 MSB
3 LSB

Table of Contents

Other manuals for ABB ACSM1

Related product manuals