| Volume pwrb | |
| Attributes: Runtime | Development | System | Template | Detail C Binding: Struct | Class  ClassTree | INDEX NO INDEX |
Class GetIpPtr
|
||
|---|---|---|
| Version | 1.0 | |
| Modified | 15-JAN-2025 13:23:34.00 | |
Get the value for a integer pointer attribute.

Fetches the value of a integer pointer attribute, i.e. a attribute with the Pointer bit set in Flags. The pointer has to be a rtdb offset pointer, not an absolute pointer.
| RtBody attributes pwr_sClass_GetIpPtr | |||
|---|---|---|---|
| AttrRef | IpPtrObject | Specifies the name of pointer attribute. | |
| Pointer to Int32 | Ptr | A Plc private pointer to the actual value. | |
| Int32 | Value | val | Attribute value. |
| DevBody attributes | |||
|---|---|---|---|
| Int32 | IpPtrObjectSegments | Specifies number of segments of the actual object name that is to be displayed in the symbol of the GetIpPtr object. The segments are counted from behind. |
|
| PlcNode | PlcNode | ||
| GraphPlcNode | |
|---|---|
| object_type | 11 |
| parameters[0] | 0 |
| parameters[1] | 2 |
| 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 |
| rtbody_annotation | 1 |
| compmethod | 35 |
| tracemethod | 3 |
| connectmethod | 0 |
| executeordermethod | 0 |
| objname | GetIpPtr |
| graphname | GetIpPtr |
| debugpar | Value |
| Template Object | |
|---|---|
| IpPtrObjectSegments | 2 |
| IpPtrObject Intern | ||
|---|---|---|
| Klass | Intern | |
| Typ | AttrRef | |
| Flags | ||
| Kropp | RtBody | |
Specifies the name of pointer attribute.
| Ptr Intern | ||
|---|---|---|
| Klass | Intern | |
| Typ | Pointer to Int32 | |
| Flags | POINTER | PRIVATE | INVISIBLE | |
| Kropp | RtBody | |
A Plc private pointer to the actual value.
| Value Output | ||
|---|---|---|
| Klass | Output | |
| Typ | Int32 | |
| Flags | STATE | NOEDIT | |
| GraphName | val | |
| Kropp | RtBody | |
Attribute value.
| IpPtrObjectSegments Intern | ||
|---|---|---|
| Klass | Intern | |
| Typ | Int32 | |
| Flags | ||
| Kropp | DevBody | |
Specifies number of segments of the actual object name that is to be displayed in the symbol of the GetIpPtr object. The segments are counted from behind.
| PlcNode Buffer | ||
|---|---|---|
| Klass | Buffer | |
| Typ | PlcNode | |
| Flags | INVISIBLE | |
| Kropp | DevBody | |