| Volume pwrb | |
| Attributes: Runtime | Development | System | Template | Detail C Binding: Struct | Class | Code  ClassTree | INDEX NO INDEX |
Class ISel
|
||
|---|---|---|
| Version | 1.0 | |
| Modified | 15-JAN-2025 13:23:36.00 | |
| Kod | rt_plc_arithm.c | |
Integer selection.

Select one of two inputs. If Control is high, ActualValue is set to In1, else ActualValue is set to In2.
| RtBody attributes pwr_sClass_ISel | |||
|---|---|---|---|
| Int32 | In1 | In1 | Integer input. |
| Int32 | In2 | In2 | Integer input. |
| Boolean | Control | con | Control. |
| Int32 | ActVal | Val | Selected value. |
| DevBody attributes | |||
|---|---|---|---|
| PlcNode | PlcNode | ||
| GraphPlcNode | |
|---|---|
| object_type | 11 |
| parameters[0] | 3 |
| parameters[1] | 0 |
| parameters[2] | 1 |
| parameters[3] | 0 |
| subwindows | 0 |
| graphmethod | 0 (standard, individual attributes) |
| graphindex | 0 |
| default_mask[0] | 7 |
| default_mask[1] | 1 |
| segname_annotation | 1 |
| compmethod | 4 |
| compindex | 0 |
| tracemethod | 0 |
| traceindex | 0 |
| executeordermethod | 2 |
| objname | ISel |
| graphname | ISel |
| debugpar | |
| In1 Input | ||
|---|---|---|
| Klass | Input | |
| Typ | Int32 | |
| Flags | REDUTRANSFER | |
| GraphName | In1 | |
| Kropp | RtBody | |
Integer input.
| In2 Input | ||
|---|---|---|
| Klass | Input | |
| Typ | Int32 | |
| Flags | REDUTRANSFER | |
| GraphName | In2 | |
| Kropp | RtBody | |
Integer input.
| Control Input | ||
|---|---|---|
| Klass | Input | |
| Typ | Boolean | |
| Flags | REDUTRANSFER | |
| GraphName | con | |
| Kropp | RtBody | |
Control.
| ActVal Output | ||
|---|---|---|
| Klass | Output | |
| Typ | Int32 | |
| Flags | STATE | NOEDIT | REDUTRANSFER | |
| GraphName | Val | |
| Kropp | RtBody | |
Selected value.
| PlcNode Buffer | ||
|---|---|---|
| Klass | Buffer | |
| Typ | PlcNode | |
| Flags | INVISIBLE | |
| Kropp | DevBody | |