| Volume pwrb | |
| Attributes: Runtime | Development | System | Template | Detail C Binding: Struct | Class | Code  ClassTree | INDEX NO INDEX |
Class AToDt
|
||
|---|---|---|
| Version | 1.0 | |
| Modified | 15-JAN-2025 13:23:35.00 | |
| Kod | rt_plc_macro_time.h | |
Convert an analog value to delta time.

AToDt converts an analog value to a delta time.
| RtBody attributes pwr_sClass_AToDt | |||
|---|---|---|---|
| Float32 | In | In | Analog input. |
| DeltaTime | DTime | DTim | The time converted to a delta time. |
| DevBody attributes | |||
|---|---|---|---|
| PlcNode | PlcNode | ||
| GraphPlcNode | |
|---|---|
| object_type | 11 |
| parameters[0] | 1 |
| parameters[1] | 0 |
| parameters[2] | 1 |
| parameters[3] | 0 |
| subwindows | 0 |
| graphmethod | 1 (standard, common attributes) |
| graphindex | 0 |
| default_mask[0] | 1 |
| default_mask[1] | 1 |
| segname_annotation | 1 |
| compmethod | 5 |
| compindex | 0 |
| tracemethod | 0 |
| traceindex | 0 |
| executeordermethod | 2 |
| objname | AToDt |
| graphname | AToDt |
| In Input | ||
|---|---|---|
| Klass | Input | |
| Typ | Float32 | |
| Flags | STATE | RTVIRTUAL | NOEDIT | NOREMOVE | |
| GraphName | In | |
| Kropp | RtBody | |
Analog input.
| DTime Output | ||
|---|---|---|
| Klass | Output | |
| Typ | DeltaTime | |
| Flags | STATE | NOEDIT | REDUTRANSFER | |
| GraphName | DTim | |
| Kropp | RtBody | |
The time converted to a delta time.
| PlcNode Buffer | ||
|---|---|---|
| Klass | Buffer | |
| Typ | PlcNode | |
| Flags | INVISIBLE | |
| Kropp | DevBody | |