22 l_dac_wordto2bytes - type converter, L_dac_wordto2bytes - type converter ( 99), The l_dac_dataconversion library – Lenze PLC Designer R3-x User Manual

Page 99

Advertising
background image

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

99

The L_DAC_DataConversion library

L_DAC_WordTo2Bytes - type converter

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

11.22

L_DAC_WordTo2Bytes - type converter

This FB converts an input value of the "WORD" type into two 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_WordTo2Bytes

WORD ⎯ wInput

byOutput[1..2] ⎯ BYTE

Identifier/data type

Information/possible settings

wInput

WORD

Input value

Identifier/data type

Information/possible settings

byOutput1

BYTE

Output value 1: Bit 0 ... bit 7 of wInput

byOutput2

BYTE

Output value 2: Bit 8 ... bit 15 of wInput

Advertising