| Volume pwrb | |
| Attributes: Runtime | Development | System | Template | Detail C Binding: Struct | Class | Code  ClassTree | INDEX NO INDEX |
Class IAdd
|
||
|---|---|---|
| Version | 1.0 | |
| Modified | 08-MAR-2026 11:05:32.00 | |
| Code | rt_plc_arithm.c | |
Integer addition.

Addition of up to 8 integer inputs.
| RtBody attributes pwr_sClass_IAdd | |||
|---|---|---|---|
| Int32 | In1 | In1 | Value of input signal 1, input signal 2, ..., input signal 8. |
| Int32 | In2 | In2 | |
| Int32 | In3 | In3 | |
| Int32 | In4 | In4 | |
| Int32 | In5 | In5 | |
| Int32 | In6 | In6 | |
| Int32 | In7 | In7 | |
| Int32 | In8 | In8 | |
| Int32 | ActVal | Val | The result of the addition. |
| DevBody attributes | |||
|---|---|---|---|
| PlcNode | PlcNode | ||
| GraphPlcNode | |
|---|---|
| object_type | 11 |
| parameters[0] | 8 |
| parameters[1] | 0 |
| parameters[2] | 1 |
| parameters[3] | 0 |
| subwindows | 0 |
| graphmethod | 1 (standard, common 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 | IAdd |
| graphname | IAdd |
| debugpar | |
| Template Object |
|---|
| In1 Input | ||
|---|---|---|
| Class | Input | |
| Type | Int32 | |
| Flags | REDUTRANSFER | |
| GraphName | In1 | |
| Body | RtBody | |
Value of input signal 1, input signal 2, ..., input signal 8.
| In2 Input | ||
|---|---|---|
| Class | Input | |
| Type | Int32 | |
| Flags | REDUTRANSFER | |
| GraphName | In2 | |
| Body | RtBody | |
| In3 Input | ||
|---|---|---|
| Class | Input | |
| Type | Int32 | |
| Flags | REDUTRANSFER | |
| GraphName | In3 | |
| Body | RtBody | |
| In4 Input | ||
|---|---|---|
| Class | Input | |
| Type | Int32 | |
| Flags | REDUTRANSFER | |
| GraphName | In4 | |
| Body | RtBody | |
| In5 Input | ||
|---|---|---|
| Class | Input | |
| Type | Int32 | |
| Flags | REDUTRANSFER | |
| GraphName | In5 | |
| Body | RtBody | |
| In6 Input | ||
|---|---|---|
| Class | Input | |
| Type | Int32 | |
| Flags | REDUTRANSFER | |
| GraphName | In6 | |
| Body | RtBody | |
| In7 Input | ||
|---|---|---|
| Class | Input | |
| Type | Int32 | |
| Flags | REDUTRANSFER | |
| GraphName | In7 | |
| Body | RtBody | |
| In8 Input | ||
|---|---|---|
| Class | Input | |
| Type | Int32 | |
| Flags | REDUTRANSFER | |
| GraphName | In8 | |
| Body | RtBody | |
| ActVal Output | ||
|---|---|---|
| Class | Output | |
| Type | Int32 | |
| Flags | STATE | NOEDIT | REDUTRANSFER | |
| GraphName | Val | |
| Body | RtBody | |
The result of the addition.
| PlcNode Buffer | ||
|---|---|---|
| Class | Buffer | |
| Type | PlcNode | |
| Flags | INVISIBLE | |
| Body | DevBody | |