0% found this document useful (0 votes)
85 views54 pages

Op03 - Implementing Panelview Plus & Versaview Ce With Rsview Machine Edition Recipeplus

This document provides instructions for implementing a recipe system using RSView Machine Edition and RecipePlus. The recipe system will be used to manage ingredient data for a hot sauce manufacturing process. Users will input ingredient information depending on the spice level of the sauce. The data will be saved in tag sets and downloaded to a controller to automate the manufacturing process. The document guides the reader through starting an RSView project, configuring communications to a SoftLogix controller, setting up RecipePlus tags and components, testing the runtime operation, and downloading the project to a PanelView or VersaView terminal. It also provides an optional section on project window sizes.

Uploaded by

brporto2010
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
85 views54 pages

Op03 - Implementing Panelview Plus & Versaview Ce With Rsview Machine Edition Recipeplus

This document provides instructions for implementing a recipe system using RSView Machine Edition and RecipePlus. The recipe system will be used to manage ingredient data for a hot sauce manufacturing process. Users will input ingredient information depending on the spice level of the sauce. The data will be saved in tag sets and downloaded to a controller to automate the manufacturing process. The document guides the reader through starting an RSView project, configuring communications to a SoftLogix controller, setting up RecipePlus tags and components, testing the runtime operation, and downloading the project to a PanelView or VersaView terminal. It also provides an optional section on project window sizes.

Uploaded by

brporto2010
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 54

OP03 – Implementing PanelView Plus &

VersaView CE with RSView Machine Edition


RecipePlus
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
Before you begin

The general purpose of a recipe system is to allow the user to read and write a set of values
to/from a set of tags in a single operation. The ingredient data values of the recipe are saved into
the recipe file and can be downloaded to/uploaded from a controller in a single action. A single
recipe can contain up to 15 000 ingredients. The recipe file can also be restored into the
RecipePlus Table during runtime to view the ingredient data values from the recipe.

The RecipePlus Table is also used to modify the recipe data values during runtime. The
RecipePlus Table can be set as view-only to prevent modifications during runtime.

During runtime the values of the data set and tag set can be compared. Moreover, the recipe
system can also be used to compare two configured recipes or compare a data set pair or a tag
set pair of a single recipe.

About this lab


In this lab you will learn how to create recipe systems and their components, and how to use
them during runtime.

The recipe you will be creating is for a Hot Sauce manufacturing firm.

You will be designing 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.

This lab will take approximately 1 hour to complete.

Tools & prerequisites


• Software programs required
o Windows 2000 or Windows XP computer
o RSView Studio v4.00
o SoftLogix 5800, Version 13.02

• Files required
o Pre-created displays: ‘RecipeComponets.gfx’ and ‘Animation.gfx’
o Pre-created recipe file: ‘Recipe.rpp’
o Controller file: ‘RecipePlus_ControllerFile.ACD’

OP03 — RecipePlus
2 of 52 RSTechED 2005 ƒ Rockwell Software
Starting RSView Studio and Creating a Project

1. Start RSView Studio


From the Start menu, select Programs > RSView Studio (as shown below) OR Programs
> Rockwell Software > RSView Enterprise > RSView Studio

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
a) Type in 'labuser' for
User name and
'rockwell' for Password

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

OP03 — RecipePlus
4 of 52 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

Configuring Comunications to the SoftLogix Pocessor

1. Copy the Communication Configuration from a pre-existing application

Follow steps a) to f) to open up the RSLinx Enterprise Communication Setup. The


communication configuration will be copied from an existing configuration.

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

OP03 — RecipePlus
6 of 52 RSTechED 2005 ƒ Rockwell Software
c) Select ‘Copy an existing
configuration…’ in the
RSLinx Enterprise
Configuration Wizard

d) Click
‘Next’ to
continue

e) Select
RecipeConfiguration

f) Click ‘Finish’
to complete

2. Add a Device Shortcut in the Communication Setup

Follow step a) to add a Device Shortcut in the Communication Setup

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

3. Configure the Local Communications

Follow steps a) to g) to configure the Local communications.

a) Ensure that
the Local tab is
selected c) Expand the Ethernet driver and
scroll to and select the SoftLogix 5800
module with the IP address and node
as specified by the lab instructor.

b) Select the
‘RecipeShortcut’ by
clicking on it.

f) Click ‘Apply’
then ‘OK’ to
finish.

OP03 — RecipePlus
8 of 52 RSTechED 2005 ƒ Rockwell Software
Configuring the RSView ME Application

Before the application screens are created, some basic system configuration needs to be
performed.

Configure the Projects Settings by following steps a) to d)

a) In the Explorer
window, double-click
on the ‘Project
Settings’ to open

b) Ensure that
the ‘General’
tab is selected.

c) Click on the downward


arrow to expand the selection
box of ‘Project window size’
and select 1024x768.

Note: ‘Optional Section’ of


d) Click ‘OK’ and this lab contains a summary
‘Graphic Display table with the Project Window
Scaling’ window Sizes and the corresponding
will open Terminal Types.

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

Configuring RecipePlus Tags

Recipes have two tag settings that are used to determine the results of various recipe operations
during runtime.

The first tag is called the Status Tag and it shows the results of download and upload operations.
The result status of these operations can be ‘start’, ‘successful’ or ‘with errors’.

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.

1. Follow steps a) to e) to add the Status HMI Tag to the tag database using the Tag Editor

OP03 — RecipePlus
10 of 52 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.

b) In the ‘Name’ box c) Click on the downward


type in the name of the arrow to expand the Type
tag as ‘StatusTag’ selection box and select
‘Analog’

d) Select
‘Memory’ as e) Click ‘Accept’
the Data to accept this
Source Type tag configuration

OP03 — RecipePlus
RSTechED 2005 ƒ Rockwell Software 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.

OP03 — RecipePlus
12 of 52 RSTechED 2005 ƒ Rockwell Software
b) In the ‘Name’ box,
type in the name of the c) Click on the downward
tag as arrow to expand the Type
‘PercentCompleteTag’ selection box and select
‘Analog’

d) Select
‘Memory’ as
the Data
Source Type
e) Click ‘Accept’
to accept this f) Click
tag configuration ‘Close’
to finish

OP03 — RecipePlus
RSTechED 2005 ƒ Rockwell Software 13 of 52
Configuring the 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 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)

• RecipePlus selector object – used to select from a list of created recipes

Creating a new Recipe called ‘Hot Sauce’

1. Configure the RecipePlus Setup

Follow steps a) to c) to configure the RecipePlus Setup

OP03 — RecipePlus
14 of 52 RSTechED 2005 ƒ Rockwell Software
a) Double-click on
‘RecipePlus Setup’.
The RecipePlus
Folder is near the
bottom of the
Explorer window

* b) Select ‘Recipe files are


part of the HMI project’. When
this option is selected, all of the
recipe files in the HMI project will
be included in the ME runtime
application.

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.

2. Configure the RecipePlus Editor

2.1 Configure the General Tab of the RecipePlus Editor

Follow steps a) to k) to setup the General Tab in the RecipePlus Editor. You will add the
runtime recipe name, the Status Tag and the Percent Complete Tag.

a) Double-click on
the ‘RecipePlus
Editor’, located near
the bottom of the
Explorer window.

OP03 — RecipePlus
16 of 52 RSTechED 2005 ƒ Rockwell Software
b) Select the
‘General’ tab
d) Click on ‘…’ of the
c) In the ‘Runtime
Status Tag option, to
recipe name’ box,
open the ‘Tag
type in the name of the
Browser’
recipe as ‘Hot Sauce’

e) Select the
‘RecipePlus’
folder by f) Select the
clicking on it. ‘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
j) Select the
‘RecipePlus’
‘PercentCompleTag’ by
folder by
clicking on it
clicking on it.

k) Click ‘OK’
to add the tag

OP03 — RecipePlus
18 of 52 RSTechED 2005 ƒ Rockwell Software
2.2 Configure the Ingredients Tab of the RecipePlus Editor

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.

b) Type a descriptive
name for the ingredient:
a) Select the ‘Water (L). The name can
‘Ingredients’ contain multiple words,
tab. e.g. name and units.

f) To add a Tag to
the tag set of this
ingredient press
c) Click on the ‘Type’ CTRL+T to open a
field for this ingredient to d) If the ingredient Tag Browser or
choose a data type and is of numeric type, right-click and
select ‘Number’. then you must set choose the Tag
the Min and Max Browser from the
values. Set Min=0 list.
and Max=1000. e) Set an initial
Data Set value
for this
ingredient: 100.

OP03 — RecipePlus
RSTechED 2005 ƒ Rockwell Software 19 of 52
h) Click on ‘Online’ to
g) Double-click on open the controller tags,
‘RecipeShortcut’ to shown on the right side
expand 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’.

OP03 — RecipePlus
20 of 52 RSTechED 2005 ƒ Rockwell Software
Add additional Data Sets to the RecipePlus Editor

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’ d) Click
delete the current 'OK' to finish
name and type in a re-naming
new name: the data set.
DataSet#1_Mild.

OP03 — RecipePlus
RSTechED 2005 ƒ Rockwell Software 21 of 52
e) From the menu of RSView
Studio, click on ‘Recipe’ to
open a submenu.

f) Click on ‘Insert
Data Set’. To insert a
new data set.

g) Type in the name of


the new data set:
DataSet#2_Hot. Click
'OK' to finish inserting.

Repeat steps e) to g) to add a third Data Set called: DataSet#3_VeryHot.

2.3 Configure the Units Tab of the RecipePlus Editor

Follow steps a) to f) to configure the Units tab in RecipePlus Editor. We will add two additional
units and rename the existing unit.

• 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
22 of 52 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.

c) Under ‘Unit Name’ type


the new name: ‘Brick-Red
Mild Sauce’.

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.

f) Under ‘Enter the


name for the new
unit’ type in the name
of the second unit:
‘Blazing Hot Sauce’.

g) Click on the
downward arrow and
Select a data set:
‘DataSet#2_Hot’.

h) Click ‘OK’ to
finish inserting a
new unit.

OP03 — RecipePlus
24 of 52 RSTechED 2005 ƒ Rockwell Software
Repeat steps e) to h) to add a third Unit for this recipe called: ‘Devil’s Advocate Hot Sauce’. In
this case choose the DataSet#3_VeryHot in step g).

i) Ensure that your


completed Units tab
looks similar to this.
Press ‘Close’ to save
the recipe.

j) Type in the
name of the recipe
component:
‘Recipe’.

k) Press ‘OK’
to close.

2.4 Add a recipe to the RecipePlus Editor

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
a) From the Explorer
window right-click on
‘‘RecipePlus Editor’ and
click on ‘Add Compnent
Into

b) Browse to ‘C:\OP03\ME Recipe


Plus Lab\RecipePlus’ and select the
recipe file ‘Recipe.rpp’.

c) Press ‘Open’
to open the
selected recipe.

OP03 — RecipePlus
26 of 52 RSTechED 2005 ƒ Rockwell Software
d) Click ‘Yes’ to
overwrite the
created recipe.

NOTE: The recipe will now contain all the required ingredients and units.

Compare Recipe data sets


You can compare two data sets or two tag sets of a single recipe or between two recipes
configured in the application. To use this comparison functionality follow steps a) to d).

a) Open the
configured recipe by
double-clicking on it.

b) Under
‘Recipe’ menu
select ‘Compare
Recipes’.

OP03 — RecipePlus
RSTechED 2005 ƒ Rockwell Software 27 of 52
c) Select ‘Compare with a
Single Recipe’ to
compare the values of a
single recipe. If you need
to compare between two
recipes then select
‘Compare across two d) Choose the recipe to do the
recipes’. comparison with, by clicking on ‘…’. The
location of the recipe for this application
is located at: ‘C:\Documents and
Settings\All Users\Documents\RSView
Enterprise\ME\HMI
projects\RecipePlus\RecipePlus’.
Select ‘Recipe.rpp’.

e) Select to
compare only
data sets of
the chosen
recipe.

f) Choose which data sets to


compare using the
downward arrow.
Select DataSet#1_Mild and
DataSet#2 Hot.
g) Click ‘Compare’ to
compare the data sets. A
text file will pop open to h) Close the text
display the results of the file after reviewing
comparison. The to finish.
‘CompareReport.txt’ will
be stored in the
‘RecipePlus’ folder of this
application.

OP03 — RecipePlus
28 of 52 RSTechED 2005 ƒ Rockwell Software
Import displays – “RecipePlus Components” and “Animation”

1. Import a display

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’.

1.2 Follow steps a) to c) to open both of the imported displays.

a) From the Explorer


Window double-click on
the ‘Animation’ and
‘RecipeComponents’
displays to open.

b) The added library display


‘RecipeComponents’
should appear like the
display below. The display
will contain the RecipePlus
Selector, Table and Buttons.

OP03 — RecipePlus
30 of 52 RSTechED 2005 ƒ Rockwell Software
c) The added library
display ‘Animation’
should appear like
the display below.

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.

2. RecipePlus components Properties

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
b) In the ‘RecipePlus
objects.
Table Properties’ click
on the ‘Recipe’ tab.

c) You can set the


‘RecipePlus Table’ to be
read-only (cannot modify at
runtime), by checking the
‘View only’ property. Do
not check this property
d) Press ‘OK’ to
complete. for this lab.

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.

OP03 — RecipePlus
32 of 52 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.

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.

Save Saves the data value changes made in the Table back to the recipe file.

Restore 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
b) Click on the ‘General’ tab
of the ‘RecipePlus Button
Properties’.

c) Using the
downward arrow,
select the ‘Action’ of
the button. In this case
it is ‘Download’.

d) Click on the ‘Label’


tab of the ‘RecipePlus
Button Properties’.

e) In the ‘Caption’
space, you can type in
the text that you would
like to appear on the
button.

f) Click
‘OK’ to
complete.

OP03 — RecipePlus
34 of 52 RSTechED 2005 ƒ Rockwell Software
How RecipePlus Works at Runtime

Setup the Startup Display and Test Run the Application

Follow steps a) to f) to setup the ‘RecipeComponents’ as the start-up display at runtime and test
run the application.

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. c) From the list choose
‘RecipeComponents’
display as the initial
display.

d) Click ‘OK’
to complete.

e) From the Application’


menu, click on ‘Test
Application’ to test run f) Save the
the configured application. display when
prompted.

How to Read and Write Ingredients at Runtime

1. Restore a recipe unit into a Recipe Table

The RecipePlus Selector object is used to view all units of all the configured recipes. You can
select any of the units in the RecipePlus Selector and restore the ingredients into the
RecipePlus Table, using the Restore button.

OP03 — RecipePlus
36 of 52 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.

a) The Percent Complete


Tag can be used in
combination with a bar
graph, showing the percent
progress of actions executed
with the Recipe Buttons,
i.e. Restore, Download,
Upload, Upload and Create.

b) The Status Tag can be


used, in combination with a
multistate indicator, to show the
status of the button actions, i.e.
Upload, Download, and
Upload and Create. The status
is either Starting, Successful
or With Errors.

1.2 Follow steps a) to c) to restore a recipe unit into a table.

a) Use the navigation


buttons to scroll up/down
in the Recipe Selector
to select a Recipe Unit.

b) Press the ‘restore’


button to restore the
Recipe Unit selected in
the Recipe Selector into
the Recipe Table.

c) This area will display


the unit currently
restored in the
RecipePlus Table.

OP03 — RecipePlus
RSTechED 2005 ƒ Rockwell Software 37 of 52
2. Modify the ingredient data values

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 Displays the Ingredient name of the recipe.

Current Value Displays the current value in the tag associated


with the ingredient.

Recipe Value Displays the recipe's data value for the ingredient.
This data value can be modified by selecting the
ingredient row in the table and pressing Enter.

Compare Status If the tag value and the recipe data value differ, an
X appears in this column to alert the operator of the
difference.

Tag Name Displays the name of the tag associated with the
ingredient in the tag set.

OP03 — RecipePlus
38 of 52 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,


b) Click on the enter button to
scroll to the ingredient that you
open a keypad (numeric
would like to modify. Choose the
ingredient) or keyboard (string
ingredient ‘Tomato Sauce Spice
ingredient) popup. The
Mixture’.
keypad/keyboard can be used
to input new data values.

c) Using the keypad, type


the new desired ingredient
value and press enter. You
can use your keyboard or
the popup keypad buttons
to type.

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
3. Using the Recipe Buttons

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 c) Download the
‘X’ that the controller recipe data to
ingredient value and the the controller by
value in the recipe differ. pressing the
‘Download’
button.

d) To view the update


controller tag value,
press ‘Restore’ and
view the updated
value in the ‘Current’
column of the ‘Recipe
Table. ‘

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.

OP03 — RecipePlus
40 of 52 RSTechED 2005 ƒ Rockwell Software
a) Press on the
‘Update and
Create’ button
create a new recipe
unit.

b) Click on ‘Unit Name’ to


open a keyboard popup and c) Press enter to
type in ‘Green Sauce – Hot’ complete the addition of
as the new recipe unit name. a new Recipe Unit.

OP03 — RecipePlus
RSTechED 2005 ƒ Rockwell Software 41 of 52
d) Check in the ‘Recipe Selector’ that
the new Recipe Unit ‘Green Sauce –
Hot’ has been successfully added.
The Status tag in the Diagnostics
should also display that the unit creation
was successful.

3.3 Modify the ‘Green Sauce’ Recipe unit

If you would like to modify this newly created Recipe unit you can do the following section. This
section does not need to be done for this lab.

The new Recipe unit can be ‘Restored’ into the Recipe Table, the ingredient values can be
modified and downloaded to a controller to make a new recipe – Green Sauce.

Follow steps a) to c) described in 2.1 of this section to input the example ingredient data values
for the Green Sauce. The data values are summarized in the following table:

Ingredients Green Sauce Data Values


Water (L) 8
Crushed Ancho Chilies (kg) 0
Chopped Onions (pieces) 200
Tomato Sauce Spice Mixture (kg) 30
Dried Red Pepper Flakes (kg) 0
Jalopeno Extract (L) 3
Habanero Extract (L) 3
Cooking Time – Crushed Chili (minutes) 15
Cooking Time – Mixture (minutes) 60
Cooking Temp – Chili (degree Celsius) 120
Cooking Temp – Mixture (degree Celsius) 100
Mixture Blending speed (rpm) 70
Sauce Recipe Name Ultra Green Hot Sauce
Name of recipe chef My name
Crushed Green Chilis (kg) 30
Chopped Spinach (kg) 150
Sour Cream (L) 250

OP03 — RecipePlus
42 of 52 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.

3.4 Follow steps a) to d) to view the animation.

Any animation can be created to accompany the RecipePlus functionality. It can be used as a
graphical representation of the recipe. In the case of the recipe we created for this lab, the
animation describes step by step how the Hot Sauce is made and is using the values the user
input into the RecipePlus Ingredients.

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.

c) The Status Indicator will


describe the animation steps that
are currently active. When
animation completes the indicator
will display ‘DONE’. To go back to
the RecipePlus display and modify
ingredients, press ‘Back to
RecipePlus’, located in the upper-
left corner.

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

Downloading the Project to a PVP/VVCE Terminal

1. Resize the application

Before running the application on a terminal we must resize the project to correspond to the size
of the terminal. Follow steps a) to h) to resize the project to fit the terminal size.

OP03 — RecipePlus
44 of 52 RSTechED 2005 ƒ Rockwell Software
Follow the table below to select the appropriate window size:

Terminal Type Project Window Size


PanelView Plus 400 320x240
PanelView Plus 600 320x240
PanelView Plus 700 or VersaView CE 700 640-480
PanelView Plus 1000 or VersaView CE 1000 640-480
PanelView Plus 1250 or VersaView CE 1250 800-600
PanelView Plus 1500 or VersaView CE 1500 1024-768

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.

e) Check the ‘Title Bar’


to be able to close the
window during runtime.

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.

OP03 — RecipePlus
46 of 52 RSTechED 2005 ƒ Rockwell Software
2. Set the target tab in the communications setup

Follow steps a) to h) to setup the target tab for terminal communications.

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’.

d) Click to select the


‘RecipeShortcut’
Device Shortcut.

e) Expand the Ethernet, Ethernet driver to


reveal the 1756-ENBT/A device with the f) Click on the
IP_addres as given by the lab instructor. You 1756-L1/A device
can modify the IP_address of the device by right- to select.
clicking on the IP_address, selecting ‘Properties’
and typing in a new IP address.

g) Click ‘Apply’ to
h) Click ‘OK’ to complete
apply the shortcut
the Target tab
to the device.
configuration.

3. Create the runtime application

Follow steps a) to f) to create the runtime file of the application to download to the terminal.

a) Click on ‘Application’,
then ‘Create Runtime
Application’, in the
RSView Studio menu.

OP03 — RecipePlus
48 of 52 RSTechED 2005 ƒ Rockwell Software
b) Save the runtime application, to
‘C:\Documents and Settings\All
Users\Documents\RSView
Enterprise\ME\Runtime’ (which is
the default directory) and click
‘Save’.

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
d) From RSView Studio
icon menu click on the
Transfer Utility icon to open
the Transfer Utility and
transfer the file to a terminal.

e) Using ‘…’, select the


.mer file to download to
the terminal:
‘RecipePlus.mer’.

f) Select the terminal


destination path with the
appropriate IP address, as
given by the lab instructor,
to download to.
g) Click on
‘Download’ to
download the
file.

4. Run the Application on the terminal

Follow steps a) to c) to run the application on the terminal.

OP03 — RecipePlus
50 of 52 RSTechED 2005 ƒ Rockwell Software
a) Click on ‘Load
Application’, select the
RecipePlus file and click
‘Load’. Click ‘Yes’ to
‘Replace
c) After the application
Communications….’. finishes loading click
on ‘Run Application’.

OP03 — RecipePlus
RSTechED 2005 ƒ Rockwell Software 51 of 52
Notes

OP03 — RecipePlus
52 of 52 RSTechED 2005 ƒ Rockwell Software

You might also like