Class GetDpPtr
Version 1.0
Modified 08-MAR-2026 11:05:32.00
 Get the value for a digital pointer attribute.

 Fetches the value of a digital 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_GetDpPtr
AttrRef DpPtrObject   Specifies the name of pointer attribute.
Pointer to Boolean Ptr   A Plc private pointer to the actual value.
Boolean Value val Attribute value.

DevBody attributes 
Int32 DpPtrObjectSegments   Specifies number of segments of the actual object name
that is to be displayed in the symbol of the GetDpPtr
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 GetDpPtr
graphname GetDpPtr
debugpar Value


Template Object
DpPtrObjectSegments 2


Attributes detail


DpPtrObject Intern
Class Intern
Type AttrRef
Flags
Body RtBody
 Specifies the name of pointer attribute.

Ptr Intern
Class Intern
Type Pointer to Boolean
Flags POINTER | PRIVATE | INVISIBLE
Body RtBody
 A Plc private pointer to the actual value.

Value Output
Class Output
Type Boolean
Flags STATE | NOEDIT
GraphName val
Body RtBody
 Attribute value.

DpPtrObjectSegments Intern
Class Intern
Type Int32
Flags
Body DevBody
 Specifies number of segments of the actual object name
 that is to be displayed in the symbol of the GetDpPtr
 object. The segments are counted from behind.

PlcNode Buffer
Class Buffer
Type PlcNode
Flags INVISIBLE
Body DevBody