Volume pwrb | |
Attributes: Runtime | Development | System | Template | Detail C Binding: Struct | Class | Code ClassTree | INDEX NO INDEX |
Class DtSub![]() |
||
---|---|---|
Version | 1.0 | |
Modified | 15-JAN-2025 13:23:35.00 | |
Kod | rt_plc_macro_time.h |
Subtract two delta times.
DtSub subtracts the second delta time input from the first delta time input. The inputs has to be connected to delta times. The resulting output is a delta time.
RtBody attributes pwr_sClass_DtSub | |||
---|---|---|---|
DeltaTime | DTime1 | DTim1 | Minuend delta time. |
DeltaTime | DTime2 | DTim2 | Subtrahend absolute time. |
DeltaTime | ActVal | Val | The result of the subtraction DTime1 - DTime2. The result is a deltatime. |
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 | DtSub |
graphname | DtSub |
DTime1 Input | ||
---|---|---|
Klass | Input | |
Typ | DeltaTime | |
Flags | STATE | RTVIRTUAL | NOEDIT | NOREMOVE | |
GraphName | DTim1 | |
Kropp | RtBody |
Minuend delta time.
DTime2 Input | ||
---|---|---|
Klass | Input | |
Typ | DeltaTime | |
Flags | STATE | RTVIRTUAL | NOEDIT | NOREMOVE | |
GraphName | DTim2 | |
Kropp | RtBody |
Subtrahend absolute time.
ActVal Output | ||
---|---|---|
Klass | Output | |
Typ | DeltaTime | |
Flags | STATE | NOEDIT | REDUTRANSFER | |
GraphName | Val | |
Kropp | RtBody |
The result of the subtraction DTime1 - DTime2. The result is a deltatime.
PlcNode Buffer | ||
---|---|---|
Klass | Buffer | |
Typ | PlcNode | |
Flags | INVISIBLE | |
Kropp | DevBody |