beautypg.com

51 l_dcsetbitofdword - bit operation, L_dcsetbitofdword, 5function blocks – Lenze E94A User Manual

Page 238

background image

5

Function blocks

5.51

L_DcSetBitOfDWord - bit operation

238

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

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

5.51

L_DcSetBitOfDWord - bit operation

This FB sets a single bit in a "DWORD" type value to "1".

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 to be set.

Identifier/data type

Value/meaning

dwOutput

DWORD

Value of type "double word" resulting from the set bit.

/B'F6HW%LW2I':RUG

GZ,QSXW

E\%LW1U

GZ2XWSXW