2 l_dac_getbitofbyte - conversion block, L_dac_getbitofbyte - conversion block ( 86), The l_dac_dataconversion library – Lenze PLC Designer R3-x User Manual

Page 86

Advertising
background image

The L_DAC_DataConversion library

L_DAC_GetBitOfByte - conversion block

86

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

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

11.2

L_DAC_GetBitOfByte - conversion block

This function returns the state of an individual bit value as a "BYTE" value.

Inputs

Output signal
L_DAC_GetBitOfByte:
New value of the "BYTE" type, which results from the respective input signal.

Function library:

L_DAC_DataConversion

Runtime software licence:

LPC 1x00

MPC 1x00

MPC 2xx0

MPC 3x00

L_DAC_GetBitOfByte

BYTE ⎯ byInput

L_DAC_GetBitOfByte ⎯ BYTE

BYTE ⎯ byBitNr

Identifier/data type

Information/possible settings

byInput

BYTE

Input signal

byBitNr

BYTE

Number (0 ... 7) of the bit of byInput, the status of which is to be determined.

Advertising