
PLC Designer V2.x| Lenze Application Samples
The L_SDC_DataConversion.lib library
L_SDC_SetBitOfByte - bit operation
312 L 1.3 EN - 07/2012
18.18 L_SDC_SetBitOfByte - bit operation
This function sets an individual bit to "1" within a value of the "BYTE" type.
Inputs
Output signal
L_SDC_SetBitOfByte - value of the "BYTE" type, which results by the bit set.
18.19 L_SDC_SetBitOfDWord - bit operation
This function sets an individual bit to "1" within a value of the "DWORD" type.
Inputs
Output signal
L_SDC_SetBitOfDWord - value of the "DOUBLE WORD" type, which results by the bit set.
Identifier/data type Information/possible settings
byInput
BYTE
Input signal
byBitNr
BYTE
No. (0 ... 7) of the bit that is to be set.
Identifier/data type Information/possible settings
dwInput
DWORD
Input signal
byBitNr
BYTE
No. (0 ... 31) of the bit that is to be set.
Commenti su questo manuale