beautypg.com

40 l_dcgetbitofdword - bit operation, L_dcgetbitofdword, 5function blocks – Lenze E94A User Manual

Page 227

background image

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

227

5

Function blocks

5.40

L_DcGetBitOfDWord - bit operation

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

5.40

L_DcGetBitOfDWord - bit operation

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

Inputs

Outputs

Function library:

LenzeDataConversion

Runtime software licence:

Motion Control HighLevel

Motion Control TopLevel

Identifier/data type

Information/possible settings

dwInput

DWORD

Input signal

byBitNr

BYTE

No. (0 ... 31) of the bit of dwInput the state of which is to be detected.

Identifier/data type

Value/meaning

bBit

BOOL

State of bit byBitNr of dwInput.

/B'F*HW%LW2I':RUG

GZ,QSXW

E\%LW1U

E%LW