24 l_dcbytebitor - bit combination, L_dcbytebitor, 5function blocks – Lenze E94A User Manual
Page 210

5
Function blocks
5.24
L_DcByteBitor - bit combination
210
Lenze · 9400 function library · Reference manual · DMS 6.7 EN · 08/2014 · TD05
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
5.24
L_DcByteBitor - bit combination
This FB carries out a bit-by-bit OR operation of two input values of "BYTE" type and also outputs the
results as "BYTE".
Inputs
Outputs
Function
Example
Function library:
LenzeDataConversion
FB is available as of library V02.02!
Runtime software licence:
Motion Control HighLevel
Motion Control TopLevel
Identifier/data type
Information/possible settings
byIn1
BYTE
Value 1 for bit-by-bit OR combination
byIn2
BYTE
Value 2 for bit-by-bit OR combination
Identifier/data type
Value/meaning
byOut
BYTE
Result of the bit-by-bit OR operation of byIn1 and byIn2
byIn1 - bit n
byIn2 - bit n
byOut - bit n
0
0
0
0
1
1
1
0
1
1
1
1
byIn1 = 00101001
byIn2 = 01111000
--------
byOut = 01111001
/B'F%\WH%LWRU
E\,Q
E\,Q
E\2XW
%LW
%LW