9 l_dac_setbitofdword - bit operation, 10 l_dac_setbitofword - bit operation, L_dac_setbitofdword - bit operation ( 92) – Lenze PLC Designer R3-x User Manual

Page 92: L_dac_setbitofword - bit operation ( 92), The l_dac_dataconversion library

Advertising
background image

The L_DAC_DataConversion library

L_DAC_SetBitOfDWord - bit operation

92

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

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

11.9

L_DAC_SetBitOfDWord - bit operation

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

Inputs

Output signal
L_DAC_SetBitOfDWord
- value of the "DOUBLE WORD" type, which results by the bit set.

11.10

L_DAC_SetBitOfWord - bit operation

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

Inputs

Output signal
L_DAC_SetBitOfWord -
value of the "WORD" 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_SetBitOfDWord

DWORD ⎯ dwInput

L_DAC_SetBitOfDWord ⎯ BOOL

BYTE ⎯ byBitNr

Identifier/data type

Information/possible settings

dwInput

DWORD

Input signal

byBitNr

BYTE

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

Function library:

L_DAC_DataConversion

Runtime software licence:

LPC 1x00

MPC 1x00

MPC 2xx0

MPC 3x00

L_DAC_SetBitOfWord

WORD ⎯ wInput

L_DAC_SetBitOfWord ⎯ WORD

BYTE ⎯ byBitNr

Identifier/data type

Information/possible settings

wInput

WORD

Input signal

byBitNr

BYTE

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

Advertising