
Function library LenzeDrive.lib
Signal conversion
2.5.3 Conversion of a phase−angle signal (L_CONVPP)
2−51
L
LenzeDrive.lib EN 1.7
2.5.3 Conversion of a phase−angle signal (L_CONVPP)
This FB converts a phase signal with a dynamic fraction.
This function corresponds to the function of the FB CONVPHPH in the 9300 servo inverter.
L_CONVPP
x
y
1
dnOut_p
nNum_a
dnIn_p
bAct_b
nDen_a
Fig. 2−61 Conversion of a phase−angle signal (L_CONVPP)
VariableName DataType SignalType VariableType Note
nNum_a Integer analog VAR_INPUT Numerator
dnIn_p Double Integer position VAR_INPUT
bAct_b Bool binary VAR_INPUT
nDen_a Integer analog VAR_INPUT Denominator (with absolute value generation)
dnOut_p Double Integer position VAR_OUTPUT The signal is not limited.
Remainder handling
Function
STOP!
The conversion result is not limited. The result must therefore not exceed the range of ±2147483647.
The conversion is made according to the formula:
With bAct_b = TRUE
dnOut_p + dnIn_p @
nNum_a
nDen_a
With bAct_b = FALSE
dnOut_p + Remainder @
nNum_a
nDen_a
Tip!
This FB operates with remainder handling.
The denominator can only be 1.
(INT)65536 corresponds to one encoder turn (one encoder turn corresponds to
65536 increments).
Comentarios a estos manuales