beautypg.com

Recipe manager in online mode, L-force | plc designer – Lenze PLC Designer PLC Designer (R3-1) User Manual

Page 729

background image

L-force | PLC Designer

General Editors

DMS 4.1 EN 03/2011 TD29

727

Example:
We have 50 recipe values. We want to create a table which shows 10 recipe values at a
time.
We define a Stringarray strArr: ARRAY[0..9] OF STRING;
Corresponding to the iStartIndex we can get the recipe values from a specific area.
iStartIndex := 0; The values 0..9 are returned.
iStartIndex := 20; The values 20..29 are returned.
In this example:
iStringLength := 80;
iSize := 10;

GetLastError: This method returns the last error of the previous operations.
Return values:
ERR_NO_RECIPE_MANAGER_SET, ERR_OK

ResetLastError: This method resets the last error.
Return values:
ERR_NO_RECIPE_MANAGER_SET, ERR_OK

SetRecipeManager: This method sets the recipe manager the function block works
with.
Return values:
ERR_NO_RECIPE_MANAGER_SET, ERR_OK.

13.12.3

Recipe Manager in online mode
not yet implemented