13 l_sdc_getbitofword - conversion block, 14 l_sdc_getversion - transfer of the version, Plc designer v2.x| lenze application samples – Lenze PLC Designer V2.x User Manual

Page 309

Advertising
background image

1.3 EN - 07/2012

L

309

PLC Designer V2.x| Lenze Application Samples

The L_SDC_DataConversion.lib library

L_SDC_GetBitOfWord - conversion block

Inputs

Output signal
L_SDC_GetBitOfDWord
: New value of the "BYTE" type, which results from the respective

input signal.

18.13

L_SDC_GetBitOfWord - conversion block

This function returns the status of an individual bit within a "WORD" value.

Inputs

Output signal
L_SDC_GetBitOfWord:
New value of the "BYTE" type, which results from the respective

input signal

18.14

L_SDC_GetVersion - transfer of the version

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

wInput

WORD

Input signal

byBitNr

BYTE

Number (0 ... 15) of the bit of dwInput, the status of which is to be determined

Advertising