| Volume pwrb | |
| Attributes: Runtime | Development | System | Template | Detail C Binding: Struct | Class | Code  ClassTree | INDEX NO INDEX |
Class Curve
|
||
|---|---|---|
| Version | 1.0 | |
| Modified | 08-MAR-2026 11:05:32.00 | |
| Code | rt_plc_arithm.c | |
Interpolates in a table.

The table which is realized in a Table object defines a function curve.

If the input signal is outside the range of the table the first/last table value is chosen as the function value; see above.
| RtBody attributes pwr_sClass_curve | |||
|---|---|---|---|
| Float32 | In | IN | The input is connected to an analog signal or left open. In the latter case In is used as the input value to the table. |
| Float32 | Tab | TAB | The input has to be connected to a Table object. |
| Float32 | ActVal | VAL | Interpolated table value according to the input. |
| DevBody attributes | |||
|---|---|---|---|
| PlcNode | PlcNode | ||
| GraphPlcNode | |
|---|---|
| object_type | 129 |
| parameters[0] | 2 |
| parameters[1] | 0 |
| parameters[2] | 1 |
| parameters[3] | 0 |
| subwindows | 0 |
| graphmethod | 0 (standard, individual attributes) |
| graphindex | 0 |
| default_mask[0] | 3 |
| default_mask[1] | 1 |
| segname_annotation | 1 |
| compmethod | 4 |
| compindex | 0 |
| tracemethod | 0 |
| traceindex | 0 |
| executeordermethod | 2 |
| objname | Curve |
| graphname | Curve |
| debugpar | |
| In Input | ||
|---|---|---|
| Class | Input | |
| Type | Float32 | |
| Flags | STATE | NOEDIT | REDUTRANSFER | |
| GraphName | IN | |
| Body | RtBody | |
The input is connected to an analog signal or left open. In the latter case In is used as the input value to the table.
| Tab Input | ||
|---|---|---|
| Class | Input | |
| Type | Float32 | |
| Flags | STATE | NOEDIT | |
| GraphName | TAB | |
| Body | RtBody | |
The input has to be connected to a Table object.
| ActVal Output | ||
|---|---|---|
| Class | Output | |
| Type | Float32 | |
| Flags | STATE | NOEDIT | REDUTRANSFER | |
| GraphName | VAL | |
| Body | RtBody | |
Interpolated table value according to the input.
| PlcNode Buffer | ||
|---|---|---|
| Class | Buffer | |
| Type | PlcNode | |
| Flags | INVISIBLE | |
| Body | DevBody | |