beautypg.com

41 l_dcgetbitofword - bit operation, L_dcgetbitofword, 5function blocks – Lenze E94A User Manual

Page 228

background image

5

Function blocks

5.41

L_DcGetBitOfWord - bit operation

228

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

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

5.41

L_DcGetBitOfWord - bit operation

This FB returns the state of a single bit within a "WORD" value.

Inputs

Outputs

Function library:

LenzeDataConversion

Runtime software licence:

Motion Control HighLevel

Motion Control TopLevel

Identifier/data type

Information/possible settings

wInput

WORD

Input signal

byBitNr

BYTE

No. (0 ... 15) of the bit of wInput the state of which is to be detected.

Identifier/data type

Value/meaning

bBit

BOOL

State of bit byBitNr of wInput.

/B'F*HW%LW2I:RUG

Z,QSXW

E\%LW1U

E%LW