Quickstart For RecipePlus
Quickstart For RecipePlus
Quickstart For RecipePlus
Quickstart
1. RecipPlus Example
The recipe example is for a Hot Sauce manufacturing firm.
It has been designed for operators that will be required to input information about the Hot
Sauce being manufactured. Depending on the spice level of the sauce the ingredient data
will be saved in three different tag sets of the recipe. The ingredient recipe information is
then downloaded to a tag set in the controller and is used to animate the manufacturing
process.
The example consists of two files:
RecipePlusComplete.apa
RecipePlusController.acd
3. RecipePlus Components
RecipePlus feature allows users to read/write a set of values to a set of tags in a single operation. The
RecipePlus can also be used to compare two recipes and determine their difference.
The RecipePlus consists of several components:
RecipePlus Setup used to specify whether recipe files will be a part of the HMI project or not,
and where the files will be stored for retrieval at run time.
RecipePlus Editor used to create and edit the recipe files by specifying the ingredients of the
recipe, the data sets, the tag sets and the recipe units. The editor can also be used to compare data
sets and tag sets within a single recipe.
RecipePlus table object used to display, modify and save the contents of a recipe at run time.
The table also shows the differences between the recipe data values and the tags associated with
RecipePlus button object used to initiate recipe operations at run time (i.e. download, upload,
upload and create, save, restore)
a) Double-click on
RecipePlus Setup.
The RecipePlus
Folder is near the
bottom of the
Explorer window
*NOTE:
If you select Recipe files are part of the HMI project, all of the recipe files in the HMI project
will be included in the ME runtime application.
If you select Recipe files are NOT part of the HMI project, the recipe files will be saved
in an alternative location for recipe files at run time. When this option is selected, none of
the recipe files in the HMI project or in the specified folder will be included in the ME
runtime application.
The second tag is called the Percent Complete Tag. The recipe system writes to this tag
during any recipe download/upload operation to show what percent of ingredients
currently being processed have been completed.
Follow steps a) to c) to setup the General Tab in the RecipePlus Editor.
a) Double-click on the
RecipePlus Editor,
located near the
bottom of the
Explorer window.
b) In the Runtime
recipe name box, type
in the name of the recipe.
This name will be
displayed at runtime.
c) Click on to add
the Status and Percent
Complete Tags.
Ingredients they can be either of type String or Numeric. If numeric, the user
can specify a minimum and maximum data value for the ingredient. Numeric
ingredients can be boolean, integer or floating point numbers. If you were to add a
type String ingredient, the Min and Max value field will be left empty and the
data type will be set to String. Note: One recipe can have up to 15000
ingredients.
Data Set Each recipe can contain up to 50 data sets. Each data set represents the
set of data values where each data value is associated with a specific ingredient.
The data sets are to be downloaded (or uploaded) to a controller. The data in the
Data Set is saved in the recipe file with the extension .rpp.
Tag Set Each recipe can contain up to 50 tag sets where each tag set represents
the set of tags to write to during a download (or read during an upload) operation.
Each of the tag names is associated with a specific ingredient.
Note:
The same Recipe menu can be used to also Insert, Delete and Rename both Data and
Tag sets. Moreover, it is used to compare two recipes or the Data/Tag sets of a single
recipe. The compare functionality will be explained in more details towards the end of
this document.
Units - A unit is a data set paired with a tag set. For example, you could pair 10
data sets with a single tag set. This pairing is called units. A single recipe can
contain up to 2500 recipe units. The maximum number of data sets is 50 and the
maximum number of tag sets is 50. It is the recipe units that are acted upon at
runtime (e.g. Download unit).
a) Select the
Units tab.
d) Click Insert to
insert a new Unit.
10
Note:
11
b) Under Recipe
menu select
Compare
Recipes.
12
e) Select to
compare only
data sets of the
chosen recipe.
g) Click Compare to
compare the data sets. A text
file will pop open to display
the results of the comparison.
The CompareReport.txt
will be stored in the
RecipePlus folder of this
application.
Note:
As mentioned above, you can also compare the data in the Tag Sets of a single Recipe or
compare the data in the Data Set and Tag Set of two separate recipes.
13
The sample application contains the following pre-designed RecipePlus display which is
also included in the library files of RSView Studio 4.0. This library file can be imported
into the displays.
Follow steps a) to b) to manually add all the display components of the RecipePlus
system. These components are RecipePlus Selector, RecipePlus Table and RecipePlus
Buttons. The purpose of these components has been explained in the RecipePlus
Components section of this document.
a) Click on the
Objects menu
item.
14
b) Click on
RecipePlus, then
select RecipePlus
Selector or
RecipePlus Table or
RecipePlus Button
and draw the object
on the open display
a) Double-click on the
RecipePlus Table object of the
RecipeComponents display.
This property window can also be
used to modify other properties of
the recipe objects.
b) In the RecipePlus
Table Properties click on
the Recipe tab.
15
RecipePlus Button:
The RecipePlus system has a button with five different action properties. The button
types and their functionality descriptions are summarized in the table below:
Button Type
Download
Description
Writes the data values of all the ingredients to the tags in the
controller.
Upload
Reads the ingrediant values from the tag set and saves them to the
data set in the recipe file.
Upload and
Create
Reads the tag values in the tag set and creates a new recipe unit by
writing those values to a new data set.
16
Save
Restore
Saves the data value changes made in the Table back to the recipe
file.
Restore means to read the recipe file and display it in the table.
Viewing the recipe in the table will show the user the data values in
the recipe, the data values currently in the controller and the tag
names used.
Review the configured button action properties to learn about how to set them up.
Follow steps a) to e) to learn how to setup button properties.
a) Double-click on the
configured buttons to
open the button
properties.
17
18
19
Definition
Ingredient Name
Current Value
Recipe Value
Tag Name
To modify the data values of an ingredient of a recipe unit, follow steps a) to d).
a) Using the navigation buttons,
scroll to the ingredient that you
would like to modify. Choose the
ingredient Tomato Sauce Spice
Mixture.
After changing the value of the ingredient the Recipe column will update to the new
data value for the corresponding ingredient.
21
c) Download the
recipe data to the
controller by
pressing the
Download
button.
Follow steps a) to d) to Upload the controller values to the recipe and Create a new
Recipe Unit.
The new unit will represent a Green Hot Sauce. Using the same Recipe file we can make
multiple recipe units during runtime, allowing us to create both Green Sauce and Red
Sauce without going offline. Both of these units are using the same Recipe Ingredients
with different data values.
22
a) Press on the
Update and Create
button create a new
recipe unit.
23
24