Displaying the current loaded Recipe
-
- Posts: 12
- Joined: Fri Sep 14, 2012 6:27 am
Displaying the current loaded Recipe
Hi there how can i display the current loaded recipe name on the screen.
-
- Posts: 824
- Joined: Tue Mar 13, 2012 9:53 am
Re: Displaying the current loaded Recipe
Yes, see image below.
Best Regards,
Mark Monroe
Beijer Electronics, Inc. | Applications Engineer
Mark Monroe
Beijer Electronics, Inc. | Applications Engineer
-
- Posts: 12
- Joined: Fri Sep 14, 2012 6:27 am
Re: Displaying the current loaded Recipe
Thank you that's great
Re: Displaying the current loaded Recipe
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
I need the integer for comparing in the PLC and for logging.
Regards,
Stipo
Pleasure is the only you should live for!
-
- Posts: 824
- Joined: Tue Mar 13, 2012 9:53 am
Re: Displaying the current loaded Recipe
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.
You can use the ValueChange even in the Tag scripting section to fire code whenever a tag's value changes.
Best Regards,
Mark Monroe
Beijer Electronics, Inc. | Applications Engineer
Mark Monroe
Beijer Electronics, Inc. | Applications Engineer
-
- Posts: 3
- Joined: Mon Feb 06, 2012 11:33 am
Re: Displaying the current loaded Recipe
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.
I also tried checking "always active" with the same results.
-
- Posts: 824
- Joined: Tue Mar 13, 2012 9:53 am
Re: Displaying the current loaded Recipe
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.
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.
Best Regards,
Mark Monroe
Beijer Electronics, Inc. | Applications Engineer
Mark Monroe
Beijer Electronics, Inc. | Applications Engineer