| Volume pwrb | |
| Attributes: Runtime | Development | System | Template | Detail C Binding: Struct | Class  ClassTree | INDEX NO INDEX |
Class GetData
|
||
|---|---|---|
| Version | 1.0 | |
| Modified | 08-MAR-2026 11:05:32.00 | |
Fetches a reference to a data object.

The reference is transferred to data inputs of for example DataArithm-objects by connecting the output of the GetData in the plc editor.See also
| RtBody attributes pwr_sClass_GetData | |||
|---|---|---|---|
| Pointer to Void | Out | Out | Data reference output |
| AttrRef | DataObjid | Objid of the referenced data object | |
| DevBody attributes | |||
|---|---|---|---|
| AttrRef | DataObject | Referenced data object | |
| Int32 | DataObjectSegments | Number of name segments displayed in the symbol | |
| PlcNode | PlcNode | ||
| GraphPlcNode | |
|---|---|
| object_type | 225 |
| parameters[0] | 0 |
| parameters[1] | 0 |
| parameters[2] | 1 |
| parameters[3] | 0 |
| subwindows | 0 |
| graphmethod | 7 (Get,Set) |
| graphindex | 0 |
| default_mask[0] | 0 |
| default_mask[1] | 1 |
| segname_annotation | 0 |
| devbody_annotation | 1 |
| compmethod | 43 |
| compindex | 1 |
| connectmethod | 13 |
| tracemethod | 0 |
| traceindex | 1 |
| objname | Data |
| graphname | Data |
| debugpar | |
| Template Object | |
|---|---|
| DataObjectSegments | 2 |
| Out Output | ||
|---|---|---|
| Class | Output | |
| Type | Pointer to Void | |
| Flags | STATE | NOEDIT | POINTER | PRIVATE | |
| GraphName | Out | |
| Body | RtBody | |
Data reference output
| DataObjid Intern | ||
|---|---|---|
| Class | Intern | |
| Type | AttrRef | |
| Flags | INVISIBLE | |
| Body | RtBody | |
Objid of the referenced data object
| DataObject Intern | ||
|---|---|---|
| Class | Intern | |
| Type | AttrRef | |
| Flags | ||
| Body | DevBody | |
Referenced data object
| DataObjectSegments Intern | ||
|---|---|---|
| Class | Intern | |
| Type | Int32 | |
| Flags | ||
| Body | DevBody | |
Number of name segments displayed in the symbol
| PlcNode Buffer | ||
|---|---|---|
| Class | Buffer | |
| Type | PlcNode | |
| Flags | INVISIBLE | |
| Body | DevBody | |