beautypg.com

2 function, Function, 5function blocks – Lenze E94A User Manual

Page 152

background image

5

Function blocks

5.3

L_CamCurve - curve interpolation for characteristics

152

Lenze · 9400 function library · Reference manual · DMS 6.7 EN · 08/2014 · TD05

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

5.3.2

Function

The following characteristic with 4 grid points and a percentage scaling of the x and y axis are given:

[5-11] Example: characteristic

Assumption: At the input dnXInput the value "25 %" is available.

1. The FB first identifies the two adjacent grid points, in the example the grid points 1 and 2.
2. Afterwards the FB interpolates linearly between the two grid points and shows the interpolated

value (in our example "37.5 %") at the output dnYOutput.

Scaling of characteristics
The scaling of characteristics cannot only be preselected in the »Cam Designer«/»Cam Editor« in

percent, but can be set independently for the x axis and the y axis (e. g. percent, increments, or every

other application unit of an existing measuring system).

Grid point

1

2

3

4

x value

0 %

50 %

75 %

100 %

y value

25 %

50 %

50 %

100 %

37.5 %

25 %

50 %

75 %

100 %

25 %

50 %

75 %

100 %

dnYOutput

dnXInput

Note!

Observe that the corresponding input and output signals are correctly processed accor-

ding to the respective scaling.