Rol - ABB ACSM1 Manual

Motion control system
Hide thumbs Also See for ACSM1:
Table of Contents

Advertisement

336
OR
(10012)
Illustration
Execution time
Operation
Inputs
Outputs

ROL

(10013)
Illustration
Execution time
Operation
Inputs
Standard function blocks
1.55 µs (when two inputs are used) + 0.60 µs (for every additional input). When all
inputs are used, the execution time is 19.55 µs.
The output (OUT) is 0, if all connected inputs (IN) are 0. Otherwise the output is 1.
Truth table:
IN1
IN2
OUT
0
0
0
0
1
1
1
0
1
1
1
1
The inputs can be inverted.
The number of inputs (2...32) is selected by the user.
Input (IN1...IN32): Boolean
Output (OUT): Boolean
1.28 µs
Input bits (I) are rotated to the left by the number (N) of bits defined by BITCNT. The N
most significant bits (MSB) of the input are stored as the N least significant bits (LSB) of
the output.
Example: If BITCNT = 3
3 MSB
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 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 1 1 1
The input data type is selected by the user.
Number of bits input (BITCNT): INT, DINT
Input (I): INT, DINT
3 LSB

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents