User guide

5 Function blocks
5.87 L_LdDifferentiateCyclic - cyclic differentiation
318
Lenze · 9400 function library · Reference manual · DMS 6.7 EN · 08/2014 · TD05
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
5.87 L_LdDifferentiateCyclic - cyclic differentiation
This FB differentiates a position with regard to a speed in consideration of the cycle.
The cycle and shift factor for the position resolution are read out of the machine parameters
(AxisData).
The clock pulse is created with remainder processing.
The FB is the counterpart of the FB L_LdIntegrateCyclic
. ( 322)
Inputs
Outputs
Function library: LenzeLineDrive Do not use FB for new developments!
Replacement by L_SdDifferentiate
.
Runtime software licence: Motion Control HighLevel Motion Control TopLevel
Identifier/data type Information/possible settings
dnPosIn_p
DINT
Clocked position in [inc]
Scaling: 1 encoder revolution 2
16
increments (or acc. to AxisData)
AxisData Machine parameters
For accepting the machine parameters of the drive/motor, connect this input
with the output DI_AxisData of the SB LS_DriveInterface.
• The machine parameters of a master drive can be displayed with the
FB L_SdSetAxisData
. In this case, the FB output AxisData must be connected to
this input. ( 510)
Identifier/data type Value/meaning
dnState
DINT
Status (bit coded)
bits10 Zero crossing active
bits14 Internal limitation for calculation
Bit15 Error
bits18 No cycle available
bits21 Input error (e.g. impermissible position jump or inverse direction of
motion)
bits23 No valid axis data structure
dnSpeedOut_s
DINT
Speed
Scaling: 15000 rpm 2
26
67108864
GQ6SHHG2XWBV
/B/G'LIIHUHQWLDWH&\FOLF
$[LV'DWD
GQ3RV,QBS
GQ6WDWH