L-force | plc designer – Lenze PLC Designer PLC Designer (R3-1) User Manual

Page 720

Advertising
background image

L-force | PLC Designer

General Editors

718

DMS 4.1 EN 03/2011 TD29

An variable (line) can be removed from the table by Del (key resp. command) when one
of its cells is selected. Multiple selection of lines is possible by keepint the Strg key
pressed while selecting cells. The selected line(s) can be copied by Copy&Paste. Paste
inserts the copied line(s) above the currently selected line. In doing so, recipe values
will be inserted in the matching recipe column, if available.
In online mode the existing recipe definition can be changed either by a appropriate
configured visualization element or by using the appropriate methods of the function
block "RecipeManCommands" of the Recipe_Management.library. Therefore the
following methods can be taken:
ReadRecipe: The current variable values are taken into the recipe.
WriteRecipe: The recipe is written into the variables.
SaveRecipe: The recipe is stored into a standard recipe file.
LoadRecipe: The recipe is loaded from a standard recipe file.
CreateRecipe: A new recipe in the recipe definition is created.
DeleteRecipe: An existing recipe from a recipe definition is deleted.
If a new download is executed all recipes of the project will be saved again. All other
recipes (dynamic generated recipes) remain unchanged.

For each recipe within the recipe definition there is an own column, titled with the
recipe name:
Recipes
A recipe can be added or removed offline or online. In offline mode use the commands
'Add a new Recipe' resp. 'Remove recipes' within the Recipe Manager editor. In online
mode either configure an input on an appropriately configured visualization element,
or use the appropriate methods of function block "RecipeManCommands" of the
Recipe_Management.library.
When adding a recipe, a further column will be added behind the right-most column,
titled with the name of the recipe (see picture above). The fields of a recipe column can
be filled with appropriate values. Thus for the same set of variables different sets of
values can be prepared in the particular recipes.
Using recipes in online mode:
The recipes can be handled (create, read, written, saved, loaded, delete) by using the
methods of the function block RecipeManCommands, provided by the library
Recipe_Management.libray, in the application code, or via inputs on visualization
elements.

Note: Concerning the storage of recipes in files, which are reloaded at a restart of
the application, see the Recipe Manager dialog.

Advertising