Rol - ABB ACSM1 Firmware Manual

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

Advertisement

OR
(10012)
Illustration
Execution time
Operation
Inputs
Outputs

ROL

(10013)
Illustration
Execution time
Operation
Inputs
TLA1 1 msec
IN1
IN2
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
(DINT)
TLA1 1 msec
BITCNT
I
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.
Input (I): INT, DINT
Number of bits input (BITCNT): INT, DINT
OR
58
(1)
OUT(58)
OUT
ROL
59
(1)
O(59)
O
293
3 LSB
Standard function blocks

Advertisement

Table of Contents
loading

Table of Contents