19 l_dac_4bytestodword - type converter, 20 l_dac_dwordto2words - type converter, L_dac_4bytestodword - type converter ( 97) – Lenze PLC Designer R3-x User Manual

Page 97: L_dac_dwordto2words - type converter ( 97), The l_dac_dataconversion library

Advertising
background image

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

97

The L_DAC_DataConversion library

L_DAC_4BytesToDWord - type converter

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

11.19

L_DAC_4BytesToDWord - type converter

This function converts four input values of the "BYTE" type to an output value of the "DWORD" type.

Inputs

Output signal
L_DAC_4BytesToDWord
- value of the "DOUBLE WORD" type according to the input values

transferred

11.20

L_DAC_DWordTo2Words - type converter

This FB converts an input value of the "DWORD" type to two output values of the "WORD" type.

Inputs

Outputs

Function library:

L_DAC_DataConversion

Runtime software licence:

LPC 1x00

MPC 1x00

MPC 2xx0

MPC 3x00

L_DAC_4BytesToDWord

BYTE ⎯ byInput[1...4]

L_DAC_4BytesToDWord ⎯ DWORD

Identifier/data type

Information/possible settings

byInput1..4

BYTE

Input value 1..4

1 Bit 0 ... bit 7 of L_DAC_4BytesToDWord
2 Bit 8 ... bit 15 of dwOut L_DAC_4BytesToDWord
3 Bit 16 ... bit 23 of dwOut L_DAC_4BytesToDWord
4 Bit 24 ... bit 31 of dwOut L_DAC_4BytesToDWord

Function library:

L_DAC_DataConversion

Runtime software licence:

LPC 1x00

MPC 1x00

MPC 2xx0

MPC 3x00

L_DAC_DWordTo2Words

DWORD ⎯ dwInput

wOutput[1...2] ⎯ WORD

Identifier/data type

Information/possible settings

dwInput

DWORD

Input value

Identifier/data type

Information/possible settings

wOutput1

WORD

Output value 1 ≡ bit 0 ... bit 15 of dwInput

wOutput2

WORD

Output value 2 ≡ bit 16 ... bit 31 of dwInput

Advertising