58 l_dcwordbitxor - bit combination, L_dcwordbitxor, 5function blocks – Lenze E94A User Manual
Page 245

Lenze · 9400 function library · Reference manual · DMS 6.7 EN · 08/2014 · TD05
245
5
Function blocks
5.58
L_DcWordBitxor - bit combination
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
5.58
L_DcWordBitxor - bit combination
This FB carries out a bit-by-bit EXCLUSIVE OR operation of two input values of "WORD" type and also
outputs the results as "WORD".
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
wIn1
WORD
Value 1 for bit-by-bit EXCLUSIVE OR combination
wIn2
WORD
Value 2 for bit-by-bit EXCLUSIVE OR combination
Identifier/data type
Value/meaning
wOut
WORD
Result of the bit-by-bit EXCLUSIVE OR operation of wIn1 and wIn2
wIn1 - bit n
wIn2 - bit n
wOut - bit n
0
0
0
0
1
1
1
0
1
1
1
0
wIn1 = 0001011000101000
wIn2 = 0100100001111000
----------------
wOut = 0101111001010000
/B'F:RUG%LW[RU
Z,Q
Z,Q
Z2XW
%LW
%LW