6 communication, 1 type conversion (l_bytearraytodint), 2 type conversion (l_dinttobytearray) – Lenze DDS Function library Drive User Manual

Page 64: 3 code index (l_funcodeindexconv), Communication, Type conversion (l_bytearraytodint), Type conversion (l_dinttobytearray), Code index (l_funcodeindexconv), Function library lenzedrive.lib

Advertising
background image

2.6.1

Type conversion (L_ByteArrayToDint)

Function library LenzeDrive.lib

Communication

2−54

L

LenzeDrive.lib EN 1.7

2.6

Communication

2.6.1

Type conversion (L_ByteArrayToDint)

This FB converts a 4−byte array into a variable of type DINT.

VariableName

DataType

SignalType

VariableType

Note

abyIn

Byte [0 ... 3]

VAR_INPUT

dnOut

Double−integer

VAR_OUTPUT

2.6.2

Type conversion (L_DintToByteArray)

This FB converts a variable of type DINT into a 4−byte array, as, for instance, the FB L_ParWrite
expects for the input abyData.

VariableName

DataType

SignalType

VariableType

Note

dnIn

Double−integer

VAR_INPUT

abyOut

Byte [0 ... 3]

VAR_OUTPUT

2.6.3

Code index (L_FUNCodeIndexConv)

This function checks the value range 1 ... 8000 of a code index and transmits the index to, e. g. the
FB L_ParWrite via the wIndex input. If the code numbers are invalid, the function transmits the
0000 index.

VariableName

DataType

SignalType

VariableType

Note

wCodenumber

Word

VAR_INPUT

Advertising