Lenze DDS Function library Drive Manual de usuario Pagina 63

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 103
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 62
Function library LenzeDrive.lib
Signal conversion
2.5.5 Normalization with limiting (L_CONVX)
2−53
L
LenzeDrive.lib EN 1.7
2.5.5 Normalization with limiting (L_CONVX)
This FB normalizes signals. The calculation is made with high−precision and remainder handling,
using the conversion factor for numerator and denominator.
nNum
nOut
L_CONVX
*
a
b
1
1
0
nIn
nDenom
bInvers_b
ab
±32767
Fig. 2−63 Conversion (L_CONVX)
VariableName
DataType SignalType VariableType Note
nIn Integer analog/velocity VAR_INPUT
nNum Integer analog/velocity VAR_INPUT Counter
nDenom Integer analog/velocity VAR_INPUT Denominator
bInvers_b Bool binary VAR_INPUT
nOut Integer analog/velocity VAR_OUTPUT
Function
The multiplication or division of signals is made according to the formula:
nOut + nIn @
dnNum
|
dnDenom
|
@ sgn
|
bInvers
|
Division by zero is prevented: if nDenom = 0 the the value of nDenom is set to 1.
The input value is calculated for nDenominator.
bInvers_b = TRUE means that the sign is reversed for the output variable nOut.
The calculation is made using remainder handling.
Vista de pagina 62
1 2 ... 58 59 60 61 62 63 64 65 66 67 68 ... 102 103

Comentarios a estos manuales

Sin comentarios