33 l_dcdwordbitxor - bit combination, L_dcdwordbitxor, 5function blocks – Lenze E94A User Manual
Page 219

Lenze · 9400 function library · Reference manual · DMS 6.7 EN · 08/2014 · TD05
219
5
Function blocks
5.33
L_DcDWordBitxor - bit combination
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
5.33
L_DcDWordBitxor - bit combination
This FB carries out a bit-by-bit EXCLUSIVE 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 EXCLUSIVE OR combination
dwIn2
DWORD
Value 2 for bit-by-bit EXCLUSIVE OR combination
Identifier/data type
Value/meaning
dwOut
DWORD
Result of the bit-by-bit EXCLUSIVE OR operation of dwIn1 and dwIn2
dwIn1 - bit n
dwIn2 - bit n
dwOut - bit n
0
0
0
0
1
1
1
0
1
1
1
0
dwIn1 = 00011001010011100001011000101000
dwIn2 = 01010001100001100100100001111000
--------------------------------
dwOut = 01001000110010000101111001010000
/B'F':RUG%LW[RU
GZ,Q
GZ,Q
GZ2XW
%LW
%LW