13 l_dac_bitstoword - bit multiplexer, 14 l_dac_bytetobits - bit demultiplexer, L_dac_bitstoword - bit multiplexer – Lenze PLC Designer R3-x User Manual

Page 94: L_dac_bitstoword - bit multiplexer ( 94), L_dac_bytetobits - bit demultiplexer ( 94), The l_dac_dataconversion library

Advertising
background image

The L_DAC_DataConversion library

L_DAC_BitsToWord - bit multiplexer

94

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

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

11.13

L_DAC_BitsToWord - bit multiplexer

This FB converts 16 input bits into a value of the "WORD" type.

Inputs

Outputs

11.14

L_DAC_ByteToBits - bit demultiplexer

This FB outputs the 8 corresponding bit values for an input value of the "BYTE" type.

Inputs

Outputs

Function library:

L_DAC_DataConversion

Runtime software licence:

LPC 1x00

MPC 1x00

MPC 2xx0

MPC 3x00

L_DAC_BitsToWord

BOOL ⎯ xBit...xBit15

wOutput ⎯ WORD

Identifier/data type

Information/possible settings

xBit0...xBit15

BOOL

Input signal 1..input signal 16

Identifier/data type

Information/possible settings

wOutput

WORD

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_ByteToBits

BYTE ⎯ byInput

xBit0...xBit7 ⎯ BOOL

Identifier/data type

Information/possible settings

byInput

BYTE

Input signal

Identifier/data type

Information/possible settings

xBit0..xBit7

BOOL

Output of bit 0..Bit 7 of byInput (valency: 2

0

..2

7

)

Advertising