5 signal conversion, 1 normalization (l_conv), Signal conversion – Lenze DDS Function library Drive User Manual
Page 59: Normalization (l_conv), Function library lenzedrive.lib

Function library LenzeDrive.lib
Signal conversion
2.5.1
Normalization (L_CONV)
2−49
L
LenzeDrive.lib EN 1.7
2.5
Signal conversion
2.5.1
Normalization (L_CONV)
This FB normalizes signals. The calculation is made quite precisely, with remainder processing and
definition of the conversion factor as a numerator and denominator.
n I n _ a
n O u t _ a
L _ C O N V
n N u m e r a t o r
n D e n o m i n a t o r
Fig. 2−59
Normalization (L_CONV)
VariableName
DataType
SignalType
VariableType
Note
nIn_a
Integer
analog
VAR_INPUT
100 %
º16384 º C0011 (n
max
)
nOut_a
Integer
analog
VAR_OUTPUT
The signal it limited to ±199.99 % (100 %
º 16384).
nNumerator
Integer
VAR CONSTANT RETAIN
Numerator
nDenominator
Integer
VAR CONSTANT RETAIN
Denominator
Parameter codes of the instances
VariableName
L_CONV1
L_CONV2
L_CONV3
SettingRange
Lenze
nNumerator
C0940
C0945
C0950
−32767 ... 32767
1
nDenominator
C0941
C0946
C0951
1 ... 32767
1
VariableName
L_CONV4
L_CONV5
L_CONV6
SettingRange
Lenze
nNumerator
C0955
C0655
C1170
−32767 ... 32767
1
nDenominator
C0956
C0656
C1171
1 ... 32767
1
Function
The multiplication or division of signals is made according to the formula:
nOut
+ nIn @ nNumerator
nDenominator