5 readrecipe, Readrecipe, Appendix – Lenze PLC Designer ApplicationTemplate (PLC Designer R3-x) User Manual

Page 150

Advertising
background image

Appendix

Recipe manager

150

Lenze · ApplicationTemplate · 1.3 EN - 04/2013

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

12.4.5.5

ReadRecipe

...transfers the current PLC variable values to a selected recipe.

[12-12] Example: Program view

VAR

_RecipeManCommands : RecipeManCommands;

_stRecipeDef : STRING := 'MM_Par_Modul1';

[name of the recipe definition]

_stRecipe2: STRING := 'Recipe2';

END_VAR

_RecipeManCommands.ReadRecipe(_stRecipeDef,_stRecipe2);

• The current PLC values are...

• ...visible in column

.

• ...visible in the

"Recipe.MM_Par_Modul1.txtreci

pe" recipe (file).

Advertising