Standard function blocks
229
Bitwise
BGET
(10034)
Illustration
Execution time
0.88 µs
Operation
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.
Inputs
The input data type is selected by the user.
Number of the bit (BITNR): DINT
Input (I): DINT, INT
Outputs
Output (O): Boolean
BITAND
(10035)
Illustration
Execution time
0.32 µs
Operation
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:
Inputs
Input (I1, I2): DINT
Outputs
Output (O): DINT
BGET
(DINT)
64
TLA1 1 msec
(1)
BITNR
I
O
O(64)
BITAND
65
TLA1 1 msec
(1)
I1
I2
O
O(65)
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
Summary of Contents for ACSM1 Series
Page 1: ...ACSM1 Firmware Manual ACSM1 Speed and Torque Control Program...
Page 2: ......
Page 4: ......
Page 12: ...Table of contents 12...
Page 49: ...Drive control and features 49...
Page 282: ...Standard function blocks 282...
Page 306: ...Application program template 306...
Page 312: ...Control chain block diagrams 312...
Page 331: ...331...
Page 332: ...332...
Page 333: ......