OPC Foundation
  • Documents
  • NodeSets
  • Search
7.2.4 SetRecipe

The Method SetRecipe is used to store a recipe on the TTD. Beneath the Recipe that is to be stored on the TTD the method takes an additional input parameter Overwrite that indicates if the recipe should be overwritten in case a recipe with the same id already exists on the TTD.

The signature of this Method is specified below. Table 25 and Table 26 specify the Arguments and AddressSpace representation, respectively.

Signature

SetRecipe (

[in]RecipeDataTypeRecipe,

[in]0:BooleanOverwrite)

Table 25 – SetRecipe Method Arguments

Argument

Description

Recipe

The recipe that is to be stored on the TTD.

Overwrite

A flag is used to indicating if the Recipe shall be overridden if there is already a recipe with the same id on the TTD.

Method Result Codes (defined in Call Service)

Result Code

Description

Bad_InvalidState

Returned when the Overwrite flag is set to false and a Recipe with the same id already exists on the server so that the server is not allowed to overwrite.

Bad_NotSupported

Returned if the Overwrite flag is set but not supported by the server.

Table 26 – SetRecipe Method AddressSpace Definition

Attribute

Value

BrowseName

SetRecipe

References

Node Class

BrowseName

DataType

TypeDefinition

ModellingRule

0:HasProperty

Variable

0:InputArguments

0:Argument[]

0:PropertyType

0:Mandatory

Please report errors or issues with the site to webmaster.

Copyright © 2025 - OPC Foundation