| Volume pwrb | |
| Attributes: Runtime | Development | System | Template | Detail C Binding: Struct | Class | Code  ClassTree | INDEX NO INDEX |
Class Edge
|
||
|---|---|---|
| Version | 1.0 | |
| Modified | 08-MAR-2026 11:05:32.00 | |
| Code | rt_plc_macro_logic.h | |
Edge detector.

Detecting on a leading edge of a pulse. At detecting Status is TRUE during one program cycle.
| RtBody attributes pwr_sClass_edge | |||
|---|---|---|---|
| Boolean | in | in | The supervised signal. Can be inverted by means of the Attribute Editor to detect the trailing edge of a pulse. |
| Boolean | Status | sts | When the supervised signal makes the transition FALSE -- > TRUE Status is set, until the next execution cycle, when it is reset. |
| Boolean | StatusOld | StatusOld | The value of the supervised signal at the last scan. |
| DevBody attributes | |||
|---|---|---|---|
| PlcNode | PlcNode | ||
| GraphPlcNode | |
|---|---|
| object_type | 93 |
| 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 | 3 |
| traceindex | 1 |
| executeordermethod | 2 |
| objname | Edge |
| graphname | Edge |
| debugpar | Status |
| in Input | ||
|---|---|---|
| Class | Input | |
| Type | Boolean | |
| Flags | STATE | RTVIRTUAL | NOEDIT | NOREMOVE | |
| GraphName | in | |
| Body | RtBody | |
The supervised signal. Can be inverted by means of the Attribute Editor to detect the trailing edge of a pulse.
| Status Output | ||
|---|---|---|
| Class | Output | |
| Type | Boolean | |
| Flags | STATE | NOEDIT | REDUTRANSFER | |
| GraphName | sts | |
| Body | RtBody | |
When the supervised signal makes the transition FALSE -- > TRUE Status is set, until the next execution cycle, when it is reset.
| StatusOld Intern | ||
|---|---|---|
| Class | Intern | |
| Type | Boolean | |
| Flags | STATE | NOEDIT | INVISIBLE | REDUTRANSFER | |
| GraphName | StatusOld | |
| Body | RtBody | |
The value of the supervised signal at the last scan.
| PlcNode Buffer | ||
|---|---|---|
| Class | Buffer | |
| Type | PlcNode | |
| Flags | INVISIBLE | |
| Body | DevBody | |