Skip to main content

CycleTimeDataStruct

Short summary

This structure is used for time tracking of commands and processes.

Access: -

Inherits from: ProductionDataSetStruct

NameTypeComment
startTimestampLDTtime when the process/command has started
endTimestampLDTtime when the process/command was finished
processingTimeLTIMEprocessing time - the passed time between start & end timestamp
targetCycletimeLTIMEtarget cycle time for the current product type
cycleTimeLTIMEactual 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