Beruflich Dokumente
Kultur Dokumente
OP03 RecipePlus
Contents
Before you begin ........................................................................................................................... 2
About this lab ....................................................................................................................................2
Tools & prerequisites........................................................................................................................2
Starting RSView Studio and Creating a Project ......................................................................... 3
Configuring Comunications to the SoftLogix Pocessor ........................................................... 5
Configuring the RSView ME Application .................................................................................... 9
Configuring RecipePlus Tags .................................................................................................... 10
Configuring the RecipePlus components................................................................................. 14
Creating a new Recipe called Hot Sauce ....................................................................................14
Compare Recipe data sets .............................................................................................................27
Import displays RecipePlus Components and Animation.......................................................29
How RecipePlus Works at Runtime ........................................................................................... 35
Setup the Startup Display and Test Run the Application ...............................................................35
How to Read and Write Ingredients at Runtime .............................................................................36
Optional Section .......................................................................................................................... 44
Downloading the Project to a PVP/VVCE Terminal .......................................................................44
OP03 RecipePlus
RSTechED 2005 Rockwell Software
1 of 52
Files required
2 of 52
OP03 RecipePlus
RSTechED 2005 Rockwell Software
2. As RSView Studio is opening you will be prompted to log onto FactoryTalk. Please follow
steps a) to b) to login.
OP03 RecipePlus
RSTechED 2005 Rockwell Software
3 of 52
b) Press OK
to accept
3. Create a new project called RecipePlus by following the steps from a) to d).
a) Click on the New
tab in the New/Open
Machine Edition
Application
4 of 52
OP03 RecipePlus
RSTechED 2005 Rockwell Software
b) Type in
RecipePlus as the
Application Name
c) Ensure that
English (US) is
selected by default
d) Click on Create
to create this project
OP03 RecipePlus
RSTechED 2005 Rockwell Software
5 of 52
a) Double-Click on
RSLinx Enterprise in
the Explorer window to
expand.
b) Double-click on
Communications
Setup to open the
RSLinx Enterprise
Configuration Wizard
6 of 52
OP03 RecipePlus
RSTechED 2005 Rockwell Software
d) Click
Next to
continue
e) Select
RecipeConfiguration
f) Click Finish
to complete
OP03 RecipePlus
RSTechED 2005 Rockwell Software
7 of 52
a) Click Add to
add a new
shortcut. Then
type the shortcut
name as
RecipeShortcut
and press Enter
a) Ensure that
the Local tab is
selected
b) Select the
RecipeShortcut by
clicking on it.
f) Click Apply
then OK to
finish.
8 of 52
OP03 RecipePlus
RSTechED 2005 Rockwell Software
a) In the Explorer
window, double-click
on the Project
Settings to open
b) Ensure that
the General
tab is selected.
OP03 RecipePlus
RSTechED 2005 Rockwell Software
9 of 52
e) Uncheck Scale
graphic displays
because no
display scaling is
required.
f) Click
OK to
finish
10 of 52
OP03 RecipePlus
RSTechED 2005 Rockwell Software
a) Double-click on
Tags in the
Explorer window
to open the Tag
Editor.
Note: Expand the
HMI Tags folder if
needed.
d) Select
Memory as
the Data
Source Type
OP03 RecipePlus
RSTechED 2005 Rockwell Software
e) Click Accept
to accept this
tag configuration
11 of 52
2. Follow steps a) to e) to add the Percent Complete HMI Tag to the tag database using the Tag
Editor
a) Click on New
to create a new
tag.
12 of 52
OP03 RecipePlus
RSTechED 2005 Rockwell Software
d) Select
Memory as
the Data
Source Type
OP03 RecipePlus
RSTechED 2005 Rockwell Software
e) Click Accept
to accept this
tag configuration
f) Click
Close
to finish
13 of 52
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 the recipe (i.e. data set and tag set)
RecipePlus button object used to initiate recipe operations at run time (i.e. download,
upload, upload and create, save, restore)
14 of 52
OP03 RecipePlus
RSTechED 2005 Rockwell Software
a) Double-click on
RecipePlus Setup.
The RecipePlus
Folder is near the
bottom of the
Explorer window
c) Select OK
to finish
OP03 RecipePlus
RSTechED 2005 Rockwell Software
15 of 52
* b) 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.
a) Double-click on
the RecipePlus
Editor, located near
the bottom of the
Explorer window.
16 of 52
OP03 RecipePlus
RSTechED 2005 Rockwell Software
b) Select the
General tab
c) In the Runtime
recipe name box,
type in the name of the
recipe as Hot Sauce
e) Select the
RecipePlus
folder by
clicking on it.
d) Click on of the
Status Tag option, to
open the Tag
Browser
f) Select the
StatusTag by
clicking on it
g) Click OK
to add the tag.
OP03 RecipePlus
RSTechED 2005 Rockwell Software
17 of 52
h) Click on
of the Percent
Complete Tag
option, to open
the Tag
Browser
i) Select the
RecipePlus
folder by
clicking on it.
j) Select the
PercentCompleTag by
clicking on it
k) Click OK
to add the tag
18 of 52
OP03 RecipePlus
RSTechED 2005 Rockwell Software
Follow steps a) to f) to setup the Ingredients Tab in the RecipePlus Editor. In this section you
will add and setup recipe Ingredients and the corresponding Data Sets and Tag Sets.
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. 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.
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.
a) Select the
Ingredients
tab.
b) Type a descriptive
name for the ingredient:
Water (L). The name can
contain multiple words,
e.g. name and units.
OP03 RecipePlus
RSTechED 2005 Rockwell Software
d) If the ingredient
is of numeric type,
then you must set
the Min and Max
values. Set Min=0
and Max=1000.
e) Set an initial
Data Set value
for this
ingredient: 100.
f) To add a Tag to
the tag set of this
ingredient press
CTRL+T to open a
Tag Browser or
right-click and
choose the Tag
Browser from the
list.
19 of 52
g) Double-click on
RecipeShortcut to
expand
h) Click on Online to
open the controller tags,
shown on the right side
of the window.
i) Select the
Water tag
j) Click OK
to finish.
Note: If you were to add a type String ingredient, follow the same steps a) to j). In this case the
Min and Max value field will be left empty and the data type will be set to String.
20 of 52
OP03 RecipePlus
RSTechED 2005 Rockwell Software
Follow steps a) to f) to add two additional Data Sets in the RecipePlus Editor and rename the
current Data Set. Each Data Set will represent the spice level of the Red Sauce. Ensure that the
Ingredient tab of the RecipePlus Editor is open.
a) From the menu
of RSView Studio,
click on Recipe to
open a submenu.
b) Click on Rename
Data Set. This 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.
c) Under Enter
new data set name
delete the current
name and type in a
new name:
DataSet#1_Mild.
OP03 RecipePlus
RSTechED 2005 Rockwell Software
d) Click
'OK' to finish
re-naming
the data set.
21 of 52
f) Click on Insert
Data Set. To insert a
new data set.
Follow steps a) to f) to configure the Units tab in RecipePlus Editor. We will add two additional
units and rename the existing unit.
22 of 52
Units - A unit is a data set paired with a tag set. A single recipe can contain up to 2500
recipe units. It is the recipe units that are acted upon at runtime (e.g. Download unit).
OP03 RecipePlus
RSTechED 2005 Rockwell Software
a) Select the
Units tab.
b) Click on Edit to
edit Unit 1. You can
change the name of
the recipe unit and
also edit other
properties of the unit.
d) Click OK to
finish editing the
unit.
OP03 RecipePlus
RSTechED 2005 Rockwell Software
23 of 52
e) Click Insert to
insert a new Unit.
g) Click on the
downward arrow and
Select a data set:
DataSet#2_Hot.
h) Click OK to
finish inserting a
new unit.
24 of 52
OP03 RecipePlus
RSTechED 2005 Rockwell Software
Repeat steps e) to h) to add a third Unit for this recipe called: Devils Advocate Hot Sauce. In
this case choose the DataSet#3_VeryHot in step g).
j) Type in the
name of the recipe
component:
Recipe.
k) Press OK
to close.
Add a ready made recipe to replace the created one to save time in completing this lab.
The ready-made recipe contains many additional Ingredients. Follow steps a) to d) to add this
recipe and overwrite the created one to save time.
OP03 RecipePlus
RSTechED 2005 Rockwell Software
25 of 52
c) Press Open
to open the
selected recipe.
26 of 52
OP03 RecipePlus
RSTechED 2005 Rockwell Software
d) Click Yes to
overwrite the
created recipe.
NOTE: The recipe will now contain all the required ingredients and units.
b) Under
Recipe menu
select Compare
Recipes.
OP03 RecipePlus
RSTechED 2005 Rockwell Software
27 of 52
e) Select to
compare only
data sets of
the chosen
recipe.
28 of 52
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.
OP03 RecipePlus
RSTechED 2005 Rockwell Software
For this lab we will import a library display with the RecipePlus components (i.e. RecipePlus
Table, RecipePlus Selector and RecipePlus Buttons) already set up. We will also import an
Animation display which corresponds to the recipe ingredients created in this lab.
1.1 Follow and repeat steps a) to c) to import both of these displays.
a) Right-click on
Displays and select Add
component Into
Application to add the
library recipe component.
b) Browse to C:\OP03\ME
Recipe Plus Lab\GFX and
select
RecipeComponents.gfx.
c) Press Open
to open the
selected library
file.
OP03 RecipePlus
RSTechED 2005 Rockwell Software
29 of 52
Repeat steps a) to c) to import the Animation display, which demonstrates an animation of the
RecipePlus ingredient values. In this case, the display name to import, from step b) is named
Animation.gfx.
30 of 52
OP03 RecipePlus
RSTechED 2005 Rockwell Software
NOTE: If you would like to add all the RecipePlus components manually you would need to do
the following:
Click on Objects
menu to expand the
submenu.
Click on
RecipePlus, then
select RecipePlus
Selector or
RecipePlus Table
or RecipePlus
Button.
OP03 RecipePlus
RSTechED 2005 Rockwell Software
31 of 52
During runtime the RecipePlus Table can be read-only. In this case the ingredient data values of
the recipes cannot be modified at runtime.
2.1 To select the read-only property do the steps a) to c).
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.
d) Press OK to
complete.
b) In the RecipePlus
Table Properties click
on the Recipe tab.
The RecipePlus system can be used to compare data sets of two different recipes, tag sets of two
different recipe, and data sets vs. tag sets of a single recipe.
32 of 52
OP03 RecipePlus
RSTechED 2005 Rockwell Software
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
Description
Download
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.
Reads the tag values in the tag set and creates a new recipe unit by
writing those values to a new data set.
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.
2.2 Follow steps a) to f) to learn how to setup button properties.
a) Double-click on the
configured buttons to
open the button
properties.
OP03 RecipePlus
RSTechED 2005 Rockwell Software
33 of 52
c) Using the
downward arrow,
select the Action of
the button. In this case
it is Download.
f) Click
OK to
complete.
34 of 52
OP03 RecipePlus
RSTechED 2005 Rockwell Software
a) Double-click on
Startup in the
Explorer Window.
OP03 RecipePlus
RSTechED 2005 Rockwell Software
35 of 52
b) Click on the
check box of Initial
graphic to select.
d) Click OK
to complete.
f) Save the
display when
prompted.
36 of 52
OP03 RecipePlus
RSTechED 2005 Rockwell Software
Before using the Recipe Buttons the application of the two RecipePlus diagnostics tags, Status
Tag and Percent Complete Tag will be explained.
1.1 Please read steps a) to b) and view the Diagnostics while using the buttons at runtime.
OP03 RecipePlus
RSTechED 2005 Rockwell Software
37 of 52
After restoring the recipe unit, the Recipe Table lists all of the ingredients, the corresponding
recipe values, controller values, the tags and a visual comparison indicator between the recipe
data values and controller tag values.
The definitions of what each column represents during runtime of a RecipePlus Table is
summarized below:
Column Name
Definition
Ingredient Name
Current Value
Recipe Value
Compare Status
Tag Name
38 of 52
OP03 RecipePlus
RSTechED 2005 Rockwell Software
2.1 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.
OP03 RecipePlus
RSTechED 2005 Rockwell Software
39 of 52
Using the buttons we can save the recipe data values, download to a controller, upload from a
controller and upload and create a new unit.
3.1 Follow steps a) to d) to save the recipe data values and download to a controller.
a) Press the Save
button to save the
modified ingredient
value to the recipe
file.
b) The Compare
column indicates with an
X that the controller
ingredient value and the
value in the recipe differ.
c) Download the
recipe data to
the controller by
pressing the
Download
button.
3.2 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.
40 of 52
OP03 RecipePlus
RSTechED 2005 Rockwell Software
a) Press on the
Update and
Create button
create a new recipe
unit.
OP03 RecipePlus
RSTechED 2005 Rockwell Software
c) Press enter to
complete the addition of
a new Recipe Unit.
41 of 52
42 of 52
OP03 RecipePlus
RSTechED 2005 Rockwell Software
After modifying the ingredient data values please follow steps a) to d) to download recipe data
values of the Green Sauce recipe unit to a controller.
a) Click on GoTo
ANIMATION to go to
the animation display.
OP03 RecipePlus
RSTechED 2005 Rockwell Software
43 of 52
b) Press Press
START to begin! to
start the animation.
d) Press x on your
keyboard to end the test run
of this application.
NOTE: A warning will occur while the Test Application mode is shutting down. The
warning explains that all the changes made to a recipe during the Test Application mode
will not be saved. Please click OK to close the warning message box.
Optional Section
44 of 52
OP03 RecipePlus
RSTechED 2005 Rockwell Software
Terminal Type
PanelView Plus 400
PanelView Plus 600
PanelView Plus 700 or VersaView CE 700
PanelView Plus 1000 or VersaView CE 1000
PanelView Plus 1250 or VersaView CE 1250
PanelView Plus 1500 or VersaView CE 1500
a) In the Explorer
window, double-click
on the Project
Settings to open
b) Ensure that
the General
tab is open
c) Click on the downward
arrow to expand the
selection box of Project
window size and select
the size that corresponds
to the size of the terminal.
OP03 RecipePlus
RSTechED 2005 Rockwell Software
45 of 52
d) Click on the
Runtime tab to
open.
f) Click OK and
Graphic Display
Scaling window
will open
g) Check the
Scale graphic
displays and
the sub-boxes,
because we want
to scale our
project to fit the
terminal size.
h) Click
OK to
finish.
46 of 52
OP03 RecipePlus
RSTechED 2005 Rockwell Software
a) Double-Click on
RSLinx Enterprise in
the Explorer window to
expand.
b) Double-click on
Communications
Setup to open the
RSLinx Enterprise
Configuration Wizard
OP03 RecipePlus
RSTechED 2005 Rockwell Software
47 of 52
c) Click on the
Target tab of the
Communications
Setup.
g) Click Apply to
apply the shortcut
to the device.
f) Click on the
1756-L1/A device
to select.
h) Click OK to complete
the Target tab
configuration.
48 of 52
OP03 RecipePlus
RSTechED 2005 Rockwell Software
c) The Creating
runtime file window
will be displayed, while
the runtime file is
being created.
OP03 RecipePlus
RSTechED 2005 Rockwell Software
49 of 52
50 of 52
OP03 RecipePlus
RSTechED 2005 Rockwell Software
a) Click on Load
Application, select the
RecipePlus file and click
Load. Click Yes to
Replace
Communications..
OP03 RecipePlus
RSTechED 2005 Rockwell Software
51 of 52
Notes
52 of 52
OP03 RecipePlus
RSTechED 2005 Rockwell Software