PartTrackingData
Short summary
This class serves as a pure data transfer object and can be used to create a new part counter data set. An instance of this class can be appended to a production data set list.
| Access | Abstract | Final | Extends | Implements |
|---|---|---|---|---|
| - | No | No | CNM_AbstractObject.Object | CNM_ProductionMetricInterfaces.IPartTrackingData |
UML Diagram
Parameters
none
Properties
className
Type: CNM_AbstractObject.ClassName
This abstract property returns the class name of the concrete object, …
dataset
Type: CNM_ProductionMetricInterfaces.PartDataTrackingStruct
Methods
FB_init
- Parameters:
bInitRetains(BOOL): if TRUE, the retain variables are initialized (warm start / cold start)bInCopyCode(BOOL): if TRUE, the instance afterwards gets moved into the copy code (online change)data(CNM_ProductionMetricInterfaces.PartDataTrackingStruct): the data set this instance should capsulate
- Return type:
BOOL
The constructor FB_init is needed to create an unique hash code.…
Code
Declaration
{attribute 'enable_dynamic_creation'}
FUNCTION_BLOCK PartTrackingData EXTENDS CNM_AbstractObject.Object IMPLEMENTS CNM_ProductionMetricInterfaces.IPartTrackingData
VAR
data :CNM_ProductionMetricInterfaces.PartDataTrackingStruct;
END_VAR