7 integration (l_phintk), Integration (l_phintk), Function library lenzedrive.lib – Lenze DDS Function library Drive User Manual
Page 55: Processing of phase−angle signals

Function library LenzeDrive.lib
Processing of phase−angle signals
2.4.7
Integration (L_PHINTK)
2−45
L
LenzeDrive.lib EN 1.7
2.4.7
Integration (L_PHINTK)
This FB can integrate a speed or a velocity to a phase−angle (path/distance). It can also recognize
a relative distance. The integrator can accept max. ±32000 encoder revolutions.
d n C m p
b y M o d e
n I n _ v
d n S e t _ p
b L o a d _ b
d n O u t _ p
b S t a t u s _ b
L _ P H I N T K
I n t e r v a l T i m e
T A S K
Fig. 2−56
Integration (L_PHINTK)
VariableName
DataType
SignalType
VariableType
Note
nIn_v
Integer
velocity
VAR_INPUT
Actual speed value: 16384
º 15000 rpm
bLoad_b
Bool
binary
VAR_INPUT
= TRUE sets the phase−angle integrator to the signal at
nIn_v and bStatus_b = FALSE .
dnSet_p
Double−integer
position
VAR_INPUT
dnOut_p
Double−integer
position
VAR_OUTPUT
65536 inc = 1 encoder revolution (Overflow is possible.)
bStatus_b
Bool
binary
VAR_OUTPUT
TRUE = Overflow occurred or distance processed.
byMode
Byte
VAR CONSTANT RETAIN
Selection of the function
dnCmp
Double−integer
VAR CONSTANT RETAIN
Comparison value
Parameter codes of the instances
VariableName
L_PHINTK1
SettingRange
Lenze
byMode
C1150
0 ... 2
0
dnCmp
C1151
0 ... 2000000000
2000000000
Range of functions
·
Constant input value
·
Input value with change of sign
·
Calculation of the output signal