16 l_sdc_resetbitofdword - conversion block, 17 l_sdc_resetbitofword - conversion block, Plc designer v2.x| lenze application samples – Lenze PLC Designer V2.x User Manual

Page 311

Advertising
background image

1.3 EN - 07/2012

L

311

PLC Designer V2.x| Lenze Application Samples

The L_SDC_DataConversion.lib library

L_SDC_ResetBitOfDWord - conversion block

18.16

L_SDC_ResetBitOfDWord - conversion block

This function sets an individual bit to "0" within a value of the "DWORD" type.

Inputs

Output signal
L_SDC_ResetBitOfByte
: New value of the "DWORD" type, which results by the bit deleted.

18.17

L_SDC_ResetBitOfWord - conversion block

This function sets an individual bit to "0" within a value of the "WORD" type.

Inputs

Output signal
L_SDC_ResetBitOfByte
: New value of the "WORD" type, which results by the bit deleted.

Identifier/data type

Information/possible settings

dwInput

DWORD

Input signal

byBitNr

BYTE

Number (0 ... 31) of the bit that is to be set.

Identifier/data type

Information/possible settings

wInput

WORD

Input signal

byBitNr

BYTE

Number (0 ... 15) of the bit that is to be set.

Advertising