beautypg.com

52 l_dcsetbitofword - bit operation, L_dcsetbitofword, 5function blocks – Lenze E94A User Manual

Page 239

background image

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

239

5

Function blocks

5.52

L_DcSetBitOfWord - bit operation

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

5.52

L_DcSetBitOfWord - bit operation

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

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

Identifier/data type

Value/meaning

wOutput

WORD

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

/B'F6HW%LW2I:RUG

Z,QSXW

E\%LW1U

Z2XWSXW