beautypg.com

57 l_dcwordbitor - bit combination, L_dcwordbitor, 5function blocks – Lenze E94A User Manual

Page 244

background image

5

Function blocks

5.57

L_DcWordBitor - bit combination

244

Lenze · 9400 function library · Reference manual · DMS 6.7 EN · 08/2014 · TD05

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

5.57

L_DcWordBitor - bit combination

This FB carries out a bit-by-bit 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 OR combination

wIn2

WORD

Value 2 for bit-by-bit OR combination

Identifier/data type

Value/meaning

wOut

WORD

Result of the bit-by-bit 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

1

wIn1 = 0001011000101000

wIn2 = 0100100001111000

----------------

wOut = 0101111001111000

/B'F:RUG%LWRU

Z,Q

Z,Q

Z2XW

%LW

%LW