4 l_dac_getbitofword - conversion block, L_dac_getbitofword - conversion block ( 88), The l_dac_dataconversion library – Lenze PLC Designer R3-x User Manual

Page 88

Advertising
background image

The L_DAC_DataConversion library

L_DAC_GetBitOfWord - conversion block

88

Lenze · Commissioning of Lenze drives · 1.3 EN - 06/2014

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

11.4

L_DAC_GetBitOfWord - conversion block

This function returns the status of an individual bit within a "WORD" value.

Inputs

Output

Function library:

L_DAC_DataConversion

Runtime software licence:

LPC 1x00

MPC 1x00

MPC 2xx0

MPC 3x00

L_DAC_GetBitOfWord

WORD ⎯ wInput

L_DAC_GetBitOfWord ⎯ BOOL

BYTE ⎯ byBitNr

Identifier/data type

Information/possible settings

wInput

WORD

Input signal

byBitNr

BYTE

Number (0 ... 15) of the bit of dwInput, the status of which is to be determined.

Identifier/data type

Information/possible settings

L_DAC_GetBitOfWord

BOOL

Output signal

• TRUE if the respective bit of wInput is TRUE.

Advertising