2 conversion of phase-angle to analog (l_convpa), Conversion of phase−angle to analog (l_convpa), Function library lenzedrive.lib – Lenze DDS Function library Drive User Manual
Page 60: Signal conversion, 2 conversion of phase−angle to analog (l_convpa)

2.5.2
Conversion of phase−angle to analog (L_CONVPA)
Function library LenzeDrive.lib
Signal conversion
2−50
L
LenzeDrive.lib EN 1.7
2.5.2
Conversion of phase−angle to analog (L_CONVPA)
This FB converts a phase−angle signal into an integer signal.
This function corresponds to the function of the FB CONVPHA in the 9300 servo inverter.
L _ C O N V P A
± 3 2 7 6 7
d n I n _ p
1
2
b y D i v i s i o n
n O u t
Fig. 2−60
Conversion of phase−angle to analog (L_CONVPA)
VariableName
DataType
SignalType
VariableType
Note
dnIn_p
Double Integer
position
VAR_INPUT
nOut
Integer
analog
VAR_OUTPUT
·
The signal is limited to ±32767.
·
Remainder handling
byDivision
Byte
VAR CONSTANT RETAIN
Division factor
Parameter codes of the instances
VariableName
L_CONVPA1
SettingRange
Lenze
byDivision
C1000
0 ... 31
1
Function
The conversion is made according to the formula:
nOut_a
+ dnIn_p @
1
2
byDivision
Note!
This FB operates with remainder handling.