User guide

Lenze · 9400 function library · Reference manual · DMS 6.7 EN · 08/2014 · TD05 243
5 Function blocks
5.56 L_DcWordBitand - bit combination
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
5.56 L_DcWordBitand - bit combination
This FB carries out a bit-by-bit AND 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 AND combination
wIn2
WORD
Value 2 for bit-by-bit AND combination
Identifier/data type Value/meaning
wOut
WORD
Result of the bit-by-bit AND operation of wIn1 and wIn2
wIn1 - bit n wIn2 - bit n wOut - bit n
00 0
01 0
10 0
11 1
wIn1 = 0001011000101000
wIn2 = 0100100001111000
----------------
wOut = 0000000000101000
/B'F:RUG%LWDQG
Z,Q
Z,Q
Z2XW
 
 
%LW %LW
 