Class DtAdd
Version 1.0
Modified 08-MAR-2026 11:05:32.00
Code rt_plc_macro_time.h
 Add two delta times.

 DtAdd calculates the sum of the first and second deltat time input.

 Both inputs have to be connected to delta times.
 The resulting output is a delta time.

RtBody attributes pwr_sClass_DtAdd
DeltaTime DTime1 DTim1 Delta time.
DeltaTime DTime2 DTim2 Delta time.
DeltaTime ActVal Val Output absolute time that contains the result.

DevBody attributes 
PlcNode PlcNode  


GraphPlcNode
object_type 11
parameters[0] 2
parameters[1] 0
parameters[2] 1
parameters[3] 0
subwindows 0
graphmethod 1 (standard, common attributes)
graphindex 0
default_mask[0] 3
default_mask[1] 1
segname_annotation 1
compmethod 5
compindex 0
tracemethod 0
traceindex 0
executeordermethod 2
objname DtAdd
graphname DtAdd


Attributes detail


DTime1 Input
Class Input
Type DeltaTime
Flags STATE | RTVIRTUAL | NOEDIT | NOREMOVE
GraphName DTim1
Body RtBody
 The input has to be connected to an output of type DeltaTime.

DTime2 Input
Class Input
Type DeltaTime
Flags STATE | RTVIRTUAL | NOEDIT | NOREMOVE
GraphName DTim2
Body RtBody
 The input has to be connected to an output of type DeltaTime.

ActVal Output
Class Output
Type DeltaTime
Flags STATE | NOEDIT | REDUTRANSFER
GraphName Val
Body RtBody
 Output absolute time that contains the result of the addition.

PlcNode Buffer
Class Buffer
Type PlcNode
Flags INVISIBLE
Body DevBody