Skip to main content

captureCurrentCycle

Short summary

This command creates a new cycle time record for the currently produced part by calculating the the passed time since the last call of this method. If a new mode is started the last timestamp will be set to the moment when the mode was started.

Parameters

NameTypeCommentKind
additionalMessageTc2_System.T_MaxStringcan be used to provide additional informations for the record, e.g. multiple measurements neccesray or test partinput

Code

Declaration

METHOD captureCurrentCycle :CNM_CommandInterfaces.ISingleAttempt
VAR_INPUT
(* can be used to provide additional informations for the record, e.g. multiple measurements neccesray or test part *)
additionalMessage :Tc2_System.T_MaxString := '';
END_VAR