Skip to main content

IPartTrackingRecorderCommands

Short summary

This is a fluent interface that provides single attempt commands, which can be evaluated by a cycle manager instance.

Example

	
(* execute command when leaving a step *)
cycleManager.leave(
partTracker.commands.partProcessingDone(
partIdentifier := 'Part123',
nokReason := 0,
additionalMessage := 'SPC Part'
)
);
AccessAbstractFinalExtendsImplements
-NoNo--

UML Diagram

Methods

partProcessingDone

  • Parameters:
    • partIdentifier (Tc2_System.T_MaxString): the part number as string
    • nokReason (DWORD): if <> 0, the record will be marked as not OK part
    • additionalMessage (Tc2_System.T_MaxString): can be used to provide additional informations for the record, e.g. voltage too low
  • Return type: CNM_CommandInterfaces.ISingleAttempt

This command creates a part counter dataset for the currenttly processed part.

partProcessingStarted

This command starts a new process cycle and sets the start time stamp for the corresponding partIdentifier.

Code

Declaration

INTERFACE IPartTrackingRecorderCommands