View Machine Edition USER’S GUIDE PUBLICATION VIEWME-UM004J-EN-E–August 2014 Supersedes Publication VIEWME-UM004I-EN-E
Contact Rockwell Customer Support Telephone — 1.440.646.3434 Online Support — http://www.rockwellautomation.com/support/ Copyright Notice © 2014 Rockwell Automation, Inc. All rights reserved. Printed in USA. This document and any accompanying Rockwell Software products are copyrighted by Rockwell Automation, Inc. Any reproduction and/or distribution without prior written consent from Rockwell Automation, Inc. is strictly prohibited. Please refer to the license agreement for details.
Contents Preface About the documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Find the information you need . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Try the User's Guide and Help first . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Information on the Internet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Contact Rockwell Automation Technical Support . . . . . . . . . . .
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Close editors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-12 Enter information in spreadsheets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-12 Print . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-13 Select a printer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Open and edit applications from earlier versions of RSView or FactoryTalk View ME. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-9 Close applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-10 Rename, copy, delete, back up, and restore applications . . . . . . . . . . . . . . . . . . . . 4-10 About project settings. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Use expressions to manipulate tag values. . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-11 Substitute tag names used in graphic objects . . . . . . . . . . . . . . . . . . . . . . . . . 6-11 Log tag values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-12 Use macros to assign values to tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9 • Set up alarms About alarms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-1 Multiple language alarm messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-2 Other multiple language alarm features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-2 Summary of steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-2 Set up alarms. . . . . . . . . . . . .
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE How the Message Notification connection works . . . . . . . . . . . . . . . . . . . . . 9-23 How the Message Handshake connection works . . . . . . . . . . . . . . . . . . . . . . 9-23 Connections that apply to all alarms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-23 How the Silence connection works. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-24 How the Remote Silence connection works . . . . . . .
10 • Set up FactoryTalk Diagnostics About FactoryTalk Diagnostics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-1 Browse diagnostics messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-1 How to set up FactoryTalk Diagnostics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-1 Destinations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-2 Message routing . . . . . . . . . . .
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Set up users for 3.20 and earlier applications . . . . . . . . . . . . . . . . . . . . . . . . . 11-9 Change RSView 3.20 and earlier user passwords . . . . . . . . . . . . . . . . . . . . . 11-9 Add 3.20 and earlier users or groups from a Windows domain . . . . . . . . . . 11-10 Remove 3.20 and earlier users or groups . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-11 Assign security to graphic displays . . . . . . . . . . . . . . . . . . .
Excel spreadsheet file name format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-7 Exported language string file locations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-8 Problems exporting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-8 Translate application text in Excel spreadsheet files . . . . . . . . . . . . . . . . . . . . . . . 12-9 Translate application text in Unicode files. . . . . . . . . . . . . . . . . . . . . .
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE 15 • Run applications on a personal computer Summary of steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-1 Move applications to the run-time computer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-3 Start FactoryTalk View ME Station . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-3 Load and run applications . . . . . . . . . . . . . . . . . . . . . .
tion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-2 Configure FactoryTalk View ME prior to 8.0 terminals for Domain authentication 17-5 Access network resources from a terminal. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-6 Log in to the application. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-7 4.00 and later applications . . . . . . . . . . . . . . . . . . . . . . . . . . .
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE 18 • Work with components Editors that have components. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18-1 Work with components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18-1 Create components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18-2 Open components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Location of library components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19-19 Import images into your application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19-20 Bitmap images that come with FactoryTalk View Studio . . . . . . . . . . . . . . 19-21 Import bitmap, PNG, and JPEG images . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19-21 Use the Image Browser to import images. . . . . . . . . . . . . . . . . . . . . . . . . . .
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Create rectangles and squares . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-20 Create rounded rectangles and squares. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-20 Use .wmf and .dxf files. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-22 Use ActiveX objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
21 • Set up graphic objects Set up objects’ spatial properties, names, and visibility. . . . . . . . . . . . . . . . . . . . . 21-2 Tips for setting up objects with states . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-3 Copy and past properties from one state to another . . . . . . . . . . . . . . . . . . . . 21-3 Add and remove states . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-3 Set up how objects are used at run time . . . . . . . . . .
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE How to use indicators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-39 Set up multistate indicators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-39 Set up symbols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-41 Set up list indicators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Animation that does not use a range of motion . . . . . . . . . . . . . . . . . . . . . . . 22-7 Use Object Smart Path . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-7 Set up the different types of animation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-9 Set up visibility animation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-9 Set up color animation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE If-then-else . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23-16 Nested if-then-else . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23-17 Use write expressions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23-18 24 • Use embedded variables About embedded variables . . . . . . . . . . . . . . . . . . . .
Show data logs using the trend graphic object . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26-5 Problems with data logging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26-5 27 • Use information messages About information messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27-1 Information messages versus local messages . . . . . . . . . . . . . . . . . . . . . . . . . 27-1 Summary of steps . . . . . . . . . . . . . . .
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Pen markers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28-7 Chart types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28-7 Standard vs. XY Plots. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28-7 Isolated graphing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Run macros when tags or expressions change value . . . . . . . . . . . . . . . . . . . . . . . 30-3 Where to assign macros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30-4 A • Convert PanelBuilder 1400e applications Terminology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-1 Summary of steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Bit array tags. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-8 Convert RIO communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-9 Unsupported PanelBuilder RIO tags. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-9 Unsupported graphic object features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
H • Import and export graphics XML files About XML . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Create graphics XML files by exporting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Edit XML files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Save XML files in Notepad . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Test XML files . . . . . . .
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE xxvi
Preface FactoryTalk View Machine Edition is a member of the FactoryTalk View family of products. It is an integrated package for developing and running automation applications. Review operating system requirements FactoryTalk View ME software is supported on these Microsoft Windows operating systems: Operating System 32 bit 64 bit Windows Server 2012 R2 Standard Edition X Windows Server 2012 Standard Edition X Windows 8.1 Enterprise Edition X X Windows 8.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Operating System 32 bit Windows XP Professional with Service Pack 3 X Windows Server 2003 R2 Standard Edition with Service Pack 2 X 64 bit X For the latest information regarding software platform support, refer to http://www.rockwellautomation.com/compatibility/#/scenarios. PanelView Plus and PanelView Plus CE terminals running Microsoft Windows CE 4.1 PanelView Plus 6 terminals running Microsoft Windows CE 6.
Help: Online procedures and reference information. Help is available from the Help menu in FactoryTalk View Studio. Find the information you need You have many options for finding information about how to use FactoryTalk View, or how to solve problems with FactoryTalk View. Try the User's Guide and Help first The User’s Guide and Help provide comprehensive information about typical uses of FactoryTalk View. Chances are, your question is answered in the documentation.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Support staff are available Monday to Friday from 8:00 A.M. to 7:00 P.M. Eastern Standard Time (North America only), except on statutory holidays. When you call When you call, be at your computer and be ready to give: The product serial number. You’ll find this number on the Activation disk label and in the About FactoryTalk View Studio dialog box available from the Help menu in FactoryTalk View Studio. The product version number.
1 Getting Started FactoryTalk View Machine Edition is software for developing and running humanmachine interface applications. FactoryTalk View Machine Edition is designed for monitoring and controlling automated processes and machines. For information about installing FactoryTalk View Machine Edition, see the FactoryTalk View Machine Edition Installation Guide.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Application Documenter is software that provides detailed information about FactoryTalk applications. Application Manager is software for renaming, copying, deleting, backing up, and restoring applications. DeskLock is the software that prevents Windows Server 2012, Windows 8.1, Windows 8, Windows 7, Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP users from exiting the FactoryTalk View application at run time.
FactoryTalk tools FactoryTalk tools are installed when you install FactoryTalk Services Platform. They are available from the Windows Start menu. To start FactoryTalk tools From the Windows Start menu, select Programs > Rockwell Software > FactoryTalk Tools, and then select the tool to start. FactoryTalk Activation Manager FactoryTalk Activation Manager is automatically installed when you install FactoryTalk View. It is available from the Windows Start menu.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE 1-4
2 Explore FactoryTalk View Studio This chapter describes: Start and exit FactoryTalk View Studio. Open sample applications. Explore the FactoryTalk View Studio main window. Use the Explorer window. Work with editors. Enter information in spreadsheets. Print information in editors. For information about working with editors’ components, see Chapter 18 in the FactoryTalk View Machine Edition User’s Guide.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Open sample applications The sample application is designed for screen resolution 800 x 600. When you first install FactoryTalk View, sample applications are accessible to all users. For information about setting up users and granting them access to applications, see Chapter 11. To open the InstantFizz_ME sample application 1. Start FactoryTalk View Studio. 2. In the Existing tab, select InstantFizz_ME. 3.
The default location for the HMI projects folder is: C:\Documents and Settings\All Users\Shared Documents\RSView Enterprise\ME (Windows XP, and Windows Server 2003) or Users\Public\Public Documents\RSViewEnterprise\ME (Windows Server 2012, Windows 8.1, Windows 8, Windows 7, Windows Server 2008, and Windows Vista) For more information about security, see Chapter 11. To set up write access for any Windows Security Group 1. Right-click the HMI projects folder, and then click Properties. 2.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Explore the FactoryTalk View Studio main window Title bar Menu bar Toolbar Explorer window Workspace Diagnostics List Status bar The menu bar The menu bar contains the menu items for the active window. Each editor has its own set of menus.
The toolbar The toolbar contains buttons for commonly used menu items so you can have quick access to the items without opening the menu. When you point to a button on the toolbar, the button name is shown in a tooltip and in the status bar. Tooltip All editors use the Standard toolbar. The Graphic Displays, Graphic Libraries, Runtime Security, and Tags editors have additional toolbars. The Explorer window The Explorer window has two tabs: the Application tab, and the Communications tab.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE To undock the Diagnostics List, drag the grab bars at the bottom left of the Diagnostics List. If you can’t see the grab bars, drag the top edge of the Diagnostics List to make it a bit larger. To detach the Diagnostics List, drag the grab bars. To prevent the Diagnostics List from docking automatically while you move it across the screen, hold down the Ctrl key on the keyboard while you move the Diagnostics List.
Workbook tabs If you select Workbook Mode from the View menu, the workspace shows tabs at the bottom for each open editor or component. Workbook Mode allows you to bring forward an open item more quickly than by using the Window menu.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Show and hide items in the main window You can show or hide all the items in the main window (except the menu bar) by clicking the items on the View menu. The status bar, Explorer window, Diagnostics List, and Standard toolbar are visible. Workbook Mode is turned on. To hide or show the Explorer window On the View menu, click Explorer Window, or click the Explorer Window tool on the toolbar.
The top icon is FactoryTalk Directory. This application contains two servers. 1. The application’s HMI server contains editors for setting up your application and the components you create. Click the - symbol to close a folder Click the + symbol to see the list of components for an editor. Components are listed below the editor’s icon when you open the folder. 2.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE View the Explorer window You can view the Explorer window in a number of ways: As a docked window. When docked, the explorer is always on top of other windows that it overlaps. You can dock the explorer to any edge of the main window. As a floating window. When floating, the explorer is always on top of other windows that it overlaps, but you can move it to different locations in the main window. As a “child” window.
View an editor's components With some editors you enter information in a single window or a tabbed dialog box. Other editors allow you to create multiple components, such as graphic displays or message files. Each component is stored in a separate file, with its own name.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Right-click the editor’s icon, and then click New or Open. If the editor can create multiple components, the shortcut menu contains New. If the editor can only open a single component, the menu contains Open. From the Tools menu, select the editor you want to open. Close editors To close an editor Click the close button on the editor’s title bar, or From the File menu, select Close.
These editors contain spreadsheets: Tags Runtime Security (formerly User Accounts) Global Connections Local Messages Alarm Setup Information Setup Information Messages Macros RecipePlus Editor In the Graphics editor, many of the Properties dialog boxes for setting up graphic objects contain spreadsheets for assigning tags or expressions to the objects. To enter information in a cell in a spreadsheet Click the cell, and then type the information.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE To print an editor’s contents 1. Open the editor. 2. From the File menu, select Print. 3. Click OK. Select a printer You must install a printer before you can select it. For information about installing a printer, see your Windows documentation. The Print Setup menu item in FactoryTalk View Studio applies to your development computer only.
Select printer setup options For detailed information about printer options, refer to your Windows documentation. Select a network printer FactoryTalk View Studio can print to a network printer. For detailed information about setting up network printers, refer to your Windows documentation. Print at run time Print graphic displays at run time using the display print button or using a remote display print. You can also send diagnostics and alarm messages to a printer at run time.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE 2-16
3 Plan applications A well-designed application requires planning. To help you plan, this chapter describes: Understand the machines and processes you’re automating. Collect data. Design an HMI tag database. Plan graphic displays and navigating between them. Plan languages. Plan alarms. Provide information for the operator. Plan trends. Plan recipes. Design a secure system.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Collect data When planning data collection, design your system so only essential data is collected. Limiting data collection is important because collection activities require substantial processing power and generate a lot of traffic on the network. Keep data collection requirements in mind when designing the layout of the programmable controller data tables and the HMI tag database.
Group tags in the way that makes the most sense for your application. For example, group all similar devices or group related areas of the plant floor. When creating tags, place related tags into folders. For greater organization, nest folders. Plan graphic displays When planning displays, determine the best way for users to navigate through your displays and develop a template to establish a common look and feel for your displays.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Create a template to ensure consistency It is possible to keep a consistent appearance among all the displays in an application by presenting the same pieces of information in the same place on each graphic display. To ensure uniformity, develop a display with common elements that acts as a template. Each time you develop a new display, start with a duplicate of the template. For example, the template could contain: Your company logo. A title.
Some people are color blind to red and green so don’t rely on color alone to establish meaning. Use high contrast color combinations, such as yellow on blue. Display Types On Top display type is used to position the display in front of any other display that is already open at run-time. Replace display type is used to have the display close any open displays on the screen at run-time. Replace displays do not close displays of the type On Top that have the Cannot Be Replaced option selected.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Plan alarms Before setting up alarms, plan: What conditions will trigger alarms. How operators will be notified of alarms. What information you want alarm messages to contain. How operators will respond to alarms. The maximum number of alarm messages supported at run time. See page 4-5 for alarm restrictions on PanelView Plus Compact terminals as well as Windows, PanelView Plus and PanelViewPlus 6.
Analyze process trends? Monitor production efficiency? Archive process variables to ensure compliance with government regulations? Based on such considerations, you can determine: Which tags need to be plotted on the same trend. Which tags need to be logged by using a data log model. For information about setting up data logging, see Chapter 26. For information about creating trend graphic objects, see Chapter 28. Plan recipes When planning recipes, consider how they will be used.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Use the DeskLock tool on Windows platforms to prevent users from switching to another application at run time (for applications that will run on personal computers). You can use this tool to set up a customized desktop and to prevent access to Windows® functions. Based on these considerations, you can set up security for individual users or groups of users.
4 Work with applications This chapter describes: Application files. Create, import, open, and close applications. Rename, copy, delete, back up, and restore applications. Specify project settings. View application properties. View HMI server properties. What is an application? An application is the software application you create in FactoryTalk View Studio to monitor and control your plant processes.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE C:\Users\Public\Public Documents\RSView Enterprise\ME\HMI projects (Windows Server 2012, Windows 8.1, Windows 8, Windows 7, Windows Server 2008, and Windows Vista) Run-time application file The run-time application consists of a file with the extension .mer. For information about creating the run-time application, see Chapter 14. Component files Component files are located in folders in the HMI project folder, as described in the following table.
C:\Users\Public\PublicDocuments\RSView Enterprise (Windows Server 2012, Windows 8.1, Windows 8, Windows 7, Windows Server 2008, and Windows Vista) This folder Contains File extensions Images Image files for use on graphic objects .bmp ME\Archives ME archive application files .apa ME\Libraries Graphic library component files and image files .gfx used in the library displays .bmp ME\Logs\Runtime Application Name\ Dlglog\Data Log Model Name Data log files for applications that have run on .
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Data log file locations You can also store data log files in a different location on the run-time computer, on a networked computer, or on a PC card. For more information, see Chapter 26. Naming files File names, including the path, can be up to 200 characters long (file names can contain spaces).
2. In the New tab, in the Application name box, type a name for your application, up to 32 characters long. 3. If desired, type a description of the application. If you don’t type a description now, you can add one later, as described on page 4-18. 4. Specify a language for the application. For information about using different languages, see Chapter 12. 5. Click Create. FactoryTalk View Studio creates the application’s folders and files, and then shows the new application in the Explorer window.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE PanelBuilder and PanelBuilder32 files can be in either development format (*.pba) or runtime terminal format (*.pva). PanelBuilder 1400e files have the file extension *.pvc. When you import older application files, FactoryTalk View creates a copy of the application for the current version of FactoryTalk View. The older version is not altered. You can use current version application files to create previous version run-time files.
For more information about importing PanelBuilder 1400e applications, see Appendix A. For more information about importing PanelBuilder and PanelBuilder32 applications, see Appendix B. Open applications You can open an application when you start FactoryTalk View Studio, or once FactoryTalk View Studio is already open. Older RSView Machine Edition application files are converted to the current version of FactoryTalk View when you open them.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE 2. In the Existing tab, select the application to open. When you select an application from the Existing tab, the resolution and version that was last used to open the application is shown. 3. Specify a language for the application, and then click Open. For information about using different languages, see Chapter 12. 4.
or C:\Users\Public\Public Documents\RSView Enterprise\ME (Windows Server 2012, Windows 8.1, Windows 8, Windows 7, Windows Server 2008, and Windows Vista) For more information about security, see Chapter 11. To set up write access for any Windows Security Group 1. Right-click the HMI projects folder, and then select Properties. 2. In the Security tab of the Properties dialog box, select a Windows Security Group (for example, Power Users) from the list of groups and user names. 3.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Appendix G. For information about using multiple languages, see Chapter 12. For information about using global objects, see Chapter 19. Close applications To close an application From the File menu, select Close Application. If there are any unsaved changes in open editors, FactoryTalk View Studio asks you whether to save the changes before closing the application.
About project settings Project settings determine the general appearance of your run-time application, such as the size and position of the project window and whether a title bar appears in the project window. You can also change the setting for running Compact Machine Edition applications, and enable automatic logout of the current user. Since project settings affect how your graphic displays look, specify the settings before creating graphic displays.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE resolution of the screen in pixels. For information on setting the project window size, see page 4-17.
For this terminal or monitor Select this project window size PanelView Plus CE - 2000M 1600x1200 (Custom size) If you are creating an application for a PanelView Plus 7, PanelView Plus 6, or PanelView Plus 400 or 600 terminal: Resize the default message displays so that the entire message is visible. Reposition the [ALARM] display from the default position (0, 0), as this position is below the viewing area of the terminals.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE How the run-time screen resolution affects the pop-up windows FactoryTalk View comes with a pop-up Login window, as well as numeric and string popup windows for run-time data entry, and a Change Password window for changing user passwords at run time. FactoryTalk View sizes the pop-up window to occupy the center of the screen.
Compact Machine Edition application Applications intended for PanelView Plus Compact terminals have certain restrictions, such as the number of displays and alarm messages supported. Whether an application will be developed as a Compact Machine Edition application is specified when the application is first created. You can change that choice here at any time. Title bar If you select this option, a title bar is used for all Replace graphic displays.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Title bar for On Top displays For On Top displays, you can specify a different name to use in the title bar. Use the Display Settings dialog box to specify the name (for details, see Help). The title you specify in the Project Settings editor applies to all replace displays. You can specify a different title for each On Top display (using the Display Settings dialog box in the Graphics editor).
Specify project settings To specify project settings, use the Project Settings editor. For details about selecting options in the editor, see Help. You can change an application to PanelViewPlus Compact by selecting it in the Project window size list.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE View application properties You can view this information about your application: Application name Application description, if any To view application properties From the Application menu, select Application Properties.
To view HMI server properties In the Explorer window, right-click the HMI server name, and then select Properties.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE 4-20
5 Set up communications This chapter describes: Data servers. OPC (Open, Productive, Collaborative) communications. Creating data servers and setting up communications. About data servers Data servers provide access to devices, on the network, making it possible to browse, read, and write values fromFactoryTalk View applications.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE computers. RSLinx Classic and KEPServer Enterprise are OPC DA V2.05a compliant OPC servers. Create data servers An RSLinx Enterprise data server is created automatically with a new application. It is located under the application’s HMI server in the Explorer window, just above the FactoryTalk System folder. You can create additional OPC data servers for your application.
The Runtime (Target) tab is for identifying the connection from the run-time computer or terminal to the controller or other data server. If the paths are the same, use the Copy button to copy the Design configuration to the Runtime tab. For more information, see Help for RSLinx Enterprise. Set up an OPC data server Use a KEPServer Enterprise data server if you need to connect third party devices.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE For details about selecting options in the OPC Data Server Properties dialog box, see FactoryTalk View Machine Edition Help. Update data server caches If tags are added, modified, or deleted on the data server, you must update (synchronize) the cache manually. For information about updating the data server cache periodically after you create it, see FactoryTalk View Machine Edition Help.
1. Gather information about your network, and the devices that are connected to it. You will need this information to set up RSLinx Enterprise, KEPServer Enterprise, RSLinx Classic, or another OPC server. Do one of the following: If you want to use KEPServer Enterprise as the OPC server that enables communications on your network, set up KEPServer Enterprise on the development computer. For details, see KEPServer Enterprise Help.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE For applications that will run on a personal computer, the OPC server can be on a different (remote) computer than the run-time computer, but the remote computer must be on the same network as the run-time computer.
6 Work with tags This chapter provides general information about working with all kinds of tags. This chapter describes: Types of tags. When to use data server tags. Steps for using data server tags. When to use HMI tags. Steps for using HMI tags. Browse for tags and offline tags. Use the Tag Browser. Use tags and expressions in your application. Log tag values. Use macros to assign values to tags. For information about creating HMI tags, see Chapter 7.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE HMI tags In addition to direct referencing tags from data servers, FactoryTalk View allows you to create tags with additional properties such as minimum and maximum values, scale, and offset. These tags can reference values at an external data source, or store values in the run-time computer’s memory. Tags you create in FactoryTalk View are called HMI tags.
Use tag names that don’t exist You can type the name of a tag that doesn’t yet exist. If you do this, ensure that you spell every instance of the tag name consistently, and that when you do create the tag, you spell it the same way you did when you referred to it. When to use data server tags For some of the things you want to do in your application, you might not need to create HMI tags. Use direct references to tags located in devices instead, for example, tags located in an OPC server’s database.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE For more information, see Chapter 5. 3. In graphic displays, data log models, or anywhere else you want to use a tag’s value, create a direct reference to the tag. At run time, the tag’s value is passed to the graphic display or data log model. When to use HMI tags Use HMI tags to manipulate tag data and to store tag values in the run-time computer’s memory.
To store the result of a calculation. Temporarily, for example, a counter or index. To maintain information about the system’s current state, for example which graphic display was last opened. For information about creating HMI memory tags, see Chapter 7. Steps for using HMI tags To use HMI tags, complete two basic steps: 1. In the Tags editor in FactoryTalk View, create a tag. HMI tags can be used as an internal storage location.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Use the Tag Browser Root folder Folders pane Tags pane For a better view of the folders or tags, drag this bar to the left or the right. In the Tag Browser, you can: Select a single tag or multiple tags. The ability to select multiple tags is available in the Data Log Models editor only. In the illustration above, only a single tag can be selected. Select data server tags and HMI tags.
Create and edit HMI tags. Create new folders for HMI tags. Import tags from a PLC or SLC™ database. For more information about using the Tag Browser, see Help. Show server names By default, the Folders pane in the Tag Browser shows folders, but not the servers they belong to. You can show the names of servers that have been set up in the application. To show server names Right-click a blank area of the Folders pane and then select Show Server Names.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE In RSLinx Enterprise, you can use the Offline folder to browse tags in an RSLogix 5000 RSLogix.acd file. For details about making the .acd file available to browse offline, see RSLinx Enterprise Help. In RSLinx Classic, you can use the Offline folder to browse tags in a PLC program stored on disk. If the OPC topic in RSLinx Classic has access to symbols, you can browse for them in the Offline folder.
Assign tags This example shows the Trigger dialog box that opens when you click the Add button in the Triggers tab of the Alarm Setup editor: Type the tag name here... ...or click the Browse button to open the Tag Browser. To assign a tag, do one of the following In the Tag or expression column, type the tag name. In the Tag column, click the Browse button and then select a tag from the Tag Browser. For information about using the Tag Browser, see Help.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Use one of these methods to assign tags to a graphic object: Double-click the object to open the object’s Properties dialog box, and then click the Connections tab. Type the tag name here... Select the object, and then assign tags in the Connections tab of the Property Panel. Type the tag name here... 6-10 ...or click the Browse button to open the Tag Browser. ...or click the Browse button to open the Tag Browser.
Use expressions to manipulate tag values In many of the places where you can assign a tag, you can also use expressions to perform logical or mathematical calculations on tag values. If you assign an expression, FactoryTalk View monitors the expression value rather than the original tag value. For example, your machine might send values to the data source in the form of temperature in degrees Celsius.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Log tag values Analog and digital tag values can be logged, including both HMI and data server tags. To set up data logging, use the Data Log Models editor. For more information, see Chapter 26. Use macros to assign values to tags A macro is a list of tag assignments stored in a text file. Whenever you run the macro, the specified values are written to the tags. For more information about macros, see Chapter 30.
7 Use HMI tags This chapter describes: HMI tag types. Use the Tags editor. Data sources. Address syntax for device tags. Organize HMI tags. View tag statistics. Other methods for creating HMI tags. Import HMI tags. HMI tag types HMI tags are tags you create in FactoryTalk View. For information about when to use HMI tags versus when to use data server tags, see Chapter 6.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE This tag type Stores this type of data System Information generated while the system is running, such as the name of the logged-in user, system time and date, and so on. FactoryTalk View creates system tags when you create an application. The system tags are stored in the folder called “system” in the HMI tag database. You cannot edit system tags. You can use system tags anywhere you would use any other type of tag.
This rounding method is also used for Numeric Input Enable buttons that use the implicit decimal position, if an integer tag is assigned to the button’s Value connection. For more information about the Numeric Input Enable button, see page 21-30. Use the Tags editor The Tags editor has these parts: form area, query box, folder hierarchy, and spreadsheet area. Form area Query box Folder hierarchy The information you enter in the form area is shown in the spreadsheet area.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Create and view tags Edit, duplicate, and delete tags For details about using the Tags editor, see Help. Update the contents of the Tags editor You can create tags in the Tags editor, but you can also create them as you work in other editors, and you can import them from an existing tag database. To see the result of changes to the database you make in other editors while the Tags editor is open, update the contents.
You can also use Find to search for every occurrence of a specific tag or text string throughout different components within FactoryTalk View ME applications. Find also locates all the text strings within each component that refer to the tag. Find a tag or text string 1. From the tool bar, click , or from the Tools menu, select Find. 2. Type the text string in Find what, or identify the tag to search for: Click the browse button ( ) next to Find what.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Click the browse button ( ) next to Find what. From the Tag Browser, navigate to the correct folder in the left pane, and then select the tag in the right pane then click OK to save the selection and close the browser. 3. If needed, identify the type of product components to search in Find within (all components are selected by default): Click the browse button next to Find within.
Memory A tag with memory as its data source receives its data from (and stores values in) the FactoryTalk View internal value table. Tags with memory as the data source do not count toward the total tag limit. For analog tags with Memory as the data source, select the data type that matches the format of the data you will store in the tag. Choosing Default is the same as choosing Floating Point.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE This example shows you how to specify the OPC topic, item name, and bit level of an item that uses the integer data type in a Logix5000 processor. OPC topic and item addressing Logix5000 uses this addressing syntax: [Device shortcut]item name for RSLinx Enterprise. [OPC topic name]item name for RSLinx Classic. In this example, the RSLinx Enterprise device shortcut name for the Logix5000 processor is CLGX.
Tag names cannot contain spaces. The tag name can be mixed case. Tag names preserve upper and lower case for readability but are not case sensitive. For example, the tag name MixerValve1 is the same as mixervalve1. When a tag name starts with a number or contains a dash, enclose the name in curly brackets { } when you use it in an expression, for example, {N33-0}. For more information about using tags in expressions, see Chapter 23.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Other methods for creating HMI tags In addition to creating tags in the Tags editor, you can: Create tags as needed in other editors (using the Tag Browser). Import tags from a PLC or SLC™ database. For details see page 7-11. Create tags as needed in other FactoryTalk View editors You can create tags as needed in any editor or dialog box that uses tags.
Import tags from a PLC database Use the Import PLC Tags dialog box to selectively import tags from a PLC or other database into your application’s HMI tag database. Tags imported in this way are copied into the database—they are not shared with the source database. This means changes to tags in your application do not affect the database from which they have been imported, and vice versa. You can import tags from any of these databases: RSLogix 500 internal database, with file extension .
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE To open the Import PLC Tags dialog box, do one of the following DB Browser tool in the Tags editor In the Tag Browser, right-click the right pane, and then select Import PLC Tags. For information about using the Tag Browser, see page 6-5. In the Tags editor, from the Edit menu select Other Databases, or click the DB Browser tool. For more information about using the Import PLC Tags dialog box, see Help.
Import tags from legacy PLC databases, created using WINtelligent LOGIC 5 or A.I. 5, with file extension .dsc. Import tags from RSLogix 5 or RSLogix 500, saved as an external database, with file extension .ctd (before importing, explicitly export to the .ctd format to be sure of including the latest changes). To start the wizard, do one of the following In FactoryTalk View Studio, from the Tools menu, select Tag Import and Export Wizard.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE 7-14
8 Set up global connections This chapter describes: What global connections are. Update the date and time. Change displays. Control display changes remotely. Use parameter files or parameter lists with display changes. Close On Top displays. Print displays. Run macros. Set up the backlight intensity remotely. Monitor run-time RAM usage. About global connections Global connections are connections that apply to your entire run-time application.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Set the intensity of the backlight on a PanelView Plus 7, PanelView Plus 6, PanelView Plus, or PanelView Plus CE terminal. Monitor run-time RAM usage for troubleshooting purposes. The use of each global connection is optional. Set up global connections Use the Global Connections editor to set up global connections. For detailed information about the options in the Global Connections editor, see Help.
Update the date and time at the data source from the terminal To update the date or time at the data source from the terminal’s internal clock, assign a tag to one or more of these connections: This connection Contains this range of values Year 00-99 Day of Week 1-7, with 1 being Sunday Month 1-12 Day of Month 1-31 Hour 0-23 Minute 0-59 Second 0-59 Specify how frequently to update the values of the assigned connections at the data source (from the terminal’s internal clock) by typing a time
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE When the Remote Date and Time connection value changes to a new non-zero value, the terminal resets its internal time and date to the time and date read from the individual remote date and time connections. The date and time are updated at the rate specified in the Maximum update rate box, but changes are not made until the Remote Date and Time connection changes to a new nonzero value.
Set up remote display changes This section outlines the steps for setting up remote display changes. For more detailed information about the Global Connections editor, see Help. To set up remote display changes 1. In the Graphics editor, in the Display Settings dialog box, every new display is assigned the number 1 by default. Therefore, to use remote display changes, you must assign a unique display number to each Replace and On Top display that you want to change remotely.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE When the data source or the operator prints a display, everything on the screen is printed, including the current display, pop-up windows, and any visible background applications. If you plan to print graphic displays remotely, turn off the screen saver. If the screen saver is on when a remote display print is triggered, only the screen saver image is printed.
This connection Runs this macro Remote Macro4 Macro4 Remote Macro5 Macro5 Create the macros in the Macros editor. Make sure you name them exactly as shown in the right column of the preceding table (with no space in the name). When the tag or expression assigned to one of these connections changes to a new nonzero value, FactoryTalk View runs the associated macro. Leave time for a macro to run before starting a new macro.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE with the operation of other applications on the same personal computer or terminal, it is useful to monitor the exact amount of memory the applications are consuming. The PanelView Plus and PanelView Plus CE terminals’ operating systems have a 32MB RAM process limit. On these terminals, FactoryTalk View ME Station has a tag connection threshold of 26MB.
For PanelView Plus 7, PanelView Plus 6, PanelView Plus, and PanelView Plus CE terminals, you can also turn on the display of RAM usage statistics at run time. To do this, in the Configuration Mode window, select Runtime RAM Usage, and then make your selections in the Runtime RAM Usage window. For more information, see the PanelView Plus Terminals User Manual.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE 8-10
9 Set up alarms This chapter describes: Steps for setting up alarms. Prepare to set up alarms. How alarms work. Alarm trigger data types. Tips for using array tags. Optional alarm connections. Create alarm messages in multiple languages. The [ALARM], [ALARM BANNER], [ALARM MULTI-LINE], [STATUS], and [HISTORY] displays. Use displays from the library in your application. Create your own alarm display. Open and close the alarm display.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Multiple language alarm messages A key component of any alarm system is the messages that appear when alarms occur. FactoryTalk View supports alarm messages in multiple languages. For information about setting up alarm messages in multiple languages, see page 9-17. Other multiple language alarm features FactoryTalk View supports using multiple languages for all captions on alarm objects.
Set up alarms Use the Alarm Setup editor to set up alarms. Define alarm triggers. Create alarm messages. Specify the graphic display to show alarm messages at run time and specify time settings. For detailed information about the options in the Alarm Setup editor, see Help. Prepare to set up alarms As your application is running, information is continually sent to the data source about the state of the various processes.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Tags and expressions Before setting up alarms, you must set up data server or HMI tags corresponding to the addresses at the data source that will store the values you want to monitor for alarm conditions. You can monitor analog and digital tags for alarm conditions, including both HMI and data server tags. You cannot monitor string tags. For information about setting up data server tags, see your OPC data server documentation.
Alarm triggers and trigger values You specify the tags and expressions (also known as connections) to monitor for alarm conditions by creating an alarm trigger for each connection. Each alarm trigger can generate one or more alarm messages, associated with different trigger connection values. For each alarm trigger, you specify the trigger values that will generate alarm messages, and create the messages to show for the trigger values.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE If you change the default language, you must re-specify the trigger labels for each of the graphic objects listed above, using the trigger label names in the new default language. For more information about the default language, see page 12-2. Alarm notification methods You can use any combination of these methods to notify the operator that an alarm condition has occurred: Open an alarm graphic display containing an appropriate alarm message.
show all the alarms in the alarm log file: active, inactive, acknowledged, and unacknowledged. This display is available in two sizes. By default, the [ALARM] graphic display opens automatically at run time when an alarm is generated. You can accept the default, edit the [ALARM] display, use one of the other alarm displays, or create your own display.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Use the data source to interact with alarms You can also set up remote acknowledgement, silencing, and resetting of alarms, to allow the data source to perform these functions. And you can set up the data source to determine which types of alarms to show (active, inactive, acknowledged, and unacknowledged), and to close the alarm display. These topics are discussed later in the chapter.
The alarm in the alarm banner is cleared when the operator presses the clear alarm banner button. It is not deleted from the alarm log file. For more information about clearing and deleting alarms, see page 9-40. Methods for silencing alarms The audio alarm indicator is available for applications running on personal computers only. All alarms are silenced when: The operator presses the silence alarms button. An alarm whose Audio property is turned on is acknowledged.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE The Remote Status Reset connection’s value changes to a new non-zero value. For more information about resetting alarms, see page 9-40. Methods for printing alarm information In addition to automatically printing each alarm message as it occurs, you can keep a printed record of alarms: Use the Print Alarm History button. When the operator presses the button, a report of the contents of the alarm log file is printed.
The log file is saved every 30 seconds, if there are new alarms. The log file is also saved when the application is shut down. The alarm log file is also referred to as the alarm history. For example, the operator presses the clear alarm history button to remove all alarms from the log file. The alarm log file is retained when you restart an application after a shutdown or power loss. You can delete the log file from the run-time computer at application startup.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE if ((Acid_tank_level > 74) AND (Acid_tank_level < 90)) then 1 else if (Acid_tank_level > 89) then 2 else 0 2. Use the Value trigger type for the alarm trigger. 3. Specify these trigger values and alarm messages for the alarm trigger: Trigger Value Message 1 2 Warning! The acid tank has exceeded safe fill levels. Danger! The level in the acid tank is too high.
The tag is currently generating alarms at bit positions 2, 6, 12, 21, 22, 26, and 30. To set up alarms for this array tag: 1. Create an alarm trigger for the array tag. Use the Bit trigger type. You must use a direct reference for the array tag. The tag uses the Integer data type (16 bits per element). Append L2 to the tag’s starting address to indicate that the trigger will monitor 2 tag elements (32 bits), as follows: {::[PLC5]N7:0,L2} PLC5 is the RSLinx Enterprise device shortcut name.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE If power to the motor is lost, the manual stop and overload switch also lose power, generating alarms for all three motor parts. The only alarm the operator needs to see is the alarm for the motor, since the cause of the alarm is power loss to the motor, not a problem with the other two motor parts. If someone stops the motor manually, power to the overload switch is lost.
2. Specify these trigger values and alarm messages for the alarm trigger: Bit in the array (bit address) Bit position Trigger value Message 00 01 02 1 2 3 1 2 3 The motor has lost power. The motor has stopped. The overload switch has lost power. At run time, if power to the motor is lost, the programmable controller changes all three bit values from 0 to 1, but FactoryTalk View generates the first alarm message only (since bit 00 is the lowest—that is, least significant—bit in alarm).
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Equivalent data types Different processors and OPC servers use different terminology for tag data types. This section provides information about equivalent data types that you can use for array tags, with the associated number of bits for each.
KEPServer Enterprise tag syntax To create a KEPServer Enterprise array tag, use this syntax to specify the length of the array: tagname [arraylength] For example, Chan1.Dev1.Tag1 [3] The tag Tag1 uses the Long Integer data type (32 bits), so the array tag consists of 96 bits (32 x 3). Alternatively, you can define the tag length in KEPServer Enterprise when you create the tag, and then just select the tag name in FactoryTalk View Studio. For more information, see KEPServer Enterprise Help.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE You can also assign connections to alarm lists, to allow the data source to determine which types of alarms to show in the lists. For more information, see page 9-32. Connections that work with a specific alarm trigger You can assign a different set of these connections to each alarm trigger, or to only one or some alarm triggers: Handshake—Assign a tag to this connection to notify the data source when the trigger’s value changes.
A change in the trigger connection’s value does not necessarily indicate an alarm—the value might still be within acceptable limits. How the Ack connection works When the application starts, this connection has a value of 0.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Remote acknowledgement does not take place if the hold time is in effect for the Ack connection. An alarm’s Trigger and Remote Ack settings should not be configured to use the same tag. Doing so may cause unpredictable alarm acknowledgement behaviors. Example: Use the Remote Ack connection This example shows how to use the Remote Ack connection to acknowledge an alarm.
connection (1) to the Remote Ack connection, and the alarm at Location 2 is acknowledged. How the Remote Ack Handshake connection works This connection is used to notify the data source that the remote acknowledgement has been detected by FactoryTalk View. When the application starts, the Remote Ack Handshake connection has a value of 1. When the Remote Ack connection value changes, the Remote Ack Handshake connection’s value toggles from 1 to 0.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Hold the message for a specific period of time To set up an alarm trigger’s alarm message handshaking so that the message at the Message connection is held for a specific period of time, assign a tag to the Message Notification connection and specify a hold time in the Advanced tab of the Alarm Setup editor. How handshaking works This method of alarm message handshaking works as follows: 1.
How messages are queued FactoryTalk View can queue up to 128 messages while it waits for the Message Notification connection to be reset to 0. Queued messages are sent to the data source on a first in, first out basis. If the alarm message queue fills before the Message Notification connection is reset to 0, an error message is sent to FactoryTalk Diagnostics. How the Message connection works This connection is used to send the message associated with a trigger value to the data source.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Remote Silence—Assign a tag or an expression to this connection to allow the data source to silence all alarms (for applications that will run on a personal computer only). Remote Ack All—Assign a tag to this connection to allow the data source to acknowledge all alarms at once. Status Reset—Assign a tag to this connection to notify the data source that the alarm status has been reset.
How the Remote Ack All connection works When this connection changes to a new non-zero value, all unacknowledged alarms are acknowledged. Set up the data source to send a new non-zero value to the Remote Ack All connection each time you want a remote acknowledgement of all alarms to take place. How the Status Reset connection works When the application starts, this connection has a value of 0.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE The [ALARM] display When you create an application, it comes with a graphic display called [ALARM]. The [ALARM] display is the default display for showing alarm messages at run time. It contains an alarm banner graphic object that is set up to show a single active alarm. Alarm banner graphic object Buttons You can use the [ALARM] display as is, or modify the display. For example, you can change the color of the objects, or add and remove buttons.
Alarm banner graphic object Buttons The alarm banner graphic object The [ALARM BANNER] display contains an alarm banner graphic object, which lists the most recent alarm message. You can set up the alarm banner to queue new alarms until the shown alarm has been acknowledged, or to show new alarms as they occur. The alarm banner in the [ALARM BANNER] display is set up to show new alarms as they occur and to show active alarms only (but you can edit it, if desired).
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE The alarm list graphic object The [ALARM MULTI-LINE] display contains an alarm list graphic object, which lists the time the alarms occurred and were acknowledged, as well as the alarm messages. You can set up the alarm list to show any combination of active, inactive, acknowledged, and unacknowledged alarms. The alarm list in the [ALARM MULTI-LINE] display is set up to show all alarms (but you can edit it, if desired).
The alarm status list graphic object The [STATUS] display contains an alarm status list graphic object, which lists the alarm messages. You can set up the alarm status list to show the status of all alarms that have been set up, active alarms only, or all alarms that have occurred since the alarm status was last reset. The alarm status list in the [STATUS] display is set up to show the status of active alarms (but you can edit it, if desired). For more information about the alarm status list, see page 9-34.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE You can use the [HISTORY] display as is, or modify the display. For example, you can select which alarm triggers’ alarms to show in the list, or remove buttons that you don’t want to use. The alarm list graphic object The [HISTORY] display contains an alarm list graphic object, which lists the time the alarms occurred and were acknowledged, as well as the alarm messages.
3. Edit the [ALARM] display by adding a Goto display button that opens the [STATUS] display when pressed. Create your own alarm display You can create your own graphic display for displaying and responding to alarms. For example, you could create a display with a static text object that notifies the operator that an alarm has occurred, and a Goto display button that the operator can press to open a display that lists the actual alarm message.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE When the newest alarm is acknowledged. If you don’t want the display to close when the newest alarm is acknowledged, you can turn off this option in FactoryTalk View ME Station. To change how the display closes 1. In FactoryTalk View ME Station, click Terminal Settings. 2. Double-click Alarms. 3. Specify how you want the display to close.
displayed character is replaced with an asterisk. You can specify how many lines to allow for each alarm message, from 1 to 10. The number of alarm messages that fits in the display depends on the height of the alarm list, the list’s font size, how many lines you have specified for each alarm message, and whether the column headings are shown. If alarms are currently being sorted by time, alarms are listed with the newest alarms on top.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE How the alarm banner graphic object works The alarm banner graphic object shows a single, unacknowledged alarm. At run time, when a trigger connection at the data source matches a message’s trigger value, an alarm appears in the alarm banner. The alarm banner can be in the [ALARM] display or [ALARM BANNER] display, in an alarm display you have created, or can be placed on any display in your application.
You can use multiple alarm status lists, in the same display or in different displays. You can set up different lists to show different information. For information about setting up alarm status lists, see Help. What is shown If you set up the list to show the alarms for specific alarm triggers, only alarms for those triggers are shown. If an alarm is active, an asterisk (*) appears in the alarm state column, if shown.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Use buttons with the alarm history and alarm objects Alarm buttons You can use these alarm buttons to interact with the alarm list, alarm banner, or alarm status list, and to clear and sort the alarm history: Use this button Acknowledge alarm With this graphic object To do this Alarm list Alarm banner Acknowledge and silence the selected alarm.
Use this button With this graphic object To do this Print alarm history Print a report of the alarm messages in the alarm log file. You can include all alarms, or just the alarms for a specific alarm trigger. The report can include the time alarms occurred and were acknowledged. Print alarm status Print a report of the status of alarms. You can include all alarms, or just the alarms for a specific alarm trigger.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Key buttons You can also use these key button graphic objects to interact with the alarm list, alarm status list, or alarm banner: This button Does this Move up Scrolls up one row in the list. Move down Scrolls down one row in the list. Page up Moves the highlight bar or cursor up one page in the list. Page down Moves the highlight bar or cursor down one page in the list. Home Moves the highlight bar or cursor to the top alarm in the list.
If the hold time is still in effect and the operator acknowledges a new instance of the same alarm, the new acknowledgement is ignored. If the alarm list is set up to show unacknowledged alarms only, the alarm is removed from the list. The highlight bar or cursor moves up to the next unacknowledged alarm, unless it is already on the top unacknowledged alarm. If the highlight bar or cursor is on an acknowledged alarm when the operator presses the acknowledge alarm button, the button press is ignored.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Clear and delete messages From the alarm history When the operator presses the clear alarm history button, all alarms in the system (or, optionally, for a specific alarm trigger) are deleted from the alarm log file and from all alarm lists. For information about the alarm log file, see page 9-10.
Retain alarm status The status of alarms is retained when the application is shut down. When the application is restarted: If an alarm is still active, the time begins accumulating again. If an alarm is still active, the number of times the alarm has been triggered is increased by 1.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE 9-42
10 Set up FactoryTalk Diagnostics This chapter describes: FactoryTalk Diagnostics. Show diagnostics messages during application development. View FactoryTalk Diagnostics log files. Use the Diagnostics Setup tool. Show and print diagnostics messages at run time. The [DIAGNOSTICS] display. Create your own diagnostics display. Open and close the diagnostics display. How the diagnostics list graphic object works.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Set up FactoryTalk Diagnostics involves: Set up destinations, where logged information is received for storage or display. Set up which destinations receive which categories of messages. This is called message routing. Set up how messages are shown and printed at run time. This chapter describes how to set up FactoryTalk Diagnostics on personal computers.
Plus, or PanelView Plus CE terminal to a personal computer, you can view the messages in the FactoryTalk Diagnostics Viewer. The destinations available on your computer might vary, depending on which Rockwell Automation products you have installed. Message routing You can decide which destinations receive which kinds of messages. This allows you to make the right information available to the right person, in the right place.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Choose not to log messages If messages of a particular category are not routed to any destination, the messages for that category are not logged. For example, you might not want to log information messages, or you might not want to send any messages to the Operator. Message severities FactoryTalk View categorizes messages in four severities: Errors indicate that a process or action has failed.
FactoryTalk View automatically sends audit messages to the Engineer and Secure audiences. Audit messages allow auditing tools, such as those required for US Government 21CFR Part 11 compliance, to track system activity. Show diagnostics messages during application development During application development, diagnostics messages are shown as you create, modify, and delete components, and when you test your graphic displays.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE To open the FactoryTalk Diagnostics Viewer, do one of the following In FactoryTalk View Studio, from the Tools menu, select Diagnostics Viewer. From the Windows Start menu, select Programs > Rockwell Software > FactoryTalk Tools > Diagnostics Viewer. For information about setting up FactoryTalk Diagnostics to send messages to the local log, see Help for the Diagnostics Setup tool.
From the Windows Start menu, select Programs > Rockwell Software > Utilities > Diagnostics Setup. Specify which destinations receive what categories of messages. For details about using the Diagnostics Setup tool, see Help for the tool. Log to an ODBC database The option of logging FactoryTalk Diagnostics messages to an ODBC database is available for personal computers only. ODBC logging works by periodically exporting the contents of the local log file to an ODBC-compliant database.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE You can also specify that messages remain in the local log file for a period of time after they have been exported to the ODBC-compliant database. This is useful in the event of a network failure, or any other reason that causes the database to be unavailable. In this case, the messages remain in the local log file until the buffer time expires.
The Diagnostics List Setup editor is located on the application tree under the System folder. Double-click on Diagnostics List Setup to open the editor. For details about using the Diagnostics List Setup editor, see Help.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Printed messages list the date and time, the category of system activity, and the message text. By default, messages are not printed at run time. By default, your application is set up to show diagnostics messages automatically at run time. If you want to use the default settings, you don’t need to do anything further to set up diagnostics messages for print and display in FactoryTalk View ME Station.
The [DIAGNOSTICS] display When you create an application, it comes with a graphic display called [DIAGNOSTICS]. The [DIAGNOSTICS] display is the default display for showing diagnostics messages at run time. Diagnostics list graphic object. You can use the [DIAGNOSTICS] display as is, or modify the display. For example, you can change the color of the objects, or add and remove buttons. Or, you can create your own graphic display to use for showing diagnostics messages.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Open and close the diagnostics display Open the display The diagnostics display you specify in the Diagnostics List Setup editor (either the default [DIAGNOSTICS] display or a display you create) is automatically opened whenever a diagnostics message of the specified severity occurs. The display remains open until the operator closes the display.
Use buttons with the diagnostics list Diagnostics buttons You can use these diagnostics buttons to interact with the diagnostics list: This button Does this Diagnostics clear Clears the selected message from all diagnostics lists in the application. Diagnostics clear all Clears all diagnostics messages from all diagnostics lists in the application. You can assign any captions you choose to the labels on the diagnostics buttons. You can link the diagnostics clear button to a specific diagnostics list.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE You can set up the key buttons to work only with the specified diagnostics list, or to work with whichever object is selected in the graphic display. For information about linking buttons to objects, see page 21-9. For information about creating graphic objects, see Chapter 20. For information about setting up specific buttons, see Help.
11 Set up security This chapter describes: Use FactoryTalk Security to add users and groups accounts. Use the Runtime Security editor. Configure displays to control run-time operator access. Provide a way for users to log in and log out. Set up FactoryTalk Security in FactoryTalk View Studio. Configure user accounts policies. Examples of how to configure applications to use FactoryTalk View security features.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE To limit the users who have access to the application or parts of the application, you must set up user accounts and passwords. If you set up the data source to open graphic displays remotely (using global connections), remote display changes occur whether or not the logged-in user has security access to a given display. For details about controlling display changes remotely, see page 8-4. The Authenticated User group is not supported on Windows CE.
2. In the Runtime Security editor, add FactoryTalk Security users or user groups to FactoryTalk View, and assign login and logout macros and security codes to them. 3. In the Graphics editor, assign security codes to graphic displays that will have limited access. 4. Provide users with a method for logging in and out. 5. If desired, prevent unauthorized users from stopping the application. 6. Set up policies for passwords and user accounts. These steps are described in detail in the following sections.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Create FactoryTalk Security user groups The use of user groups is optional but recommended. Groups allow you to set up security access once for the entire group, rather than individually for members of the group. You can still set up separate permissions for individual members of the group. Setting up groups saves time.
Add FactoryTalk Security users and assign security codes and login and logout macros, for each user or group of users that will have access to the application at run time. Migrate users from RSView version 3.20 and earlier to FactoryTalk View version 4.00 or later. Assign user passwords (version 3.20 and earlier applications only). Add Windows users or groups (version 3.20 and earlier applications only).
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE You cannot delete the DEFAULT user account. Assign the security code for the startup display to the DEFAULT user, or else the startup display won’t open. If the startup display uses the * security code, you can assign any code from A to P to open the display. For more information, see page 11-12. Set up users for 4.00 and later applications Form area Spreadsheet area Use the form area to assign macros and A-P security codes to users.
To add FactoryTalk Security users and groups to FactoryTalk View and assign security codes to them 1. Open the Runtime Security editor and select the ME Runtime 4.00 and later tab. 2. Click Add. 3. In the Select User or Group dialog box, add users and groups, and select the ones to add to FactoryTalk View. You can only select one user or group at a time. For details on using the Select User or Group dialog box, see Help. 4.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE macros in the application. If a new user logs in before the previous user has logged out, the logout macro of the previous user runs after the new user logs in. A-P Security Codes. For a new user, all the boxes are selected by default (Y is shown in all columns in the spreadsheet). To block access to a security code, clear the check box for the code in the form section.
Set up users for 3.20 and earlier applications Form area Spreadsheet area Double-click in the security code columns to toggle between Yes and No. To add users to RSView 3.20 and earlier applications and assign security codes to them 1. Open the Runtime Security editor and click the RSView 3.20 and earlier tab. 2. Add users, and then assign macros, passwords, and security codes to them. For details about using the Runtime Security editor, see Help. Change RSView 3.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Add 3.20 and earlier users or groups from a Windows domain In RSView 3.20 and earlier applications, there are two possible types of user accounts: Users or groups from a Windows domain Users you create in FactoryTalk View. You cannot use both user account types in the application at the same time. Before you can make use of Windows user accounts in FactoryTalk View, you must first create the user accounts in your Windows domain.
To add users from a Windows domain to FactoryTalk View 1. Open the Runtime Security editor, and then click the RSView 3.20 and earlier tab. 2. From the Setup menu, select Windows Security Options. 3. In the Windows Security Options dialog box, specify the users and groups to use. For details, see Help. 4. In the Runtime Security editor, specify login and logout macros and assign security codes to the users. For details, see Help. You cannot change the user or group name (Account ID) and password.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE If you remove users from the Windows domain, they are not removed automatically from the FactoryTalk View Runtime Security editor. You must remove the users from the Runtime Security editor manually, using the Windows Security Options dialog box. Assign security to graphic displays Assign security to graphic displays in the Graphics editor. You can: Assign security when you create the graphic display, or at any time after creating the display.
To assign security to a graphic display 1. In the Graphics editor, right-click an empty area of the display, and then select Display Settings. 2. In the General tab, select a security code. To give every security code access to the display, select the asterisk (*). The * is selected by default. Provide a way for users to log in and log out Use Login and Logout buttons to provide a way for users to log in and log out. Make sure you place these buttons in graphic displays that all users have access to.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE To provide a way for users to log in 1. Specify the startup display in the Startup editor, in the Initial graphic box. The startup display is the graphic display that opens when your application starts running. The startup display must have the * code or a security code that is assigned to the DEFAULT user, or it will not open. For information about the Startup editor, see Chapter 14. 2. Create a Login button in the startup display.
3. Specify how many minutes the terminal must be inactive before the automatic logout occurs. 4. If desired, specify a graphic display to open after the automatic logout. At run time, when the inactivity period expires, the current user is logged out. Logout macros assigned to the current user run. The DEFAULT user is logged in. The DEFAULT user’s login macro runs. The specified graphic display opens (if any).
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE The ADMIN user has access to every graphic display. The DEFAULT user has access only to graphic displays to which * or P has been assigned. In this example, the DEFAULT user does not have access to any of the four graphic displays. In this example, you could have assigned the same security code to the Alarm History and Boiler displays, since all users except the DEFAULT user have access to these displays.
This example uses the security function CurrentUserName( ). The function returns the string value of the Account ID (user name) for the user who is currently logged in. The CurrentUserName( ) function is case sensitive. All RSView 3.20 and earlier user names use uppercase letters. When the application starts, the DEFAULT user is logged in. The DEFAULT user is also logged in when a user logs out. To assign visibility animation to the Goto display button 1.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE 4. Click Apply. Example: Prevent unauthorized users from stopping the application To prevent unauthorized users from stopping the application Do not use a title bar on the application window, because the title bar contains a Close button. To turn off the title bar for the application window, in the Project Settings editor, in the Runtime tab, clear the Title bar check box.
Specify policies for passwords and user accounts, such as how often passwords must be changed. FactoryTalk View Studio Explorer window can also be used to change the following security settings: Set up access to the application. Assign security access to action groups, policies, groups, and users. When changing security access for these resources, it is important to understand how each change affects the application.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Set up access to the FactoryTalk Directory. Set up access to the application. You can assign security to all the folders in the System folder. Set up policies. Set up access to devices. Add users and groups, and assign passwords. The link symbol indicates Windows-linked groups and users.
Specify activities to track for audit purposes You can keep an audit trail of activities such as changing the setup of the FactoryTalk Directory and whether security access is denied or granted to users. To specify which activities to track for audit purposes 1. In the System Policies folder, double-click Audit Policy. 2. Set up audit policies. For details, see Help.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE groups or users once. If desired, you can override the permissions that you set up at this level by assigning different permissions to applications and to the items in the System folder. You can assign permissions for actions related to FactoryTalk View applications and tags here or at the application level. If you assign them here, they are inherited by all applications. To set security permissions for the FactoryTalk Directory 1.
To set up security access to networks and devices 1. In the System folder, right-click Networks and Devices, the development computer workstation, or a specific device, and then select Security. 2. Specify which groups and users have access to the item, and what actions they can perform. For details, see Help.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE 11-24
12 Set up language switching This chapter describes: What language switching is. Summary of steps for setting up language switching. Set up Windows to support language switching. Add languages to the application. Export application text strings for translation. Translate application text. Import translated text files. Set up multiple language support for graphic libraries.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Import application components developed in different countries into a single application that supports multiple languages. The default language For applications that use multiple languages, you can specify one of the languages as the default language. Any undefined text strings in the other languages can be shown in the default language. The default language is also used for RSView Machine Edition 4.00 applications.
To change the default language 1. From the Tools menu, select Languages. The check mark indicates the default language. Current application language 2. Select the language to use for the default language. 3. Click Set As Default. A large check mark to the left of the selected language indicates that it is now the default language. 4. To use this language for all undefined strings in the application, select Display undefined strings using the default language.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE 6. Create alarm, information, and local messages. 7. Create a Language Switch button for each language you plan to use at run time. For details, see Help. 8. Export the application text strings for translation. For details, see page 12-6. 9. Translate the text strings. For details, see page 12-9. 10. Import translated text strings for each of the translation languages. For details, see page 12-13. 11.
Windows locale settings Windows locale formatting determines how the application shows time, date, and floating point values at design time and run time. When the application language is switched, the locale settings for the new language are used even if that language has not been installed. You do not need to edit the default locale settings. Add languages to the application Use the Language Configuration dialog box in FactoryTalk View Studio to add up to 40 languages to the application.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Remove languages You can also use the Language Configuration dialog box to remove languages. When you remove a language, all the strings for the language are deleted the next time you save the application. Save a component deletes strings for the removed language from the component.
application language is French, and you have imported French text strings for the Change Password window, then the French strings will be compiled in the run-time application. If the operator opens the window, the strings will be shown in French. If the operator changes to another language, the strings will still be shown in French. Unicode file name format The format for the exported Unicode text file name is .
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE For details about the schema of exported spreadsheet files, see page 12-9. For a list of Windows languages and the corresponding RFC1766 names, see page F-1.
or C:\Users\Public\Public Documents\RSView Enterprise\Strings (Windows Server 2012, Windows 8.1, Windows 8, Windows 7, Windows Server 2008, and Windows Vista) Existing error log files are overwritten for each subsequent export operation that generates errors. Translate application text in Excel spreadsheet files This section contains information about the format and schema of the exported Microsoft Excel spreadsheet file.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Open the text file in Microsoft Excel When you open the text file in Microsoft Excel, the Text Import Wizard appears. To specify the file format (Step 1 of the wizard) 1. Click Delimited. 2. In the Start import at row box, type or select 1. 3. In the File origin list, click Windows (ANSI). 4. Click Next. To specify the field delimiter (Step 2 of the wizard) 1. Select the Tab check box. If any other check boxes are selected, clear them. 2.
Differences in file format for files saved in Excel If you use Notepad to open a Unicode text file that was saved in Excel, you will notice some differences from a file edited and saved in Notepad. You do not have to change the format of the file before you import it into FactoryTalk View. The differences are: Double quotes surrounding the string definitions are removed for most strings.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE The string definition is enclosed in quotes in Notepad, but not in the spreadsheet column in Excel. In the translated text file, the only text that can be modified is the text inside the quotation marks in the string definition column.
Work with backslashes and new line characters To force text to begin on a new line, precede the text with the characters \n. For example: Motor\nStopped appears in the application as: Motor Stopped To make the characters \n appear as part of the text, type \\n. To make a backslash appear in the application, type two backslashes (\\). Import text containing multiple backslashes If the imported text file contains an odd number of backslashes next to each other, one of the backslashes will be ignored.
If you are going to import strings for multiple languages defined in an Excel spreadsheet, it does not matter which language is selected in the Language Configuration dialog box. 3. Click Import. 4. Follow the instructions in the String Import Export Wizard. For details about options in the String Import Export wizard, click Help. If you cancel the import before it is complete, any text strings that were changed are not restored to their original values.
Set up multiple language support for graphic libraries When you create an application, the graphic libraries installed with FactoryTalk View are “language neutral” by default. This means that graphic objects in the libraries always show their text strings as shipped, regardless of the current application language. Since the current application language is ignored, text strings never appear as undefined.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE 12-16
13 Set up display navigation This chapter describes: What display navigation is. Develop a hierarchy of displays. Test display navigation. Use graphic objects to navigate. Control display changes remotely. This chapter describes methods for navigating between graphic displays. For information about navigating between objects in a graphic display, see page 21-7.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE A display hierarchy could include: An initial graphic display for logging in. A graphic display that serves as a menu. An overview of the plant. A comprehensive display of each process being monitored. Process-specific displays that provide more detail. Management summary displays. Trend displays of historical and current data. The following illustration shows a sample display hierarchy.
Test display navigation Once you set up display navigation for your application, test the application to make sure that navigation flows smoothly and that you have avoided problems like these: A graphic display contains no buttons for moving forward or back. When a graphic display closes, no other display is open and there is no way to continue using the application. For information about testing your application, see page 14-2.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Display type The display type you use gives you additional control over how the operator navigates between displays. For example, use the On Top type to keep a graphic display on top at all times, even when another display has focus. Or use the Replace type if you want a display to replace all other open displays when it opens. For more information about display types, see page 19-12.
Return to display buttons When the operator presses a return to display button at run time, the graphic display that the button is on closes and the display that was previously open reopens. The current display does not close if: The display change is currently controlled remotely (using global connections). There were no previously opened Replace displays. The operator does not have security access for the previous display.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE 4. In the Process Overview display, the operator presses a return to display button. Which display opens? The Process Monitoring 1 display (because this was the previously opened display). To return to the Main Menu display from the Process Overview display, the operator would have to press a Goto display button that is set up to open the Main Menu display.
How display types affect the selector’s behavior The display list selector’s behavior at run time also depends on which types of graphic displays are already open and which type of display it is opening: If the selected graphic display is a Replace display, it closes any open On Top and Replace displays. It does not close On Top displays that use the Cannot Be Replaced option. If the selected display is an On Top display, it opens on top of the current display. The current display does not close.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE to apply parameters to the displays that are opened from the data source, to close one or more On Top displays from the data source, to print graphic displays from the data source, to run macros from the data source, to control the date and time displayed on the run-time terminal, to set the intensity of PanelView backlights, and to monitor run-time RAM usage. For more information about global connections, see Chapter 8.
14 Create run-time applications This chapter describes: Specify startup settings. Test your application. Create run-time application files. Convert run-time application files to development applications. Specify startup settings Use the Startup editor to specify which application processes and components to start when the application starts at run time.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Test your application You can test your application in FactoryTalk View Studio at any time during the development process, to make sure that everything works the way you intend. If the development computer is connected to the data source, you can test all functions of the application, including security settings, language switching, communications, and alarm monitoring.
Create run-time application files Before you can run your application, you must create a run-time version. When you create the run-time version, FactoryTalk View Studio compiles all of the necessary application information into a single file with the extension .mer. Create .mer files for previous versions You can specify the version of FactoryTalk View ME Station for which to create the .mer file. For example, if the application will run on a terminal that uses FactoryTalk View ME Station version 3.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE You need to extract information that was generated at run time, such as updated RecipePlus files. Version 6.0 or earlier .mer files created on a 64-bit operating system cannot be converted to design-time projects (MED files). This is due to an incompatibility of the previous FactoryTalk View database engine with 64-bit operating systems. Thus, when you create a version 6.0 or earlier .
To create a run-time application 1. In FactoryTalk View Studio, with the application open, on the Application menu, click Create Runtime Application. 2. Specify the folder and file name for the run-time application. 3. In the Save as type box, specify the version of FactoryTalk View ME Station for which to create the .mer file. 4. For version 5.00 and later .mer files, if you don’t want to allow the run-time application to be converted to a development application, click Never allow conversion. 5.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE The password can be up to 100 characters long. The password is case sensitive. Click Save. 6. If your application uses multiple languages, specify up to 20 languages to include in the run-time application, and specify the initial run-time language. For details, see Help. This wizard is not shown if your application uses only one language. To show undefined strings in the default language at run time, include this language in your selection.
To convert the run-time application file, use the Restore runtime application operation in the Application Manager. Data logging and alarm data that occurred at run time are not restored to the development application. RSLinx Enterprise device shortcuts that were edited at run time are restored when you convert the run-time application to a development application.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE 6. Click Next. 7. Type a name for the converted application, and then click Finish.
15 Run applications on a personal computer This chapter describes: Move applications to the run-time computer. Start FactoryTalk View ME Station. Load and run applications. Shut down applications. Edit device short cuts. Look up contact information for technical support. Set up FactoryTalk Diagnostics at run time. Set up serial ports for KEPServer Enterprise. Set up RSLinx Enterprise communication drivers. Specify the printers to use at run time.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE 2. If you are using RSLinx Enterprise, set up communications as described in Chapter 5. 3. If you are using RSLinx Classic as the OPC server on the run-time computer, install RSLinx Classic on the run-time computer. 4. If you are using RSLinx Classic on a remote computer, install RSLinx Classic on the remote computer. 5.
4. Set up FactoryTalk Diagnostics on the run-time computer (if you have not already done so). For more information, see page 10-6. 5. If you will be using KEPServer Enterprise, specify serial port IDs. For more information, see page 15-8. 6. If you will be using RSLinx Enterprise, set up communication drivers (if you have not already done so). For more information, see page 15-9. 7. Specify the printers to use. For more information, see page 15-10. 8. Specify startup options for FactoryTalk View ME Station.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE The FactoryTalk View ME Station dialog box opens. For information about specifying startup options for when FactoryTalk View ME Station starts, see page 15-12. Load and run applications You can run any run-time application that is on the run-time computer. Run-time applications have the extension .mer. To load and run the application 1. In the FactoryTalk View ME Station dialog box, click Load Application, or press F1.
2. Navigate to the folder containing the application’s .mer file, and then click the file name. 3. Click Open. 4. To replace the run-time computer’s communication settings with the application’s communication settings, click Yes. To keep the run-time computer’s communication settings, click No. You are notified that the application’s FactoryTalk System Directory of users and security policies will be loaded on this computer.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE If the application is set up to use a title bar with a Control box, click the Close button at the right end of the title bar. If the application is set up to use a title bar with a Control box, on the Control menu at the left end of the title bar, click Close. Control box Control menu Close button For information about using a title bar in graphic displays, see page 4-15.
4. In the Edit ShortCuts dialog box, click the device you want the shortcut to point to, and then click OK. Look up contact information for technical support To look up technical support contact information 1. In FactoryTalk View ME Station, click Terminal Settings.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE 2. Double-click About FactoryTalk View ME Station. 3. Click Technical Support. The telephone number and URL for technical support are shown. Set up FactoryTalk Diagnostics on the run-time computer You can set up FactoryTalk Diagnostics on the run-time computer using the FactoryTalk View ME Station dialog box. To set up FactoryTalk Diagnostics on the run-time computer 1. In FactoryTalk View ME Station, click Terminal Settings. 2.
4. In the KEPWare Serial Port ID’s dialog box, click the serial port ID you specified when you set up the KEPServer Enterprise channel. 5. Click Edit Port. 6. In the Communication Ports dialog box, click the COM port to use for KEPServer Enterprise communications. Set up RSLinx Enterprise communication drivers Use RSLinx Enterprise to set up communication drivers for your run-time application.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE 4. To edit a driver, select it and then click Edit Driver. 5. To edit a device, select it and then click Edit Device. For information about setting up RSLinx Enterprise drivers and devices, see the RSLinx documentation. Once the driver is set up, FactoryTalk View ME Station automatically starts the driver software when you run the application.
3. Double-click the type of printing to set up. 4. Click Printer.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE 5. Modify the print options as required. For detailed information about printer options, refer to your Windows documentation. Specify startup options for FactoryTalk View ME Station This section describes how to start FactoryTalk View ME Station automatically when Windows starts, and describes startup options for FactoryTalk View ME Station. When you start FactoryTalk View ME Station, you can: Run an application. Load an application.
4. Click Run Current Application. This option is not available if you have not loaded an application yet. 5. Click Run Options.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE 6. Specify whether to replace the RSLinx Enterprise communication settings on the runtime computer with the application’s settings when the application starts. 7. Specify whether to delete the application’s log files on startup. To start FactoryTalk View ME Station without running an application when Windows starts 1. In the FactoryTalk View ME Station dialog box, click Terminal Settings. 2. Double-click FactoryTalk View ME Station Startup. 3.
5. Specify whether to load the current application when FactoryTalk View ME Station starts. This option is not available if you have not loaded an application. 6. Specify whether to replace the RSLinx Enterprise communication settings on the runtime computer with the application’s settings when the application starts. This option is not available if you have not loaded an application. Use Windows Server 2012, Windows 8.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE This allows the operator to load and run an MER as well as configure ME Station for Windows using the Graphical User Interface. Delete log files on the run-time computer When you run your application, FactoryTalk View ME Station stores log files for alarms and data logging (if you use these features).
2. Double-click System Directory Overwrite Warning. 3. Click No. Specify time, date, and number formats Time, date, and number formats are used by these graphic objects: Numeric display Gauge Time and date display Trend Alarm banner Alarm list The time and date formats are also used when printing the alarm history report (using the Print Alarm History button). The numeric and time and date embedded variables also use number, time, and date formats.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE To open the DeskLock tool From the Windows Start menu, select Programs > Rockwell Software > FactoryTalk View > Tools, and then click DeskLock. For details about using the tool, see the tool’s Help.
applications to a PanelView Plus 16 Transfer terminal This chapter describes: Start FactoryTalk View ME Station. Set up communication drivers to use to transfer applications to a PanelView Plus 7, PanelView Plus 6, PanelView Plus, or PanelView Plus CE terminal. Transfer applications and TrueType fonts to PanelView Plus 7, PanelView Plus 6, PanelView Plus, or PanelView Plus CE terminals. Upload applications from a terminal to the development computer.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE 2. If you are using KEPServer Enterprise, enable the driver you need on the terminal. For more information, see KEPServer Enterprise documentation . For information about OPC data servers, see Chapter 5. 3. If your application uses third-party ActiveX objects, install and register the Windows CE version of the objects on the terminal. For information about ActiveX objects, see page 20-22.
Install printers on a PanelView Plus 7 or PanelView Plus 6 terminal If you will be printing displays, alarms, reports, or diagnostics messages, connect a printer to the USB or Network port. PanelView Plus 7 and PanelView Plus 6 terminals incorporates the JETCET PRINT solution for Microsoft Windows CE devices, supporting select Canon, Epson, Hewlett-Packard, and Brother printers.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Start FactoryTalk View ME Station To start FactoryTalk View ME Station on a PanelView Plus 7 or PanelView Plus 6 terminal From the Windows Start menu, select Programs > Rockwell Software, and then click FactoryTalk View ME Station. The FactoryTalk View ME Station dialog box opens.
If you are using a serial connection for the transfer, specify and set up the driver. You can also transfer applications to the terminal using a Flash Card. For information about this method, see the PanelView Plus Terminals User Manual. To specify and set up a serial driver for the transfer 1. In the FactoryTalk View ME Station dialog box, click Terminal Settings. 2. Double-click Networks and Communications. 3. In the Networks and Communications dialog box, double-click RSLinx Enterprise Communications.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Set up a driver for the transfer on the development computer On the development computer, set up the RSLinx Enterprise driver that you will use to download your application to the PanelView Plus 7, PanelView Plus 6, PanelView Plus, or PanelView Plus CE terminal. Use one of these drivers for the transfer: Serial-DF1—Use for a serial transfer. Ethernet—Use with an Ethernet connection.
To start the Transfer Utility tool On the development computer, do one of the following: In FactoryTalk View Studio, from the Tools menu, select Transfer Utility. From the Windows Start menu, select Programs > Rockwell Software > FactoryTalk View > Tools, and then click ME Transfer Utility. For details about using the utility, see the utility’s Help.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE About the upload You can upload while an application is running on the run-time computer. You can upload an existing copy of the application currently running on the run-time computer. PanelView Plus 7 or PanelView Plus 6 terminals cannot process a Gradient Fill that uses a Diagonal Up or Diagonal Down direction, nor can the PanelView Plus 7 or PanelView Plus 6terminals apply a Gradient Fill to a rotated object.
17 Use your application This chapter describes: Log in and log out. Change passwords. Add a user or group and delete a user or group. Modify group membership. Unlock users. Enable and disable users. Change user properties. Enter numeric and string values. Change tag values. View tag data. View alarms and messages. View information about run-time communication errors. Change languages. For information about navigating between displays, see Chapter 13.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE For details, see “Configure FactoryTalk View ME 8.0 and later terminals for Domain authentication” on page 2. FactoryTalk View ME releases prior to 8.0 support domain authentication against Windows Server 2000, and Windows Server 2003 domains. For details, see “Configure FactoryTalk View ME prior to 8.0 terminals for Domain authentication” on page 5. Configure FactoryTalk View ME 8.
computer, and then transfer the certificate to the PanelView Plus 7, or PanelView Plus 6 terminal. To correctly run Domain Controller Root Certificate utility, make sure .NET Framework version 3.5 or higher is already installed on your computer. You can use the Domain Controller Root Certificate utility to obtain certificates only when the utility is installed on a computer that is in the domain. To save a root certificate on a local computer 1.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE 4. Click Save to complete and close the window. To import a root certificate on a FactoryTalk View ME 8.0 or later terminal 1. Copy the certificate file to a removable device. 2. Plug the removable device, containing the certificate file, into the terminal. 3. In the terminal, select Start > Settings > Control Panel > Certificates. 4. In the Certificates dialog box, click Import. 5.
6. In the Select a Certificate File dialog box, select the certificate file, and click OK. 7. In the Root Certificate Store dialog box, click Yes. If the import is successful, the certificate file shows in the lists of the certificates in the Certificates window. Configure FactoryTalk View ME prior to 8.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE On the Windows 2003 domain controller Navigate to Start > All Programs > Administrative Tools > Domain Controller Security Policy > Local Policies > Security Options, and set the following: Domain member: Digitally encrypt or sign secure data channel (always): DISABLED Domain member: Digitally encrypt secure data channel (when possible): ENABLED Domain member: Digitally sign secure data channel (when possible): ENABLED Microsoft networ
Log in to the application Users log in using the Login button. The Login button opens a dialog box that allows the user to enter credentials. To log in, both the Runtime Security and FactoryTalk Security configuration must contain the individual user account, or a group of which the user account is a member. For information about setting up user accounts and passwords, see Chapter 11.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE 2. Press the Domain button, or press F1 on an external keyboard. The string pop-up keyboard opens. For details about using the keyboard, see page 17-29. Type the domain name in the string pop-up keyboard, or on an external keyboard, and then press Enter.
3. Press the UserName button, or press F2 on an external keyboard.Type your user name in the string pop-up keyboard, or on an external keyboard, and then press Enter. If the Hide User Name Entry check box is selected in the General tab of the Login Button Properties window, the user name entered here is masked by #. For 4.00 and later runtime applications, the name is not case sensitive. For RSView 3.20 and earlier applications, the name must use ALL CAPS. 4.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE If a PanelView Plus 7, PanelView Plus 6, PanelView Plus, or PanelView Plus CE terminal's time is not synchronized with the domain controller, domain users cannot log in on the terminal. To enable the users to log in, synchronize the terminal’s time with the domain controller. Change passwords You can use the Password button to change password at run time. Any password changes made at run time are saved in the .mer file.
To change your current password 1. Press the Password button. The Change User Password window opens. 2. Press the Old Password button, or press F2 on an external keyboard.The string popup keyboard opens. For details about using the keyboard, see page 17-29.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Type your old password in the string pop-up keyboard, or on an external keyboard, and then press Enter.The password is case sensitive. 3. Press the New Password button, or press F3 on an external keyboard. 4. Type the new password in the string pop-up keyboard, or on an external keyboard, and then press Enter. 5. Press the Confirm Password button, or press F4 on an external keyboard. 6. Type the new password again, and then press Enter. 7.
2. Press the Select User button, or press F1 on an external keyboard. The FactoryTalk User Selection window opens. 3. Press the Up Arrow or Down Arrow to select a user, and press the Select button, or press Enter on an external keyboard. 4. Press the New Password button, or press F3 on an external keyboard. 5. Type the new password in the string pop-up keyboard, or on an external keyboard, and then press Enter. 6. Press the Confirm Password button, or press F4 on an external keyboard. 7.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE You can also set up the application to automatically log out the current user after a specified period of inactivity. For more information, see page 11-14. To log out Press the Logout button. Add a user or group Use the Add User/Group button to add a FactoryTalk security user, a Windows-linked user, or a Windows-linked group to the current running application. It is not possible to add a new FactoryTalk Security group to a running application.
2. Press the Type button, or press F2 on an external keyboard to select FactoryTalk Security User. 3. Press the Name button, or press F3 on an external keyboard. The string pop-up keyboard opens. Type the user name in the string pop-up keyboard, or on an external keyboard, and then press Enter. The user name is not case sensitive. 4. Press the Password button, or press F4 on an external keyboard. 5. Type the password in the string pop-up keyboard, or on an external keyboard, and then press Enter.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE User cannot change password Password never expires Account is disabled All the settings are set to No by default. 8. To close the Advanced Settings window and complete the change, press Enter. 9. To close the Add User/Group Account window, press Cancel. To add a Windows-linked user or group 1. Press the Add User/Group button to open the Add User/Group Account dialog box. 2.
application. It is not possible to delete a FactoryTalk Security group from the running application. When designing the application in FactoryTalk View Studio, you must consider which users and groups can access this button, and how to control that access. If a Windows-linked user group or a Windows-linked user is deleted, the group or user will be removed from the current running application, but will not be removed from Windows. DEFAULT user is not allowed to delete a user or group.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE 2. Press the Select User/Group button, or press F2 on an external keyboard to open the User or Group Selection dialog box, 3. Press the Type button, or press F2 on an external keyboard to select FactoryTalk Security User, Windows-linked User, or Windows-linked Group. 4. Press the Up Arrow or Down Arrow button to select a user, and press the Select button, or press Enter on an external keyboard. 5.
The user or group inherits the A-P security codes shared by the multiple FactoryTalk Security groups. For example, if a user or group belongs to both Group One and Group Two; Group One has the security codes of A, B, C, and Group Two has the security codes of B, C, D; and then the user or group only inherits the security codes of B, C. When a user or group is removed from one FactoryTalk Security group, the user or group is still a member of other FactoryTalk Security groups.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE 4. Press the Up Arrow or Down Arrow button to select a user, and press the Select button, or press Enter on an external keyboard. 5. Press the FactoryTalk Group button to open FactoryTalk Group Selection dialog box. 6. Press the Up Arrow or Down Arrow button to select a group, and press the Select button, or press Enter on an external keyboard. 7.
When a user account is locked, the user cannot log in the system. If a FactoryTalk user exceeds incorrect password login attempts, the user account will be locked. When the user account is locked, the user cannot log in to the system even with correct password before the user account is unlocked. You cannot use this button to unlock a Windows-linked user. Only a Windows Domain administrator can unlock a Windows-linked user from a domain computer. To unlock a user 1.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Disable a user The administrator can use the Disable User button to disable a FactoryTalk user account from the current running application. When designing the application in FactoryTalk View Studio, you must consider which users and groups can access this button, and how to control that access. When a user account is disabled, the user cannot log in the system. You cannot use this button to disable a Windows-linked user.
3. Press the Up Arrow or Down Arrow button to select a user, and press the Select button, or press Enter on an external keyboard. 4. To close the Enable User Account window and complete the change, press the Enable button, or press Enter on an external keyboard. Change User Properties The administrator can use the Change User Properties button to modify a FactoryTalk user’s properties in the current running application.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE To use the numeric pop-up scratchpad, a keyboard must be attached to the run-time computer, or the terminal must be a keypad terminal. For information about setting up the Numeric Input Enable button and numeric input cursor point, see Help. You can also use a Ramp button to ramp numeric values. For details, see Help for the button.
Scratchpad area When the keypad is open, no other objects in the graphic display can accept input. Use the numeric pop-up scratchpad The scratchpad can accept up to 17 digits, including the decimal point, leading zero, and minus sign. Scratchpad area The scratchpad does not contain any buttons. If the run-time computer does not have an external keyboard or keypad attached, the operator will be unable to enter values or close the scratchpad.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Use buttons and keys with the numeric pop-up windows You can use the following buttons and their keyboard or keypad equivalents with the numeric pop-up keypad. For the pop-up scratchpad, you can use the keys on an external keyboard or keypad only. Use this button or key To do this Decimal (.) Type a decimal point. This button is visible only if the decimal point type for the Numeric Input Enable button or numeric input cursor point is Implicit.
auto repeat mode. The ramp value is added to (or subtracted from) the last value sent to the Value connection. For more information about auto repeat mode, see page 21-12. If ramping the button or cursor point would cause the value at the Value connection to exceed the maximum value, or be less than the minimum value, a message is written to the Diagnostics List and the value at the Value connection is not changed.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE If the screen resolution is smaller than 124 pixels wide by 68 pixels high, the pop-up scratchpad cannot open. If the value is too large for the data type of the tag assigned to the Value connection, the pop-up window remains open and the value is not written to the connection. The scratchpad area changes to red to alert the operator of the error.
Use the string pop-up keyboard The string pop-up keyboard opens when the operator presses a String Input Enable button or the User or Password button in the Login dialog box. The pop-up is also used with the password button graphic object. Scratchpad area If the operator opens the pop-up keyboard by pressing a String Input Enable button, the number of characters the keyboard accepts depends on how you set up the button. When the keyboard is open, no other objects in the graphic display can accept input.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Scratchpad area If the operator opens the string pop-up character input by pressing a String Input Enable button, the number of characters the input accepts depends on how you set up the button. To use the string pop-up character input on a personal computer 1. In FactoryTalk View Studio, from the Tools menu, select Options. 2. Click the String Pop-Up tab. 3. Select Use the string pop-up character input.
Use the string pop-up scratchpad If the operator opens the string pop-up scratchpad by pressing a String Input Enable button, the number of characters the scratchpad accepts depends on how you set up the String Input Enable button. Scratchpad area The scratchpad does not contain any buttons. If the run-time computer does not have an external keyboard attached, the operator will be unable to enter characters or close the scratchpad (unless the run-time terminal is a keypad terminal).
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Use this pop-up keyboard button Or this keyboard equivalent To do this Backspace Backspace Delete the character in front of the cursor. Enter Enter Close the pop-up window and write the string to the Login dialog box, the Change Password dialog box, or the String Input Enable button’s Value connection.
Problems with the string pop-up windows Problems with the string pop-up keyboard and scratchpad occur under these circumstances: If the graphic display changes remotely before the user has pressed the Enter button, the pop-up window closes without writing out a string. If the screen resolution is smaller than 236 pixels wide by 208 pixels high, the pop-up keyboard cannot open. If the screen resolution is smaller than 236 pixels wide by 44 pixels high, the pop-up scratchpad cannot open.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Use this graphic object To do this Maintained push button Toggle between two values by sending one value to the tag when pressed, and a second value the next time the button is pressed and released. This button is useful for changing a setting within a machine or process, but not for starting the machine or process.
Use this graphic object To do this Drawing object with horizontal Control the value of a tag by dragging the slider object with a or vertical slider animation mouse. The pixel position of the slider is translated into a value that is written to the tag. If the value of the tag is changed externally, the position of the slider changes to reflect this. Control list selector Select from a list of states for a process or operation.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Use this graphic object To show this Bar graph Numeric values in bar graph format. The bar graph increases or decreases in size to show the changing value. Gauge Numeric values in dial format. The gauge’s needle moves around the dial to show the changing value. Multistate indicator The state of a process, on a panel that changes its color, image, or caption to indicate the current state.
Many of these objects can be set up to manipulate tag values using expressions, and show the expression result rather than the original tag value. For information about expressions, see Chapter 23. You can also attach visibility animation to these graphic objects, to show or hide the objects based on changes in tag or expression values. For information about visibility animation, see page 22-9. For information about creating graphic objects, see Chapter 20.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE The operator can acknowledge alarm and information messages. The operator can clear alarm and diagnostics messages. The operator can sort alarms and reset their status. View information about run-time communication errors To show communication errors in the diagnostics list object, set up message routing so that messages are sent to the FactoryTalk View Diagnostics List. For information about setting up diagnostics message routing, see Chapter 10.
18 Work with components This chapter describes: Which editors have components. Work with components. Print information in components. For information on working with particular editors, see the chapters later in this guide. Editors that have components With some editors you enter information in a single window or a tabbed dialog box. Other editors allow you to create multiple components, such as graphic displays or message files. Each component is stored in a separate file, with its own name.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE For information on working with components in particular editors, see the chapters later in this guide. Create components To create a new component, do one of the following Drag the component icon into the workspace. Right-click the editor, and then click New. From the File menu, select New, and then click the type of component to create. Open components To open a component, do one of the following Double-click the component.
Before the component closes you are prompted to save unsaved changes, if there are any. Add components into an application You can use the same components in more than one application by adding components into an application. For example, if you want to use the same graphic display in Application A and Application B, create the display in Application A, then add the graphic display component from Application A to Application B.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE 3. In the dialog box, navigate to the component to add (in Application A’s folder), and then click the component’s file name. Click and Shift-click to select a group of components, or Ctrl-click to select multiple individual components. For information about application folders and files, see Chapter 4. 4. Click Open. The components are listed under the editor in the Explorer window in Application B.
2. In the To box, type the new name. 3. Click OK. Duplicate components The Duplicate option is useful for creating multiple similar components. For example, you could create a graphic display to use as a template, then duplicate the display each time you want to use the template. To duplicate a component 1. Right-click the component, and then click Duplicate. 2. In the Component name box, type a name for the duplicate component. 3. Click OK. Print Each component has a Print item on its File menu.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE 18-6
19 Use graphic displays This chapter describes the Graphics, Images, and Local Messages editors in the Graphics folder and outlines how to: Use the Graphics editor. Set up graphic displays. Create a background for your displays. Use graphic libraries. Import graphic images. Create local messages in your displays. Print graphic displays at run time. Before creating graphic displays, specify project settings.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Before you begin Before you begin, plan your displays. Think about what information the operator needs to see, and the best way to provide the information.
Use the Graphics editor The Graphics editor opens when you create or open a graphic display, global object display, or graphic library. Each display is stored in the Displays folder. You can open and work on multiple graphic displays at the same time. Create and open graphic displays To create a graphic display 1. In the Graphics folder, do one of the following: New Display tool Right-click Displays and then click New. Click the New Display tool.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE To open a graphic display In the Graphics folder, open the Displays folder and then double-click the display name, or right-click the display name and then click Open. You can also drag and drop the display from the Explorer window to an empty area in the FactoryTalk View Studio workspace. This example shows a graphic display with the Explorer window closed.
Import and export graphic displays Each graphic display’s information is contained in a file called Displayname.gfx. The Graphics Import Export Wizard in FactoryTalk View Studio allows you to export this information to an XML file, or to import a graphic display XML file. You can export the display information, import the graphic display XML file to another FactoryTalk View application, and then modify it to suit your requirements. Or, you can modify the file before importing it.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Use context menus No matter where you are in the Graphics editor, you can open a menu by clicking the right mouse button. This is often quicker than moving the mouse up to the menus at the top of the screen. The items on the menu depend on the cursor’s location. For example, when you rightclick an object, the menu contains the most common actions you can perform on that object. When you rightclick an object... ...a menu opens.
Use the toolbars The toolbars provide another convenient way to perform an action quickly. You can customize your workspace by dragging the toolbars to any location on the screen. You can also dock them to the inside edges of the FactoryTalk View Studio workspace. Click the Close button to close the toolbar. Click the grab bars and drag to undock a docked toolbar. Click the title bar and drag to move a floating (undocked) toolbar.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE To move an undocked toolbar Click the toolbar’s title bar, and then drag. Press the Ctrl key to prevent accidental redocking. To dock a toolbar Click the toolbar’s title bar, and then drag to any edge of the workspace. To close a toolbar From the View menu, select Toolbars, and then click the name of the toolbar to close, or click the toolbar’s Close button.
To set up the grid 1. On the View menu, click Grid Settings, or right-click an empty area of the display and then click Grid Settings. Check this box to make the grid visible. Check this box to make the grid active. Select a color for the grid points. Set the spacing of the grid points in pixels. 2. Specify the color and spacing of the grid points. 3. To turn on the grid, click Show Grid. When the Grid Settings dialog box is not open you can turn the grid on by clicking Show Grid on the View menu. 4.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE To zoom in on objects 1. Select the objects you want to zoom in on. Zoom In tool 2. On the View menu, click Zoom In, or click the Zoom In tool. To zoom out On the View menu, click Zoom Out, or click the Zoom Out tool. Zoom Out tool Correct mistakes If you change your mind about something you did, you can undo the action. If you change your mind again, you can redo the action.
For information about using the Diagnostics List, see page 2-5. For information about specifying the types of messages to show in the Diagnostics List, see page 10-5. Test Display tool To use test mode Edit Display tool To return to edit mode On the View menu, click Test Display, or click the Test Display tool. On the View menu, click Edit Display, or click the Edit Display tool.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE For details about the options in the Display Settings dialog box, see Help. About display types Replace displays Replace is the default display type. Replace displays are full-sized displays. They use the project window size specified in the Project Settings editor. For more information about the project window size, see page 4-11. At run time, you can have only one Replace display open at a time.
Resize displays The project window size is used for all Replace displays. If you change the project window size after you have designed any graphic displays, you have the option of scaling graphic displays. If you choose to scale graphic displays, all Replace and On Top displays are resized and the objects in them are scaled to fit the new size. You can also specify whether to scale the font size and border size of the graphic objects, and the size of graphic images in the Images folder.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE To convert objects to wallpaper 1. Select the objects to convert. For information about selecting objects, see page 20-24. 2. On the Edit menu, select Wallpaper, and then click Convert to Wallpaper. For a single object, you can right-click it and then click Convert to Wallpaper. To unlock the wallpaper On the Edit menu, select Wallpaper, and then click Unlock All Wallpaper.
To open Symbol Factory: Symbol Factory opens into a new window when launched, there are four ways to open Symbol Factory: From the Explorer, click on the Symbol Factory Object. When the Objects menu is available, click on the Symbol Factory drop down menu item. When the Objects toolbar is available, click on the Symbol Factory icon. Clicking the Launch Symbol Factory button in the Image Browser. To select a graphic: 1.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE To open a graphic library 1. In the Explorer window, open the Graphics folder, and then open the Libraries folder. 2. Double-click the library name, or right-click it and then click Open. Create graphic libraries You can create a graphic library in the Libraries folder, or create a graphic display in the Displays folder and then add the display to the Libraries folder. To create a graphic library 1.
where Application Name is the name of your application. 5. Click Open. The display is copied into the Libraries folder. Use libraries as displays in your application The graphic libraries are available on the development computer, but do not appear at run time. To use a library as a graphic display at run time, you must add the library into your application’s folder of graphic displays.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE To save a library display with multiple languages 1. Create a graphic display. 2. Export the text for your application, which will include the text used in the graphic display. 3. Translate the text strings into each desired language, saving the file with a new name for each language. 4. Import the files for all the new languages. 5. Add the graphic display to the Libraries folder.
To save a library display with more than 40 languages 1. Create a display in one application, with up to 40 languages, and add it to the library, as described in the previous section. 2. Add the display into a new application, with up to 40 different languages in the new application. 3. Export the text for your application, which will include the text used in the graphic display. 4. Translate the text strings into each desired language, saving the file with a new name for each language. 5.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE create in the new directory. Similarly, when you open a library component FactoryTalk View looks for the component in the specified directory.
You import and place .dxf and .wmf files in your displays in one step. Once imported, they are converted to drawing objects. For more information about using these types of files in your displays, see page 20-22.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Import the images first, and then place them in your displays as needed. This method is useful for images that you use to illustrate your displays. For information about placing images in your display once you’ve imported them, see page 20-15. Use the Image Browser to import images as needed while setting up your graphic objects. This method is useful for images that you use as labels on your graphic objects.
Shift-click or Ctrl-click to select additional files. 4. Click Open to add the selected files to the list in the Images folder. To view an image that you’ve already imported In the Images folder, double-click the image name, or right-click it and then click Open. Use the Image Browser to import images Use the Image Browser to import images as needed while you set up graphic objects. In the Image Browser you can: Import images into the application. Select the image to use on a graphic object.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Click an image to select it. For details about using the Image Browser to import, select, and delete images, see Help. You can also remove an image by clicking it in the Images folder and then right-clicking Remove or Delete. For more information, see page 18-4. Use Symbol Factory Symbol Factory is a third-party graphics library that provides a large number of quality graphic elements. Import Symbol Factory objects directly into image container 1.
6. Click the OK button in the Image Browser for the graphic to be placed in the current workspace. Note that any Symbol Factory object, including Bitmap, DIB and metafile can be pasted into Image Browser where it will be stored as a bitmap. Import Symbol Factory objects directly into display 1. Launch Symbol Factory either by using the Menu bar (Objects > Symbol Factory) or from the Objects toolbar ( ). 2. Browse through the Categories and locate the graphic to be used.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE The more colors you use, the more memory is consumed, and the longer the image takes to load and show. This bitmap type Consumes this many bits per pixel Monochrome 1 16 color 4 256 color 8 (1 byte) 64 K color 16 (2 bytes) 16 million color 24 (3 bytes) For example, a 24-bit bitmap image that measures 800x600 pixels consumes 1440 KB of memory.
Summary of steps Follow these steps to set up local messages: 1. In the Local Messages editor, set up the messages and their trigger values. 2. In the Graphics editor, create local message display objects in the graphic displays in which you want the messages to appear at run time. For each local message display, assign a tag or expression to the Value connection and specify the file of messages to show. For information about creating graphic objects, see Chapter 20.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE The data source is set up to exchange information (in the form of numeric or string values) between FactoryTalk View and the machine that your application is controlling. Identify the tags and values to monitor To set up local messages, determine which tags associated with machine processes to monitor, and identify the values for those tags that will trigger local messages. For information about creating HMI tags, see Chapter 7.
2. In the Local Messages editor, create these messages with trigger values matching the values that will be sent to the Hoist_Status tag: Trigger value Message 1 The hoist is ready to rise 2 The hoist is raising the pallet. 3 The hoist has stopped. 4 The hoist is lowering the pallet. 5 The hoist is finished rising. Save the message file with the name “Hoist status.” 3. In the Graphics editor, create a local message display object.
Create local messages in multiple languages FactoryTalk View 5.00 supports local messages in multiple languages. When you create local messages, they are in the current application language. You can export the local messages for translation and then import them back into the application. For details, see Chapter 12. Language switching local messages in FactoryTalk View ME Station 4.00 For applications that will run in FactoryTalk View ME Station version 4.
For information about specifying which printer to use at run time for applications that will run on a personal computer, see page 15-10. For information about specifying printer options for applications that will run on a PanelView Plus 7, PanelView Plus 6, PanelView Plus, or PanelView Plus CE terminal, see the PanelView Plus Terminals User Manual. To print graphic displays at run time, use one or both of these methods Create display print buttons in the graphic displays you want to print.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE 19-32
20 Use graphic objects This chapter describes the types of graphic objects and outlines how to: Create graphic objects, including drawing and ActiveX objects. Select and deselect objects and use the Object Explorer. Use the Properties dialog box and Property Panel to set up objects. Color and name objects. Test how objects look in different states. Assign tags and expressions to objects. Replace tags using tag substitution. Use tag placeholders.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE FactoryTalk View also supports the use of ActiveX objects—third-party software components that you can use to control processes and display information. The ActiveX objects available depend on which third-party applications are installed on your development computer. For example, products such as Microsoft Visual Basic, Rockwell Automation, and Microsoft Office provide ActiveX objects that are configurable in FactoryTalk View Studio.
Illustrate your displays Use this graphic object To do this Text Create text for labels or instructions in the display. See page 20-13. Image Place images in your display. For more information, see page 20-15. Panel Draw rectangles that have borders. See page 20-16. Arc Draw an arc (a segment of an ellipse or circle’s perimeter). See page 20-17. Ellipse Draw ellipses and circles. See page 20-18. Freehand Draw freehand shapes as you would with a pen on paper. See page 20-18.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Use this graphic object To do this Add User/Group button Add a FactoryTalk security user, a Windows-linked user, or a Windows-linked group to the current running application. For details, see page 17-14. Delete User/Group button Delete a FactoryTalk security user, a Windows-linked user, or a Windowslinked group from the current running application. For details, see page 17-16.
Use this graphic object To do this Latched push button Start a machine or process. The button remains set (latched) until the process is complete. For example, use this button to start a bag filling machine. When the process is complete (the bag is full), the button is reset (unlatched) by the Handshake connection. For details, see page 21-22. Multistate push button Cycle through a series of values. Each time the operator presses the button, the value for the next state is sent to the tag.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Show processes and values graphically Use this graphic object To show this Bar graph Numeric values in bar graph format. The bar graph increases or decreases in size to show the changing value. For details, see page 21-46. Gauge Numeric values in dial format. The gauge’s needle moves around the dial to show the changing value. For details, see page 21-47. Scale A static indication of the range of values for a bar graph.
Work with lists, trends, alarm banners, and numeric input objects Use this button With this graphic object To do this Pause button Trend Toggle a trend between pausing and automatic scrolling. Next pen button Trend Change the vertical axis labels for a trend to the scale for the next pen. Backspace button Control list selector Piloted control list selector Move the cursor back to the highlighted item in the list. End button Lists and trends List—move to the bottom item in the list.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Use this button With this graphic object To do this Information acknowledge button Information message display Acknowledge the current message in the display.
Unlike the buttons in the previous table, the following buttons do not work with specific graphic objects. You can use them to work directly with alarms in the alarm history and with the application’s diagnostics messages. Use this button To do this Acknowledge all alarms Acknowledge and silence all currently unacknowledged alarms, or the button alarms for a specific alarm trigger. Clear alarm history button Remove alarms from the alarm log file and all alarm lists.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Use this graphic object To do this RecipePlus button Display data set and tag values for ingredients in the RecipePlus table. Write tag values from the selected data set to the data source. Write tag values from the data source to the selected data set or to a new data set. Save data set values from the table to a recipe file. Rename or delete recipe units. For details, see page 29-3.
Select tools for creating graphic objects The Objects menu in the Graphics editor contains items for creating objects, as well as items for selecting and rotating objects. You can also create most objects using the tools on the Objects toolbar. Objects toolbar Objects menu Before you can create an object, you must select the object’s tool, either by clicking a menu item or by clicking the tool on the toolbar.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE To deselect a tool, do one of the following Select tool Double-click an empty area in the display. Click the Select tool. Click another tool. For some drawing objects, double-clicking an empty area of the display creates another instance of the object. For these objects, to finish drawing, click the Select tool. For more information, see the instructions for creating drawing objects, beginning on page 20-13.
Create drawing objects The following instructions for creating drawing objects describe how to create the objects and then open the objects’ Properties dialog boxes to set up how the objects look. For information about using the Properties dialog box, see page 20-27. You can also use the Property Panel to set up objects. For information about using the Property Panel, see page 20-30. Create text Choose fonts You can select any font you have installed, but TrueType and OpenType fonts are recommended.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE The Text Properties dialog box opens. 3. Select text options. For information about the options in the dialog box, see Help. 4. To close the dialog box, click OK. The text is positioned where you drew the rectangle. 5. To create another text object, move to a new area in the display, and then repeat steps 2 through 4.
Create images Use the image graphic object to place images in your graphic displays. Images support visibility animation only. You can use images already contained in the Images folder or use Symbol Factory to select and add a graphic to the display and the Images folder. Use bitmaps, PNG, and JPEG images Before you can place a bitmap, PNG, or JPEG image in a display, you must import the image into your application. For more information, see page 19-21. To place a bitmap, PNG, or JPEG image in a display 1.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE 5. Select image options. For information about the options in the dialog box, see Help. 6. Click OK to close the dialog box. To add an image from Symbol Factory to a graphic object using the image browser: 1. In the graphic display, draw the graphic object you are going to import an image for. The Image Browser will open. 2. In the Image Browser, click Launch Library... Symbol Factory will open as a new window. 3.
5. To close the dialog box, click OK. Create arcs and wedges Arcs and wedges are drawn in two steps: first you create an ellipse or circle, and then you reshape it into the segment you want. Arc Hollow wedge Filled wedge To create an arc or wedge 1. Select the Arc or Wedge tool. Arc tool 2. Click the mouse where you want to position the object, and then drag to draw an ellipse or circle. To base the arc or wedge on a circle rather than an ellipse, hold down Ctrl while you drag.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE 7. To close the dialog box, click OK. You can also use the Arc and Wedge tools to reshape arcs and wedges. For more information, see page 20-47. Create ellipses and circles Use the Ellipse tool to draw an ellipse or circle. To create an ellipse or circle 1. Select the Ellipse tool. Ellipse tool 2. Click the mouse where you want to position the object, and then drag to draw an ellipse or circle of the desired size.
2. Click where you want the line to start, and then drag from the beginning point to the end point. Line tool To draw horizontal or vertical lines, hold down Ctrl while you drag the mouse. 3. To change how the line looks, right-click the line and then click Properties on the context menu. The Line Properties dialog box opens. 4. Select line options. For information about the options in the dialog box, see Help. 5. To close the dialog box, click OK.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE 4. To finish drawing, double-click an empty area of the display, or click the Select tool. 5. To change how the object looks, double-click it to open the object’s Properties dialog box. 6. Select polygon or polyline options. For information about the options in the dialog box, see Help. 7. To close the dialog box, click OK. You can use the Polygon tool to reshape lines, polygons, polylines, and rectangles. For more information, see page 20-47.
2. Click the mouse where you want to position the object, and then drag until the rectangle or square is the size you want. Rounded rectangle tool To draw a square, hold down Ctrl while you drag. 3. You can change how rounded the corners are by using the handle that appears inside the rounded rectangle. Click the handle and drag inward to increase roundedness, or outward to decrease roundedness. 4. To finish drawing, click the object. 5.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Use .wmf and .dxf files Windows metafiles (.wmf) and AutoCAD (.dxf) files are converted to drawing objects (such as lines, ellipses, and polygons) when you import them. You can edit the drawing objects the same way you edit drawing objects that you create in FactoryTalk View. Depending on the complexity of the metafile or AutoCAD file, the converted image could consist of 500 or more drawing objects. This would lead to long display load times.
3. In the dialog box that opens, select the object to add to your graphic display. For information about the options in the dialog box, see Help. 4. Click OK. The object is placed in the display. Depending on how the third party implemented the object, it might be a different size than the rectangle you drew. 5.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Tools and tips for working with objects This section describes features of the Graphics editor that help you work with the objects you create. It describes how to: Select and deselect objects. Use the Object Explorer to view and select objects. Use an object’s Properties dialog box to set up the object’s properties and assign tags and expressions to its connections.
To select Do this All objects in the drawing area On the Edit menu, click Select All, or press Ctrl+A. or in a group you are editing Deselecting objects To deselect Do this An object Ctrl-click the object. Several objects Press and hold Ctrl, and then drag a selection border around the objects. All selected objects Click in the Drawing area, away from any objects. Use the Object Explorer Use the Object Explorer to view and select objects from a tree-list of all the objects in a display.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Right-click an object to open its context menu. Click the + icon to view the objects and groups within a group. You can keep the Object Explorer open as you work in the Graphics editor. For more information about using the Object Explorer, see Help.
To highlight objects in the Object Explorer In the Object Explorer, click Highlighting on, and then click Settings. To clear all the check boxes, right-click the list and then click Clear All. To select all the check boxes, right-click the list and then click Select All. For details about the options in the Highlight Settings dialog box, see Help. Use the Properties dialog box Every graphic object has a Properties dialog box that you can use to set up the object.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE In this tab Do this General Set up the object’s appearance, audio indicator, and touch margins (for buttons), and settings that are unique to the object, such as the button action for a push button, whether to use key navigation to select the object, or whether to link a button to a specific object. For information about touch margins, see page 21-4. For information about key navigation, see page 21-8.
To open an object’s Properties dialog box, use one of these methods Tip: To automatically open the object's property dialog when you place the object on a display, use the Settings tab (Tools > Options >Settings). Browse button Double-click the object. Right-click the object, and then click Properties. Select the object, and then from the Edit menu, click Properties. In the Property Panel, with the object selected, click the (Custom) property and then click the Browse button.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE You can also use the Property Panel to set up an object’s properties, as described next. For details about setting up a particular object, see Help. Use the Property Panel Use the Property Panel to modify the properties of graphic objects and assign tags and expressions to the objects. The Property Panel is especially useful for making changes to the properties of multiple objects at the same time.
Set up properties Use the Property Panel’s Properties tab to set up the properties of the selected object or objects. If only one object is selected, this box shows the object’s name and type. Click to close. Click for help on the selected property. If a group object is selected, click this button to edit the properties of the objects within the group. Scroll to see more properties... ...Or drag the splitter bar to see more properties.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE A right arrow indicates that the connection sends values to the data source. The connection is a write connection. A left arrow indicates that the data source sends values to the connection. The connection is a read connection. A double arrow indicates that the data flows in both directions. The connection is a read-write connection. The arrows show the direction in which data flows between the connection and the data source.
foreground color and some are assigned the background color. Other color properties, such as Fill color, cannot be assigned using the color toolbars (instead, use the object’s Properties dialog box or the Property Panel).
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE To show a color toolbar From the View menu, select Toolbars, and then click Foreground Colors or Background Colors. To close a color toolbar From the View menu, select Toolbars, and then click Foreground Colors or Background Colors, or click the toolbar’s Close button. Other methods for assigning colors You can also assign colors using an object’s Properties dialog box or the Property Panel.
The name must start with a letter, and cannot contain spaces. You can use the underscore character (_). To name a group object 1. Select the group object. 2. In the Property Panel, click the Properties tab. 3. Double-click the (GroupName) row, and then type the name. The name must start with a letter, and cannot contain spaces. You can use the underscore character (_).
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE 3. To view the next state quickly, double-click the row, or press the Enter key on your keyboard. Assign tags and expressions to graphic objects You can assign tags and expressions to many graphic objects, including ActiveX objects (depending, of course, on how the vendor implemented the object). This section describes how to: Assign tags to graphic objects. Use expressions to manipulate tag values. Replace tags using tag substitution.
Select the object and then assign tags in the Connections tab of the Property Panel. Type the tag name here... ...or click the button to open the Tag Browser. Select the object, and then on the Edit menu click Connections. Assign tags in the Connections tab of the Properties dialog box. Right-click the object, and then click Connections. Assign tags in the Connections tab of the Properties dialog box. For information about: Use the Tag Browser, see page 6-6.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE FactoryTalk View monitors the expression value rather than the original tag value. For example, your machine might send values to the data source in the form of temperature in degrees Celsius. You could use an expression to convert the value to degrees Fahrenheit, and then monitor the expression result rather than the original tag value. If you can assign an expression, a Browse button is present in the Exprn column in the Connections tab.
To select all the objects in the display, on the Edit menu, click Select All. 2. On the Edit menu, click Tag Substitution. To replace the tags for a single object, you can right-click it and then click Tag Substitution. For details about the options in the Tag Substitution dialog box, see Help. A log file is shown after substitution. It provides details on the substitution process and results. If the substitution fails, the reason will be shown.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE 4. Click on the browse button next to Find within and clear all the check boxes except Graphic Objects. Click OK to save the selection and close the dialog box. 5. Identify the word search limitations in Find Options. 6. Select the Direction in which to search: Select Up to search for the tag or text string in all components before the shown one. Select Down to search for the tag or text string in all components after the shown one. 7.
Graphic displays that are opened using a Goto display button. Graphic displays that are opened using a display list selector. The graphic display that opens when the logout button is pressed to log the logged-on user out. The graphic display specified in the Project Settings Runtime tab when auto logout is enabled. Graphic displays that are opened using the Remote Display Number global connection.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Duplicate objects. Resize objects. Reshape drawing objects. Delete objects. Move objects You can move objects using the mouse or the keyboard. The keys give you fine positioning, allowing you to move objects in small increments. You can also use the grid to position objects precisely. Another option is to position an object using the object’s Top and Left properties in the Property Panel.
To move objects in small increments using the keyboard 1. Select one or more objects. 2. Place the pointer on the object, not on its edge or handle. 3. Hold down Shift while you press an arrow key. To adjust the amount of the increment, first hold down the Shift key and press the + or - keys on the keyboard’s numeric keypad. 4. Release the Shift key when the object is in place. Copy objects To copy objects, you can: Drag and drop objects in the same display.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE When you press Ctrl, a plus sign is added to the cursor. 3. When the object is where you want it, release the mouse button and then the Ctrl key. A new copy of the object is created. If you selected several objects, dragging one of the objects copies all the selected objects. The objects maintain their position relative to each other. To drag objects between displays 1. Open both displays (or a graphic library and a display). 2.
Duplicate objects When an object is duplicated, any animation attached to the object is also duplicated. If a group is duplicated, the new copy of the group can be ungrouped to individual objects. To duplicate objects 1. Select one or more objects. Duplicate tool 2. On the Edit menu, click Duplicate, or click the Duplicate tool on the Graphics toolbar. The duplicated object is placed slightly offset from the original. Duplicate also duplicates actions.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE When you resize text objects, if you have selected the Size to fit option, the font size is adjusted to fit the new object size as closely as possible. To automatically align objects to the grid as you resize them On the View menu, select Snap On. A check mark appears beside the menu item when the option is selected. For information about setting up the grid, see page 19-8. To resize an object using the mouse 1. Select the object. 2.
Reshape drawing objects You can reshape arcs, lines, polygons, polylines, rectangles, rounded rectangles, and wedges. To reshape lines, rectangles, polylines, and polygons 1. Select the object you want to reshape. 2. Click the Polygon tool, or right-click the object and then click Edit. Polygon tool The cursor changes to the Polygon tool, and handles appear on the object. 3. Move the cursor over any line or corner of the object. A handle with a cross-hair appears. 4.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE 3. Click the handle and drag inward to increase roundedness, or outward to decrease roundedness. Delete objects If you accidentally delete an object, use the Undo tool to restore it. Undo tool To delete objects 1. Select one or more objects. 2. On the Edit menu, click Delete, or press Delete on the keyboard. To delete all the objects in the display On the Edit menu, click Clear All.
Drag the mouse to select the objects. Group them. To ungroup objects 1. Select the group of objects to ungroup. 2. On the Arrange menu, click Ungroup, or on the Graphics toolbar click the Ungroup tool. Ungroup tool The handles around the group are replaced with handles around each object. Select the group. Ungroup it. Ungrouping deletes any animation attached to the group, because the group no longer exists. However, animation attached to the individual objects that were in the group remains active.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Use the Property Panel to apply the same properties to all the members of the group at once. For example, change the line width of all objects in the group to 2 pixels. For information about using the Property Panel, see page 20-30. Use the toolbars to apply the same pattern style, background style, foreground colors, and background colors to all the members of the group.
5. To stop editing, click outside the group. Arrange objects You can arrange objects (or groups of objects) in a number of ways. You can: Layer objects by moving them in front of or behind other objects. Align objects with each other and with the grid. Space objects horizontally or vertically. Flip drawing objects horizontally or vertically. Rotate drawing objects. Lock objects into position. Layer objects You can layer objects (or groups of objects) on top of each other.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE 2. On the Arrange menu, click Send to Back, or click the Send to Back tool. Send to Back tool Select the object. 20-52 Send the object to back.
Align objects You can align objects (or groups of objects) with each other and with the grid. To align objects 1. Select the objects you want to align. 2.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Examples: Align objects left, right, and center Select objects Align left Select objects Align right Select objects Align center Examples: Align objects top, middle, and bottom Align top Align middle Align bottom 20-54
Space objects With Space Vertical and Space Horizontal, objects (or groups of objects) are moved vertically or horizontally to have the same amount of space from the center point of each object. To space objects 1. Select the objects you want to space. 2. On the Arrange menu, click a Space menu item, or click a tool on the Graphics toolbar: Space Horizontal tool This tool or menu item Does this Space Horizontal Places the centers of the selected objects an equal distance apart horizontally.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Flip drawing objects Flipping an object creates a mirror image of the object. You can flip all the drawing objects (or groups of drawing objects) except text, images, and panels. To flip a drawing object 1. Click the object. 2.
When you rotate text, it rotates around the anchor point but the text itself remains upright. To rotate a drawing object 1. On the Objects menu, click Rotate, or on the Objects toolbar click the Rotate tool. Rotate tool 2. Click the object you want to rotate. A small crosshair circle appears in the middle of the object. This is the anchor point that is used as the center of rotation. You can place the crosshair inside an object. You can place the crosshair outside an object. 3.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE 20-58
21 Set up graphic objects This chapter describes how to set up graphic objects. It describes how to: Set up objects’ spatial properties, names, and visibility. Work with objects that have states. Position objects for touch screens. Assign function keys to buttons. Use the keyboard to navigate to and select objects at run time. Link buttons to lists and trends. Repeat a button’s action by holding down the button.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Set up objects’ spatial properties, names, and visibility Every graphic object has a Common tab in its Properties dialog box. Use the Common tab to set up the following properties for the object: Height and width Top and left position Name Visibility For ActiveX and trend objects, you can also set up these properties: Focus highlight Key navigation For details about the options in the Common tab, see Help.
Tips for setting up objects with states The graphic objects that have states have a States tab in their Properties dialog box. For details about the options in the States tab, see Help. Copy and past properties from one state to another Often, you’ll want most of the properties to be the same from state to state, with only one or two settings changing to distinguish the different states.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Set up how objects are used at run time Just as you must provide operators with a way to navigate between displays at run time, you must also make sure that operators can use the objects within the displays. The next sections in this chapter describe how to set up your objects so the operator can: Press objects using a touch screen. Use function keys to press buttons when a mouse or touch screen is not available on the run-time computer.
The margins at the top and bottom edges are called vertical touch margins. The margins at the left and right edges are called horizontal touch margins. The bounding box If the object’s shape is a circle or ellipse, the touch margin applies to the object’s bounding box, not the object’s border. The bounding box is an invisible square or rectangle that surrounds the object. When you select the object, the selection handles show the location of the bounding box.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE For buttons with multiple states, include the function key name in the caption for each state, or create a text object to use as a label for the button (so that you don’t have to set up the caption for each state), and then group the text and button together. If your application will run on a PanelView™ Plus 6, PanelView™ Plus, or PanelView™ Plus CE terminal, assign keys that are supported by the run-time terminal.
At run time, the operator presses the key combination to activate the object to which the function key is assigned. To assign function keys to buttons On the Edit menu, click Key Assignments, or right-click a button and then click Key Assignments. For details about using the Key Assignment Properties dialog box to assign function keys and change function key assignments, see Help.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE What input focus looks like The object with focus is surrounded by a highlight box, unless the Disable Highlight When Object has Focus box is selected (in the Display Settings dialog box). You can specify the color of the highlight in this dialog box as well. For more information, see Help.
By default, key navigation is turned off for the Numeric Input Enable buttons and String Input Enable buttons. You can turn on keyboard navigation if you want the operator to use the keyboard to navigate to these objects. To turn key navigation on or off, use one of these methods In the Properties tab of the Property Panel, set the KeyNavigation property to False for off or True for on.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE However, if space isn’t a concern, you can create multiple copies of the buttons you want to use and link them to specific objects. One benefit of linking a button to a specific object is that the operator doesn’t have to select the object before pressing the button. Another benefit is that you can position the buttons close to the specified object, making it easier for the operator to understand which buttons work with which objects.
Once you have linked buttons to an object, you might want to turn off the object’s key navigation, since this option is no longer needed. For details, see page 21-9. Repeat a button’s action by holding down the button To repeat a button’s action by pressing and holding it, set up auto repeat for the button. If you set up auto repeat, when the operator presses and holds down the button, repeated button presses are registered until the operator releases the button.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Auto repeat delay—the length of time the button has to be pressed and held down before auto repeat starts. To set up auto repeat for a button, use one of these methods In the Timing tab of the button’s Properties dialog box, specify the Auto repeat rate and Auto repeat delay properties. In the Properties tab of the Property Panel, specify the AutoRepeatRate and AutoRepeatDelay properties.
Hold the value for a specific period of time To set up an object’s Enter key handshaking so that the value at the Value connection is held for a specific period of time, assign a tag to the Enter connection and specify the Enter key hold time. You can also specify an Enter key control delay, if desired. How handshaking works This method of Enter key handshaking works as follows: 1.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE How the Handshake reset type works How the Enter handshake connection resets the Enter connection depends on which Handshake reset type you select: With this handshake reset type The Enter connection is set to 0 when Non-zero Value The Enter handshake connection has a non-zero value.
5. The Enter connection is reset to 0 and the operator can send a new value to the Value connection. To set up Enter key handshaking to hold the value until the data source has read it 1. In the Timing tab of the object’s Properties dialog box, specify these properties: Enter key control delay (optional) Enter key handshake time Handshake reset type 2. In the Connections tab, assign these connections: Enter—assign a tag. A digital tag is recommended (either an HMI tag or a data server tag).
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Set up buttons Many of the button graphic objects are set up the same way.
To set up a button 1. Double-click the button. 2. In the button’s Properties dialog box, fill in the options on each tab: In the General tab, specify what the button looks like at run time. For some buttons, you can specify whether to link the button to a specific object. For the logout button, you can specify a display to open when the button is pressed, and whether the display will use a parameter file or list when it opens. In the Label tab, specify what text or image to show on the button.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Buttons described later in the chapter Information about setting up these buttons is described later in the chapter: Close display Multistate push Goto display Numeric input enable Interlocked push Print alarm history Latched push Print alarm status Macro Ramp Maintained push String Input Enable Momentary push How to use push buttons Push buttons start or stop processes or actions by changing tag values.
Interlocked push buttons work in groups, and share the same tag. Pressing one button cancels another. Although Interlocked push buttons work as a group, you add them to the display one at a time. Ramp buttons increase or decrease the value of a tag by either an integer or floatingpoint value. You can use two Ramp buttons together to create an increment/decrement control, for example for the speed of a motor. Or, you can use a Numeric Input Enable button or numeric input cursor point.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE To set up a Momentary push button 1. Double-click the Momentary push button. 2. In the button’s Properties dialog box, fill in the options on each tab: In the General tab, specify what the Momentary push button looks like at run time, and what type of action the button performs. In the States tab, specify what the button does when it is pressed and released. For tips about setting up states, see page 21-3.
Set up Maintained push buttons Use the Maintained push button to change a setting in a machine or process. Maintained push buttons are not useful for starting or stopping a machine or process. When pressed the first time, the Maintained push button changes a tag to one value. When pressed and released a second time, the button changes the tag to another value. The error state The button’s error state is shown at run time when: The Value connection is unassigned.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE 2. In the button’s Properties dialog box, fill in the options on each tab: In the General tab, specify what the button looks like at run time, and how the button changes state. In the States tab, specify what the button does when it is pressed and released. For tips about setting up states, see page 21-3. In the Common tab, specify the button’s spacial properties, name, and visibility.
To set up a Latched push button 1. Double-click the Latched push button. 2. In the button’s Properties dialog box, fill in the options on each tab: In the General tab, specify what the button looks like at run time, and how to unlatch it. In the States tab, specify what the button does when it is latched and unlatched. For tips about setting up states, see page 21-3. In the Common tab, specify the button’s spacial properties, name, and visibility.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Set up Multistate push buttons The Multistate push button displays—and allows an operator to cycle through—multiple options consecutively. The Multistate push button displays the current state of a process or operation by showing a different color, caption, or image to reflect different states. Each time the operator presses the button, the tag changes to the value for the next state.
In the General tab, specify what the button looks like, and how the button changes state. In the States tab, specify what the button does when it is pressed and released. For tips about setting up states, see page 21-3. In the Timing tab, set up whether or not the button press repeats automatically when the operator presses and holds the button down. You can also set up the rate at which the button press repeats. For more information about auto repeat, see page 21-11.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE To set up an Interlocked push button 1. Double-click the Interlocked push button. 2. In the button’s Properties dialog box, fill in the options on each tab: In the General tab, specify the button’s appearance, and the value it sends to the Value connection. In the States tab, specify what the button looks like when it is pressed and released at run time. For tips about setting up states, see page 21-3.
Set up Ramp buttons Use the Ramp button to increase or decrease the value of a tag. Ramp buttons can change a tag by either an integer or floating-point value. You can use two Ramp buttons together to create an increment/decrement control. Each time the operator presses the button, the tag value increases or decreases, depending on how you set up the button. To set up a Ramp button 1. Double-click the Ramp button. 2.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE In the Common tab, specify the button’s spacial properties, name, and visibility. In the Connections tab, specify the tags with which the button exchanges data. If variable ramp and limit values are selected in the General tab, assign tags or expressions to the Ramp and Limit connections. Ramp buttons have no Indicator connection. For information about assigning tags, see page 20-36. For details about the options in the tabs, see Help. 3.
To set up a numeric display 1. Double-click the numeric display. 2. In the object’s Properties dialog box, fill in the options on each tab: In the General tab, specify what the numeric display looks like at run time. In the Common tab, specify the object’s spacial properties, name, and visibility. In the Connections tab, specify the tags or expression whose data is shown. For information about assigning tags and expressions, see page 20-36. For details about the options in the tabs, see Help.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Set up Numeric Input Enable buttons The operator can press the Numeric Input Enable button to open a numeric pop-up keypad or scratchpad, enter a number in the keypad or scratchpad, and then send the number to the data source. For more information about using the Numeric Input Enable button at run time, see page 17-14. You can also set up the Numeric Input Enable button to work as a Ramp button.
In the Label tab, specify what text or image to show on the button The same text will appear as a caption on the top of the pop-up that opens when the button is pressed at run time. In the Numeric tab, set up which pop-up window opens (if any), the ramp value (if any), minimum and maximum values to send to the data source, whether the minimum and maximum values will be variable (from tags or expressions) or constant, and decimal point settings.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE To set up a numeric input cursor point 1. Double-click the numeric input cursor point. 2. In the object’s Properties dialog box, fill in the options on each tab: 21-32 In the General tab, specify what the cursor point looks like at run time, and whether the operator can navigate to the cursor point using the keys on the keyboard or keypad.
For details about the options in the tabs, see Help. 3. When you are finished, click OK. Set up string displays Use the string display object to show the operator messages from the data source. For example, you might set up the data source to generate strings that report on the state of a process or operation, or that provide instructions about what the operator needs to do next. At run time, the display shows the operator the string value of the Value connection at the data source.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE In the Common tab, specify the string display’s spacial properties, name, and visibility. In the Connections tab, specify the tag or expression whose data is shown. For information about assigning tags and expressions, see page 20-36. For details about the options in the tabs, see Help. 3. When you are finished, click OK.
In the General tab, specify what the button looks like at run time, whether the operator can navigate to the button using the keys on the keyboard or keypad, and whether the operator can press the button to give it focus. In the Label tab, specify what text or image to show on the button. The same text will appear as a caption on the pop-up that appears when the button is pressed at run time. In the String tab, specify the pop-up to open and the number of characters to accept.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE 2. In the button’s Properties dialog box, fill in the options on each tab: In the General tab, specify what the button looks like at run time, the display to open, and the parameter file or parameter list to use, if any. In the Label tab, specify what text or image to show on the button. In the Common tab, specify the button’s spacial properties, name, and visibility. In the Connections tab, assign a tags or expressions as needed.
2. In the button’s Properties dialog box, fill in the options on each tab: In the General tab, specify what the button looks like at run time, and whether to write out a value when the display closes. In the Label tab, specify what text or image to show on the button. In the Common tab, specify the button’s spacial properties, name, and visibility. In the Connections tab, specify the tag with which the button exchanges data. For information about assigning tags, see page 20-36.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE To set up a display list selector 1. Double-click the display list selector. 2. In the object’s Properties dialog box, fill in the options on each tab: In the General tab, specify what the selector looks like at run time, its number of states, whether the operator can navigate to the selector using the keys on the keyboard or keypad, and whether the cursor wraps from the bottom of the list back to the top.
How to use indicators Indicators show the status of processes or operations by showing different colors, captions, or images to reflect different states. You can create different kinds of indicators to suit your needs: Multistate indicators show the current state of a process or operation by showing a different color, caption, or image to reflect different states. Symbols show a symbol that changes color to indicate the state of a process or operation.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE To set up a multistate indicator 1. Double-click the multistate indicator. 2. In the object’s Properties dialog box, fill in the options on each tab: In the General tab, specify what the indicator looks like, and the number of states for the indicator. In the States tab, specify how the indicator’s appearance changes when its tag or expression’s value changes. For tips about setting up states, see page 21-3.
Set up symbols The symbol is an indicator that shows a single monochrome image that changes color to match the state of a process or operation. This allows the operator to see the status of a process or operation at a glance. The error state The symbol’s error state is shown at run time when: The Indicator connection is unassigned. The Indicator connection’s value does not match one of the state values you set up.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE 2. In the object’s Properties dialog box, fill in the options on each tab: In the General tab, specify what the symbol looks like at run time, and the number of states for the symbol. In the States tab, specify how the symbol’s appearance changes when its tag or expression’s value changes. For tips about setting up states, see page 21-3. In the Common tab, specify the symbol’s spacial properties, name, and visibility.
To set up a list indicator 1. Double-click the list indicator. 2. In the object’s Properties dialog box, fill in the options on each tab: In the General tab, specify what the indicator looks like at run time, and the number of states for the indicator. In the States tab, specify how the indicator’s appearance changes when its tag or expression’s value changes. For tips about setting up states, see page 21-3. In the Common tab, specify the indicator’s spacial properties, name, and visibility.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE How to use bar graphs, gauges, and scales Bar graphs and gauges show graphical representations of numeric values. The scale is used with bar graphs to indicate the range of values for the bar graph. Bar graphs make it easy to compare values Bar graphs show numeric values in bar graph format.
Gauges make it easy to see limits Gauges show numeric values in dial format. They are useful for showing a value in relation to its lower and upper limits. For example, a temperature gauge shows the current temperature in relation to its minimum and maximum extremes. By looking at the position of the needle on the gauge (pointing left, up, or right), the operator can tell at a glance whether the temperature is nearer its lower limit, nearer the middle, or nearer its upper limit.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Set up bar graphs Use bar graphs to represent numeric values by filling and emptying the object as the values rise and fall. To set up a bar graph 1. Double-click the bar graph. 2. In the object’s Properties dialog box, fill in the options on each tab: In the General tab, specify what the bar graph looks like at run time. In the Common tab, specify the bar graph’s spacial properties, name, and visibility.
Set up gauges The gauge graphic object represents numeric values using a needle on a dial. At run time, the gauge indicates the value of a tag or expression in relation to the gauge’s minimum and maximum values. To set up a gauge 1. Double-click the gauge. 2. In the object’s Properties dialog box, fill in the options on each tab: In the General tab, specify what the gauge looks like at run time. In the Display tab, specify how the gauge shows values at run time.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Set up scales Use the scale graphic object to show the possible range of values for a bar graph. To place value labels on the scale (to create a legend), use text objects. Create the text objects and then position them next to the tick marks on the scale. Group all the objects with the bar graph. To set up a scale 1. Double-click the scale. 2.
Set up control list selectors Control list selectors allow an operator to scroll through a list of states for a process and select one of the states. A highlight in the list shows the current state. A control list selector can show several states at the same time, but only one state can be selected at a time. As the operator scrolls through the list, each successive state is selected automatically.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE You can use Enter key handshaking to hold the value of the tag at the programmable controller or device for a specific period of time, to ensure the value is read before the control list selector overwrites the value with a new value. Enter key handshaking only works if the Write on enter check box is selected (in the General tab). For more information about using Enter key handshaking, see page 21-12. To set up a control list selector 1.
In the Timing tab, set up the timing and handshake settings for the Enter key. For information about using Enter key handshaking, see page 21-12. In the Common tab, specify the control list selector’s spacial properties, name, and visibility. In the Connections tab, specify the tags or expression with which the control list selector exchanges data. For information about assigning tags and expressions, see page 20-36. For details about the options in the tabs, see Help. 3.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE You can set up the piloted control list selector to be operator-controlled or remotecontrolled by assigning tags or expressions in the Connections tab. You can also set up individual states to be operator-controlled, remote-controlled, both, or none. If set to none, the state is turned off.
Scrolling through the list If the piloted control list selector contains more states than can be shown in the list simultaneously, the value of the Top Position connection (if assigned) changes whenever the item at the top of the list changes. If the Visible States connection is assigned, the values assigned to all visible states are written to the Visible States connection whenever the list scrolls.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE In the States tab, set up the value and caption for each state. Also specify whether each state can be selected, and by whom. For tips about setting up states, see page 21-3. In the Timing tab, set up the timing and handshake settings for the Enter key. For information about using Enter key handshaking, see page 21-12. In the Common tab, specify the piloted control list selector’s spacial properties, name, and visibility.
To set up a local message display 1. Double-click the local message display. 2. In the object’s Properties dialog box, fill in the options on each tab: In the General tab, specify what the local message display looks like at run time and which local message file to use. In the Common tab, specify the local message display’s spacial properties, name, and visibility. In the Connections tab, specify the tag or expression with which the local message display exchanges data.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Set up Macro buttons Macro buttons run macro files that assign values to tags when the button is pressed. For information about creating macros, see Chapter 30. To set up a Macro button 1. Double-click the button. 2. In the button’s Properties dialog box, fill in the options on each tab: In the General tab, specify what the button looks like at run time, and the macro to run when the button is pressed.
Set up time and date displays A time and date display shows the current time and date in a graphic display. To set up a time and date display 1. Double-click the time and date display. 2. In the object’s Properties dialog box, fill in the options on each tab: In the General tab, specify what the time and date display looks like at run time. In the Common tab, specify the time and date display’s spacial properties, name, and visibility. For details about the options in the tabs, see Help. 3.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Set up Print Alarm History buttons The operator can press the Print Alarm History button to print a report of all the alarm messages in the alarm log file. The report can include the time alarms occurred and were acknowledged. For information about the alarm log file, see page 9-10. To set up a Print Alarm History button 1. Double-click the button. 2.
Set up Print Alarm Status buttons The operator can press the Print Alarm Status button to print a report of the status of alarms that have been defined for the application (in the Alarm Setup editor). The report can include all alarms, active alarms only, or only alarms that have been active since the alarm status was last reset. The report can include how many times each alarm was triggered, and the accumulated time in alarm. To set up a Print Alarm Status button 1. Double-click the button. 2.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Set up alarm lists The alarm list graphic object shows a list of alarms from the alarm log file. It can show all the alarms in the alarm log file, or any combination of active, inactive, acknowledged, and unacknowledged alarms. It can also show the alarms for specific alarm triggers.
2. In the object’s Properties dialog box, fill in the options on each tab: In the General tab, specify what the alarm list looks like at run time, whether the operator can navigate to the list using a keyboard, and how scrolling works for the list. In the Alarm tab, specify the columns to include in the list, the number of lines per alarm, and the triggers to filter by, if any.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE To set up an alarm banner 1. Double-click the alarm banner. 2. In the object’s Properties dialog box, fill in the options on each tab: In the General tab, specify what the banner looks like at run time and whether the operator can navigate to the banner using the keys on the keyboard or keypad.
The operator can view the status list in three different modes: All alarms—shows the status of all alarms that have been defined in the Alarm Setup editor. Active alarms—shows the status of all the alarms that are currently active. Past alarms—shows the status of all the alarms that have been active since the alarm status has been reset. The operator can press the alarm status mode button to cycle through the different modes.
2. In the object’s Properties dialog box, fill in the options on each tab: In the General tab, specify what the alarm status list looks like at run time, whether the operator can navigate to the list using a keyboard, and how scrolling works for the list. In the Alarm tab, specify the columns to include in the list, the number of lines per alarm, and the triggers to filter by, if any. In the Common tab, specify the alarm status list’s spacial properties, name, and visibility.
To set up a diagnostics list 1. Double-click the diagnostics list. 2. In the object’s Properties dialog box, fill in the options on each tab: In the General tab, specify what the list looks like at run time, whether the operator can navigate to the list using the keys on the keyboard or keypad, and whether the cursor wraps from the bottom of the list back to the top. In the Common tab, specify the diagnostics list’s spatial properties, name, and visibility.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE For more information about using information message displays, see page 27-7. To set up an information message display 1. Double-click the information message display. 2. In the object’s Properties dialog box, fill in the options on each tab: In the General tab, specify what the information message display looks like at run time. In the Common tab, specify the information message display’s spacial properties, name, and visibility.
22 Animate graphic objects This chapter describes: The types of animation and which objects support which types of animation. Use the Animation dialog box. Test animation. Use tag names, tag placeholders, and expressions when attaching animation. Set the minimum and maximum values for animation that uses a range of motion. Use Object Smart Path to define an object’s range of motion. Set up each type of animation. Apply animation to groups.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Width The Objects 5 Screen Demo sample application contains many examples of animation. In particular, see the graphic displays called “Animation I” and “Animation II.” Which objects can have which types of animation? This table summarizes which types of objects support which types of animation. For information about the different types of graphic objects, see page 20-1.
View menu Animation menu 22-3 • • • • • 22 • Animate graphic objects
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE About the Animation dialog box The Animation dialog box is a floating dialog box, which means you can keep it open all the time and move it around the screen. While it’s open you can select other objects and open other dialog boxes. Animation tabs Expression range Expression box Animation result For details about the parts of the Animation dialog box, see Help.
Test animation Test Display tool To test the animation you have set up in a graphic display, use the Test Display tool to switch to test mode. When you are finished testing, switch back to edit mode to continue editing. To switch between test and edit modes Edit Display tool On the View menu, click Test Display or Edit Display, or click the Test Display and Edit Display tools. Test mode is not the same as running the display.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE To create a tag placeholder In the Expression box, type the cross-hatch character followed by a number (no space in between). For example, #1. Use expressions Many types of animation can be achieved using expressions. You can use expressions containing tag values, constants, mathematical equations, security functions, and if-thenelse logic.
Define a range of motion To define a range of motion for an object, do one of the following: Use the mouse to move the object in the display. This uses the Object Smart Path feature to visually define the range of motion. Type values in the At minimum and At maximum boxes. Motion can be defined in pixels, percentages, or degrees.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE 4. In the Tag box of the Animation dialog box, specify a tag name. 5. In the display, drag the rectangle to the position that will indicate the lowest number in the range. 6. In the Animation dialog box, set this position by clicking the At minimum check box. 7. In the display, drag the rectangle to the position that will indicate the highest number in the range.
8. In the Animation dialog box, set this position by clicking the At maximum check box. 9. To save the settings, click Apply. When you finish setting up the animation, the rectangle returns to its original position. Set up the different types of animation This section describes the different types of animation and provides tips and examples for setting up animation.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE To specify which user can view an object in a display 1. Select the object to limit visibility to. 2. Open the Animation dialog box and click the Visibility tab. 3. In the Expression box, type this: CurrentUserName( ) == “ADMIN” 4. For the Expression true state, click Visible. 5. Click Apply, and then click Close. At run time, the object is visible only if the Admin user is logged in.
The following example shows the effects of Shaded and Gradient fill styles. Color animation is available for all drawing objects except images and panels. KEEP ORIGINAL COLOR Using the Original Fill Style allows for more variations on animating an object. Instead of a specific color for the object’s non-blink state, the object’s original color can be used. If Original is used as a Fill Style on any state, the color palette boxes will not allow a color change.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE 7. Click Apply. Example 2: Create an object that changes color as the fill level changes This example describes how to create a rectangle object that changes color as the object’s fill level increases. This example uses a tag called Hopper1\FlourLevel. The tag has a range of 1 to 100. When the flour level reaches 80, the rectangle blinks between gray and yellow to warn the operator that the hopper is nearly full.
In the Value box, type 80. For Line and Fill colors, click Blink. A palette box will be shown for the Blink color. Yellow Gray For the line colors, select gray for the first color and yellow for the blink color. Repeat for the fill colors. Set up the color for the second warning In the list box, click C. In the Value box, type 95. For the line and fill, click Blink. A palette box will be shown for the Blink color.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Fill animation is available for all drawing objects (including group objects) except images and panels. If you select the Inside Only check box, fill animation does not affect objects’ borders, line objects, or objects with transparent backgrounds. For more information about setting up fill animation, see Help.
Set up height animation With height animation, an object’s height changes based on a tag value (or the result of an expression) in relation to the specified minimum and maximum values. For example, if the value of the expression is halfway between the minimum and maximum values, the object’s height will be halfway between its minimum and maximum percentage. Height animation is available for all drawing objects except images and panels. For more information about setting up height animation, see Help.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Set up vertical slider animation With vertical slider animation, you can use a drawing object to set the value of a tag. To do this, define a path for the object. At run time, when the operator moves the object vertically (using a mouse), the pixel position of the object is translated into values that are written to the tag. If the tag value is changed externally, the position of the slider changes as well.
Test your animation to ensure you achieve the intended results. To apply animation to objects within groups, use the group edit feature. For details, see page 20-49. Check the animation on objects To see what type of animation has been set up for an object or group of objects, use the Object Explorer, the Animation menu, or the Animation dialog box. For information about using the Object Explorer to highlight objects that have animation attached, see page 20-26.
Copy or duplicate objects with animation You can copy or duplicate objects that have animation attached to them. When you do, the animation attached to the objects is also copied or duplicated. If you copy or duplicate a group, the copy of the group can be ungrouped to individual objects, just like the original. For information about copying and duplicating objects, see pages 20-43 and 20-45.
4. On the Edit menu, click Paste Animation. To paste to a single object, you can right-click the object and then click Paste Animation. Set up animation for global objects FactoryTalk® View global objects allow you to link the appearance and behavior of a graphic object to multiple copies of that object. When the original base object is updated, the changes are automatically applied to all the copies of the object. For information about creating base objects, see page 25-10.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE 22-20
23 Use expressions This chapter describes: The types of expression components. Use the Expression editor. Which editors use expressions. Format expressions. Use tag names and tag placeholders with expressions. Use constants. Use operators. Use math, security, and language functions. Use if-then-else logic in expressions. The evaluation order of operators. Use write expressions.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Expression components Expressions can be built from: Tag values. Tag placeholders. Constants. Arithmetic, relational, logical, and bitwise operators. Mathematical and security functions. If-then-else logic. Tags, arithmetic operators, bitwise operators, and mathematical functions such as SQRT (square root) return numeric values. Relational and logical operators return true/false values.
and functions, thus avoiding typing mistakes. Another advantage of using the Expression editor is that you can check whether the syntax of the expression you’ve created is valid. To create an expression by typing it directly Type an expression up to 16,000 characters long. Expressions that you type directly are not checked for syntax.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE For details about using the options in the Expression editor, see Help. Where you can use expressions You can use expressions in these editors: Graphics—You can define an expression to control various aspects of a graphic object’s appearance. For more information about assigning expressions to graphic objects, see page 20-37. You can also use expressions to attach animation to graphic objects. For more information, see Chapter 22.
Use tag names and tag placeholders A tag name can be included as part of an expression or can stand alone as the entire expression. To supply a tag name, do one of the following: Type a tag name. You can type a tag name that does not exist in the tag database. When you click OK, you are prompted to create the tag. You can create it now, or write down the name and create it later. Click the Tags button and select a tag from the Tag Browser.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE To create a tag placeholder in an expression Type the cross-hatch character followed by a number (no space in between). For example, #1. Constants A constant can have any of the following formats: Integer (123) Floating-point (123.45) String constant (“character string”) Arithmetic operators Arithmetic operators perform math on two or more numeric values and calculate the result.
Be sure that any tag value you use as a divisor cannot at some point have a value of zero. Expressions that attempt to divide a number by zero produce an error at run time. String operands The + operator can be used to join string operands. For example, the expression “hello” + “world” returns: helloworld. You cannot join string tags to analog tags, whether they are HMI or data server tags. Relational operators Relational operators compare two numeric or string values to provide a true or false result.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Any statement that evaluates to a non-zero value is regarded as true. For example, the statement tag1 is false if the value of tag1 is 0, and true if tag1 has any other value. The logical operators are: Symbols Operator Action AND, && and OR, || or NOT negation Returns a 1 if the statements to the right and left of the operator are both true. Returns a 1 if either the statement to the left or right of the operator is true.
Symbol Operator Action (for examples, see page 23-10) | inclusive OR Compares two integers or tags on a bit-by-bit basis. Returns an integer with a bit set to 1 if either or both of the corresponding bits in the original numbers are 1. If both bits are 0, the resulting bit is 0. ^ exclusive OR (XOR) Compares two integers or tags on a bit-by-bit basis. Returns an integer with a bit set to 1 if the corresponding bits in the original numbers differ.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Examples: Bitwise operators For these examples, tag1 = 5 (binary 0000 0000 0000 0101) and tag2 = 2 (binary 0000 0000 0000 0010) tag1 & tag2 Returns 0 (binary 0000 0000 0000 0000). tag1 | tag2 Returns 7 (binary 0000 0000 0000 0111). tag1 ^ tag2 Returns 7 (binary 0000 0000 0000 0111). tag1 >> 1 Returns 2 (binary 0000 0000 0000 0010). tag1 << 1 Returns 10 (binary 0000 0000 0000 1010). ~ tag1 Returns -6 (binary 1111 1111 1111 1010).
Operators are evaluated in this order: Evaluation order Symbols 1 (highest) () 2 NOT ~ 3 * / MOD, % ** AND, && & >> << 4 + OR, || | ^ 5 (lowest) EQ, == NE, <> LT, < GT, > LE, <= GE, >= 23-11 • • • • • 23 • Use expressions
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Examples: Evaluation order For these examples, tag1 = 5, tag2 = 7, and tag3 = 10. _____________________________ (tag1 > tag2) AND (tag1 < tag3) is evaluated in this sequence: 1. tag1 > tag2 = 0 2. tag1 < tag3 = 1 3. 0 AND 1 = 0 The expression evaluates to 0 (false). _____________________________ tag1 > tag2 AND tag3 is evaluated in this sequence: 1. tag2 AND tag3 = 1 2. tag1 > 1 = 1 The expression evaluates to 1 (true).
Mathematical functions Use math functions to calculate the square root, log (natural or base 10), or trigonometry ratios (in radians or degrees) of a tag.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE This function Returns this value CurrentUserHasCode (Security Code Letters) True (1) if any of the specified security codes have been assigned to the user; false (0) if not. If checking multiple security codes, do not type a space between the security code letters. For example: CurrentUserHasCode(ABP) returns the value 1 if the user has been assigned one or more of the specified codes.
Language switching alarm, information, and local messages in FactoryTalk View ME Station 4.00 FactoryTalk View 5.00 and later provides direct support for switching message languages at run time. For applications that will run in FactoryTalk View ME Station version 4.00, use the CurrentLanguage( ) expression function to specify message offsets in the information message file. In the file, divide your messages into sections for each language.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE If-then-else If-then-else expressions carry out an action conditionally or branch actions depending on the statements in the expression. The if-then-else statements enable the expression to perform different actions in different situations and to repeat activities until a condition changes. To build conditional expressions, use the relational operators and the logical operators for the statement and values.
Nested if-then-else You can also nest an if-then-else structure inside the Then or Else part of an if-then-else structure.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Example 2: Nested if-then-else This expression: if statement1 then if statement2 then value1 else value2 else value3 has this interpretation: Use write expressions Write expressions allow the operator to enter a value which is manipulated by an expression before being sent to the data source.
Example: Use write expressions In this example, the operator regulates the speed of a conveyor belt by entering a value in feet or meters per second. When the operator enters the value in meters per second, the value is converted to feet per second before being passed to the data source. The operator first indicates whether the value is in feet or meters by pushing a Maintained pushMaintained push button.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE 23-20
24 Use embedded variables This chapter describes: The types of embedded variables. Where you can create embedded variables. Create embedded variables. Embedded variable syntax. How embedded variables are updated at run time. How embedded variables are shown at run time. About embedded variables Embedded variables allow you to show values that change dynamically at run time.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Where you can create embedded variables You can create embedded variables in these editors: Graphics—Use this editor to insert embedded variables in the captions for graphic objects. For graphic objects with multiple states, you can insert different embedded variables in each state’s caption. You can also use embedded variables in the title bar for On Top displays. For information about specific graphic objects, see Chapter 21.
5. Fill in the options in the dialog box that opens. For details about the options, see Help. To create an embedded variable in a message 1. In the Message column of the Local Messages, Information Messages, or Alarm Setup editor, right click and then click Edit String. 2. Click Insert Variable. 3. Click the type of variable to insert. 4. Fill in the options in the dialog box that opens. For details about the options, see Help.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Tag_name is the tag to show; you can also type a literal number or tag placeholder here. Fill_character is the fill character to use: NOFILL, ZEROFILL, or SPACEFILL. # indicates the number of decimal places.
Tag_name is the tag to show; you can also type a literal string or tag placeholder here. The string cannot contain spaces. SHOWSTAR (optional) specifies that if the string is longer than the fixed number of characters, an asterisk (*) will be shown to indicate the string is truncated. If you use the minus sign (-), the asterisk will be shown as the first character at the left end of the string. Otherwise, the asterisk will be shown as the last character at the right end of the string.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Time and date embedded variable syntax Use time and date embedded variables to insert the current time or date into captions, title bars, and messages Time and date embedded variables use this syntax: /*Time_date_format*/ where Time_date_format uses one of these character sequences: These characters Specify this format SD Short date LD Long date SDT Short date and time LDT Long date and time T Time TSD Time and short date TLD Time and
Local messages—When a display containing a local message display object is open, and the message the object is showing contains an embedded variable, the value of the embedded variable is updated whenever a new tag value is read from the data source. For time and date embedded variables, the time and date are updated as the system time and date change. Information messages—The value of the embedded variable is read when the information message is first shown. It is not updated after that.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Number formats The numeric variable uses the number format of the current application language. For example, if the application language uses a comma for the decimal symbol, the numeric variable uses a comma for the decimal symbol. For information about using multiple languages, see Chapter 12.
25 Use parameters and global objects This chapter describes: Use tag placeholders and parameter files or lists. Create tag placeholders. Create parameter files and parameter lists. Use global objects. Create global object displays and base objects. Create, set up, and delete reference objects. Use global object parameters. Adding controller instruction faceplates that connect to Logix5000 processors.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Global object parameters To use the same graphic display with different sets of tags, use tag placeholders with parameter files or parameter lists. Using tag placeholders can be quicker than duplicating a display and setting up the objects in it to use a different set of tags, especially when the display uses a lot of tags. Using parameter files or parameter lists also reduces the size of the run-time application file.
Summary of steps Follow these steps to use tag placeholders with parameter files or parameter lists: 1. In the Graphics editor, create graphic objects and assign tag placeholders to the objects. 2. If you are using parameter files, create parameter files in the Parameters editor for each set of tags that the display will use. In the parameter files, specify which tags to substitute for which placeholders. 3.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE The Connections tab of the Property Panel. The Expression box in the Animation dialog box. A global object’s Parameter Definitions dialog box. Anywhere that you can insert an embedded variable. For information about embedded variables, see Chapter 24. To create a tag placeholder Type the cross-hatch character followed by a number from 1 to 500 (no space in between). For example, #1.
Use the Parameters editor Use the Parameters editor to create one or more files of tag placeholder replacements. Each file is stored in the editor’s folder. You can open and work on multiple parameter files at the same time. For details about using the Parameters editor, see Help. To open the Help, press F1 on your keyboard.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE 2. Create two parameter files, called Corn and Peas, containing these parameters: Corn Peas #1=Corn_Name #1=Pea_Name #2=Corn_Temp #2=Pea_Temp #3=Corn_Weight #3=Pea_Weight #4=Corn_Level #4=Pea_Level 3. In the Canning Overview display, assign tag placeholders to the Value connections for these graphic objects: This graphic object Uses this tag placeholder String display #1 Numeric display 1 #2 Numeric display 2 #3 Bar graph #4 4.
The Canning Overview display looks like this when the operator selects the Peas state: Create parameter lists You create parameter lists by selecting the tags as you set up the objects that will open the displays that use them. The first tag in the list will replace placeholder #1, the second tag in the list will replace #2, and so on. A parameter list stays with the object when it is copied or duplicated, and with the graphic display in which it is created, when the display is copied or moved.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Follow these steps to use tag placeholders and parameter lists: 1. In the Graphics editor, create graphic objects and assign tag placeholders to the objects. 2. In the dialog box where the parameter list option appears, click on the Browse button to open the Tag Browser. 3. Select the first tag or folder to add to the list and click OK. The tag or folder name appears in the parameter list text box. At run time, this tag replaces placeholder #1. 4.
This graphic object Uses this tag placeholder Bar graph #4 3. Use descriptive text to illustrate the objects in the display. 4. In the Main Menu display, create a display list selector for opening the Canning display, with two states. 5. In the first state, choose the parameter list option and select the Corn parameter tags from the Tag Browser in this order: Corn_Name, Corn_Temp, Corn_Weight, Corn_Level. In the second state, do the same for the Peas tags. 6.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE replace the parameter #1 with the structure tag name and then derive their values from the structure elements they have been set up to read. To carry the same parameters forward another level, the Goto display button on the Logix_PIDE faceplate display has the parameter list option on its General tab selected, and the parameter {#1} typed in.
2. Create graphic objects in the global object display. These are the base objects. Set up their appearance, animation, and connections. 3. Copy or drag base objects into a standard graphic display. The copied objects are reference objects. For more information, see page 25-12. 4. Edit the link properties of the reference objects as desired. For more information, see page 25-13.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Create reference objects FactoryTalk View global objects allow you to link the appearance and behavior of a graphic object to multiple copies of that object. When the original base object is updated, the changes are automatically applied to all the copies of the object. The copies of the base object are called reference objects. You can copy or drag base objects into standard graphic displays. Each copied object becomes a reference object.
All reference objects linked to the base object are updated. To view the changes to the reference object, close the display containing the reference object, and then reopen it. Or, toggle the object’s LinkSize property on and off. Set up reference objects’ link properties FactoryTalk View global objects allow you to link the appearance and behavior of a graphic object to multiple copies of that object.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE For information about resizing objects, see page 20-45. For information about assigning connections to objects, see page 20-31. For information about assigning animation to objects, see Chapter 22. To specify default link properties for reference objects 1. On the Edit menu, select Global Object Defaults. 2. Specify the new default values. 3. Click OK. The defaults are used for any new reference objects you create.
add, or remove a tag or expression in the base object, the same change is made to all the reference objects. If you don’t use global object parameters, you can still assign different tags to different reference objects by changing the reference object’s LinkConnections property to False and the LinkAnimations property to Link without expressions. The global object parameter takes the same form as a regular parameter: #1, where 1 can be any number from 1 to 500.
1. In the global object display, assign placeholders and parameter definitions to the base object. For details, see the next section. 2. In the standard graphic display, select the reference object and specify the value to use for each parameter. For more information, see page 25-12. To specify global object parameters for the base object 1. Create placeholders in each place where you want to use a global object parameter. You can create the placeholders anywhere a tag or expression is required.
2. Specify a value for each parameter. The value can be a tag, backing tag, or numeric or string constant. Numeric constants are treated as strings of text. Use controller instruction faceplates Controller instruction faceplates are pre-configured graphic displays and global object displays that interact with Logix5000 processors. Controller instruction faceplates contain graphic objects that display values from a Logix5000 processor and allow operators to interact with the processor.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Enhanced Select (Logix_ESEL) Alarm (Logix_ALM) Ramp/Soak (Logix_RMPS) PhaseManager (Logix_PhaseManager) The name in parentheses is the name of the main graphic display and global object display. Other displays in the set are named beginning with this name, followed by a segment describing the purpose of the subdisplay. For example, Logix_ALM has two subdisplays called Logix_ALM_Config and Logix_ALM_Status.
26 Set up data logging This chapter describes: Steps for setting up data logging. Data log files. Data log models. Change the data log model used at run time. Show data logs using the trend graphic object. Problems with data logging. Summary of steps Follow these steps to set up data logging: 1. In the Data Log Models editor, set up a data log model that specifies how many log values to store, the conditions that trigger data logging, where to log data, and which tags to monitor. 2.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE File names FactoryTalk View creates two data log files: Data Log Model Name.log Data Log Model Name.tag You’ll need this information if you log to a custom path and want to delete the log files manually. Data Log Models A data log model defines which tags to log data for, as well as how and where the data is logged. You can set up multiple data log models, but you can run only one data log model at a time.
Each data log model has a unique name, and an optional description. You can log a maximum of 1,000,000 points for version 7.00.00 or later, and you can log 300,000 points for release versions earlier than 7.00.00. The default is 1000. When the maximum number of data points have been logged, the oldest data is deleted to make room for the new data.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Log on change On-change logging is used to log only tags whose values have changed. For HMI tags, before logging occurs, the change must equal a specified percentage of change in the tag value. The percentage is based on HMI tags’ minimum and maximum values as set up in the Tags editor. Only the tags that change by the specified percentage are logged. If you specify a percentage of 0, all changes are logged.
4. Create the run-time application. See Chapter 14. 5. Transfer the run-time application to the run-time platform. For information about transferring applications to: A personal computer, see Chapter 15. A PanelView Plus or PanelView Plus CE terminal, see Chapter 16. 6. Run the new application. Show data logs using the trend graphic object You can use the trend graphic object to show the data that you’ve logged.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE 26-6
27 Use information messages This chapter describes: Steps for setting up information messages. Use the Information Messages and Information Setup editors. Prepare to set up information messages. How information messages work. Create information messages in multiple languages. The [INFORMATION] display. Create your own information message display. Open and close the information message display. How the information message display graphic object works.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE 3. In the Startup editor, ensure that the Information messages box is checked (it is checked by default). See Chapter 14. 4. If desired, in the Graphics editor modify the default [INFORMATION] display, or create your own graphic display to use for information messages. For example, if you don’t want the operator to acknowledge messages, edit the default display to remove the information acknowledge button.
Set up how information messages are shown Use the Information Setup editor to set up how information messages are shown. For detailed information about the options in the Information Setup editor, see Help. Prepare to set up information messages As your application is running, information is continually sent to the data source about the state of various processes. For example, your application might be monitoring whether a valve is open or closed, or the temperature in a boiler.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE How information messages work These are the key parts of the information message system: Information message file—a text file containing a list of messages, with a numeric trigger value for each message Information message display—a graphic display that opens at run time and shows information messages Value connection—a tag or expression.
Save the message file with the name “Conveyor belts.” 5. In the Information Setup editor, assign the Information_messages tag to the Value connection, and select the Conveyor belts message file. At run time, when the value of Conveyor_1_status changes to 1, the first message is shown (in the default information message display). When the value of Conveyor_2_status changes to 1, the second message is shown.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE The [INFORMATION] display FactoryTalk View comes with an information message graphic display called [INFORMATION]. It contains an information message display graphic object and buttons for acknowledging the shown message and closing the display. By default, the [INFORMATION] graphic display opens automatically at run time when an information message is generated.
Use the information acknowledge button When the operator presses the information acknowledge button, if the Ack connection is assigned, the connection value is set to 1 at the data source. The value is held as long as the operator presses the button, or for the acknowledge hold time, whichever is longer. Then the connection is reset to 0.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE information message display you have created, or can be placed in any display in your application. For information about setting up the information message display graphic object, see page 21-65. What is shown If the Value connection is unassigned, the information message graphic display never opens automatically. If the operator opens a graphic display containing an information message display object, the object is blank.
28 Set up trends This chapter describes: What trends are. Summary of steps for creating a trend graphic object. Create trends, and the Trend Object Properties dialog box. The parts of the trend graphic object. The different chart types. Choose colors, fonts, lines, and markers for the trend. Test the trend. Use objects from the Trends graphic library. Use buttons to control the trend at run time. Print trend data. Run-time errors for trends.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE . The trend graphic object Current versus historical data The data shown in a trend can come from two sources. For current values, data comes from the value table as it is collected. The value table is a record of the most recent values collected from the data source, and is stored in temporary memory while the application is running. For historical values, data comes from a data log model’s log file, if a model is assigned to the trend.
For information about using multiple languages, see Chapter 12. Summary of steps These are the steps for creating a trend: 1. To plot historical data, create a data log model in the Data Log Models editor. For information, see Chapter 26. 2. Create a trend graphic object in the Graphics editor, as described on page 28-3. 3. Set up the trend in the Trend Object Properties dialog box. For details about the options in the dialog box, see Help. 4.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Set up trends When you double-click a trend object, the Trend Object Properties dialog box opens. Use the dialog box to set up the trend. Set up the chart style and update mode. Set up how the trend works at run time. Set up pens. Set up the horizontal axis. Set up the vertical axis. Set up focus highlight and keyboard navigation. Set up the tags to show data for. For details about the options in the Trend Object Properties dialog box, see Help.
The parts of a trend The illustration below shows a standard trend chart, with three pens and a two-minute time span. Two of the pens have markers. The third uses digital plotting. For more information about chart types, see page 28-7. Trend border The border appears around the trend object at run time when the trend is selected. Trend window The area around the chart, between the border and the chart, is the trend window.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Chart The chart is the area of the trend in which values are plotted. It is bounded by the y-axis on the left and the x-axis on the bottom. It contains the plotted trend data (shown using pen lines and pen markers), as well as grid lines (if you choose to display them). Y-axis The y-axis is the left vertical edge of the chart. It is also known as the vertical axis.
If there is no data for a pen, or if the data is outside the vertical axis range, the pen does not appear in the chart. Pen icons Pen icons appear at the right edge of the chart at run time, if you choose to show them. The icon’s position indicates the pen’s most recent recorded value (from the value table), even if the trend is paused or if the most recent value has not been plotted yet. Pen markers Pen markers are symbols that indicate data points.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Isolated graphing For charts with multiple pens, you can allow the pen values to overlap, or you can isolate each pen in its own horizontal band on the chart. This is an example of isolated graphing, with a 10% buffer between each pen’s band: Notice that in this illustration each pen uses its own scale. If desired, you can use the same scale for all pens. With isolated graphing, a grid line is automatically placed above each pen’s band.
When values for the pen have been plotted across the full width of the chart, the pen appears as a solid line. In the Connections tab, assign to a pen the tag, expression, or constant whose value will be used to determine the position of the line, and then in the Pens tab, choose the pen type Full Width. As soon as the trend is shown, the pen appears as a horizontal line across the full width of the chart. Its vertical position is determined by the tag, expression, or constant’s value.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE To use a different window color In the Property Panel, select the opaque WindowStyle, and then specify the WindowColor property. For information about using the Property Panel, see page 20-30. Test the trend Test Display tool You can quickly test the trend by switching to test mode. If communications are active and there is data for the tags, the pens plot values in the trend.
To use the Trends graphic library 1. Open the Graphics folder, and then open the Libraries folder. 2. Double-click the Trends library. 3. Drag and drop or copy and paste objects into your display. Use buttons to control the trend at run time You can use button graphic objects with the trend, to allow the operator to pause the trend, switch between pens, or scroll the trend. You can link buttons to a specific trend object, or set up a button to work with whichever object is selected in the graphic display.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE To see how the buttons work with the trend, open the Trends graphic library (see page 28-10), and start test mode. For information about creating buttons, see Chapter 20. For details about setting up the buttons, see page 21-16. Print trend data To print trend data at run time, provide the operator with a method for printing the graphic display. You can use these methods to print graphic displays at run time: Create a display print button.
29 Set up RecipePlus This chapter describes: What recipes are. Summary of steps for creating a recipe system. How the recipe system works. Specify the run-time location of recipe files. Create recipe files. Compare recipes. Create RecipePlus buttons, selectors, and tables. Test RecipePlus objects. Use objects from the RecipePlus_Components graphic library. Use buttons with the recipe objects. View data values that are saved at run time.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE development time, edit them at run time, and also create new data sets from tag values at run time. You can write the data set values to tags, or write tag values to data sets. The RecipePlus system can be used for manufacturing food and beverages, but it can also be used for any application where you want to show, edit, download, or save multiple values at once. For example, recipes are used in the petrochemical and pharmaceutical industries.
RecipePlus button Use the RecipePlus button to perform actions on the selected recipe’s ingredients. The recipe is selected using the RecipePlus selector object. Set up a separate RecipePlus button for each action you want to perform: Download—write the data set values to tags, for all the ingredients in the selected recipe. Upload—write tag values to the data set, for all the ingredients in the selected recipe. If all values are uploaded successfully, the recipe file is saved.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Number format The values in the recipe table are shown using the number format of the current application language. For example, if the application language uses a comma for the decimal symbol, floating-point values in the table use commas for the decimal symbol. For information about using multiple languages, see Chapter 12. Numeric limits RecipePlus supports the range of numbers allowed by the VARIANT data type. This range is -1.797693E+308 to 1.
Specify the run-time file location Use the RecipePlus Setup editor to specify the run-time file location. Store files outside the HMI project If you store the recipe files outside the HMI project, the run-time application can use updated recipe files without creating a new run-time application (.mer) file. Storing recipe files outside the HMI project also allows you to use FactoryTalk View Studio to view and edit recipe data that is saved at run time without converting the .mer file to an .med file.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Store recipe files with the HMI project If recipe files are part of the HMI project, when a recipe file is saved at run time, FactoryTalk View updates the .mer file with changes to the data sets. When you stop the run-time application, the changes are retained, and are shown the next time you run the application and show the recipe file. You can convert the .mer file to an .med file to view the changes in FactoryTalk View Studio.
Specify the run-time name, status tag, and percent complete tag. Set up ingredients, minimum and maximum values, data sets, and tag sets. Set up units (pairs of data sets and tag sets). For details about the options in the RecipePlus Editor, see Help. You can also use the RecipePlus Editor to view the data values that are saved at run time. For more information, see page 29-13.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Compare recipes You can use the RecipePlus Editor to compare data sets and tags sets within a single recipe, or between two recipes. If you are comparing data sets or tag sets within a recipe, only ingredients with different values are shown in the report. If you are comparing data sets or tag sets between two recipes, both common ingredients and unique ingredients are listed in the report. To compare recipes 1. Open the RecipePlus Editor. 2.
Time and date formats The time and date in the report use the time and short date format for the current application language. For information about using multiple languages, see Chapter 12. Print recipes You can use the RecipePlus Editor to print recipe data sets. For information about printing from editors, see page 2-13.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Create RecipePlus objects You can create one RecipePlus table and RecipePlus selector per graphic display. You can create multiple RecipePlus buttons in a display, with a different action assigned to each. The objects and button actions to use depend on how you want to use your recipe system. For example, if you just want to write data set values to tags, all you need is a RecipePlus selector and a RecipePlus button with the download action.
Use the RecipePlus_Components graphic library The RecipePlus_Components graphic library contains a RecipePlus selector and table and buttons for working with the objects. It also contains a bar graph and multistate indicator that show the status of recipe operations. Use test mode to see how the different RecipePlus objects work together. In test mode, the RecipePlus selector in the library shows any recipe files and units that you have created in your application.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Use buttons with recipe objects You can use button graphic objects with the RecipePlus selector and table, to select the recipe and unit to work with, and to select ingredients in the table. You can link buttons to a specific recipe object, or set up a button to work with whichever object is selected in the graphic display. For information about linking buttons to objects, see page 21-9.
4. Use the move up and move down buttons next to the RecipePlus selector to highlight a unit in the selector, and then press the Restore button. The unit’s ingredients are shown in the RecipePlus table, with the data set values in the Recipe column. 5. Use the move up and move down buttons next to the RecipePlus table to select an ingredient, and then press the Enter button. The numeric pop-up keypad opens, showing the minimum and maximum values for the ingredient.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE 2. If recipe files are stored with the HMI project, and you have not already done so, convert the run-time application file to a development application, as described on page 14-6. 3. In the Explorer window in FactoryTalk View Studio, double-click the modified recipe file. The RecipePlus Editor opens. 4. Click the Ingredients tab. 5. If the data set you want to view is not visible, scroll right to see more data sets.
30 Use macros This chapter describes: Use macros to assign values to tags. Use the Macros editor. When to use macros. Running macros when tags or expressions change value. Where to assign macros. Use macros to assign values to tags A macro is a list of tag assignments stored in a text file, in the format =. Each assignment assigns a value to a tag. The value can be in the form of another tag, an expression, a numeric constant, or a string.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Use the Macros editor Use the Macros editor to create macros. For details about using the Macros editor, see Help. When to use macros You can assign macros to run when: The application starts or shuts down. A graphic display opens or closes. A user logs in or out. Macros can be assigned to individual users and to groups of users. A specified tag or expression changes to a new non-zero value (using global connections).
Run macros when tags or expressions change value You can use global connections to run macros when tags or expressions change value. This means you can use the data source to trigger the macro to run. FactoryTalk View allows you to create up to five macros for use with global connections. The macros must be named Macro1, Macro2, Macro3, Macro4, and Macro5 in order to work with global connections. For more information about global connections, see Chapter 8.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Where to assign macros Once you’ve created the macros you want to use, assign the macros in these editors: 30-4 In this editor Do this Startup Assign application startup and shutdown macros. Graphics Assign macros to run when displays open or close, using the Display Settings dialog box. Runtime Security Assign macros to run when users log in and log out.
APPENDIX A Convert PanelBuilder 1400e applications This appendix describes: Terms that are different in PanelBuilder 1400e and FactoryTalk View. Steps for converting PanelBuilder 1400e applications. Names of equivalent graphic objects in the two products. PanelBuilder 1400e graphic objects that are not supported in FactoryTalk View. PanelBuilder 1400e settings and controls that are not supported in FactoryTalk View.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE data source. The data source is configured to exchange information (in the form of numeric or string values) between FactoryTalk View and the machine that your application is controlling. The general term data source is used unless specifically discussing a programmable controller. Summary of steps Follow these steps to convert PanelBuilder 1400e applications: 1.
Steps to take in PanelBuilder 1400e before you convert the application 1. Delete the Pass-Through file assignment. FactoryTalk View Studio does not support pass-through file transfers. 2. Make sure the block transfer file numbers are sequential without gaps. If necessary, renumber the block transfer file numbers so there are no missing numbers. Tag addresses in the application will change automatically to match the new number. 3. Save the application.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE 6. Follow the steps in the Machine Edition Import Wizard. For details about the options in the Machine Edition Import Wizard, see Help. When you complete the steps of the wizard, FactoryTalk View Studio converts the PanelBuilder 1400e application, creates the converted application’s folders and files, and then shows the converted application in the Explorer window in FactoryTalk View Studio.
To convert a PanelBuilder 1400e application when FactoryTalk View Studio is already open 1. From the File menu, select New Application, or click the New Application tool. If an application is already open, FactoryTalk View Studio asks you whether to close the application that is currently open. Click Yes. New Application 2. Follow steps 2 through 7 in the previous procedure.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE This PanelBuilder 1400e object Is converted to this FactoryTalk View object Control List Selector’s Up Cursor Move up button Screen Select Keypad (small and large) Display list selector Specify the graphic displays that the display list selector can open. Screen Keypad Enable Button Display list selector Specify the graphic displays that the display list selector can open.
This PanelBuilder 1400e object Is converted to this FactoryTalk View object Alarm History List Alarm list Display Mode Button Alarm status mode button Time Display Time and date display During conversion the display is set up to show the time only. The PanelBuilder 1400e time format is not converted. For details about the FactoryTalk View time format, see page 21-15. Date Display Time and date display During conversion the display is set up to show the date only.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Unsupported graphic objects These PanelBuilder 1400e objects are not supported in FactoryTalk View: Scrolling List (includes Cursor List, Multistate Indicator Object List, Local Message Object List, Numeric Data Display Object List) Set Bit Cursor Point Unsupported settings and controls This section describes PanelBuilder 1400e settings and controls that are not used in FactoryTalk View.
Invalid characters in screen names Characters in PanelBuilder 1400e screen names that are not supported in FactoryTalk View are replaced with the underscore character. Screen security settings PanelBuilder 1400e screen security settings are not converted, because FactoryTalk View uses a different method to assign security to graphic displays. For information about setting up security in FactoryTalk View, see Chapter 11. Block tags Block tags are not supported in FactoryTalk View.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE For Bit Position data types, use the bitwise expression operators to show data that does not reference supported lengths. For more information, see the Rockwell Automation KnowledgeBase. To open the KnowledgeBase In FactoryTalk View Studio, on the Help menu, select Rockwell Software on the Web, and then click Rockwell Automation KnowledgeBase. For information about using bitwise expression operators, see page 23-8.
6. Browse to the location of the RIO configuration file. The file is saved in the root of the application’s directory. 7. In the Communications Setup editor, create a device shortcut that points to the RIO data device. For information about creating a device shortcut, see RSLinx Help. 8. Apply the shortcut to the RIO driver. 9. Correct any invalid RIO configurations. Invalid RIO configurations are highlighted with red “x” icons. If red “x” icons appear after you import the RIO .
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Unsupported graphic object features This section describes features of PanelBuilder 1400e graphic objects that are not supported in FactoryTalk View. The Notes column provides additional information and describes methods for achieving the same result when possible.
Graphic object Trend Unsupported feature in FactoryTalk View Blinking pens Date labels on the X-Axis Background screen plotting Notes The date is shown in the title. You can plot tag values in the background by assigning the tags to a data log model. Tags set up for background screen plotting are automatically assigned to a data log model on conversion. However, data log models do not plot expression values. Therefore, expressions set up for background screen plotting are not converted.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Some PanelBuilder 1400e objects support both tags and expressions. For these objects, if the text assigned to a connection could be valid syntax for both a tag and an expression, the connection is treated as an expression, and is therefore turned off. For example, N20-0_String_64 could be the name of a tag, or it could be an expression that subtracts “0_String_64” from the tag “N20.” The text would be converted as an expression, and turned off.
Type of expression component or operator PanelBuilder 1400e syntax FactoryTalk View syntax Bitwise Not Not ~ (tilde) Bitwise And And & Bitwise Or Or | (pipe) Bitwise XOr XOr ^ If both operands are Byte, Integer, Long, Variant, or any combination of these data types, use the FactoryTalk View syntax. For other data types, no change is needed.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Order of precedence The order of precedence is slightly different in FactoryTalk View. Check your expressions to make sure the result is what you intend.
APPENDIX B Convert PanelBuilder and PanelBuilder32 applications This appendix describes: Terms that are different in PanelBuilder and FactoryTalk View. Steps for converting PanelBuilder applications. Names of equivalent graphic objects in PanelBuilder and FactoryTalk View. PanelBuilder graphic objects that are not supported in FactoryTalk View. PanelBuilder settings and controls that are not supported in FactoryTalk View.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE numeric or string values) between FactoryTalk View and the machine that your application is controlling. The general term data source is used unless specifically discussing a programmable controller. Summary of steps Follow these steps to convert PanelBuilder applications: 1. Convert the application file, as described in the next section. 2. Specify additional project settings, as described on page 4-11.
To convert a PanelBuilder application when you open FactoryTalk View Studio Open FactoryTalk View Stu- dio. 3. In the New tab, in the Application name box, type a name for your converted application, up to 32 characters long. 4. If desired, type a description of the application. If the PanelBuilder application contains an Application Description, the Application Description will overwrite the description you type here. You can add or change the description later, as described on page 4-18.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE 5. Click Import. 6. Follow the steps in the Machine Edition Import Wizard. For details about the options in the Machine Edition Import Wizard, see Help. When you complete the steps of the wizard, FactoryTalk View Studio converts the PanelBuilder application, creates the converted application’s folders and files, and then shows the converted application in the Explorer window in FactoryTalk View Studio.
Conversion messages are saved in a file called Convert.log, in the HMI projects directory. To convert a PanelBuilder application when FactoryTalk View Studio is already open 1. From the File menu, select New Application, or click the New Application tool. If an application is already open, FactoryTalk View Studio asks you whether to close the application that is currently open. Click Yes. New Application 2. Follow steps 2 through 7 in the previous procedure.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE This PanelBuilder object Is converted to this FactoryTalk View object Connected Line Polyline Circle Ellipse Freeform Freehand Screen List Selector Display list selector Goto Screen Button Goto display button Return Screen Button Return to display button New Password Button Password button Print Alarm List Button Print alarm history button Clear Alarm List Button Clear alarm history button Notes The ellipse has a circular shape.
Unsupported settings and controls This section describes PanelBuilder settings and controls that are not used in FactoryTalk View.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Convert non-RIO communications This section describes how communications that do not use Remote I/O (RIO) are converted. For information about converting RIO communications, see page B-9. FactoryTalk View does not use nodes for communications. Nodes are converted to RSLinx topics. Topics are then converted into device shortcuts, to run with RSLinx Enterprise.
Convert RIO communications Remote I/O (RIO) communications are not supported for applications that will run on personal computers. You can use RIO communications on the PanelView Plus and PanelView Plus CE run-time platforms. Supported PanelBuilder tags are converted to HMI device tags and RSLinx aliases. For information about unsupported PanelBuilder tags, see below. To convert an RIO application from PanelBuilder to FactoryTalk View 1. Convert the application, as described on page B-2. 2.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Has a data type of Bit Array and its address does not have an array size of 1, 8, 16, or 32. Has a data type of Bit Array, and its array size is 16 or 32, but its address does not have a bit offset of 0. Has a data type of Bit or BOOL, and its address does not contain the bit delimiter character “/”.
Graphic object Maintained push Button, Multistate Push Button, Standard Control List Selector Unsupported feature in FactoryTalk View Initial state values Notes If you want to set these objects’ states on application startup, create a macro to set the appropriate tag values for the objects’ connections. For information about macros, see Chapter 30. Assign the macro in the Startup editor. For details, see Help.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE B-12
APPENDIX C System tags This appendix describes system tags. System tags are preconfigured HMI tags created by FactoryTalk View. System tags are read-only. Show them as needed in your application. Alarms The following tag contains the time and date when the status of alarms was last reset. The date uses the long date format. Tag name Type Function system\AlarmReset DateAndTimeString String Contains the date and time of the last alarm reset. For information about resetting alarms, see page 9-9.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Time These HMI tags record time and date information in various formats: Tag Name Type Provides this data Read or write system\Date system\DateAndTime Integer String Analog Read only Read only system\DateAndTime String String system\DayOfMonth Analog system\DayOfWeek Analog system\DayOfYear Analog system\Hour Analog system\Minute system\Month system\MonthString system\Second system\Time system\Year Analog Analog String Analog String
User This tag contains the name of the current user: Tag Name Type Function system\User String Contains name of logged-in user. We recommend that you use the expression security function CurrentUserName( ) instead of the system\User tag, especially if you intend to convert the application to FactoryTalk View Supervisory Edition. In distributed applications, system\User returns the name of the user logged into the HMI server, not the user logged into the display client.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE C-4
APPENDIX D ODBC database schema This appendix describes the ODBC database format, or schema, for messages from FactoryTalk Diagnostics. The target table of the ODBC database to which you are sending messages must use the format shown in this appendix. The option of logging FactoryTalk Diagnostics messages to an ODBC database is available for personal computers only. For information about setting up FactoryTalk Diagnostics, see Chapter 10.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE This column Contains SQL data type Length UserID The name of the user (including domain name, if there is one) that initiated the action that caused the diagnostics message. If the diagnostics message was caused by an HMI server, the user column contains “System.” The full name of the user that was logged in when the activity occurred. The name of the product that generated the message.
APPENDIX E Import and export alarm XML files This appendix describes: Create alarm XML files. Export, editing, and importing XML files. The alarm XML file structure. About XML XML is the Extensible Markup Language used to create documents with structured text information. It has a standardized format and structure. You can use XML to edit the elements and attributes needed to create an alarm setup file or to modify graphic displays.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE The Alarm Import Export Wizard opens. 3. Follow the instructions in the wizard. For information about using the Alarm Import Export Wizard, see Help. FactoryTalk View creates a file with the name you specify, in the location you specify. Edit XML files We recommend that you use Notepad to edit your XML files. If you do not want to change a property, you don’t need to include it in the XML file.
Import XML files You can import an alarm setup that has been created using an external programming tool or editor, or you can import an XML file that you originally exported from FactoryTalk View and then modified. When you import an alarm setup, your existing alarm setup will be overwritten. Back up your application first, using the Application Manager tool. Or, you can save a copy of your existing alarm setup by exporting it to an XML file before you import the new one.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Here is a sample structure for an alarm XML document:. Element Description Root element. Contains attributes from the Advanced tab of the Alarm Setup editor, as well as the triggers and messages elements. Contains a trigger element for each trigger in the Triggers tab of the Alarm Setup editor. Contains attributes for the first alarm trigger.
APPENDIX F RFC1766 names This appendix describes RFC1766 names for Windows languages. Mapping languages to RFC1766 names The following table lists the languages that Windows supports and the RFC1766 name associated with each language. You can use the codes to name the translated application files before importing them. The codes are also used with the CurrentLanguage function.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE F-2 RFC1766 Name Language – Country/Region eu–ES Basque – Basque be–BY Belarusian – Belarus bg–BG Bulgarian – Bulgaria ca–ES Catalan – Catalan zh–HK Chinese – Hong Kong SAR (Default Sort Order – Stroke Count) zh–HK Chinese – Hong Kong SAR (Alternate Sort Order – Stroke Count) zh–MO Chinese – Macau SAR (Default Sort Order – Pronunciation) zh–MO Chinese – Macau SAR (Alternate Sort Order – Stroke Count) zh–CN Chinese – China (Default
RFC1766 Name Language – Country/Region en–US English – United States en–ZW English – Zimbabwe et–EE Estonian – Estonia fo–FO Faroese – Faroe Islands fa–IR Farsi – Iran fi–FI Finnish – Finland fr–BE French – Belgium fr–CA French – Canada fr–FR French – France fr–LU French – Luxembourg fr–MC French – Monaco fr–CH French – Switzerland mk–MK FYRO Macedonian gl–ES Galician – Galician ka–GE Georgian – Georgia (Default Sort Order – Traditional) ka–GE Georgian – Georgia (Alternate S
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE F-4 RFC1766 Name Language – Country/Region it–CH Italian – Switzerland ja–JP Japanese – Japan (Default Sort Order) ja–JP Japanese – Japan (Alternate Sort Order – Unicode) kn–IN Kannada – India kk–KZ Kazakh – Kazakhstan kok–IN Konkani – India ko–KR Korean – Korea (Default Sort Order) ko–KR Korean – Korea (Alternate Sort Order – Korean Xwansung Unicode) ky–KZ Kyrgyz – Kazakhstan lv–LV Latvian – Latvia lt–LT Lithuanian – Lithuani
RFC1766 Name Language – Country/Region es–CO Spanish – Colombia es–CR Spanish – Costa Rica es–DO Spanish – Dominican Republic es–EC Spanish – Ecuador es–SV Spanish – El Salvador es–GT Spanish – Guatemala es–HN Spanish – Honduras es–MX Spanish – Mexico es–NI Spanish – Nicaragua es–PA Spanish – Panama es–PY Spanish – Paraguay es–PE Spanish – Peru es–PR Spanish – Puerto Rico es–ES Spanish – Spain (Default Sort Order – International) es–ES Spanish – Spain (Alternate Sort Order – T
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE F-6
APPENDIX G Features supported in different versions of FactoryTalk View This appendix describes: Which versions of FactoryTalk View ME Station are supported. Which features are not supported in previous versions of FactoryTalk View ME Station. Which versions are supported FactoryTalk View Studio allows you to create run-time (.mer) files for these versions of FactoryTalk View ME Station: FactoryTalk View ME Station version 8.00 FactoryTalk View ME Station version 7.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE 3. Click About FactoryTalk View ME Station. Create run-time application files for previous versions When you create the run-time application file (with the file extension .mer), you can specify the version of FactoryTalk View ME Station for which to create the file. For example, if the application will run on a terminal that uses RSView ME Station version 3.20, you can specify that version for the .mer file.
Features that are not supported in version 6.10 or earlier These version 7.0 features are not supported in version 6.10 of FactoryTalk View ME Station, nor in earlier versions. The right column describes how to remove or replace the feature. To remove or replace this feature Do this ME Alarm Embedded Server Update Select Match Alarm Update Rate or the same number as Rate Maximum update rate in the Advance Tab of Alarm Setup editor. MAXIMUM DATA POINTS enlargement support.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Features that are not supported in version 5.10 or earlier These version 6.0 features are not supported in version 5.10 of FactoryTalk View ME Station, nor in earlier versions. The right column describes how to remove or replace the feature. To remove or replace this feature Do this Delete the Shaded or Original animation from Graphics Graphics objects with Shaded and Original animation is not support on objects animation. v5.10 or earlier release.
To remove or replace this feature Do this Use variable minimum/maximum property assigned to Numeric Input Cursor Point or Numeric Input Enable object In the Numeric tab of the object’s Properties dialog box, clear the Use variable minimum/maximum property. Caption on Keypad property assigned to Numeric Input Cursor Point object In the Numeric tab of the object’s Properties dialog box, set the Caption on keypad/scratchpad property to blank.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Features that are not supported in version 4.00 or earlier These version 5.00 features are not supported in version 4.00 of RSView ME Station, nor in earlier versions. The right column describes how to remove or replace the feature. To remove or replace this feature Do this Delete action assigned to a RecipePlus button graphic object Delete the button or change the action to Download, Upload, Upload and Create, Restore, or Save.
Features that are not supported in version 3.20 or earlier The features listed in the previous table are not supported in version 3.20 of RSView ME Station. In addition, these version 4.00 features are not supported in version 3.20 of RSView ME Station, nor in earlier versions. The right column describes how to remove or replace the feature. To remove or replace this feature Do this Unsupported RSLinx Enterprise feature or shortcut—warning Delete or replace the feature or shortcut.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE Features that are not supported in version 3.10 or earlier The features listed in the previous tables are not supported in version 3.10 of RSView ME Station. In addition, these version 3.20 alarm options are not supported in version 3.10, nor in earlier versions. The right column describes how to remove or replace the feature.
To remove or replace this feature Do this Alarm status list graphic object with Clear the Use alarm colors check box. Use alarm colors selected Alarm status list graphic object with Change the Lines per alarm to 1. Lines per alarm set to >1 Alarm status list graphic object with Change the Fore color to white.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE G-10
APPENDIX H Import and export graphics XML files This appendix describes: Create graphics XML files. Export, edit, and import XML files. The graphics XML file structure. About XML XML is the Extensible Markup Language used to create documents with structured text information. It has a standardized format and structure. You can use XML to edit the elements and attributes needed to create an alarm setup file or to modify graphic displays and global displays.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE For information about using the Graphics Import Export Wizard, see Help. FactoryTalk View creates XML files for the selected graphic displays, in the location you specify. FactoryTalk View also creates a file called BatchImport_Application name.xml, in the same location. You can use this file to import multiple displays at the same time.
Import XML files You can import a graphic display or global object display that has been created using an external programming tool or editor, or you can import an XML file that you originally exported from FactoryTalk View and then modified. When you import a graphic display or global object display, your existing display will be overwritten. Back up your application first, using the Application Manager tool.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE In an XML document, the start of an element is marked . The end is marked . If the element contains no subelements, the end can be marked />. For example,
. The syntax for specifying an attribute for an element is attribute=“value”. The attribute value must be enclosed in single or double quotes.Element Description Contains state elements for each of the object’s states. Contains attributes for the object’s first state, as well as elements for the state’s caption and image. Contains attributes for the state’s caption. Contains attributes for the state’s image. Indicates the end of the state element. Contains attributes for the object’s second state, as well as elements for the state’s caption and image.
• • • • • FACTORYTALK VIEW MACHINE EDITION USER’S GUIDE H-6
Symbols .bmp files 20 importing 21 location of 21 placing in graphic displays 15 tips for using 25 viewing 23 .dxf files 20 placing in graphic displays 22 .jpg files 20 importing 21 placing in graphic displays 15 tips for using 25 viewing 23 .mea files 10 .med files 1 .mer files 2 comparing 8 converting to .med 3, 6 creating 3 transferring from PanelView Plus or PanelView Plus CE 7 to PanelView 1, 6 to PanelView Plus CE 1, 6 to personal computers 1, 3 .wmf files 20 placing in graphic displays 22 .
using to transfer applications 6 AB_ETH-1 using to transfer applications 6 Acknowledge alarm button graphic object 7, 16 using with alarm objects 8, 36 Acknowledge all alarms button graphic object 8, 9, 16 using with alarm lists 36 ActiveX objects 2 animating 2 at run time 35, 36 creating 22 navigating to 7 using to display tag values 6, 10 using to set tag values 5, 10 Addressing syntax for HMI tags 7 Logix5000 7 Adobe Reader 1 ALARM BANNER display editing 26 Alarm banner graphic object 10, 61 at run time
at run time 32, 37 linking buttons to 9 navigating to 7 specifying time and date format for 17 using buttons with 36 Alarm log file 3, 10 deleting at application startup 16 printing contents of 10 Alarm messages embedded variables in 2 exporting to XML 1 handshaking 21 importing XML 3 multiple languages for 5, 17 printing at run time 10 viewing at run time 37 ALARM MULTI-LINE display 6 copying 30 editing 27 Alarm Setup editor 3 exporting to XML 1 importing XML 3 using tags in 9 Alarm status list graphic obj
importing XML 3 Alarms 1 acknowledging 8, 19, 38 remotely 19, 21, 25 clearing 8, 40 creating your own display for 31 deleting 40 displaying 6 displaying in the alarm status list 41 expressions in 4 filtering 5 handshaking 18 for remote acknowledgements 21 importing and exporting 4, 5 keeping a permanent record of 6, 10 notification methods for 6 planning 6 printing 10 queueing 18 resetting status of 9, 25, 40 remotely 25 responding to 7 retaining status of 41 sending messages to the data source 23 setting u
Animation 1 checking 17 copying 18 defining range of motion for 7 for global objects 19, 13 for group objects 48, 16 setting minimum and maximum values for 6 testing 5 using expressions 6 using Object Smart Path 4, 7 using tags and placeholders 5 viewing in Object Explorer 26 Animation dialog box 2 Animation types 1 color 10 fill 13 height 15 horizontal position 14 horizontal slider 15 rotation 15 vertical position 14 vertical slider 16 visibility 9 width 14 Application Explorer 4, 5 showing and hiding 8 us
Application properties viewing 18 Application text exporting for translation 6 importing 13 translating in Excel 9 translating in Unicode 9 Applications 1 backing up and restoring 10 closing 10 comparing 8 converting PanelBuilder 1 PanelBuilder 1400e 1 PanelBuilder 32 1 copying, deleting, and renaming 10 creating 4 importing PanelBuilder 1 PanelBuilder 1400e 1 PanelBuilder 32 1 multiple version support for 9, 1 opening 7 multiple 9 problems with 8 planning 1 runtime, creating 3 sample, granting users access
using earlier versions of FactoryTalk View 1 using earlier versions of RSView 9 versus projects 1 Arc graphic object 3, 17 Arithmetic operators in expressions 6 evaluation order of 10 Array tags 15 data types for 15, 16 Arrow images 21 Audiences for diagnostics messages 4 Auto repeat 11 AutoCAD files See .
Bit trigger type 12 Bitmap files See .
using with alarm lists 36 Close display button graphic object 3, 36 and alarms 31 and diagnostics messages 12 and information messages 6, 7 using to navigate 3, 6 Closing On Top displays 6 Color blinking 1 for graphic objects 32 in graphic displays animating 10 in trends 9 Color animation 6, 10 at run time 36 Communication drivers setting up at run time for transfer to PanelView Plus 4 for transfer to PanelView Plus CE 4 on personal computers 9 setting up in RSLinx Enterprise at run time 9 for transfer to P
Connections 2 assigning to graphic objects 36 using the Property Panel 31 expressions 2 for alarms 5, 17, 23 tags 2 Constants in expressions 6 Context menus 6 Control list selector graphic object 5, 49 at run time 35 differences from piloted control list selectors 51 linking buttons to 9 navigating to 7 using Enter key handshaking with 12 Current trends 5, 2 D Data log files 3, 1 Data log models changing the model to use at run time 4 deleting tags from 4 Data Log Models editor 2 using tags in 12 Data loggi
Data servers 8, 1 creating 3 synchronizing caches for 4 data servers 1 OPC data servers 1 Data sets, for recipes 1 comparing 8 printing 9 Data source ensuring values are read by 12 for alarms 3 for HMI tags 6 for information messages 3 for local messages 28 for tags 2, 6 for trends 2 Default graphic displays ALARM display 6 DIAGNOSTICS display 11 INFORMATION display 6 Default language 2 and alarm triggers 5 DEFAULT user 5 at runtime 2 DeskLock tool 1, 17 Device shortcuts editing at run time 6 Device tags 6
at run time 37 opening and closing 12 window size 14 Diagnostics List 5 clearing messages in 5 displaying 5 moving 5 resizing 5 showing and hiding 8 using to test displays 10 Diagnostics list graphic object 10, 64 at run time 12, 37 displaying communication errors in 38 linking buttons to 9 navigating to 7 using buttons with 13 Diagnostics List Setup editor 8 Diagnostics messages 1 audiences for 4 creating your own display for 11 displaying at run time 8, 37 displaying during application development 5 loggi
logging values for 4 monitoring for alarms 4 DIN symbols 21 Display editor See Graphic Displays editor Display list selector graphic object 3, 37 linking buttons to 9 navigating to 7 using parameter files with 3 using to navigate 3, 6 Display number specifying 4, 5 Display print button graphic object 31, 3, 16 printing trend data with 12 using the data source instead of 5 Display Settings dialog box 11 exporting to XML 1 importing XML 3 Display size See Window size Display types 12 and navigation 4 default
reshaping 47 rotating 56 Drivers See Communication drivers E Edit mode 10 Editor types Alarm Setup 3 Data Log Models 2 Diagnostics List Setup 8 Expression 2 Global Connections 2 Graphic Displays 3 Graphic Libraries 16 Images 22 Information Messages 2 Information Setup 3 Local Messages 27 Parameters 5 Project Settings 17 RecipePlus Editor 6, 8 RecipePlus Setup 5 Runtime Security 4 Editors printing in 13, 5 working with 10 Ellipse graphic object 3, 18 Embedded variables 1 displaying at run time 7 in title bar
using with alarm objects 38 using with diagnostics lists 13 using with recipes 12 using with trends 11 Enter button graphic object 7, 16, 49 and Enter key handshaking 12 using with alarm objects 8, 38 using with recipes 12 Enter key handshaking 12 Error messages See Diagnostics messages Problems at run time Exporting alarm files 4, 1 global object displays 1 graphic displays 5, 1 problems with 8 text for translation 6 Expression editor 2 using tags in 5 Expression results rounding 1 types of values 2 Expre
math functions in 13 monitoring for alarms 4 operators in arithmetic 6 bitwise 8 logical 7 relational 7 security functions in 13 tags and placeholders in 5 viewing in Object Explorer 26 write expressions 18 F Faceplates See Process faceplates FactoryTalk loading directory of users and security policies 5 logging in 2 at runtime 2 single sign-on 21 turning off warning 16 FactoryTalk Diagnostics 1 setting up on a personal computer 8 See also Diagnostics messages FactoryTalk Diagnostics Viewer tool 6 viewing d
FactoryTalk View Studio 1 FactoryTalk View Machine Edition 1 FactoryTalk View ME Station exiting 5 starting on PanelView Plus CE terminals 4 on PanelView Plus terminals 4 on personal computers 3, 12 supported versions 9, 1 FactoryTalk View Studio main window 4 starting and exiting 1 FactoryTalk View tags importing 12 File names 2 and spaces 4 maximum length of 4 Fill animation 6, 13 at run time 36 Folders 8 Fonts for multiple languages 13 in graphic displays substitution at run time 13 in trends 9 transferr
Global connections 1 setting up 2 use to apply parameter files or lists 6 using to change displays remotely 4, 5, 7 using to close On Top displays 6 using to monitor memory usage 7 using to print displays remotely 5 using to run macros 6, 3 Global Connections editor 2, 31 Global object displays creating 11 exporting to XML 1 importing XML 3 Global objects animating 19, 13 creating 11, 12 exporting to XML 1 importing XML 3 See also Base objects See also Reference objects Goto configure mode button graphic ob
creating 3 creating a background for 13 default ALARM 6 DIAGNOSTICS 11 INFORMATION 6 developing a hierarchy for 1 exporting to XML 1 illustrating 3 importing XML 3 limiting access to 12 maximum number licensed to use 18 navigating between 1 objects for 3 testing navigation 3 numbering 4, 5 opening 4 planning 3, 2 printing 30 at run time 30 remotely 5, 31 setting up printer 10 setting up 11 sizing 11, 12, 13 testing 10 animation 5 title bar in 15 types of 12 default type 3 using parameter files with 2 viewin
Graphic images importing 20 monochrome 21 that come with FactoryTalk View Studio 21 viewing 23 Graphic libraries 14 ALARM BANNER display 26 ALARM MULTI-LINE display 6, 26, 27 changing file location for 19 copying 30 creating 16 HISTORY display 6, 29 opening 16 RecipePlus_Components library 11 saving with multiple languages 17 setting up for multiple languages 15 Sliders library 15 STATUS display 6, 28 Trends library 10 Graphic Libraries editor 16 Graphic object types acknowledge alarm button 7, 16 acknowled
diagnostics clear all button 9, 16 diagnostics clear button 7, 16 diagnostics list 10, 64 display list selector 3, 37 display print button 3, 16 drawing objects 1 arcs 3, 17 circles 3, 18 ellipses 3, 18 freehand objects 3, 18 images 3, 15 lines 3, 18 panels 3, 16 polygons 3, 19 polylines 3, 19 rectangles 3, 20 rounded rectangles 3, 20 squares 3, 20 text 3, 13 wedges 3, 17 end button 7, 16, 49 enter button 7, 16, 49 gauge 6, 44, 47 goto configure mode button 4, 16 goto display button 3, 35 home button 7, 16,
logout button 3, 16 macro button 56 maintained push button 4, 21 momentary push button 4, 19 move down button 7, 16, 49 move left button 7, 16 move right button 7, 16 move up button 7, 16, 49 multistate indicator 6, 39 multistate push button 5, 24 next pen button 7, 16 numeric display 9, 28 numeric input cursor point 9, 31 numeric input enable button 9, 30 page down button 7, 16, 49 page up button 7, 16, 49 password button 3, 16 pause button 7, 16 piloted control list selector 5, 51 print alarm history butt
symbol 6, 41 time and date display 6, 57 trend 6 Graphic objects 1 aligning 53 animating 2 arranging 51, 55 assigning connections to 36 using the Property Panel 31 coloring 32 converting to wallpaper 13 copying 43 creating 12, 13 selecting tools for 11 deleting 48 deselecting 24 duplicating 45 editing 41 embedded variables in 2 exporting to XML 1 grouping and ungrouping 48 importing XML 3 moving 42 naming 34 navigating between 7 positioning 51 with grid 8 replacing tags and expressions in 38 resizing 45 sel
time, date, and number formats 15 using at run time 4 using keys to work with See Special keys using to display alarms and messages 10 using to display processes 6 using to enter and display numeric and string values 9 using to illustrate displays 3 using to navigate 3 using to start and control processes 4 visibility, setting up 2 Grid in graphic displays 8 in trends 9 Group objects animating 48, 16 creating 48 editing 49 naming 35 H Handshaking Enter key 12 for Alarm messages 21 for alarms 18 remote 21 He
data sources 6 exporting 12 how to use 5 importing 11, 12 merging databases 12 naming 8 searching for 4 when to use 4 See also Analog tags Device tags Digital tags Memory tags String tags System tags Home button graphic object 7, 16, 49 using with alarm objects 38 using with diagnostics lists 13 using with recipes 12 using with trends 11 Horizontal position animation 6, 14 at run time 36 Horizontal slider animation 6, 7, 15 at run time 35 I If-then-else logic in expressions 16 nesting 17 Image Browser 23 I
global object displays 3 graphic displays 5, 3 tags 13 Importing application text 13 problems with 14 Indicators 39 Information acknowledge button graphic object 8, 16 at run time 7 INFORMATION display 6 at run time 37 opening and closing 7 window size 14 Information message display graphic object 10, 65 at run time 37, 7 Information message files 2, 4 changing the file to use at run time 8 Information messages 1 creating your own display for 7 displaying 3 embedded variables in 2 multiple languages for 5 s
in trends 8 K KEPServerEnterprise array tag syntax 17 Keyboard button symbols 21 Keyboard navigation 7 L Language function in expressions 14 Language strings exporting for translation 6 importing 13 translating in Excel 9 translating in Unicode 9 Language switch button graphic object 4, 3, 16 placing in displays 3 planning 5 Language switching 1 See also Languages setting up 3 setting up Windows for 4 Languages adding 5 to libraries 17 choosing fonts for 13 default 2 displaying current language 14 planning
information 5 local 30 testing 2 Latched push button graphic object 5, 22 at run time 34 Least Significant Bit trigger type 13 Libraries See Graphic libraries License viewing maximum allowable graphic displays 18 Line graphic object 3, 18 Link properties for reference objects 13 List indicator graphic object 6, 42 at run time 36 Local message display graphic object 28, 10, 54 at run time 37, 30 using with message files 26 Local message files 27, 28 Local messages 26 embedded variables in 2 multiple language
Logical operators in expressions 7 evaluation order of 10 Login button graphic object 3, 16 locating in display hierarchy 1 logging in with 13 Login macro 2, 4 assigning to RSView 3.20 and earlier users 9 assigning to users 7, 8 running 9, 13 Login window 7 Logix5000 faceplates See Process faceplates Logix5000 processors 2 addressing syntax for 7 creating tags in 3 Logout button graphic object 3, 16 locating in display hierarchy 1 logging out with 13 Logout macro 2, 4 assigning to RSView 3.
Math functions in expressions 13 Memory tags 7 using 4 Memory usage monitoring at runtime 7 Menus in the Graphic Displays editor 6 Message severity for diagnostics messages 4 Messages displaying 10 multiple languages for in RSView ME Station 4.
Move down button graphic object 7, 16, 49 setting up auto repeat for 11 using with alarm objects 38 using with diagnostics lists 13 using with recipes 12 using with trends 11 Move left button graphic object 7, 16 setting up auto repeat for 11 using with trends 11 Move right button graphic object 7, 16 setting up auto repeat for 11 using with trends 11 Move up button graphic object 7, 16, 49 setting up auto repeat for 11 using with alarm objects 38 using with diagnostics lists 13 using with recipes 12 using
using to change trend’s vertical axis labels 6, 11 Normally closed push button 19 Normally open push button 19 Number format at run time 17 Numeric display graphic object 9, 28, 10 at run time 35 specifying number format for 17 Numeric embedded variables 3 at runtime 7 Numeric input cursor point graphic object 9, 31 at run time 34, 35 navigating to 7 using Enter key handshaking with 12 Numeric input enable button graphic object 9, 30 at run time 34 how values are calculated 27 how values are ramped 26 navig
for diagnostics messages 1 Off-line tags browsing for 7 OLE for Process Control See data servers, OPC On Top displays 12 sizing 13 using for alarms 31 using for diagnostics messages 11 using for information messages 7 OPC communications using to connect to Logix5000 processors 7 OPC servers, items in 8 OPC tags addressing syntax for 7 open Symbol Factory, Symbol Factory 15 Operators in expressions 6 Oracle logging to 7 P Page down button graphic object 7, 16, 49 setting up auto repeat for 11 using with alar
PanelBuilder 32 applications converting 1 PanelBuilder applications converting 1 PanelView Plus CE terminals logging diagnostics messages from 6, 8 transferring applications to 1 PanelView Plus terminals logging diagnostics messages from 6, 8 running applications on 1 transferring applications to 1 Parameter files 41, 2 assigning to graphic displays 2 using display list selectors 3 using goto display buttons 3 in global connections 6 Parameter lists creating 7 in global connections 6 in graphic objects 3 pa
using with trends 11 Piloted control list selector graphic object 5, 51 controlling remotely 52 differences from control list selectors 51 using Enter key handshaking with 12 Placeholders See Tag placeholders PLC tags importing 11 Polygon graphic object 3, 19 Polyline graphic object 3, 19 Preconfigured graphic displays ALARM display 6 DIAGNOSTICS display 11 INFORMATION display 6 Print alarm history button graphic object 4, 58 specifying time and date format for 17 using to print alarm information 10 using w
printing from a PanelView Plus terminal 2, 3 using the numeric pop-up windows 27 using the string pop-up windows 33 Problems at runtime memory usage 8 Problems during application development exporting text for translation 8 importing alarm XML files 3 importing graphics XML files 3 importing text 14 navigating through displays 3 opening applications 2, 8 Process faceplates adding to an existing application 17 selecting tags for 6 Project files location of viewing 18 Project Settings editor 17 Project window
monitoring at runtime 7 Ramp button graphic object 5, 38, 27 at run time 34 setting up auto repeat for 11 Range of motion for animation 6, 7 Read connection 32 Read-write connection 32 Real-time trends See Current trends Recipe files setting up 6 specifying location for 5 RecipePlus 1 RecipePlus button graphic object 10, 16, 3 creating 10 using at runtime 34, 36, 12 RecipePlus Editor 6, 8 viewing runtime data in 13 RecipePlus selector graphic object 10, 2 creating 10 linking buttons to 9 navigating to 7 usi
downloading 3 editing at runtime 2 linking buttons to 12 number format 4 numeric limits 4 planning 7 printing 9 renaming units 3 saving at runtime 3 selecting at runtime 2 setting up 2 testing 10 time and date formats 9 uploading 3 viewing data for 6, 13 Rectangle graphic object 3, 20 blinking 12 Reference objects creating 12 editing 13 link properties 13 Relational operators in expressions 7 evaluation order of 10 Remote display changes 4 Remote macros 6, 3 Replace displays 12 sizing 13 Reset alarm status
Right-click menus 6 Rotation animation 6, 56, 15 at run time 36 Rounded rectangle graphic object 3, 20 RSLinx Classic 1 RSLinx Enterprise 1 array tag syntax 16 device shortcuts created at runtime 3, 7 setting up drivers in at run time 9 for transfer to PanelView Plus 6 for transfer to PanelView Plus CE 6 RSLogix 5 tags importing 13 RSLogix 500 tags importing 13 RSLogix 5000 2 Runtime changing tag values 33 deleting log files 16 displaying tag values 35 entering string values 28 font substitution 13 logging
viewing alarms and messages 37 viewing communication errors 38 Runtime application .
FactoryTalk Security 1 FactoryTalk View security 1 for Application Manager 10 logging in and out 13 planning 7 setting up 2 using visibility animation 16, 18, 9 Security codes assigning to graphic displays 12 assigning to RSView 3.
copying objects with 43 drawing objects with 18, 19, 20, 21 resizing objects with 46 rotating objects with 57 selecting objects with 24 Shift, using with graphic objects 43, 46 using to navigate at run time 8 using with numeric pop-up windows 26 using with string pop-up windows 31 Spreadsheets, working in 12 Square graphic object 3, 20 Standard toolbar 5 Startup macro 2, 4 Startup settings 1 States multistate graphic objects 1 States toolbar 35 Status bar 6 showing and hiding 8 STATUS display 6 copying 30 e
using at run time 29, 31 String tags 1 String values using graphic objects to display and enter 9 Structured tags 6, 14 Sybase SQL Server logging to 7 Symbol Factory 14, 24 import into display 25 import into image container 24 Symbol graphic object 6, 41 at run time 36 Syntax, embedded variable 3 System activity See Diagnostics messages System tags 1 alarm reset date and time 1 for making graphic objects blink 1 time and date 2 System time and date 2 T Tag Browser opening 5 using 6 Tag Import and Export Wiz
Tag syntax for array tags KEPServerEnterprise 17 RSLinx Enterprise 16 Tag values changing at run time 33 displaying at run time 35 ensuring the data source has read 12 logging 12, 4 using graphic objects to display 9 using graphic objects to set 4, 9 using macros to assign 12, 1 Tags 1 addressing syntax 7 assigning to graphic objects 36 using the Property Panel 31 viewing in Object Explorer 26 assigning to parameter lists in global connections 6 basic steps for using 2 browsing for 5 limits, in graphic disp
Structured tags System tags Test mode for animation 5 for graphic displays 10 for RecipePlus objects 10 for trends 10 Text graphic object 3, 13 blinking 11 editing 14 Text strings exporting for translation 6 importing 13 translating in Excel 9 translating in Unicode file 9 Time and date at run time 17 setting using global connections 2 system tags 2 updating 2 Time and date display graphic object 6, 57 at run time 37 specifying time and date format for 17 Time and date embedded variables 6 at runtime 8 Titl
States toolbar 35 Tools Application Manager 10 DeskLock 1, 17 Diagnostic Setup 6 Diagnostics Viewer 6 Tag Import and Export Wizard 12 Transfer Utility 7 Touch margins using on buttons 4 Touch screens positioning objects for 4 Transfer Utility tool 7 Translating application text in Excel 9 in Unicode 9 Transparent background style 21 Trend data printing at run time 12 remotely 12 Trend graphic object 6, 1 and data logging 5 at runtime 36 border 5 chart 6 isolated graphing in 8 types 7 XY Plot 7 coloring 9 cr
icons 7 markers 7 planning 6 plotting values across the chart 8 problems at run time 12 setting up 3, 4, 5 specifying number, time, and date format for 17 testing 10 time, date, and number format 2 window 5 x (horizontal) axis 6 labels 6 y (vertical) axis 6 labels 6 Trigger Label Selector 5 Trigger values for alarms 5, 11 for information messages 5 for local messages 29 Troubleshooting See Problems at run time, Problems during application development U Unicode text translating 9 Units, for recipes 1 User ac
assigning security codes to 5, 7, 8 displaying current user 13 FactoryTalk Security adding to FactoryTalk View 7, 8 creating 3 managing accounts 21 logging in and out 13 at runtime 2, 7 RSView 3.20 and earlier assigning login and logout macros to 9 assigning security codes to 9 RSView 3.x migrating to 4.
setting up for language switching 4 Windows 2000, Windows XP, or Windows Server 2003 R2 editing device shortcuts on 6 running applications in 1 runtime settings 3 Windows languages 1 Windows metafiles See .wmf files Windows network domain logging in to 1 Windows users or groups adding to FactoryTalk Security 3, 4 adding to RSView 3.20 and earlier applications 10 removing from RSView 3.