beautypg.com

50 l_dcsetbitofbyte - bit operation, L_dcsetbitofbyte, 5function blocks – Lenze E94A User Manual

Page 237

background image

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

237

5

Function blocks

5.50

L_DcSetBitOfByte - bit operation

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

5.50

L_DcSetBitOfByte - bit operation

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

Inputs

Outputs

Function library:

LenzeDataConversion

Runtime software licence:

Motion Control HighLevel

Motion Control TopLevel

Identifier/data type

Information/possible settings

byInput

BYTE

Input signal

byBitNr

BYTE

No. (0 ... 7) of the bit to be set.

Identifier/data type

Value/meaning

byOutput

BYTE

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

/B'F6HW%LW2I%\WH

E\,QSXW

E\%LW1U

E\2XWSXW