3 l_dac_getbitofdword - conversion block, L_dac_getbitofdword - conversion block ( 87), The l_dac_dataconversion library – Lenze PLC Designer R3-x User Manual
Page 87

Lenze · Commissioning of Lenze drives · 1.3 EN - 06/2014
87
The L_DAC_DataConversion library
L_DAC_GetBitOfDWord - conversion block
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
11.3
L_DAC_GetBitOfDWord - conversion block
This function returns the status of an individual bit value within a "DWORD" value.
Inputs
Output
Function library:
L_DAC_DataConversion
Runtime software licence:
LPC 1x00
MPC 1x00
MPC 2xx0
MPC 3x00
L_DAC_GetBitofDWord
DWORD ⎯ dwInput
L_DAC_GetBitOfDWord ⎯ BOOL
BYTE ⎯ byBitNr
Identifier/data type
Information/possible settings
dwInput
DWORD
Input signal
byBitNr
BYTE
Number (0 ... 31) of the bit of dwInput, the status of which is to be determined.
Identifier/data type
Information/possible settings
L_DAC_GetBitOfDWord
BOOL
Output signal
• TRUE if the respective bit of dwInput is TRUE.