Shr; Xor - ABB ACSM1 Firmware Manual

Speed and torque control program
Hide thumbs Also See for ACSM1:
Table of Contents

Advertisement

Inputs
Outputs

SHR

(10016)
Illustration
Execution time
Operation
Inputs
Outputs

XOR

(10017)
Illustration
Execution time
The input data type is selected by the user.
Input (I): INT, DINT
Number of bits (BITCNT): INT; DINT
Output (O): INT; DINT
(DINT)
TLA1 1 msec
BITCNT
I
0.80 µs
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
I 1 1 1 0 0 0 0 0 1 1 1 0 0 1 0 1 1 1 0 1 0 0 1 1 0 0 1 1 0 1 0 1
O 0 0 0 1 1 1 0 0 0 0 0 1 1 1 0 0 1 0 1 1 1 0 1 0 0 1 1 0 0 1 1 0
3 MSB
The input data type is selected by the user.
Input (I): INT, DINT
Number of bits (BITCNT): INT; DINT
Output (O): INT; DINT
TLA1 1 msec
IN1
IN2
1.24 µs (when two inputs are used) + 0.72 µs (for every additional input). When all
inputs are used, the execution time is 22.85 µs.
SHR
62
(1)
O(62)
O
XOR
63
(1)
OUT(63)
OUT
227
3 LSB
Standard function blocks

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents