User guide

5 Function blocks
5.32 L_DcDWordBitor - bit combination
218
Lenze · 9400 function library · Reference manual · DMS 6.7 EN · 08/2014 · TD05
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
5.32 L_DcDWordBitor - bit combination
This FB carries out a bit-by-bit OR operation of two input values of "DWORD" type and also outputs
the results as "DWORD".
Inputs
Outputs
Function
Example
Function library: LenzeDataConversion
Runtime software licence: Motion Control HighLevel Motion Control TopLevel
Identifier/data type Information/possible settings
dwIn1
DWORD
Value 1 for bit-by-bit OR combination
dwIn2
DWORD
Value 2 for bit-by-bit OR combination
Identifier/data type Value/meaning
dwOut
DWORD
Result of the bit-by-bit OR operation of dwIn1 and dwIn2
dwIn1 - bit n dwIn2 - bit n dwOut - bit n
00 0
01 1
10 1
11 1
dwIn1 = 00011001010011100001011000101000
dwIn2 = 01010001100001100100100001111000
--------------------------------
dwOut = 01011001110011100101111001111000
/B'F':RUG%LWRU
GZ,Q
GZ,Q
GZ2XW
 
 
%LW %LW
 