Curve funct. (4 points)
Contents

1.Description

This module returns a y-value to an x-value, depending on straight lines that are defined by 4 points. The first point of the straight lines is defined by x1 and y1. The last point of the straight lines is defined by x4 and y4. If x is smaller than x1, y=y1. If x is greater than x4, y=y4

2.Inputs

No.NameInitialisationDescription
1E1 x0
x value
2E2 x10
x value point 1
3E3 y10
y-value point 1
4E4 x20
x-value point 2
5E5 y20
y-value point 2
6E6 x30
x-value point 3
7E7 y30
y-value point 3
8E8 x40
x-value point 4
9E9 y40
y-value point 4

3.Outputs

No.NameInitialisationSBCDescription
1A1 y0s
y-value as result
s = send, sbc = send by change

4.Other

Recalculation during start:Yes
Module is retentive:No
Internal designation:9045
Category:Math. functions

5.Similar functions

Curve funct. (2 points)
Random generator
Minimum value (continuous)
Minimum value (comparative)
Maximum value (continuous)
Maximum value (comparative)
Exponential function
Natural logarithm
Summation
Sliding average (event)
Sliding average (cyclical)
Root
x to the power of y
Logarithm (Base 10)
Absolute value