VZ01 - LAB - FactoryTalk View Machine Edition and PanelView Plus - Introductory ROKTechED 2015 PDF
VZ01 - LAB - FactoryTalk View Machine Edition and PanelView Plus - Introductory ROKTechED 2015 PDF
VZ01 - LAB - FactoryTalk View Machine Edition and PanelView Plus - Introductory ROKTechED 2015 PDF
properly using, calibrating, operating, monitoring and maintaining all Products consistent with all Rockwell Automation
or third-party provided instructions, warnings, recommendations and documentation;
ensuring that only properly trained personnel use, operate and maintain the Products at all times;
staying informed of all Product updates and alerts and implementing all updates and fixes; and
all other factors affecting the Products that are outside of the direct control of Rockwell Automation.
Reproduction of the contents of the Documentation, in whole or in part, without written permission of Rockwell Automation is
prohibited.
Throughout this manual we use the following notes to make you aware of safety considerations:
Identifies information about practices or circumstances
that can cause an explosion in a hazardous environment,
which may lead to personal injury or death, property damage, or economic loss.
Identifies information that is critical for successful application and understanding of the product.
Identifies information about practices or circumstances that can lead to personal injury or death, property
damage, or economic loss. Attentions help you:
identify a hazard
avoid a hazard
recognize the consequence
Labels may be located on or inside the drive to alert people that dangerous voltage may be present.
Labels may be located on or inside the drive to alert people that surfaces may be dangerous temperatures.
Contents
Before you begin ........................................................................................................................................... 5
About this lab .................................................................................................................................................................................... 5
Tools & prerequisites ........................................................................................................................................................................ 5
Document conventions ..................................................................................................................................................................... 6
FactoryTalk View Machine Edition ................................................................................................................................................. 6
PanelView Plus 7 .......................................................................................................................................................................... 7
Creating a Hello World Application .............................................................................................................. 9
Creating a FactoryTalk Machine Edition Application ...................................................................................................................... 9
Adding Content to a Display ........................................................................................................................................................... 16
Creating the Runtime Application File............................................................................................................................................. 18
Downloading a runtime MER to a PanelView Plus terminal ........................................................................................................ 20
Running an Application on a PanelView Plus Terminal .............................................................................................................. 23
Animating a Display with Control System Data........................................................................................... 26
Configuring Communications .......................................................................................................................................................... 26
Copying the Design Communication Configuration ........................................................................................................................ 31
Adding Live Objects to a Display................................................................................................................................................... 33
Adding Images from Symbol Factory .............................................................................................................................................. 36
Testing an application on the Desktop ............................................................................................................................................ 52
Adding Alarms to an Application ................................................................................................................. 54
Creating HMI Tags .......................................................................................................................................................................... 58
Configuring Alarms using the Alarm Setup ..................................................................................................................................... 60
Testing the Alarms .......................................................................................................................................................................... 71
Alarm History Display...................................................................................................................................................................... 74
Testing the Alarm History Screen ................................................................................................................................................... 81
3 of 126
Using Global Objects to Make Application Design Convenient and Quick ................................................. 82
What is a Global Object? ................................................................................................................................................................ 82
What are Placeholders and Parameters? ....................................................................................................................................... 82
Creating Base Global Objects......................................................................................................................................................... 83
Using Reference Objects and Parameters ..................................................................................................................................... 88
Reusing Displays with Parameters ................................................................................................................................................. 92
Using Cross Reference and Search and Replace Functionality ..................................................................................................... 94
Testing Global Objects and Parameters ......................................................................................................................................... 98
Language Switching .................................................................................................................................. 101
Adding Languages and Translating Strings .................................................................................................................................. 101
Adding Language Switch Buttons ................................................................................................................................................. 107
Testing the Language Switch Application on the Terminal ........................................................................................................... 111
Running the Application ................................................................................................................................................................ 114
Appendix A Manually Configuring Runtime Communications Path ....................................................... 116
Lab Configuration and Setup .................................................................................................................... 121
Lab Information ............................................................................................................................................................................. 121
Hardware Configuration per Student ............................................................................................................................................ 121
Computer/Host Settings ................................................................................................................................................................ 122
Basic Setup Diagram .................................................................................................................................................................... 123
Application/Programming .............................................................................................................................................................. 123
Additional Equipment Required per Workstation .......................................................................................................................... 124
RSLinx - DDE/OPC Topic Configuration....................................................................................................................................... 124
RSLinx - Driver Configuration ....................................................................................................................................................... 124
RSLinx Enterprise - Shortcut Configuration .................................................................................................................................. 124
Application Versions ..................................................................................................................................................................... 125
4 of 126
5 of 126
Document conventions
Throughout this workbook, we have used the following conventions to help guide you through the lab materials.
This style or symbol:
Indicates:
Any item or button that you must select, click on, or a menu name from
which you must choose an option or command. This will be an actual
name of an item that you see on your screen or in an example.
An entry that you must type in the specified field. This is information that
you must supply based on your application (e.g., a variable).
Note: When you type the text in the field, remember that you do not
need to type the quotes; simply type the words that are contained within
them (e.g., Controller1).
Text that appears inside of a gray box is supplemental information
regarding the lab materials or learning goals; the information is not
required for you to complete the lab exercises. The supplemental text
may provide you with helpful hints that can make it easier for you to use
this product.
Note: If the mouse button is not specified in the text, you should click the left mouse button.
6 of 126
PanelView Plus 7
The PanelView Plus are operator interface terminals designed to optimize system development, performance, and efficiency.
The PanelView Plus 7 line of terminals is the latest addition to Rockwell Automations versatile family of Allen-Bradley
PanelView operator interface displays for machine level operator terminal applications in industrial environments.
The PanelView Plus 7 line extends the portfolio with increased display resolutions while still supporting a known design
environment FactoryTalk View Machine Edition. Please reference the following tables for more information regarding the
PanelView Plus 7 Performance and the entire PanelView Plus 7 family.
7 of 126
8 of 126
Note that the window may contain additional applications that are not shown in the above picture.
9 of 126
button.
After creating the application, FactoryTalk View Studio for Machine Edition opens the application:
If you are unfamiliar with FactoryTalk View Studio for Machine Edition, please review the information in the next few
pages.
10 of 126
Graphics Toolbar Provides easy access to tools that are used to manipulate objects on a display (e.g.,
rotate, group, ungroup, etc.).
Objects Toolbar Provides easy access to objects that are used on displays to create the user interface
(e.g., Numeric Input, String Display, Momentary Push Button, etc.).
Explorer Pane Contains all objects related to an application project. Application objects are then opened
in the Work Pane. See more information regarding the portions of the Explorer Pan that will be used in this
lab below.
Diagnostic List Contains status and error messages related to the system application and project.
Work Pane The work area where project objects are opened for manipulation and modification (e.g.,
displays, the tag database, object property windows, etc.).
11 of 126
By default, new projects in FactoryTalk view Studio for Machine Edition are configured for a PanelView Plus 700/1000
terminal with a 640x480 resolution. In this lab, the PanelView Plus 7 1200 W terminal will be used, therefore, the project
window size must be changed to match the terminal.
6. Double-click the Project Settings item located in the top System container to open its dialog box.
12 of 126
7. Use the drop down list to select PVPlus 7 Standard/Performance 12 Wide (1280x800).
13 of 126
This dialog gives the user the ability to determine which graphic components of the application will scale once the display
size change has been accepted. Because this is a new project, leave the settings at default.
11. Click Yes to the following popup which warns that the aspect ratio will change.
12. To view existing displays, expand the Displays container by clicking the expander
window.
When a new project is created, FactoryTalk View Machine Edition will automatically create four default displays, one of
which is called MAIN, defined as the initial startup display. This display will be used for the following steps in the lab. When
more displays are required, they can be added, as seen in a future section.
14 of 126
A shutdown button is automatically created with each application. This button is used to shut down the
application on the runtime device. When the application is shut down, that runtime device will close
FactoryTalk View Machine Edition Station.
15 of 126
When you release the mouse button, the Text Properties dialog will open.
2. Click the Text field and enter Hello World! This is my Intro application.
3. Select 14 from the Size drop down to increase the size of the text.
16 of 126
5. Close the display using the File > Close menu item.
6. When prompted to save MAIN, click the Yes button.
Now that an object has been added to the MAIN display, verify that it is configured as the applications Startup graphic.
17 of 126
Notice the components that can be configured to execute when the application starts. Items such as Alarms and
Information messages can be turned on or off, macros can be executed upon startup, and any display that has been
created can be specified as the initial graphic.
Because MAIN is the only display that has been created, it is selected as the initial graphic by default.
18 of 126
2. Save the runtime project using the suggested name Intro.mer by clicking the Save button.
While FactoryTalk View Studio for Machine Edition is creating the runtime MER file, a progress dialog will appear:
The runtime file has been created when the progress bar disappears.
19 of 126
20 of 126
Note that the window may contain additional runtime files than those shown in the picture above.
3. Click on the Intro.mer file to select the project, then click Open.
21 of 126
5. Select the 192.168.1.20, PanelView Plus_7 Performance 1200W item by clicking on it once.
Note that more devices may be shown in the list than shown in the picture below:
22 of 126
2. Locate the FTView ME Station icon on the desktop and double tap it to launch FactoryTalk View ME Station.
23 of 126
4. Select the Intro.MER file from those available from the terminals Internal Storage.
6. When prompted, press Yes [F7] to overwrite the terminals current communication configuration with the
configuration contained within the Intro.MER file.
24 of 126
7. Once successfully loaded, press the Run Application [F2] to start executing the runtime file.
After the start up process completes, you should see your applications startup display:
25 of 126
Configuring Communications
1. Return to the HMI project in FactoryTalk View Studio and double click the RSLinx Enterprise item to expand.
2. Right-click on the Communication Setup item and select Open, or double click Communication Setup to
launch the RSLinx Enterprise Configuration Wizard.
Note that this wizard can also be opened by double clicking Communication Setup.
26 of 126
The Configuration Wizard gives a user three options for configuring communications for the application:
Create a new configuration Generates an empty communication configuration scheme for the application.
This selection is enabled by default.
Copy an existing configuration from a previously created project Reuses a communication
configuration from a different application file.
Copy the configuration that is currently running on this workstation Copies the communication
configuration from an application currently hosted by FactoryTalk View Machine Edition Station located on
the same workstation.
3. Select the default Create a new configuration option, and click Finish.
The Communication Setup dialog will now appear:
27 of 126
4. To create a new shortcut, click the Add button in the Device Shortcuts area.
5. Name the shortcut by typing Intro and then pressing the Enter key on the keyboard.
The Communication Setup dialog should now look like this:
once.
28 of 126
9. Select 2, 1789-L60/A, BlockMachine by clicking on it once. The dialog should now look like this:
10. Click the Apply button above the Device Shortcuts pane to associate the SoftLogix 5800 Controller with the
selected communication shortcut Intro.
29 of 126
13. Close the Shortcut Verifier dialog by clicking the Close button.
30 of 126
If necessary, use the expanders to open the topology items (e.g. drivers and devices) to confirm that the Design (Local)
configuration have been replicated.
31 of 126
4. Click the Verify button to confirm the Design and Runtime associations.
Confirm both the Design and Runtime devices are assigned to shortcut Intro.
Be sure to use the OK button! If you close the dialog with the X, the communication setup with not be saved
to the application.
32 of 126
3. Click and hold the left mouse button, then drag down and to the right to create a Maintained Pushbutton object
in the middle of the display.
33 of 126
5. Change the Height and Width fields to size the Maintained Pushbutton exactly.
Height 120
Width 150
34 of 126
States are explicit events that occur when the value of the tag connected to the object equals the value
defined for the state. If the tag value does not match any of those configured, the object will show the Error
state.
Simple pushbuttons have three states, each of which have default values, though these values can be
changed by the user.
Two complex objects, the multistate pushbutton and multistate indicator, allow a user to configure multiple
states for the objects.
35 of 126
2. Click the Launch Library button to bring up the Symbol Factory library.
36 of 126
37 of 126
4. Scroll to the bottom of the Symbols window, and select the Illuminated rectangular pushbutton (Green Up
Off) button image.
6. Click Paste from Library to add the image to the project library.
38 of 126
39 of 126
40 of 126
16. Click the Launch Library button to bring up the Symbol Factory library.
41 of 126
18. Select the Illuminated rectangular pushbutton (Green Down On) button image.
19. Click Copy to copy the image to the project image library.
20. Click Paste from Library to add the image to the project library.
42 of 126
23. The State1 button properties should now look like this.
43 of 126
Note that the button will now show the state that is currently selected.
25. Close Symbol Factory, by right clicking the icon in the task bar, and selecting Close window.
44 of 126
The Tag Browser is used to view and select tags from the device selected in the RSLinx Enterprise setup
earlier in the lab.
Sections of the Tag Browser
Three portions of the tag browser should be noted:
Folders Used to browse a shortcuts Controller and Program tags, as well as User Defined Tags
Tags Used to select a specific tag from the selected folder
Tag Filter Shows only those tags that start with the filter entered by the user. Pressing Enter will apply the
filter to the tag area.
28. Right-click on the Intro item in the Folders list; select the Refresh All Folders item.
Alternatively, you can use the Refresh All Folders button, located near the bottom of the Tag Browser:
29. Double click the Intro folder, then double click the Online folders to expand them.
45 of 126
31. In the Tag Area, locate and select the tag Pelleter_Running.
The Name column of the tags area may need to be resized in order to read the full tag name.
Note that the Selected Tag text box reflects your selection.
46 of 126
Notice the Value connection has been updated with the path to the tag specified using the tag browser.
Note: The screen will display the last State selected in the Properties Dialog. Therefore, your MAIN scren may look different
than the picture above.
35. Draw the Numeric Display above the pushbutton by clicking and holding the left mouse button, then drag down
and to the right to create the object:
47 of 126
48 of 126
Text Bold
Back color Light Gray (click on the color square to open the color pallet)
Fore color Black (click on the color square to open the color pallet)
Height: 50
Width: 100
49 of 126
40. In the Value row, click the Browse button in the Tag column to open the Tag Browser.
41. In the Folder pane, expand the path Intro > Online > Program:Extruder_Control.
50 of 126
43. Click OK to complete the connection configuration, and OK again to close the properties dialog for the Numeric
Display.
44. Save the MAIN display using the File>Save menu item.
51 of 126
When the runtime MER file is built, the system loads the runtime MER into an emulation mode. The application will appear
in the upper left-hand corner of the computer monitor.
2. To test the objects that have been created, click on the Start Pelleter
button.
The color is now an illuminated green, and the caption reads Stop Pelleter. The numeric display is showing a value other
than 0.
52 of 126
53 of 126
54 of 126
1. In the Explorer pane, under Graphics, right click on Images, and select Add Component Into Application
3. Select all the images by pressing the Ctrl and A keys on your keyboard, and click Open.
The images that have just been added to the application are of the Bitmap format. Now, add 5 PNG files that will be used
later.
55 of 126
4. In the Explorer pane, under Graphics, right click on Images, and select Add Component Into Application
Using this filter makes the browser show the five png files found in this folder.
56 of 126
6. Select all of the png files using Ctrl and A on the keyboard, and select Open.
57 of 126
1. Right click on Tags and select Open to open the HMI tag database.
2. Enter the following (items 1-5) to create the first tag, Alarm_Analog1, and click Accept.
58 of 126
3. Click Next, and enter the following to create the second tag Alarm_Analog2. Click Accept.
4. Click Next and enter the following to create a digital tag, Alarm_Digital1. Click Accept.
5. Click Next and enter the following to create the final tag, Trip_Point. Click Accept.
Note the Initial Value of 65 this value will appear later in the Alarm section.
59 of 126
Alternatively, the Alarm Setup dialog can be opened by double clicking Alarm Setup.
60 of 126
Messages
For each defined alarm event, the designer can configure the message that corresponds to that alarm the
text of the message, as well as the look of the message.
61 of 126
Advanced
The HMI designer can specify the display used when an alarm is triggered, as well as other advanced
settings, such as the size of the alarm log and any optional tag connections needed.
62 of 126
3. Click the Exprn button to open the Expression editor the first trigger will use a short expression.
63 of 126
64 of 126
11. Copy and Paste the following expression into the expression editor.
If {Alarm_Analog2} > 65 Then 65 Else 0
Fell free to use the Check Syntax button to verify that the expression has been entered correctly.
12. Click OK twice to assign the expression to the Alarm Triggers list.
The alarm is now in the trigger list.
15. Select Alarm_Digital1, and click OK twice to select the tag and assign it to the trigger.
65 of 126
16. Click the Messages tab to assign trigger values and messages to the alarm triggers you created.
17. Click the Trigger drop down list, and select {Alarm_Analog1} > 200 to assign the first trigger.
19. Type Tank Level > High Alarm in the Message field.
66 of 126
21. Use the Trigger menu to select the If {Alarm_Analog2} > 65 trigger.
24. Again, leave the rest of the settings at the default values.
67 of 126
68 of 126
The Preconfigured_Buttons display contains several buttons that have already been configured for you. The buttons,
when pasted into other displays, will paste to the same location as they appear on the Preconfigured_Buttons display,
since their size and location properties are retained.
button and copy it by right clicking and selecting Copy or use Crtl+C on
33. Minimize the Preconfigured_Buttons display, and paste the button onto the MAIN display by pressing Ctrl+V
on your keybarod.
69 of 126
The button you pasted is a Goto Display pushbutton that is configured to open the ALARM_GENERATOR display that has
a bitmap image assigned to it (Icon-Alarm).
70 of 126
34. Close the MAIN display and save the changes when prompted.
35. Close the Preconfigured_Buttons display and click No when prompted to save changes.
Testing the Alarms
1. Test the application on the Desktop by selecting the Running man
Note that screen that opens may not match exactly the picture below.
71 of 126
pushbutton to simulate a digital alarm. Notice that the Alarm banner opens.
This example is using the digital alarm that was configured previously. When the momentary button is pushed, the
Alarm_Digital1 tag value changes from 0 to 1 which causes the alarm to trigger.
4. Click the
The example uses an expression for the alarm trigger. When the tag reaches a value greater than 200, the expression is
evaluated as true, and its value is 1.
72 of 126
7. Click the
8. Click the Down arrow repeatedly until a value below 200 is reached.
9. Click your mouse onto the slider and leave it clicked while you move the slider up past the Alarm Trip Point.
Make sure to move the slider above the Alarm Trip Pt on the screen.
This alarm also uses an expression once the value of the tag is greater than 65, the alarm will trigger, and the Alarm
Banner will open.
button to close the Alarm Banner, and move the slider down below the Alarm Trip Point.
11. Push the X key on your keyboard to shut down the application.
73 of 126
For this application, a new display with an Alarm List will be created.
2. Now, select Objects > Advanced > Alarm > Alarm List.
74 of 126
3. Using the left click button, draw a rectangle on the new display, starting in the upper left corner, and extending
about three-quarters of the way down.
5. Uncheck the Display column for the following items by selecting each one, then clicking the Display Column
box:
Acknowledged symbol
Active symbol
Acknowledge time
For this application, we only want to display the Alarm time and Message on the Alarm List.
75 of 126
8. Enter Alarm History for the display name, and click OK.
Next, buttons that will be used to navigate to and select alarms, as well as navigate to other displays, will be added to this
screen.
9. Go to Objects, then select Advanced > Alarm > Clear Alarm History.
10. Using the left click button, draw a rectangle in the lower left corner of the display.
The Clear Alarm History button properties configuration dialog pops up.
76 of 126
14. Using the left click button, draw a small square next to the Clear History button.
77 of 126
15. On the General tab, use the Send press to: drop down menu to select Linked Object.
16. Click the browser button for Linked object to bring up a list of objects to assign the button press to.
78 of 126
22. Minimize the Preconfigured Buttons display and paste the button onto the Alarm History display.
Your display should look similar to what is shown below:
23. Close the Alarm History display and save your changes when prompted.
Next, a button will be added to the MAIN display to navigate to the Alarm History display.
24. Double click the MAIN display in the Project Explorer pane to open it.
79 of 126
25. Restore the Preconfigured Buttons display and copy the Alarm History
button.
26. Close the Preconfigured Buttons display (do not save any changes) and paste the Alarm History button onto
the MAIN display.
The MAIN display should now look similar to what is shown below:
The Goto display button just added is assigned to the Alarm History display.
80 of 126
27. Close the MAIN display and save the changes when prompted.
Testing the Alarm History Screen
1. Test the application on the Desktop by selecting the Running man
2. Generate some alarms, then navigate to the Alarm History screen by clicking the Alarm History Goto Display
button.
Refer to the previous section for instructions regarding generating the alarms.
Notice how the alarms appear in the list. The Alarms that are in the Alarm List object are also saved to an alarm log (also
called the alarm history). This log can store up to 10,000 alarms. The alarm history size is defined in the Alarm Setup
under the Advanced tab. The default log size is 128 messages.
Pressing the Clear History button will clear all alarms stored in the alarm log file.
3. Shut down the test application by pressing the letter X on your keyboard.
Congratulations! You have successfully configured alarms for a FactoryTalk View Studio for Machine Edition application.
81 of 126
82 of 126
1. Right click the Global Objects folder in the Project Explorer and select Add Component Into Application
4. Open the Screen Objects display that was just added under Global Objects.
Explore this object to determine where tag placeholders are being used.
83 of 126
The object on the Screen Objects global display is created of many grouped elements. Using the Object Explorer will
provide an easy way to select the individual components that make up the full global object.
84 of 126
This is a tag placeholder that has been assigned to this setting in the global object. The placeholder will be replaced with
the appropriate Silo number at runtime.
The numeric display will show the value of the Lower Hopper Level at runtime for the appropriate silo.
85 of 126
13. Click the Connections tab, then click the Expression browser button.
This expression sets the state value of the multistate indicator. Three states have been configured that will be used to
indicate the present state of the silo: Filling, Filled, and Emptying.
86 of 126
14. Close the Expression Editor and the Multistate Indicator Properties configuration dialog.
15. Using the Object Explorer, open Text9.
16. Close the Text Properties configuration dialog and the Object Explorer.
Now, lets assign the parameter definition for the Global Object.
17. Right click on the global object, and select Global Object Parameter Definitions.
87 of 126
18. Enter #1 and Silo Number as shown below, and click OK.
This placeholder will be used for the full global object. Now, when the global object is used on a display, its parameter can
be specified. In the next section, this functionality will be explored.
19. Close the Screen Objects display, and save the changes when prompted to do so.
Using Reference Objects and Parameters
Two screens on which the global object will be used have been created in advance, and must be added to this application.
88 of 126
3. Select the Vacuum Silo Group.gfx and Vacuum Silo.gfx files, and click Open.
5. Copy the Silo global object by right-clicking the object and selecting Copy.
89 of 126
8. Click and drag the new object to the lower left area of the screen.
90 of 126
9. Copy and paste the Silo object three more times, until there are 4 copies of it on the display.
Now the parameter value for the #1 place holder will be assigned.
10. Right click the first global object, and select Global Object Parameter Values.
91 of 126
Remember the #1 placeholder that was configured in the global object. At runtime, the placeholder will be replaced with the
number 1.
Use the steps below to assign the parameter values for the remaining objects.
12. Repeat steps 10 and 11 for the remaining objects, entering 2, 3 and 4 respectively.
Each of the reference objects will now use values 1, 2, 3, and 4 to replace the placeholder #1 at runtime.
This display will be reused to show data for each of the silos. In this case, the placeholder #1 is used to represent the Silo
number. However, the value for this placeholder is provided using the parameter list.
92 of 126
Notice that #1 is in place of the Silo number. This placeholder will be replaced by the silo number at runtime.
5. Close the Multistate Indicator Properties configuration dialog and the Object Explorer.
6. Close the Vacuum Silo display. Do not save any changes.
7. On the Vacuum Silo Group display, double click one of the Silos in the middle of the tank.
93 of 126
In this example, the first Silo was double clicked. Notice that the Display called is the Vacuum Silo display. The
Parameter list has also been configured, sending the value of 1 to the placeholder used within the Vacuum Silo display. If
more than one placeholder had been used on the Vacuum Silo display, replacement values should be configured in the
Parameter list, separated by commas, in order. For example, if the parameter list is {X}, {Y}, and {Z}, X is sent to #1, Y to
#2, and Z to #3.
94 of 126
When the Cross Reference is complete, the window will update with the number of components that contain BlockComms.
It is now possible to find out exactly where a specific tag or shortcut is used in an application.
In this example, 10 components were found. Double clicking any of these items will take the user to the specific
component. It is now possible to access that tag and manually change the tag name. However, some of the components
use expressions, in which the term BlockComms is used multiple times.
Use the Search and Replace functionality to make these changes.
95 of 126
5. Enter BlockComms into the Find what: box, and Intro into the Replace with: box.
96 of 126
When the process is complete, a list of successful or failed attempts will be shown.
button.
12. Close the Preconfigured Buttons display and paste the Vacuum Silo button onto the MAIN display.
Remember, the button will paste into the desired location on the screen.
97 of 126
13. Close the MAIN display and save the changes when prompted.
Testing Global Objects and Parameters
1. Test the application on the Desktop by selecting the Test Application
2. Click the Vacuum Silo
button.
The data and states of the 4 silos are shown using one global object. Notice the mustard yellow color when the state of the
Silo is Filling.
Notice how the Vacuum Silo display changes the values/colors shown depending on the tank that was selected.
4. Click the X key on your keyboard to shut down the test application.
Explore the Link between Base and Reference Global Objects
Now, lets change the background color of the multistate indicator for all 4 silo data objects.
98 of 126
5. Click the square next to Back color to bring up the color palette.
99 of 126
6. Select a shade of light green, and click OK to apply the change and close the Properties dialog.
7. Close the Screen Objects display, and save the changes when prompted.
8. Test the application on the Desktop by selecting the Running Man
button.
Notice that the background color of the Filling state of all 4 Silos is now a light green color. A few minutes may need to
pass for all 4 silos to enter the Filling state at least once they do not go into a specific state at the same time.
100 of 126
Language Switching
The FactoryTalk View Machine Edition Language Switching functionality makes it possible to create a single application that
can be used in multiple locations. For the lab, this application will be modified so that it can be used in China, Germany, Italy
and Spain, as well as the United States.
2. Click Add to open the list of languages that can be added to the application.
3. Add the following languages to the application, by selecting the language, then clicking OK.
Note that each language must be added one at a time.
101 of 126
6. Ensure the settings are selected as shown below, and click Next.
102 of 126
8. If the Excel window does not open automatically, click on the Microsoft Excel icon in the Windows taskbar.
Notice the column headings and how the languages are shown. Any text that is not translated is shown as
**UNDEFINED**.
New strings for each language can be translated manually. Alternatively, the FactoryTalk View Translation Utility can be
used. This utility uses Microsofts Bing Translator. In this lab, the strings for two objects on the MAIN display will be
translated manually.
103 of 126
104 of 126
13. When finished, close and save the Microsoft Excel file.
14. Close the Microsoft Word document.
15. On the Language Configuration dialog, click the Import button.
16. Select Import strings from an Excel spreadsheet into all application languages defined in the
spreadsheet, and click Next.
105 of 126
Note that the default path for this Excel file is C:\Users\Public\Documents\RSView Enterprise\Strings.
106 of 126
20. Once the import is complete, click OK to exit the Language Configuration dialog.
Adding Language Switch Buttons
Specialized Language Switch pushbuttons have been built into FactoryTalk View Studio in order to make it easier for users to
alternate between languages during runtime. These buttons are simple to add and configure for each language used in the
application. A total of 5 languages have been configured in this application, so 5 Language Switch pushbuttons need to be
added as well.
107 of 126
3. Add the button to the lower left corner of the MAIN display, by holding down the mouses left button and drawing
a square.
4. Leave the Language configured for English.
108 of 126
6. Click the Label tab, and click the Image browser button.
Note the format of this image is PNG. When FactoryTalk View Machine Edition version 7.0 released, it
included the ability to utilize the PNG image format. A PNG image is a high quality, high resolution file, and
supports transparency. Additionally, a PNG file will not decrease in sharpness when resized.
109 of 126
10. Click OK to apply the changes and close the Properties dialog box.
The MAIN display should now look similar to the one below:
Language Switch buttons are needed for the remaining languages configured for this application. They have been created
and reside in the Preconfigured Buttons display.
110 of 126
13. Close the Preconfigured Buttons display and paste the buttons onto the MAIN display.
Remember, the buttons will paste in the desired location.
14. Close the MAIN display, and save the changes when prompted.
Testing the Language Switch Application on the Terminal
Remember, to test the application on the physical PanelView Plus terminal, a runtime file (.MER) must be created and
downloaded to the terminal.
111 of 126
5. Select all the languages to include in the runtime file, and click Finish.
This dialog will close when the application has been created.
6. To download the MER to the terminal at your workstation, select Tools > Transfer Utility.
112 of 126
8. Select 192.168.1.20, PanelView Plus_7 Performance 1200W in the Select destination terminal: tree.
9. Click the Download button. If prompted to overwrite the existing file, click Yes.
During the download, a progress dialog will update.
10. Click OK to acknowledge the dialog that the download completed successfully
113 of 126
114 of 126
5. Once it has successfully loaded, press the Run Application [F2] to start the runtime file.
After the start-up process is complete, you should see the startup display.
6. Click the Language Switch buttons and notice how the text changes for the 2 objects that were translated on the
MAIN display.
7. When finished, press the Shutdown
Congratulations!
You have successfully added languages to the application, translated the text strings of two objects, and added Language
Switch pushbuttons.
115 of 126
to select it.
2. Right-click on EtherNet, Ethernet item to open the context menu, and select Add Device.
3. Click Add Device which opens the Add Device Selection dialog.
4. Expand the EtherNetIP Devices item by clicking the expander
5. Select the expander
116 of 126
to accept the selection. This action opens the Device Properties dialog.
8. Enter 192.168.1.1 in the Address field to set the devices TCP/IP address.
9. Change the selected Slot to 3.
117 of 126
11. Use the expander to open the 192.168.1.1, SoftLogix5800 EtherNet/IP, SoftLogix 5800 EtherNet/IP device.
12. Right-click the 1789-A17, 1789-A17 Virtual Chassis item and select Add Device.
14. Select the 1789-L60/A SoftLogix 5860 Controller, Major Revision 21 item.
118 of 126
119 of 126
Confirm both the Design and Runtime devices are assigned for shortcut Intro.
21. Close the Shortcut Verifier dialog by clicking the Close button
120 of 126
Lab Information
Lab Name
Lab Description
Lab Creator
Date Created
Updates:
2 GHz CPU
4 GB RAM
1
1
1
Communication
USB Mouse
Configured for
DHCP
IP Address:
192.168.1.1,
Subnet:
255.255.255.0
Ethernet adapter.
Ethernet adapter.
1
Firmware
Location
121 of 126
IP Address:
192.168.1.20,
Subnet
255.255.255.0
8.00.XX or later
Computer/Host Settings
Location
Computer Name
IP Address (NIC 1)
IP Address (NIC 2)
Operating System
Files
Varies by machine
DHCP connected to Event classroom network
Host computer TCP/IP setting: DHCP
VMware image TCP/IP setting:
IP Addr: 192.168.1.1
Subnet: 255.255.255.0
Windows 7 Professional
122 of 126
Application/Programming
Student Station
PanelView Plus 6 1250
High level Tank 02
ON
ON
Level H234
PLANT J45
Temp.:
123deg
Press.:
12Pa
Level:
4,5m
Tank
02
Start/Stop
Auto
Manual
ON
ON
ON
OFF
ON
ON
P
P
P
P
P
P
Na
H2O
Ca
Li
Pb
Cu
Force
345
34
LL
Setpoint
Output
L
HH
React. A
Output:
ON
M
Waste
Temp.: 123 gr
Speed: 56 m/s
Tank 01
React. B
Tank 02
React. C
Converter
Tank 03
React. D
Tank 04
React. E
F1
F7
F2
F8
F3
F9
F4
F10
F5
F11
F6
F12
12
102
31
IP Addr: 192.168.1.20
Subnet: 255.255.255.0
CAT5E cross-over
cable
NIC 2
Host computer TCP/IP setting: DHCP
VMWare image TCP/IP setting: IP Addr 192.168.1.1
Subnet 255.255.255.0
NIC 1
Host computer TCP/IP setting: DHCP
CAT5E cable
To Classroom network
DHCP assigned IP
123 of 126
Location
C:\Lab Files\ViewME View ME Introductory \PVP
C:\Lab Files\ViewME View ME Introductory \SoftLogix
C:\Lab Files\ViewME View ME Introductory \ViewME
Files
None required.
Block_Machine.acd (Slot 2)
Translated Word doc for languages & prebuilt
displays and graphics for a PVP7 Performance
12" W terminal size
Items
Ethernet CAT5E cable 5ft (used with PanelView Plus terminal)
Ethernet CAT5E cable 5ft (used with Event classroom network)
PanelView Plus 7 Performance 12W
Path to Hardware
N/A
Path to Hardware
Virtual backplane driver to be able to download the acd file to the SoftLogix
v21 controller in slot 2 (if running this lab independent of the VM Image
Path to Hardware
Ethernet, Ethernet > 192.168.1.1 > Backplane > 2, 1789-L60 v21
124 of 126
Application Versions
Vendor
Software
Version
Service Pack
3.62.11
CPR9 SR6.1
Rockwell
FactoryTalk
Activation
Manager
Rockwell
FactoryTalk
Diagnostics
2.71.00
CPR9 SR7.1
Rockwell
FactoryTalk
Service Platform
2.71.00
CPR9 SR7.1
Rockwell
FactoryTalk View
Machine Edition
8.00.00
CPR9 SR7
Rockwell
RSLinx Enterprise
5.70.00
CPR9 SR7
Rockwell
RSLinx Classic
3.71.00
CPR9 SR7.1
Rockwell
Studio 5000
21.00.00
CPR9 SR5.1
Rockwell
SoftLogix 5800
21.00.00
CPR9 SR5.1
Rockwell
Microsoft
.NET Framework
Internet Explorer
PanelView Plus
7 Performance
10
Rockwell
8.00.xx
125 of 126
126 of 126