| Volume pwrb | |
| Attributes: Runtime | Development | System | Template | Detail C Binding: Struct | Class | Code  ClassTree | INDEX NO INDEX |
Class StoIv
|
||
|---|---|---|
| Version | 1.0 | |
| Modified | 08-MAR-2026 11:05:32.00 | |
| Code | rt_plc_macro_io.h | |
Store Integer value.

Stores an integer value ( e.g. output signal of the type pwr_tInt32) on the specified local Iv object. Used e.g. to assign starting values to local Iv objects at initialisation of a PLC program. The complete name of the Av object has to be supplied; its last segment is shown in the right empty part of the symbol.
| RtBody attributes pwr_sClass_stoiv | |||
|---|---|---|---|
| Int32 | In | VAL | The input is connected to an integer signal or left open. In the latter case In is default 0.0 and not adjustable in the run time system. The In attribute specifies which value should be assigned to the Iv-signal. |
| DevBody attributes | |||
|---|---|---|---|
| AttrRef | IvObject | In | Used by the PLC Editor. Specifies the complete name of the current Iv object. |
| Int32 | IvObjectSegments | Specifies how many segments of the Iv object name that is to be displayed in the symbol of the StoIv object. The segments are counted from behind. |
|
| PlcNode | PlcNode | ||
| GraphPlcNode | |
|---|---|
| object_type | 145 |
| parameters[0] | 1 |
| parameters[1] | 0 |
| parameters[2] | 0 |
| parameters[3] | 0 |
| subwindows | 0 |
| graphmethod | 7 (Get,Set) |
| graphindex | 1 |
| default_mask[0] | 1 |
| default_mask[1] | 0 |
| segname_annotation | 0 |
| devbody_annotation | 1 |
| compmethod | 11 |
| compindex | 0 |
| tracemethod | 0 |
| traceindex | 0 |
| connectmethod | 21 |
| executeordermethod | 2 |
| objname | StoIv |
| graphname | StoIv |
| debugpar | |
| Template Object | |
|---|---|
| IvObjectSegments | 2 |
| In Input | ||
|---|---|---|
| Class | Input | |
| Type | Int32 | |
| Flags | RTVIRTUAL | DEVBODYREF | |
| GraphName | VAL | |
| Body | RtBody | |
The input is connected to an integer signal or left open. In the latter case In is default 0.0 and not adjustable in the run time system. The In attribute specifies which value should be assigned to the Iv-signal.
| IvObject Intern | ||
|---|---|---|
| Class | Intern | |
| Type | AttrRef | |
| Flags | ||
| GraphName | In | |
| Body | DevBody | |
Used by the PLC Editor. Specifies the complete name of the current Iv object.
| IvObjectSegments Intern | ||
|---|---|---|
| Class | Intern | |
| Type | Int32 | |
| Flags | ||
| Body | DevBody | |
Specifies how many segments of the Iv object name that is to be displayed in the symbol of the StoIv object. The segments are counted from behind.
| PlcNode Buffer | ||
|---|---|---|
| Class | Buffer | |
| Type | PlcNode | |
| Flags | INVISIBLE | |
| Body | DevBody | |