Troubleshooting Issue with Missing Recipes after Wonderware Computer Replacement

Question:

An ongoing project involved replacing an outdated computer running Wonderware with a new one. Despite successfully establishing communication between the new computer and the PLC, an issue arose when the LoadRecipe screen failed to display the list of recipes from the Excel file as it previously did. Although I am new to Wonderware and only discovered its existence a month ago (typically working with Rockwell), the initial installation and setup were conducted by an external contractor before my tenure here. Unfortunately, we are unable to reach the contractor for assistance. One observation I made is that Recipe Manager is not installed on the new computer, whereas it was present on the old one. I am unsure whether it is essential for regular operations or solely for creating and modifying recipes. Additionally, I suspect the location where the Excel file is stored may have changed (e.g., different user name), but I am uncertain where to locate this information within the software or its online documentation. Any guidance on where to begin troubleshooting would be greatly appreciated. Upon reviewing the QuickScript utilized for LoadRecipe, it seems to be functioning correctly as it references an SQL script.

Top Replies

To ensure optimal functionality, it is recommended to install RecipeManager on your new PC. While the Recipe functions can still be accessed without it, having RecipeManager makes managing recipes easier, especially when dealing with the complex structure of the CSV file. This file consists of three levels - Units, Recipes, and Values - each stored in separate compartments but appearing flat in Excel. Typically, the Recipe file is stored in the application directory with a .csv extension, but it can be located elsewhere as well. The file name and path are specified in scripting calls like Load Recipe and Save Recipe. If the file is indicated by a string tag name, refer to the application script or the string tag itself for clues on its location. Regarding SQL calls, these are not related to the Recipe template, which is a CSV file, but to a SQL database. Make sure to transfer all databases to your new PC if needed. For further clarification on the differences between Recipe and SQL functions, refer to this PDF: https://cdn.logic-control.com/docs/aveva/hmi-scada/intouch/ITSupplementary.pdf.

I will investigate the PLC to check for a string tag indicating the location. This project was unexpectedly assigned to me by someone who upgraded the computer system. It appears that all the files from the previous computer have been successfully transferred. Last week, I spent around 8 hours troubleshooting because the previous technician forgot to add necessary firewall exceptions to communicate with the PLC. My lack of familiarity with Wonderware and the previous technician's actions contributed to the delays. In Wonderware, there is a screen displaying a list of recipes from an Excel spreadsheet. Users can search for specific recipes using the search bar. When double-clicked, a ListBox Control window named RecipeListBox with a Tagname RecipeSelected appears. However, I cannot find corresponding names in the Scripts section, but I suspect it might be under RecipeNameCheck or RecipeOverwrite. There is a section of the script involving SQL that performs data selection and checks for duplicates in the database. The process for adding new recipes involves updating the Excel sheet on the Wonderware computer, which then refreshes the list automatically. I appreciate your assistance and have been reviewing the manual provided. While I am making progress, I still feel I lack fundamental knowledge of Wonderware. I will continue to work on it until I fully understand it.

When it comes to troubleshooting the PLC and locating a string tag, I am not entirely sure as this project was handed over to me unexpectedly. The files from the old computer seem to be intact, but I had to spend a considerable amount of time fixing firewall exceptions that were missing following a recent computer upgrade. This was challenging for me as I am not familiar with Wonderware or the previous work done by the person who handled the upgrade. In Wonderware, there is a display window that should show a list of recipes from an Excel spreadsheet. Users can search for specific recipes using the search bar. Upon further inspection, I noticed a ListBox Control window with the Control Name as RecipeListBox and Tagname as RecipeSelected. I suspect that the corresponding scripts are either RecipeNameCheck or RecipeOverwrite, as I couldn't find exact matches in the Scripts section. I have been informed that new recipes are added by updating the Excel spreadsheet on the Wonderware computer. However, it seems that the script is trying to retrieve information from an SQL database instead of a CSV file. Have you checked the Old PLC for a recipe database in SQL Manager? Functions like RecipeLoad, RecipeSave, and RecipeDelete typically work with CSVs from Recipe Manager. If the list box is being populated with selectable recipes, it is more likely connected to an SQL database rather than a Recipe CSV. Thank you for your assistance in resolving this issue!

Thank you for the information! I will search both the legacy and current computer systems to locate the SQL database. Is there a specific location in Wonderware where the file directory is displayed? I will continue to explore the options you mentioned earlier as well.

When searching for the SQL database in Wonderware, consider checking the RecipeLoad, RecipeSave, and RecipeDelete calls. These calls may directly reference a file name (e.g. RecipeLoad ("C:\MyfileName")) or use a tag (e.g. RecipeLoad (MyRecipeLocationTag)). If using a tag, the string value can be loaded from an Application script or set as the initial value of the tag. For an IO string Tag, the name is typically sourced from the PLC. One way to locate the value is to modify a screen and add a string indicator linked to show the string MyRecipeLocationTag. This will help you identify the file directory in your Wonderware system.

Firstly, welcome to the world of Wonderware! It indeed sounds like a challenging issue, but I believe you're heading in the right direction. As you mentioned, the Recipe Manager not being installed on the new computer could certainly be the cause for the LoadRecipe problem. Recipe Manager usually facilitates creating, managing, and importing recipes, so you might want to give it a try. As for the Excel file location, you shouldn't have too much trouble - it could be as easy as checking the old computer's configuration if it's still accessible. Also, take a look into the 'path' mentioned in the SQL script referenced in your QuickScript; it might hold the clue to where your Excel file should be. Hope this points you in the right direction!

Hey there, it seems like you've pinpointed a few probable causes. The missing Recipe Manager might be the key issue here. It's typically used for managing recipes, which in Wonderware's case refers to a preset configuration for a specific task. Without it, fetching the list of recipes from the Excel file may not be possible. Regarding the potential change in file location, you could check the path that your QuickScript is using to reference the Excel file. If the path has changed due to say, a different user name or different file storage naming convention, it's likely that updating it in the script will solve the issue. Before delving further, I'd suggest installing Recipe Manager and double-checking the Excel file path. If still unresolved, let's take a closer look into your SQL script and QuickScript. Good luck!

Based on your observations, it sounds like the missing Recipe Manager and potential changes in the file path for your Excel document may be the root causes of the issue. I'd suggest starting with the installation of the Recipe Manager, and see if that resolves part of the problem. Regarding the Excel file path, examine the SQL script that the LoadRecipe QuickScript is referencing. Usually, the script would contain the file path for the Excel file. If you notice a path leading to a user account that doesn't exist on the new computer, you've likely found the problem. Simply update the path to reflect the correct location on the new system. Also, consider exploring Wonderware's technical documentation or reaching out to their customer support if you continue to encounter roadblocks.

More Replies →

Streamline Your Asset Management
See How Oxmaint Works!!

✅   Work Order Management

✅   Asset Tracking

✅   Preventive Maintenance

✅   Inspection Report

We have received your information. We will share Schedule Demo details on your Mail Id.

To add a comment, please sign in or register if you haven't already..   

Frequently Asked Questions (FAQ)

FAQ: FAQs:

Answer: 1. Q: Why are recipes missing after replacing the Wonderware computer? Recipes may be missing due to potential issues such as the Recipe Manager not being installed on the new computer, changes in the location of the Excel file storing the recipes, or other configuration differences between the old and new systems.

FAQ: 2. Is Recipe Manager essential for regular Wonderware operations?

Answer: Recipe Manager is typically used for creating and modifying recipes. While it may not be essential for regular operations, its absence could impact tasks related to managing recipes within Wonderware.

FAQ: 3. How can I locate the Excel file storing the recipes in Wonderware?

Answer: To locate the Excel file storing recipes, you may need to check the configuration settings within Wonderware or refer to the software's documentation for guidance on file locations and how to update them.

FAQ: 4. Where should I start troubleshooting the issue with missing recipes in Wonderware?

Answer: Begin troubleshooting by checking if Recipe Manager is installed, verifying the location of the Excel file, reviewing any relevant software settings or configurations, and ensuring that the necessary scripts or connections are correctly configured. You may also consider reaching out to Wonderware support for further assistance.

Ready to Simplify Maintenance?

Join hundreds of satisfied customers who have transformed their maintenance processes.
Sign up today and start optimizing your workflow.

Request Demo  â†’