Skip to main content

IPartTracker

Short summary

This interface provides the functionalities to create a part tracking dataset for a specific process. The dataset contains:

  • current process
  • product type
  • order / batch
  • start and end timestamps for the process
  • part identifier for the current part
  • a reason if a part is not ok
  • an additional message for comments / custom entries
AccessAbstractFinalExtendsImplements
-NoNoCNM_OpModeHandlingInterfaces.ICyclicNode-

UML Diagram

Properties

commands

Type: IPartTrackingRecorderCommands

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

configuration

Type: IPartTrackerConfiguration

This property returns an fluent interface for part counter configuration.

Methods

setPartProcessingDone

  • 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_ReturnTypes.SingleExecutionResult

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

setPartProcessingStarted

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

Code

Declaration

INTERFACE IPartTracker EXTENDS CNM_OpModeHandlingInterfaces.ICyclicNode