Volume pwrb | |
Attributes: Runtime | Development | System | Template | Detail C Binding: Struct | Class | Code  ClassTree | INDEX NO INDEX |
Class AtAdd![]() |
||
---|---|---|
Version | 1.0 | |
Modified | 15-JAN-2025 13:23:35.00 | |
Kod | rt_plc_macro_time.h |
Add an absolute time and a delta time.
AtAdd adds the second delta time input to the absolute time of the first input. The first input has to be connected to an absolute time, and the second input to a delta time. The resulting output is an absolute time.
RtBody attributes pwr_sClass_AtAdd | |||
---|---|---|---|
Time | ATime | ATim | Absolute time. |
DeltaTime | DTime | DTim | A delta time that is added to the absolute time. |
Time | 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 | AtAdd |
graphname | AtAdd |
ATime Input | ||
---|---|---|
Klass | Input | |
Typ | Time | |
Flags | STATE | RTVIRTUAL | NOEDIT | NOREMOVE | |
GraphName | ATim | |
Kropp | RtBody |
The absolute time, that the delta time is added to. The input has to be connected to an output of type Time.
DTime Input | ||
---|---|---|
Klass | Input | |
Typ | DeltaTime | |
Flags | STATE | RTVIRTUAL | NOEDIT | NOREMOVE | |
GraphName | DTim | |
Kropp | RtBody |
A delta time that is added to the absolute time. The input has to be connected to an output of type DeltaTime.
ActVal Output | ||
---|---|---|
Klass | Output | |
Typ | Time | |
Flags | STATE | NOEDIT | REDUTRANSFER | |
GraphName | Val | |
Kropp | RtBody |
Output absolute time that contains the result of the addition.
PlcNode Buffer | ||
---|---|---|
Klass | Buffer | |
Typ | PlcNode | |
Flags | INVISIBLE | |
Kropp | DevBody |