| Volume pwrb | |
| Attributes: Runtime | Development | System | Template | Detail C Binding: Struct | Class | Code  ClassTree | INDEX NO INDEX |
Class StoDTv
|
||
|---|---|---|
| Version | 1.0 | |
| Modified | 15-JAN-2025 13:23:35.00 | |
| Kod | rt_plc_macro_time.h | |
Storage of delta time value.

Storage of a delta time value on a specified local DTv object. It is not allowed, by means of a function in C or PLC programs, to write in any of the inputs.
| RtBody attributes pwr_sClass_StoDTv | |||
|---|---|---|---|
| DeltaTime | In | VAL | The input is connected to a string value or left open. In the latter case the value of In, is considered to be stored. |
| DevBody attributes | |||
|---|---|---|---|
| AttrRef | DTvObject | In | Specifies the name of the object where to store the value. |
| Int32 | DTvObjectSegments | Specifies how many segments of the Sv object name that is to be displayed in the symbol of the StoSv object. The segments are counted from behind. |
|
| PlcNode | PlcNode | ||
| GraphPlcNode | |
|---|---|
| object_type | 278 |
| 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 | 31 |
| executeordermethod | 2 |
| objname | StoDTv |
| graphname | StoDTv |
| Template Object | |
|---|---|
| DTvObjectSegments | 2 |
| In Input | ||
|---|---|---|
| Klass | Input | |
| Typ | DeltaTime | |
| Flags | RTVIRTUAL | DEVBODYREF | |
| GraphName | VAL | |
| Kropp | RtBody | |
The input is connected to a string value or left open. In the latter case the value of In, is considered to be stored.
| DTvObject Intern | ||
|---|---|---|
| Klass | Intern | |
| Typ | AttrRef | |
| Flags | ||
| GraphName | In | |
| Kropp | DevBody | |
Specifies the name of the object where to store the value.
| DTvObjectSegments Intern | ||
|---|---|---|
| Klass | Intern | |
| Typ | Int32 | |
| Flags | ||
| Kropp | DevBody | |
Specifies how many segments of the Sv object name that is to be displayed in the symbol of the StoSv object. The segments are counted from behind.
| PlcNode Buffer | ||
|---|---|---|
| Klass | Buffer | |
| Typ | PlcNode | |
| Flags | INVISIBLE | |
| Kropp | DevBody | |