Lenze · 8400 HighLine · Reference manual · DMS 12.0 EN · 06/2017 · TD23 1480
17 Function library
17.1 Function blocks | L_PhiIntegrator_1
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
17.1.139.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⋅+=