Curve function with 8 points and trigger x-offset
Contents

1.Description

This module returns a y-value to an x-value, depending on straight lines that are defined by 8 points. The first point of the straight lines is defined by x1 and y1. The last point of the straight lines is defined by x8 and y8. The x- and y-axes can be shifted by the respective offset. If x is smaller (x1- offset x), y=y1. If x is larger (x8-offset x), y=y8. The trigger changes the offset by the positive or negative step size (if an 0 is sent on the trigger, the step size is subtracted from the offset, otherwise it is added). The x-offset can be rest to 0 through resetting.

2.Inputs

No.NameInitialisationDescription
1x value0
x value
2x10
x value point 1
3y10
y-value point 1
4x20
x-value point 2
5y20
y-value point 2
6x30
x-value point 3
7y30
y-value point 3
8x40
x-value point 4
9y40
y-value point 4
10x50
x-value point 5
11y50
y-value point 5
12x60
x-value point 6
13y60
y-value point 6
14x70
x-value point 7
15y70
y-value point 7
16x80
x-value point 8
17y80
y-value point 8
18Min. offset-100
Min. offset
19Max. offset y100
Max. offset
20Step size10
Step size
21Trigger0
Trigger (0 = negative trigger / <> 0 = positive trigger)
22Reset0
Reset

3.Outputs

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

4.Other

Recalculation during start:Yes
Module is retentive:Yes
Internal designation:17725
Category:Math. functions curves

5.Similar functions

Curve function with 8 points
Curve function with 2 points and offset
Curve function with 4 points and offset
Curve function with 8 points and offset
Curve function with 8 points and trigger y-offset
Hysteresis with 3 limits