Today I walk through creating and using recipes in the PanelView 800 using Connected Components Workbench. In this example my Panelview 800 touchscreen connected to a Micro820 controller.

Note that I have never used the PV800 recipe feature before, so I'm curious how easy it is to implement, and how I could use its capabilities in the future.

PanelView 800 10 Inch

In a past job, over a decade ago, I was involved in making composite panels for a living, so for my test project today, I will make a memorial composite panel recipe, or at least a small part of one, to test out creating recipes in my PV800 terminal.

PLC Tags and Program in the Micro820 Controller

The PLC only needs tags or an array to download the recipe to. Here, I created five tags in an array called “RECIPE[]”.

Only for example, I created a program routine called “Recipe_Program” to use “MOV” instructions to move the RECIPE array to other tags.

In my composite panel recipe array in the Micro820 controller, I now have tags for Resin, Urea, Scavenger, Water and Line Speed.

This is all I really need to create recipes to load to these variables from my PV800. I downloaded these changes to the Micro820 and it is in run mode.

PV800 Recipe Configuration and Graphics

In the PV800 project, I must first add the tags for my recipe in the tag database as shown below.

In the “Recipes” section, I now need to create my recipes. I created one recipe for “HEAVY” panels and another recipe for “LIGHT” panels.

Here I can connect Recipe names with the Tags that I previously created in the global tag database.

Now for the most difficult part. The graphics were not easy. I created a screen called “Recipe”. There is no total recipe handling window, but many objects that need to be used together to select, load, modify, etc.. the recipes. As shown below, I added the recipe objects from the advanced toolbox: Recipe Download Button, Recipe Restore Button, Recipe Save Button, Recipe Upload Button, Recipe Selector Object and the Recipe Table Object.

I also needed to add “Key” objects to create the up/down buttons for both the selector and the table, as well as, “enter” buttons for the recipe selector and the recipe table. Use the “Link target” parameter in these buttons to connect to the appropriate object by the object name.

Recipe Table object properties.

Recipe Selector object properties.

I then validated and downloaded the project to the PV800 terminal.

Runtime

I used the recipe selector’s up/down buttons to select the desired recipe, and then click the “enter” button for the recipe selector.

Next I click of the “Restore” button to populate the recipe to the recipe table.

To edit the recipe, I use the recipe table’s up/down buttons to select the ingredient I want to modify, and then after editing the value I click the “Save” button to save the recipe.

To download the recipe, you simple select the “Download” button to download to current recipe to the Micro820 controller.

IF you'd like to upload the recipe from the Micro820, you simply select the “Upload” button.

Here the “LIGHT” recipe is selected and downloaded.

 Conclusion

As far as basic setup in the Micro820 and PV800, configuring recipes is very simple.

I’ll be honest, as far as the graphics are concerned, this was difficult. It took me nearly two hours to figure out how to configure all the buttons, selectors, colors and make the graphic look like I wanted to and work as desired.

I found some online pieces of resources, but nothing that completely took me through this process and the help files in CCW have a lot to be desired. Creating recipes in CCW, because of the graphics, will certainly give any experienced HMI engineer an IQ test that they must pass.

I hope this article helps you with your recipe creating and handling in a CCW project.

Written by Brandon Cooper
Senior Controls Engineer and Freelance Writer

Have a question or comment on this article? Join our community to take part in the discussion! You'll also find all of our courses at TheAutomationSchool.com.