21 l_dac_dwordto4bytes - type converter, L_dac_dwordto4bytes - type converter ( 98), The l_dac_dataconversion library – Lenze PLC Designer R3-x User Manual

Page 98

Advertising
background image

The L_DAC_DataConversion library

L_DAC_DWordTo4Bytes - type converter

98

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

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

11.21

L_DAC_DWordTo4Bytes - type converter

This FB converts an input value of the "DWORD" type into four output values of the "BYTE" type.

Inputs

Outputs

Function library:

L_DAC_DataConversion

Runtime software licence:

LPC 1x00

MPC 1x00

MPC 2xx0

MPC 3x00

L_DAC_DWordTo4Bytes

DWORD ⎯ dwInput

byOutput[0...3] ⎯ BYTE

Identifier/data type

Information/possible settings

dwInput

DWORD

Input value

Identifier/data type

Information/possible settings

byOutput0

BYTE

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

byOutput1

BYTE

Output value 2 ≡ bit 8 ... bit 15 of dwInput

byOutput2

BYTE

Output value 3 ≡ bit 16 ... bit 23 of dwInput

byOutput3

BYTE

Output value 4 ≡ bit 24 ... bit 31 of dwInput

Advertising