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.

image055.gif

Figure 40 − Overview RecipeScaleType

Table 73 − RecipeScaleType Definition

Attribute

Value

BrowseName

RecipeScaleType

IsAbstract

False

References

NodeClass

BrowseName

DataType

TypeDefinition

ModellingRule

Subtype of the ScaleDeviceType

0:HasComponent

Object

Recipes

RecipeManagementType

Optional

0:HasComponent

Variable

SupportedTargetValues

RecipeTargetValueType[]

BaseDataVariableType

Optional

0:HasComponent

Variable

SupportedThresholdValues

RecipeThresholdType[]

BaseDataVariableType

Optional

0:HasComponent

Method

StartRecipe

Optional

0:HasComponent

Method

StopRecipe

Optional

0:HasComponent

Method

ContinueRecipe

Optional

0:HasComponent

Method

SkipCurrentRecipeElement

Optional

0:HasComponent

Method

AbortRecipe

Optional

0:HasComponent

Object

SupportedMaterial

Optional

Recipes is an object of the Type RecipeManagmentType that contains all recipes. Elements in this folder must have the RecipeType and can be connected to 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]NodeIdRecipeNodeId

);

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]NodeIdRecipeNodeId

);

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 79 specify the Arguments and AddressSpace representation, respectively.

Signature

ContinueRecipe(

[in]NodeIdRecipeNodeId

);

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]NodeIdRecipeNodeId

);

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]NodeIdRecipeNodeId

);

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