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.
- Return type: CNM_CommandInterfaces.ISingleAttempt
Parameters
| Name | Type | Comment | Kind |
|---|---|---|---|
| additionalMessage | Tc2_System.T_MaxString | can be used to provide additional informations for the record, e.g. multiple measurements neccesray or test part | input |
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