Standard function blocks297BitwiseBGET(10034)IllustrationExecution time 0.88 μsOperation 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): DINTInput (I): DINT, INTOutputs Output (O): BooleanBITAND(10035)IllustrationExecution time 0.32 μsOperation 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): DINTOutputs Output (O): DINTBGET(DINT) 64TLA1 1 msec (1)BITNRIO O(64)BITAND 65TLA1 1 msec (1)I1I2O 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 1I2 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 1O 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