2 example, 2 example 7, 18 function library – Lenze 8400 User Manual
Page 1377

Lenze · 8400 protec HighLine · Reference manual · DMS 3.0 EN · 03/2013 · TD05
1377
18
Function library
18.1
Function blocks | L_PhiIntegrator_1
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
18.1.138.2 Example
The current speed at nSet_v and the gearbox factors serve to create a specific machine measuring
system from the motor measuring system.
• 216 increments in the motor measuring system are to correspond to 1 motor revolution.
• 216 increments in the machine measuring system (nOut16) are to correspond to 1 machine
shaft revolution.
Initialise integrator
A FALSE/TRUE edge at bTPReceived initialises the integrator, i.e. a calculation with dnTPPosition_p
and dnLoadVal_p is made:
• After initialisation is completed, the bInitDone output is set to TRUE in the next call cycle.
• In case of a renewed initialisation without a previous reset (bReset = TRUE), the bInitDone
output is set to FALSE for a task cycle.
Reset integrator
When bReset is set to TRUE, the integrator is set to 0. No calculations are made.
• The Boolean outputs are set to FALSE.
• The bReset input has the highest priority.
Load integrator
When bLoad is set to TRUE, the integrator is loaded with the value at dnLoadVal_p and the outputs
are set.
• When bLoad is set to TRUE, the input is not integrated and no check for overflow is executed.
• When bLoad is reset to FALSE, the integrator continues from the loaded value. The bInitDone
output is reset to FALSE after a FALSE/TRUE edge at bTPReceived with a delay of one call cycle.
nOut16
(INT) dnLoadVal_p dnTPPosition_p Gearbox factor
⋅
+
(
)
=
dnOut32_p
dnLoadVal_p dnTPPosition_p Gearbox factor
⋅
+
=