| Volume NMps | |
| Attributes: Runtime | Development | System | Template | Detail C Binding: Struct | Class | Code  ClassTree | INDEX NO INDEX |
Class DataCopy
|
||
|---|---|---|
| Version | 1.0 | |
| Modified | 07-JUL-2017 13:58:14.00 | |
| Code | nmps_plc_macro.h | |
Copy the content of a data object to another data object.

NoteAt least one of the data objects has to be fetched with a GetData object. The copy is executed when the condition input is true.See also
| RtBody attributes pwr_sClass_datacopy | |||
|---|---|---|---|
| Pointer to Void | DataFrom | From | Data input connected to an output that keeps a reference to the source data object. |
| Pointer to Void | DataTo | To | Data input connected to an output that keeps a reference to the target data object. |
| Boolean | Condition | cond | When Condition is true, the copy is executed. |
| GraphPlcNode | |
|---|---|
| object_type | 226 |
| parameters[0] | 3 |
| parameters[1] | 0 |
| parameters[2] | 0 |
| parameters[3] | 0 |
| graphmethod | 0 (standard, individual attributes) |
| graphindex | 0 |
| default_mask[0] | 7 |
| default_mask[1] | 0 |
| segname_annotation | 1 |
| compmethod | 45 |
| compindex | 0 |
| tracemethod | 0 |
| traceindex | 0 |
| connectmethod | 0 |
| executeordermethod | 2 |
| objname | DataCopy |
| graphname | DataCopy |
| DevBody attributes | |||
|---|---|---|---|
| pwrs:Class-$PlcNode | PlcNode | ||
| Template Object |
|---|
| DataFrom Input | ||
|---|---|---|
| Class | Input | |
| Type | Pointer to Void | |
| Flags | Pointer|Invisible | |
| GraphName | From | |
| Body | RtBody | |
Data input connected to an output that keeps a reference to the source data object.
| DataTo Input | ||
|---|---|---|
| Class | Input | |
| Type | Pointer to Void | |
| Flags | Pointer|Invisible | |
| GraphName | To | |
| Body | RtBody | |
Data input connected to an output that keeps a reference to the target data object.
| Condition Input | ||
|---|---|---|
| Class | Input | |
| Type | Boolean | |
| Flags | ||
| GraphName | cond | |
| Body | RtBody | |
When Condition is true, the copy is executed.
| PlcNode Buffer | ||
|---|---|---|
| Class | Buffer | |
| Type | pwrs:Class-$PlcNode | |
| Flags | Invisible | |
| Body | DevBody | |