The RecipeScaleType defines the structure of an Object of the RecipeScaleType. Figure 40 shows the hierarchical structure and details of the composition. It is formally defined in Table 73.

An Object of the RecipeScaleType represents a recipe scale. It defines additional methods and properties required for managing the recipe scale.

image056.png

Figure 40 – Overview RecipeScaleType

Table 73 – RecipeScaleType Definition

Attribute

Value

BrowseName

RecipeScaleType

IsAbstract

False

References

NodeClass

BrowseName

DataType

TypeDefinition

Other

Subtype of the ScaleDeviceType

0:HasComponent

Object

Recipes

RecipeManagementType

O

0:HasComponent

Variable

SupportedTargetValues

RecipeTargetValueType[]

BaseDataVariableType

O

0:HasComponent

Variable

SupportedThresholdValues

RecipeThresholdType[]

BaseDataVariableType

O

0:HasComponent

Method

StartRecipe

O

0:HasComponent

Method

StopRecipe

O

0:HasComponent

Method

ContinueRecipe

O

0:HasComponent

Method

SkipCurrentRecipeElement

O

0:HasComponent

Method

AbortRecipe

O

0:HasComponent

Object

SupportedMaterial

O

Recipes is an object of the Type RecipeManagmentType that contains all recipes. Elements in this folder must have the RecipeType and can be connected with the ReferenceType NextRecipeElementType. It also has some method to add and removes recipes.

SupportedTargetValues defines a list of values that may be set via the recipe.

SupportedThresholdValues defines a list of threshold values that may be used within one recipe.

SupportedMaterial defines the material that is supported.

ProductionPreset, which is inherited from ScaleDeviceType shall have instances of RecipeProductType or a subtype in the Products folder.

Starts the given recipe (input parameter). Precondition: The scale needs to be enabled/released in advance. Table 74 and Table 75 specify the Arguments and AddressSpace representation, respectively.

Signature

StartRecipe (

[in] NodeId RecipeNodeId

);

Table 74 – StartRecipe Method Arguments

Argument

Description

RecipeNodeId

NodeId of the recipe to be started

Table 75 – StartRecipe Method AddressSpace definition

Attribute

Value

BrowseName

StartRecipe

References

NodeClass

BrowseName

DataType

TypeDefinition

ModellingRule

0:HasProperty

Variable

InputArguments

Argument[]

0:PropertyType

Mandatory

Pauses the current processing of a recipe. ContinueRecipe () continues the processing. AbortRecipe () stops the processing. Table 76 and Table 77 specify the Arguments and AddressSpace representation, respectively.

Signature

StopRecipe (

[in] NodeId RecipeNodeId

);

Table 76 – StopRecipe Method Arguments

Argument

Description

RecipeNodeId

NodeId of the recipe to be stopped

Table 77 – StopRecipe Method AddressSpace definition

Attribute

Value

BrowseName

StopRecipe

References

NodeClass

BrowseName

DataType

TypeDefinition

ModellingRule

0:HasProperty

Variable

InputArguments

Argument[]

0:PropertyType

Mandatory

If the recipe processing is stopped, the process can continue at the same point by means of the method ContinueRecipe. Table 78 and Table 79specify the Arguments and AddressSpace representation, respectively.

Signature

ContinueRecipe(

[in] NodeId RecipeNodeId

);

Table 78 – ContinueRecipe Method Arguments

Argument

Description

RecipeNodeId

NodeId of the recipe that can continue

Table 79 – ContinueRecipe Method AddressSpace definition

Attribute

Value

BrowseName

ContinueRecipe

References

NodeClass

BrowseName

DataType

TypeDefinition

ModellingRule

0:HasProperty

Variable

InputArguments

Argument[]

0:PropertyType

Mandatory

The current RecipeElement will be skipped (e.g. manually completed) and the scale continues with the next RecipeElement. Attention: This may result in a different execution of the process. Table 80 and Table 81 specify the Arguments and AddressSpace representation, respectively.

Signature

SkipCurrentRecipeElement (

[in] NodeId RecipeNodeId

);

Table 80 – SkipCurrentRecipeElement Method Arguments

Argument

Description

RecipeNodeId

NodeId of the recipe that can continue

Table 81 – SkipCurrentRecipeElement Method AddressSpace definition

Attribute

Value

BrowseName

SkipCurrentRecipeElement

References

NodeClass

BrowseName

DataType

TypeDefinition

ModellingRule

0:HasProperty

Variable

InputArguments

Argument[]

0:PropertyType

Mandatory

Aborts the current processing of a recipe. Table 82 and Table 83 specify the Arguments and AddressSpace representation, respectively.

Signature

AbortRecipe (

[in] NodeId RecipeNodeId

);

Table 82 – AbortRecipe Method Arguments

Argument

Description

RecipeNodeId

NodeId of the recipe that can continue

Table 83 – AbortRecipe Method AddressSpace definition

Attribute

Value

BrowseName

AbortRecipe

References

NodeClass

BrowseName

DataType

TypeDefinition

ModellingRule

0:HasProperty

Variable

InputArguments

Argument[]

0:PropertyType

Mandatory