Class StoDTp
Version 1.0
Modified 08-MAR-2026 11:05:32.00
Code rt_plc_macro_io.h
 Store delta time attribute. Used in run time to write in
 time parameters.

 Stores an absolute time value in specified time
 attribute in a local object. The receiving
 attribute may not concern a pointer.
 The last name segment of the object and the name of the
 parameter will be shown in the right empty part of the
 StoDTp symbol.

RtBody attributes pwr_sClass_StoDTp
DeltaTime In VAL The input is connected to an string attribute or left
open. In the latter case In is default a NULL string and not
adjustable in the run time system. The In attribute
specifies which value should be assigned to the
parameter.

DevBody attributes 
AttrRef Object sts Used by the PLC Editor. Specifies the complete name of
the current object.
Int32 ObjectSegments   Specifies how many segments of the actual object name
that is to be displayed in the symbol of the StoSp
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 288
parameters[0] 1
parameters[1] 0
parameters[2] 0
parameters[3] 0
subwindows 0
graphmethod 7 (Get,Set)
graphindex 0
default_mask[0] 1
default_mask[1] 0
segname_annotation 0
devbody_annotation 1
compmethod 12
compindex 0
tracemethod 0
traceindex 0
connectmethod 7
executeordermethod 2
objname StoDTp
graphname StoDTp
debugpar


Template Object
ObjectSegments 2


Attributes detail


In Input
Class Input
Type DeltaTime
Flags RTVIRTUAL | DEVBODYREF
GraphName VAL
Body RtBody
 The input is connected to an string attribute or left
 open. In the latter case In is default a NULL string and not
 adjustable in the run time system. The In attribute
 specifies which value should be assigned to the
 parameter.

Object Intern
Class Intern
Type AttrRef
Flags
GraphName sts
Body DevBody
 Used by the PLC Editor. Specifies the complete name of
 the current object.

ObjectSegments Intern
Class Intern
Type Int32
Flags
Body DevBody
 Specifies how many segments of the actual object name
 that is to be displayed in the symbol of the StoSp
 object. The segments are counted from behind.

 0 and 1 both result in displaying the last segment of
 the actual object name.

PlcNode Buffer
Class Buffer
Type PlcNode
Flags INVISIBLE
Body DevBody