User guide

Lenze · 9400 function library · Reference manual · DMS 6.7 EN · 08/2014 · TD05 149
5 Function blocks
5.3 L_CamCurve - curve interpolation for characteristics
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
5.3 L_CamCurve - curve interpolation for characteristics
From the cam data under the current product number (specified by the LS_CamInterface SB), this FB
reads the table of values of the curve track selected via the input dnTrackNumber and outputs the
corresponding y value for the x value specified.
Between two points of the table of values a linear interpolation takes place.
This FB presents a reduced variant of the L_CamProfiler
FB:
The FB does not process modulo measuring systems, but reverts solely to the interpolation
point table stored.
The FB does not have a synchronised track change algorithm.
For a curve interpolation of a motion profile the L_CamProfiler
FB is to be used instead.
Inputs
Function library: LenzeCam FB permissible for firmware as of V3.0 only!
Runtime software licence: Motion Control HighLevel Motion Control TopLevel
Stop!
Ensure that the x measuring system of the curve track matches the input signal, as
otherwise serious malfunctions within the application may occur!
The y measuring system has to be defined as characteristic, otherwise an error is gene-
rated.
Identifier/data type Information/possible settings
dnXInput
DINT
Input value (x axis)
C05546 indicates the input value in the real unit of the machine.
dnTrackNumber
DINT
Selection of the curve track
The acceptance is effected immediately.
A switch-over of the track number (not product number) synchronised with the
zero crossing can be implemented with an additional function block interconnec-
tion. Track switch-over
( 153)
GQ<2XWSXW
/B&DP&XUYH
GQ7UDFN1XPEHU
GQ;,QSXW
&&
E(UURU
& ;D[LVXQLW
&
;D[LVQDPH
&
<D[LVXQLW
&
<D[LVQDPH
&
6WDWH
;$[LV'DWD
<$[LV'DWD
&DPD[LVGDWD
;
<
;
<