Page 1 of 1
Displaying the current loaded Recipe
Posted: Fri Sep 14, 2012 6:38 am
by Sunshine12
Hi there how can i display the current loaded recipe name on the screen.
Re: Displaying the current loaded Recipe
Posted: Fri Sep 14, 2012 8:01 am
by mark.monroe
Yes, see image below.
- Snap 2012-09-14 at 08.01.00.png (77.6 KiB) Viewed 11628 times
Re: Displaying the current loaded Recipe
Posted: Fri Sep 14, 2012 9:09 am
by Sunshine12
Thank you that's great
Re: Displaying the current loaded Recipe
Posted: Wed Nov 28, 2012 3:28 pm
by Schmiedi
Is it possible to resolve the loaded recipe as integer, not as string?
I need the integer for comparing in the PLC and for logging.
Regards,
Stipo
Re: Displaying the current loaded Recipe
Posted: Mon Dec 03, 2012 3:21 pm
by mark.monroe
You would have to write a script that takes the recipe name in the recipe system tag and converts it into an int. Then you would write that int value to a tag that your PLC could read.
You can use the ValueChange even in the Tag scripting section to fire code whenever a tag's value changes.
Re: Displaying the current loaded Recipe
Posted: Thu Dec 06, 2012 6:05 am
by fserritella
I am using the "last loaded recipe" system variable with the "non-volatile" checked but after power-up, the register isn't updating. The values in the recipe will be the latest but the name is usually a previously entered name and not the latest.
I also tried checking "always active" with the same results.
Re: Displaying the current loaded Recipe
Posted: Thu Dec 06, 2012 9:35 am
by mark.monroe
The last loaded recipe is only the recipe that was last loaded. It can not be used to load a recipe. Because all the recipe values may or may not be non-volatile, when the unit boots up, there is no way for it to be sure that the recipe is still loaded.
Recipes load and over-right the current tag values. They do not force those values to always hold the value in the recipe.
If you want to load the recipe at boot up, then you will have to trigger the recipe load.