Bitwise - ABB ACSM1 Firmware Manual

Motion control drives, speed and torque control program
Hide thumbs Also See for ACSM1:
Table of Contents

Advertisement

264

Bitwise

BGET
(10034)
Illustration
Execution time
Operation
Inputs
Outputs
BITAND
(10035)
Illustration
Execution time
Operation
Inputs
Outputs
Standard function blocks
0.88 µs
The output (O) is the value of the selected bit (BITNR) of the input (I).
BITNR: Bit number (0 = bit number 0, 31 = bit number 31)
If bit number is not in the range of 0...31 (for DINT) or 0...15 (for INT), the output is 0.
The input data type is selected by the user.
Number of the bit (BITNR): DINT
Input (I): DINT, INT
Output (O): Boolean
0.32 µs
The output (O) bit value is 1 if the corresponding bit values of the inputs (I1 and I2)
are 1. Otherwise the output bit value is 0.
Example:
I1
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
I2
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
O
0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 1 0 0 1 0 0 0 1 0 0 1 0 0 1 0 1
Input (I1, I2): DINT
Output (O): DINT

Advertisement

Table of Contents
loading

Table of Contents