RecipeManCommands.LoadFromAndWriteRecipe (METH)

METHOD LoadFromAndWriteRecipe : DWORD

Loads a recipe from the specified recipe file and afterwards writes the recipe into the PLC variables

Note

Entries in the recipe that do not include value assignments are not loaded and written. Refer to the “Load and write Recipe” command.

InOut:

Scope

Name

Type

Comment

Return

LoadFromAndWriteRecipe

DWORD

Possible last error values:

See ReturnValues (GVL) for a description of all possible errors.

Input

RecipeDefinitionName

STRING

Name of the recipe definition

RecipeName

STRING

Name of the recipe

FileName

STRING(255)

Name of the file