CycleTimeDataStruct
Short summary
This structure is used for time tracking of commands and processes.
Access: -
Inherits from: ProductionDataSetStruct
| Name | Type | Comment |
|---|---|---|
| startTimestamp | LDT | time when the process/command has started |
| endTimestamp | LDT | time when the process/command was finished |
| processingTime | LTIME | processing time - the passed time between start & end timestamp |
| targetCycletime | LTIME | target cycle time for the current product type |
| cycleTime | LTIME | actual cycle time - the time from last end time to current end time |
Code
Declaration
TYPE CycleTimeDataStruct EXTENDS ProductionDataSetStruct :
STRUCT
(* time when the process/command has started *)
startTimestamp :LDT;
(* time when the process/command was finished *)
endTimestamp :LDT;
(* processing time - the passed time between start & end timestamp *)
processingTime :LTIME;
(* target cycle time for the current product type *)
targetCycletime :LTIME;
(* actual cycle time - the time from last end time to current end time *)
cycleTime :LTIME;
END_STRUCT
END_TYPE