| Volume pwrb | |
| Attributes: Runtime | Development | System | Template | Detail C Binding: Struct | Class | Code  ClassTree | INDEX NO INDEX |
Class GetDatap
|
||
|---|---|---|
| Version | 1.0 | |
| Modified | 15-JAN-2025 13:23:34.00 | |
| Kod | rt_plc_macro_div.h | |
Get Data reference.

Obsolete since V5.1. Use GetDataRefp instead. Fetches the reference to a data object from a data output attribute. The complete name of quantity has to be supplied.
| RtBody attributes pwr_sClass_GetDatap | |||
|---|---|---|---|
| Pointer to Float32 | Out | Out | Data output. |
| AttrRef | DataObjid | Objid of the referenced data object | |
| DevBody attributes | |||
|---|---|---|---|
| AttrRef | DatapObject | VAL | Used by the PLC Editor. Specifies the complete name of the actual attribute. |
| Int32 | DatapObjectSegments | Specifies how many segments of the actual object name that is to be displayed in the symbol of the GetSp object. The segments are counted from behind. 0 and 1 both result in displaying the last segment of the actual object name. |
|
| PlcNode | PlcNode | ||
| GraphPlcNode | |
|---|---|
| object_type | 11 |
| 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 | 36 |
| compindex | 0 |
| tracemethod | 0 |
| traceindex | 0 |
| connectmethod | 7 |
| executeordermethod | 2 |
| objname | GetDatap |
| graphname | Datap |
| debugpar | |
| Template Object | |
|---|---|
| DatapObjectSegments | 2 |
| Out Output | ||
|---|---|---|
| Klass | Output | |
| Typ | Pointer to Float32 | |
| Flags | STATE | NOEDIT | POINTER | PRIVATE | |
| GraphName | Out | |
| Kropp | RtBody | |
Data output.
| DataObjid Intern | ||
|---|---|---|
| Klass | Intern | |
| Typ | AttrRef | |
| Flags | INVISIBLE | |
| Kropp | RtBody | |
Objid of the referenced data object
| DatapObject Intern | ||
|---|---|---|
| Klass | Intern | |
| Typ | AttrRef | |
| Flags | ||
| GraphName | VAL | |
| Kropp | DevBody | |
Used by the PLC Editor. Specifies the complete name of the actual attribute.
| DatapObjectSegments Intern | ||
|---|---|---|
| Klass | Intern | |
| Typ | Int32 | |
| Flags | ||
| Kropp | DevBody | |
Specifies how many segments of the actual object name that is to be displayed in the symbol of the GetSp object. The segments are counted from behind. 0 and 1 both result in displaying the last segment of the actual object name.
| PlcNode Buffer | ||
|---|---|---|
| Klass | Buffer | |
| Typ | PlcNode | |
| Flags | INVISIBLE | |
| Kropp | DevBody | |