140 l_phasediff_2, 140 l_phasediff_2 4, L_phasediff_2 – Lenze 8400 TopLine User Manual
Page 1614: Breset, 19 function library
19
Function library
19.1
Function blocks
1614
Lenze · 8400 TopLine · Reference manual · DMS 6.0 EN · 06/2014 · TD05/TD14
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
19.1.140
L_PhaseDiff_2
This FB generates a position difference for the defined position setpoint from a position value and
a speed signal.
• In an integrator, the nIn_v speed signal is integrated into a position value and subtracted from
the dnSet_p position setpoint.
• In addition, the adaptive dnAdd_p position value can be added to the integrator content by
setting bEn to TRUE.
Inputs
Outputs
Identifier
Data type
Information/possible settings
dnSet_p
DINT
Selection of a position setpoint
dnAdd_p
DINT
Adaptive position value for the actual position
bEn
BOOL
Activate addition of the adaptive position value
FALSE 1.The speed signal at nIn_v is integrated by the angle integrator.
2.The result of the angle integrator is subtracted from the angle
signal at dnSet_p and output at dnOut_p afterwards.
TRUE The adaptive position value selected via dnAdd_p is added:
1.The speed signal at nIn_v is integrated by the angle integrator.
2.The angle signal at dnAdd_p is added to the integrated speed
signal in every task cycle.
3.The result of the angle integrator is subtracted from the angle
signal at dnSet_p and output at dnOut_p afterwards.
nIn_v
INT
Selection of the actual speed to be converted into the position value
bReset
BOOL
Reset actual angle integrator
TRUE Actual angle integrator is set to "0".
Identifier
Data type
Value/meaning
dnOut_p
DINT
Output angle signal (position difference)
• Without limitation
/B3KDVH'LIIB
GQ2XWBS
GQ6HWBS
GQ$GGBS
E(Q
E5HVHW
Q,QBY