| Volume NMps | |
| Attributes: Runtime | Development | System | Template | Detail C Binding: Struct | Class | Code  ClassTree | INDEX NO INDEX |
Class DataReset
|
||
|---|---|---|
| Version | 1.0 | |
| Modified | 07-JUL-2017 13:58:14.00 | |
| Kod | nmps_plc_macro.h | |
Reset a data object. Set zero in all the attributes of the object.

NoteThe data objects has to be fetched with a GetData object. The reset is executed when the condition input is true.See also
| RtBody attributes pwr_sClass_datareset | |||
|---|---|---|---|
| Pointer to Void | Data | Data | Data input connected to an output that keeps a reference to the data object. |
| Boolean | Condition | cond | When Condition is true, the reset is executed. |
| GraphPlcNode | |
|---|---|
| object_type | 221 |
| parameters[0] | 2 |
| parameters[1] | 0 |
| parameters[2] | 0 |
| parameters[3] | 0 |
| graphmethod | 0 (standard, individual attributes) |
| graphindex | 0 |
| default_mask[0] | 3 |
| default_mask[1] | 0 |
| segname_annotation | 1 |
| compmethod | 45 |
| compindex | 0 |
| tracemethod | 0 |
| traceindex | 0 |
| connectmethod | 0 |
| executeordermethod | 2 |
| objname | DataReset |
| graphname | DataReset |
| DevBody attributes | |||
|---|---|---|---|
| pwrs:Class-$PlcNode | PlcNode | ||
| Template Object |
|---|
| Data Input | ||
|---|---|---|
| Klass | Input | |
| Typ | Pointer to Void | |
| Flags | Pointer|Invisible | |
| GraphName | Data | |
| Kropp | RtBody | |
Data input connected to an output that keeps a reference to the data object.
| Condition Input | ||
|---|---|---|
| Klass | Input | |
| Typ | Boolean | |
| Flags | ||
| GraphName | cond | |
| Kropp | RtBody | |
When Condition is true, the reset is executed.
| PlcNode Buffer | ||
|---|---|---|
| Klass | Buffer | |
| Typ | pwrs:Class-$PlcNode | |
| Flags | Invisible | |
| Kropp | DevBody | |