
Lenze · Commissioning of Lenze drives · 1.3 EN - 06/2014 91
The L_DAC_DataConversion library
L_DAC_ResetBitOfWord - conversion block
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
11.7 L_DAC_ResetBitOfWord - conversion block
This function sets an individual bit to "0" within a value of the "WORD" type.
Inputs
Output
11.8 L_DAC_SetBitOfByte - bit operation
This function sets an individual bit to "1" within a value of the "BYTE" type.
Inputs
Output signal
L_DAC_SetBitOfByte - value of the "BYTE" type , which results by the bit set.
Function library: L_DAC_DataConversion
Runtime software licence: LPC 1x00 MPC 1x00 MPC 2xx0 MPC 3x00
L_DAC_ResetBitOfWord
WORD ⎯ wInput L_DAC_ResetBitOfWord ⎯ WORD
BYTE ⎯ byBitNr
Identifier/data type Information/possible settings
wInput
WORD
Input signal
byBitNr
BYTE
Number (0 ... 15) of the bit that is to be set.
Identifier/data type Information/possible settings
L_DAC_ResetBitOfWord
WORD
Output signal
• The value results from the deleted bit.
Function library: L_DAC_DataConversion
Runtime software licence: LPC 1x00 MPC 1x00 MPC 2xx0 MPC 3x00
L_DAC_SetBitOfByte
BYTE ⎯ byInput L_DAC_SetBitOfByte ⎯ BYTE
BYTE ⎯ byBitNr
Identifier/data type Information/possible settings
byInput
BYTE
Input signal
byBitNr
BYTE
No. (0 ... 7) of the bit that is to be set.
Commentaires sur ces manuels