FactoryTalk View Machine Edition User's Guide Volume 2
FactoryTalk View Machine Edition User's Guide Volume 2
Contacting Rockwell
Copyright Notice
2007 Rockwell Automation Technologies Inc. All rights reserved. Printed in USA. This document and any accompanying Rockwell Software products are copyrighted by Rockwell Automation Technologies Inc. Any reproduction and/or distribution without prior written consent from Rockwell Automation Technologies Inc. is strictly prohibited. Please refer to the license agreement for details.
Trademark Notices
Allen-Bradley, ControlLogix, FactoryTalk, PLC-2, PLC-3, PLC-5, Rockwell Automation, Rockwell Software, RSLinx, RSView, the Rockwell Software logo, and VersaView are registered trademarks of Rockwell Automation, Inc. The following logos and products are trademarks of Rockwell Automation, Inc.: RSMACC, RSLogix, Data Highway Plus, DH+, RSView, FactoryTalk View, RSView Studio, FactoryTalk View Studio, PanelBuilder, PanelView, RSView Machine Edition, RSView ME Station, and WINtelligent. FactoryTalk Activation, FactoryTalk Administration Console, FactoryTalk Alarms and Events, FactoryTalk Automation Platform, FactoryTalk Services Platform, FactoryTalk Diagnostics, FactoryTalk Directory, FactoryTalk Live Data, RSAssetSecurity, and FactoryTalk Security. PanelView, RSLinx Classic, RSLinx Enterprise, SLC 5, and SLC 500
Other Trademarks
ActiveX, Microsoft, Microsoft Access, SQL Server, Visual Basic, Visual C++, Visual SourceSafe, Windows, Windows ME, Windows NT, Windows 2000, Windows Server 2003, and Windows XP are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. Adobe, Acrobat, and Reader are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States and/or other countries. ControlNet is a registered trademark of ControlNet International. DeviceNet is a trademark of the Open DeviceNet Vendor Association Inc. (ODVA) Ethernet is a registered trademark of Digital Equipment Corporation, Intel, and Xerox Corporation. OLE for Process Control is a registered trademark of the OPC Foundation. Oracle, SQL*Net, and SQL*Plus are registered trademarks of Oracle Corporation. All other trademarks are the property of their respective holders and are hereby acknowledged.
Warranty
This product is warranted in accord with the product license. The products performance may be affected by system configuration, the application being performed, operator control, maintenance, and other related factors. Rockwell Automation is not responsible for these intervening factors. The instructions in this document do not cover all the details or variations in the equipment, procedure, or process described, nor do they provide directions for meeting every possible contingency during installation, operation, or maintenance. This products implementation may vary among users. This document is current as of the time of release of the product; however, the accompanying software may have changed since the release. Rockwell Automation, Inc. reserves the right to change any information contained in this document or the software at anytime without prior notice. It is your responsibility to obtain the most current information available from Rockwell when installing or using this product. Doc ID VIEWME-UM005E-EN-E August 2007
18-1
For information on working with components in particular editors, see the chapters later in this guide.
Creating 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. On the File menu, select New, and then click the type of component to create.
Opening components
To open a component, do one of the following Double-click the component. Right-click the component, and then click Open. Drag the component from the Explorer window to the workspace.
Saving components
The Save tool is available when the active component contains unsaved changes. To save a component 1. On the File menu, click Save, or click the Save tool.
Save tool
2. If this is the first time youre saving the component, type a name in the Component name box, and then click OK.
Close button on the title bar
Closing components
To close a component 1. On the File menu, click Close, or click the Close button on the components title bar.
Some components have a Close button that you can click to close the component.
18-2
Before the component closes you are prompted to save unsaved changes, if there are any.
3. In the dialog box, navigate to the component to add (in Application As folder), and then click the components file name.
18-3
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, <italics>Working with applications. 4. Click Open. The components are listed under the editor in the Explorer window in Application B. If you later modify the component in Application A, you can add the component into Application B again using the same steps as described above. Using Add Component Into Application with graphic displays, graphic libraries, and global object displays The Add Component Into Application menu command is also useful for: adding graphic displays to your applications Libraries folder. using libraries as graphic displays in your application. moving libraries into the Displays folder so you can export their strings for translation. creating global object displays. For information about graphic libraries, see page 19-14. For information about global object displays, see page 25-7.
Deleting components
Deleting a component deletes it from the Explorer window and from the hard disk. To delete a component 1. Right-click the component, and then click Delete.
Removing components
You can remove a component from the Explorer window but leave it on the hard disk, in case you want to use the component in another application. To remove a component 1. Right-click the component, and then click Remove.
Renaming components
To rename a component 1. Right-click the component, and then click Rename.
18-4
Duplicating 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.
Printing
Each component has a Print item on its File menu. To print a components contents 1. Open the component. 2. On the File menu, click Print. 3. Click OK. For information about selecting a printer and printing at run time, see page 2-13 in Volume 1 of the FactoryTalk View Machine Edition Users Guide.
18-5
For information about global object displays and the Parameters editor, see Chapter 25.
19-1
19-2
drag and drop the Displays icon into the workspace. 2. On the Edit menu, click Display Settings to open the Display Settings dialog box and specify settings for the display. For more information, see page 19-11. 3. Create the objects you want to put in the display. For information about creating graphic objects, see Chapter 20. 4. On the File menu click Save, or click the Save tool.
Save tool
5. In the Component name box, type a name for the display, and then click OK. The display is added to the list in the Displays folder. The display is created as a Replace display by default, but you can change it to an On Top display in the Display Settings dialog box. For more information about display types, see page 19-12. 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.
19-3
This example shows a graphic display with the Explorer window closed.
Standard toolbar Graphics toolbar Objects toolbar
Display area
Object explorer
The Graphics editor has special items on the View and Edit menus, and extra toolbars. For details about using the Graphics editor, see Help.
19-4
For more information about importing and exporting graphic display files, see Appendix H.
19-5
...a menu opens. It contains menu items for working with the selected object.
19-6
To display a toolbar On the View menu, select Toolbars, and then click the toolbar to display. The menu displays a check mark beside the toolbars that are already open. To undock a toolbar Click the double grab bars at the left or top of the toolbar, and then drag. Press the Ctrl key to prevent accidental redocking.
19-7
To move an undocked toolbar Click the toolbars title bar, and then drag. Press the Ctrl key to prevent accidental redocking. To dock a toolbar Click the toolbars title bar, and then drag to any edge of the workspace. To close a toolbar On the View menu, select Toolbars, and then click the name of the toolbar to close, or click the toolbars Close button.
19-8
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.
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. To make the grid active, click Snap To Grid. When the Grid Settings dialog box is not open you can make the grid active by clicking Snap On on the View menu. 5. Click OK. To make the grid passive In the Grid Settings dialog box, clear the Snap To Grid check box, or on the View menu click Snap On to toggle the option off. There is no check mark beside the menu item when it is turned off. To turn off the grid In the Grid Setting dialog box, clear the Show Grid check box, or on the View menu, click Show Grid to toggle the option off.
19-9
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.
Correcting 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. You can undo and redo all the operations you performed since you last saved the display, one operation at a time. The operations you perform between opening and closing a dialog box are treated as a single operation. Operations you perform in the Property Panel are treated as separate operations. To undo an operation
Undo tool
On the Edit menu, click Undo, or click the Undo tool. To redo an operation On the Edit menu, click Redo, or click the Redo tool.
Redo tool
If you set up local messages and graphic objects to use multiple languages, the messages and objects are displayed in the current application language during test mode. Using the Diagnostics List when in test mode The Diagnostics List shows messages about system activities when you test your graphic displays. You can specify the types of messages to display in the Diagnostics List, move the list, resize it, and clear the messages in it.
19-10
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-4. To use test mode
Test Display tool
On the View menu, click Test Display, or click the Test Display tool. To return to edit mode On the View menu, click Edit Display, or click the Edit Display tool.
19-11
Set up how the display looks. Set up how the display works at run time.
For details about the options in the Display Settings dialog box, see Help.
19-12
If the operator attempts to open a Replace display that is already open (for example, using a goto display button to which the same display is assigned), the display does not close and FactoryTalk View sends an error message to FactoryTalk Diagnostics. On Top displays Use the On Top option to create pop-up displays that open on top of the current Replace display. Usually, On Top displays are smaller than Replace displays, so the operator doesnt lose track of display navigation. You can open multiple On Top displays. If more than one On Top display is open, the display that has focus, or had the most recent focus, appears on top. When an On Top display closes, the display that had the most recent focus appears on top. Use the Cannot Be Replaced option if you want the On Top display to remain open when a new Replace display is opened. On Top displays do not have a Close button in the title bar. Be sure to create a close button graphic object in On Top displays so the operator can close them. The operator cannot move an On Top display by dragging its title bar. The runtime position of the display is fixed (according to the position settings defined for the display). You can specify unique titles for On Top displays. You can use embedded variables in the title, and the title text can switch languages at run time.
Resizing 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. If you choose not to scale displays when you change the project window size, Replace displays are resized, but any objects in the displays remain the same size and in the same position as before. On Top displays are not resized. For information about specifying the project window size, see page 4-11. Changing the display area while working You can change the display area of a display while youre working on it by dragging the border of the display area. For example, you might want to make the display area smaller so you can see parts of two displays in order to drag and drop objects between them.
19-13
Changing the display area in this manner does not change the display size for Replace displays. For On Top displays that are sized with the Use Current Size option, dragging the border does resize the display. Another way to arrange multiple displays while working on them is to use the options on the Windows menu. For example, Tile Horizontal arranges all the open displays with as much of the top part of each display showing as possible.
19-14
Each graphic library consists of a graphic display, with the file extension .gfx. The library displays contain graphic objects that you might find useful in your own application. Many of the objects are preconfigured with animation. For example, see the Conveyor parts library. You can: look at the objects and displays to get ideas for your own application. drag and drop (or copy and paste) objects from the libraries into your own displays. For information about copying objects from a library into your graphic display, see page 20-42. use the objects as they are or change them to suit your needs. create your own libraries of objects. create libraries of displays that are translated into multiple languages. use libraries as displays in your application. 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.
4. In the Component name box, type a name for the library, and then click OK. The library is added to the list in the Libraries folder. You can also create a graphic display and then use Add Component Into Application to add the display to the Libraries folder.
19-15
To add a graphic display to the library 1. Create the graphic display. 2. In the Explorer window, in the Graphics folder, right-click the Libraries icon. 3. Click Add Component Into Application. 4. In the dialog box, navigate to the Gfx folder, and then click the .gfx file for the display to use. The Gfx folder is located in: \Documents and Settings\All Users\Documents\RSView Enterprise\ME\HMI projects\Application Name (Windows 2000) or \Documents and Settings\All Users\Shared Documents\RSView Enterprise\ME\HMI projects\Application Name (Windows XP or Windows Server 2003 R2) where Application Name is the name of your application. 5. Click Open. The display is copied into the Libraries folder.
19-16
19-17
For detailed information about importing and exporting to use multiple languages, see Chapter 12. 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. Import the files for the new languages. 6. Add the graphic display (with the same name as the display in step 1) to the Libraries folder.
19-18
The new languages are added to the library. Make sure the display contains the same objects as the original display. Otherwise the new display will overwrite the previous display, and all the original language strings will be undefined. What is displayed When you open a library that supports multiple languages, the strings are displayed using the current application language, if available. If the library does not contain the current language, the strings are displayed as single question marks. Similarly, if the library contains the language but not all the strings are defined for the language, undefined strings are displayed as single question marks. For more information about using multiple languages with graphic libraries, see Chapter 12.
19-19
For details about using the Options dialog box, see Help.
19-20
keyboard button symbols such as Enter and Page Up parts such as buttons, conveyors, pipes, tanks, and valves The symbols and most of the arrows are monochrome (that is, use only two colors, one for the foreground and one for the background). You can set up the foreground and background colors for the monochrome images that you use for your objects. For color images, including JPEG images, you can specify whether to use a transparent or solid background. If you select the transparent background style, the black portions of the image become transparent. For detailed information about setting up objects, see Help. Location of bitmap files The bitmap files that come with FactoryTalk View Studio are stored in this directory: \Documents and Settings\All Users\Documents\RSView Enterprise\Images (Windows 2000) or \Documents and Settings\All Users\Shared Documents\RSView Enterprise\Images (Windows XP or Windows Server 2003 R2) The images are in folders called Arrows, DIN, ISA, ListKey, and Parts.
19-21
For information about opening two applications at once, see page 4-9. If you will be using images that have more than 256 colors, before importing the images set up your video adapter to display more than 256 colors. This will ensure that the colors of imported images appear the same as in the original. For more tips about using images, see page 19-24. To import bitmap and JPEG images 1. In the Graphics folder, right-click Images and then click Add Component Into Application.
To view the images, click this button, and then click Thumbnails.
2. In the Files of type box, select the type of image to add. 3. Navigate to the directory where the .bmp or .jpg file is stored, and then click the file name. 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 youve already imported 1. In the Images folder, double-click the image name, or right-click it and then click Open.
19-22
Depending on the type of object, the Image box could be located on the General tab, Label tab, or States tab. For information about opening the Properties dialog box, see page 20-28. With one or more objects selected, in the Property Panel click the Image property, and then click the Browse button. For information about opening the Property Panel, see page 20-29.
19-23
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.
19-24
The more colors you use, the more memory is consumed, and the longer the image takes to load and display.
This bitmap type Monochrome 16 color 256 color 64 K color 16 million color Consumes this many bits per pixel 1 4 8 (1 byte) 16 (2 bytes) 24 (3 bytes)
For example, a 24-bit bitmap image that measures 800x600 pixels consumes 1440 KB of memory. If the bitmap color depth is decreased to 256 colors, the image might have minor color loss, but the new image uses only 480 KB of memory. Use images with a similar pixel size to the size of the FactoryTalk View object on which the image will be placed. FactoryTalk View resizes the image to fit the object, but if you use an image that is much larger than the object, the display will be slow to open at run time, due to the time required to resize the image.
19-25
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 display. For information about creating graphic objects, see Chapter 20. For information about setting up local message display objects, see page 21-53.
You can define up to 10,000 messages in each message file. For details about using the Local Messages editor, see Help.
19-26
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. Identifying 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.
19-27
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 1 2 3 4 5 Message The hoist is ready to rise The hoist is raising the pallet. The hoist has stopped. The hoist is lowering the pallet. 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. In the objects Properties dialog box, assign the Hoist_Status tag to the Value connection, and select the Hoist status message file. At run time, when the operator views the graphic display containing the local message display object, the status of the hoist is displayed.
19-28
Printing displays
You can print your graphic displays on the development computer. This might be useful if you want other people to review the displays before implementing the application, or if you want to keep a visual record of the displays. You can also print graphic displays at run time, to provide a printed record of process values such as trend data. For information about printing on the development computer, see page 2-13.
19-29
19-30
20-1
FactoryTalk View also supports the use of ActiveX objectsthird-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 RSTools, and Microsoft Office provide ActiveX objects that are configurable in FactoryTalk View Studio. Using the tables The tables beginning on the next page will help you choose which objects to use to control your application, machines, and process. The tables group the objects according to function, provide an overview of what each object does, and list cross-references to more detailed information about using the objects.
About connections
Many of the objects use connections to interact with the data source. A connection is the link between the object and the data source. Depending on an objects function, the object may have more than one connection. For example, a momentary push button has a Value connection and an Indicator connection. The Value connection is used to set a value at the data source, and the Indicator connection is used to display the data source value in your graphic display. By assigning tags or expressions to an objects connections, you control the flow of data between the application and the data source, which in turn controls your process or machines. Assign tags or expressions to an objects connections in the Connections tab of the objects Properties dialog box (see page 20-26) or in the Connections tab of the Property Panel (see page 20-29).
20-2
To do this Draw a series of connected straight lines. See page 20-18. Draw rectangles and squares. See page 20-19. Draw rectangles and squares with rounded corners. See page 20-20. Draw a filled segment of an ellipse or circle. See page 20-16.
20-3
Goto configure mode button Stop the application and open the FactoryTalk View ME Station dialog box. For details, see page 13-4. Print alarm history button Print alarm status button Print a report of alarm messages in the alarm log file. You can print a report for all alarms, or for a specified alarm trigger. For details, see page 21-56. Print a report of the status of alarms, including how many times each alarm was triggered and the time in alarm. You can print a report for all alarms, or for a specified alarm trigger. For details, see page 21-57.
20-4
To do this Cycle through a series of values. Each time the operator presses the button, the value for the next state is sent to the tag. When the button is in its last state, pressing it changes the button to its first state and writes out the first state value. This button is useful when you want the operator to see and select multiple options in sequence, using a single button. The button displays the current state of an operation by showing a different color, caption, or image to reflect the different states. For details, see page 21-24.
Use a group of buttons to send values to the same tag. When the operator presses one button in the group, the buttons value is sent to the tag, and the button remains highlighted as long as the tag value is the same as the buttons value. Pressing another button in the group releases the first button, and sends a new value to the tag. For details, see page 21-26. You can also use a single interlocked push button to send a value to a tag.
Ramp button
Increase or decrease the value of a tag by a specified integer or floating-point value. For example, use two ramp buttons together to create a raise/lower control. For details, see page 21-27. Select from a list of states for a process or operation. The list is highlighted to show the current state, and the operator can scroll through the list to select a different state. The value assigned to the selected state is written to the tag. For details, see page 21-47. Select from a list of states for a process or operation. The list is highlighted to show the current state, and the operator or a remote device such as a programmable controller can scroll through the list to select a different state. For details, see page 21-50. Set the value of a tag by dragging the slider object. 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 at the data source, the position of the slider changes to reflect this. For information about animation, see Chapter 22. Change tag values using a third-party object connected to an analog, digital, or string tag, including both HMI and data server tags. When the objects property value changes, the new value is written to the associated tag. For details, see page 20-21.
20-5
Symbol
Drawing object with rotation, width, height, fill, color, or horizontal or vertical position animation
20-6
Working with lists, trends, alarm banners, and numeric input objects
Use this button Pause button Next pen button Backspace button With this graphic object To do this Trend Trend Control list selector Piloted control list selector Lists and trends Toggle a trend between pausing and automatic scrolling. Change the vertical axis labels for a trend to the scale for the next pen. Move the cursor back to the highlighted item in the list.
End button
Listmove to the bottom item in the list. Trendresume trend scrolling and move to the current (latest) data in the trend.
Enter button
Select the item the cursor is pointing to. Acknowledge the currently selected alarm. Listmove to the top item in the list. Trendpause the trend and move to the earliest data in the trend.
Home button
Move up / down buttons Lists, trends, and numeric Listmove up or down one item in the list. input objects Trendscroll up or down to display higher or lower values on the vertical scale. Numeric input cursor point and numeric input enable buttonramp the value up or down. Page up / down buttons Lists Acknowledge alarm button Alarm status mode button Clear alarm banner button Alarm list Alarm banner Alarm status list Alarm banner Move up or down one page in the list. Acknowledge and silence the selected alarm. Change the type of alarms displayed in the alarm status list, from all alarms to active alarms to past alarms. Clear the alarm in the alarm banner without removing the alarm from the alarm log file and alarm lists. Remove the selected message from all diagnostics lists. Acknowledge the current message in the display.
Diagnostics clear button Diagnostics list Information acknowledge button Information message display
20-7
For more information about using the buttons with lists and trends, see the topics on these pages:
For information about Linking a button to a specific list, alarm banner, or trend object Using buttons with alarm lists, alarm banners, and alarm status lists Using buttons with information message displays Using buttons with diagnostics lists Using buttons with trends See Page 9 Page 35 Page 6 Page 12 Page 11
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 applications diagnostics messages.
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. You can remove all alarms, or just the alarms for a specific alarm trigger. You can also reset the cleared alarms. This resets the number of times an alarm has been triggered to 0, and the accumulated time in alarm to 0. Reset the number of times an alarm has been triggered to 0, and the accumulated time in alarm to 0, for all alarms. Silence the audio indicator for all current alarms (on personal computers only). Toggle between sorting alarms in alarm lists and the alarm log file by time and by trigger value. Remove all diagnostics messages from all diagnostic lists.
Reset alarm status button Silence alarms button Sort alarms button Diagnostics clear all button
20-8
RecipePlus button
20-9
20-10
Objects menu
Objects toolbar
Before you can create an object, you must select the objects tool, either by clicking a menu item or by clicking the tool on the toolbar. When you position a cursor over a tool on the toolbar, the name of the tool is displayed in a tooltip and in the status bar. To select a tool 1. Click the tool on the toolbar or on the Objects menu. When you click a tool, the pointer changes to show which tool is active.
Freehand tool
Text tool
To deselect a tool, do one of the following Double-click an empty area in the display. Click the Select tool.
Select tool
20-11
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-12.
20-12
Creating text
Choosing fonts You can select any font you have installed, but TrueType and OpenType fonts are recommended. These fonts can be resized easily, without losing text quality. For PanelView Plus and PanelView Plus CE terminals, you must use TrueType fonts. If you run an application on a computer that does not have the fonts you used when setting up the application, Windows substitutes with the fonts that most closely match the fonts you specified. Choosing fonts for language switching If you are going to use the application with multiple languages, we recommend using Microsoft Sans Serif or Tahoma. These fonts allow for font linking to support the character sets of other languages. PanelView Plus and PanelView Plus CE terminals are shipped with font linking turned on. For more information about font linking, see Help. For more information about setting up languages for your application, see Chapter 12. Using the Size to fit option If you use the Size to fit option, the size of the text object will likely change for different languages. Make sure you check all displays containing translated language strings. To create a text object 1. Select the Text tool.
Text tool
2. Click the mouse where you want to position the text, and then drag to draw a rectangle.
20-13
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. After youve set up one text object to look the way you want, copy and paste it to create additional text objects with the same formatting. Then edit the text of the new objects. To edit a text object 1. Double-click the text. The Text Properties dialog box opens. 2. In the Text box, click where you want to make the change. To delete text characters, use the Backspace and Delete keys.
Creating images
Use the image graphic object to place bitmap and JPEG images in your graphic displays. Images support visibility animation only.
20-14
Using bitmaps and JPEG images Before you can place a bitmap 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 or JPEG image in a display 1. Select the Image tool.
Image tool
2. Click the mouse where you want to position the image, and then drag to draw a rectangle. The Image Browser opens.
3. In the Select image list, click the image to place, and then click OK. For more information about using the Image Browser, see page 19-23. The image is placed where you drew the rectangle, but the actual size of the image is used, rather than the size of the rectangle you drew. 4. To change the images attributes, double-click the image to open the Image Properties dialog box. 5. Select image options. For information about the options in the dialog box, see Help. 6. Click OK to close the dialog box.
20-15
Creating panels
Panels support visibility animation only. To create a panel 1. Select the Panel tool.
Panel tool
2. Click the mouse where you want to position the panel, and then drag to draw a rectangle the general size you want the panel to be. 3. To change how the panel looks, double-click the panel to open the Panel Properties dialog box. 4. Select panel options. For information about the options in the dialog box, see Help. 5. To close the dialog box, click OK.
Arc
Hollow wedge
Filled wedge
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. When you release the mouse button, a set of handles appears so you can decrease the angle of the wedge or arc from 360 degrees to the desired angle.
20-16
3. Click a handle, and drag the mouse to cut out part of the circle.
4. To finish drawing, click the object. 5. To change how the object looks, click Properties on the context menu, or double-click the object to open its Properties dialog box. 6. Select arc or wedge options. For information about the options in the dialog box, see Help. 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-45.
2. Click the mouse where you want to position the object, and then drag to draw an ellipse or circle of the desired size. To draw a circle, hold down Ctrl while you drag. 3. To change how the object looks, double-click it to open the objects Properties dialog box. 4. Select circle or ellipse options. For information about the options in the dialog box, see Help. 5. To close the dialog box, click OK.
20-17
3. To change how the object looks, double-click it to open the Freehand Properties dialog box. 4. Select freehand options. For information about the options in the dialog box, see Help. 5. To close the dialog box, click OK.
Creating lines
To create a line 1. Select the Line tool.
Line tool
2. Click where you want the line to start, and then drag from the beginning point to the end point. 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. You can use the Polyline tool to convert the line into a polyline. For more information, see page 20-45.
20-18
2. Click and drag to create the first segment of the object. Release the mouse button.
Polygon tool
To draw horizontal or vertical lines, hold down Ctrl while you drag.
Polyline tool
3. Move the mouse to where you want the next segment to end, and then click. Repeat this step until you have completed the object.
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 objects 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-45.
2. Click the mouse where you want to position the object, and then drag until the rectangle or square is the size you want. To draw a square, hold down Ctrl while you drag. 3. To change how the object looks, double-click it to open the objects Properties dialog box. 4. Select rectangle or square options. For information about the options in the dialog box, see Help.
20-19
5. To close the dialog box, click OK. You can use the Polygon tool to reshape the rectangle into a polygon. For more information, see page 20-45.
2. Click the mouse where you want to position the object, and then drag until the rectangle or square is the size you want. 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. To change how the object looks, click Properties on the context menu, or double-click the object to open its Properties dialog box. 6. Select rounded rectangle or square options. For information about the options in the dialog box, see Help. 7. To close the dialog box, click OK. For information about using the Rounded Rectangle tool to reshape the rounded rectangle, see page 20-46.
20-20
case, it would be better to covert the .wmf or .dxf file to a bitmap, and then display the bitmap in an image object. To place a .wmf or .dxf file in a display 1. On the Objects menu, click Import. 2. Click the mouse where you want to position the file, and then drag to draw a rectangle. 3. In the Files of type box, select the type of file to import. 4. Navigate to the directory where the file is stored, and then click the file to import. 5. Click Open. The file is converted to drawing objects and grouped, and then the grouped object is placed in the graphic display.
2. Click the mouse where you want to position the object, and then drag until the object is the size you want.
20-21
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. To specify the objects properties and assign tags or expressions to its connections, do one of the following: Right-click the object, and then click Properties to open the objects Properties dialog box. Depending on how the third party implemented the object, it might not have a Properties dialog box. If the Properties menu item is not available, use the next method. Right-click the object, and then click Property Panel. 6. In the Properties dialog box or Properties tab of the Property Panel, specify the objects properties. 7. If desired, set up the properties in the Common tab, as described on page 21-1. 8. In the Connections tab, assign tags or expressions to the objects connections. 9. To close the Properties dialog box, click OK. To close the Property Panel, click the Close button. For information about using the Properties dialog box, see page 20-26. For information about using the Property Panel, see page 20-29.
20-22
20-23
Selecting objects
To select An object or group of objects Do this Click the object or group. In the Object Explorer, click the object or group. An object within a group of objects Several objects All objects in an area Double-click the group, and then click the object. In the Object Explorer, open the group, and then click the object. Click the first object, and then Ctrl-click additional objects. Click and drag diagonally to draw a selection border around the objects. Ctrl-click objects outside the border to add them to the selection. 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 An object Several objects All selected objects Do this Ctrl-click the object. Press and hold Ctrl, and then drag a selection border around the objects. Click in the Drawing area, away from any objects.
20-24
The Object Explorer does not show wallpaper objects, nor objects within ActiveX composite objects. To open the Object Explorer, use one of these methods
Show/Hide Object Explorer tool
On the Graphics toolbar, click the Object Explorer tool. On the View menu, click Object Explorer. Right-click an object, and then click Object Explorer.
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.
20-25
objects that have a specific tag or expression assigned to them The objects are highlighted in red in the Object Explorer and in the graphic display. If your graphic display uses a red background, the highlighting is not visible in the graphic display. To highlight objects in the Object Explorer 1. 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.
20-26
The Properties dialog box contains tabs that you can use to set up the objects properties and connections:
In this tab General Do this Set up the objects 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. For information about linking buttons to objects, see page 21-9. States Set up the states for the object, including the value for each state and whether to display a caption or image for the state. For information about checking that the states are set up the way you intended, see page 20-35. Label For objects that dont have multiple states, specify whether to use a caption or image on the object. For information about using the Image Browser to select an image to use in the label, see page 19-23. Timing Common Connections Set up the objects auto repeat (see page 21-12) or Enter key handshaking (see page 21-13) settings. Set up the objects spatial properties, name and visibility. For details, see page 21-1. Assign tags and expressions to the objects connections. For information about assigning tags and expressions, see page 20-36.
The tabs that are available depend on the object: Some objects have only General and Common tabs. If an object can have more than one state, the objects Properties dialog box contains a States tab. Some objects have unique tabs that are not listed in the table above. The tabs that an ActiveX object has depends on the vendors implementation, though if you can assign tags or expressions to the object it has a Connections tab.
20-27
To open an objects Properties dialog box, use one of these methods Double-click the object. Right-click the object, and then click Properties. Select the object, and then on the Edit menu, click Properties. In the Property Panel, with the object selected, click the (Custom) property and then click the Browse button.
Browse button
In the Property Panel, with the object selected, double-click the (Custom) property. In the Object Explorer, double-click the object.
20-28
This button is available once you make changes in the dialog box. Click it to apply your changes without closing the dialog box. When you click a different tab, the changes in the current tab are applied automatically.
You can also use the Property Panel to set up an objects properties, as described next. For details about setting up a particular object, see Help.
20-29
To open the Property Panel, use one of these methods On the Graphics toolbar, click the Property Panel tool.
Show/Hide Property Panel tool
On the View menu, click Property Panel. Right-click an object, and then click Property Panel. Right-click an empty area of the display, and then click Property Panel. You can keep the Property Panel open as you work in the Graphics editor. You can drag the panels borders to make the Property Panel larger or smaller.
Setting up properties
Use the Property Panels Properties tab to set up the properties of the selected object or objects.
If only one object is selected, this box shows the objects name and type. If a group object is selected, click this button to edit the properties of the objects within the group. Click to close. Click for help on the selected property.
For more information about using the Property Panel to set up an objects properties, see Help.
20-30
20-31
A double arrow indicates that the data flows in both directions. The connection is a read-write connection.
Click for help on the selected connection.
This box describes the selected connection and indicates the type of data the connection uses. The arrows show the direction in which data flows between the connection and the data source. If the connection is a read connection (arrow points left), data flows from the data source to the object. If the connection is a write connection (arrow points right), data flows from the object to the data source. If the connection is a read and write connection (double-headed arrow), data flows in both directions.
For more information about using the Property Panel to assign tags and expressions to an objects connections, see Help. For more information about assigning tags and expressions to objects, see page 20-36.
20-32
About color properties The number of color properties an object has depends on the type of object and how you set it up. For example, a button with states can use up to seven different colors for each state. When you select colors using the color toolbars, some properties are assigned the 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 objects Properties dialog box or the Property Panel). This table lists the color properties you can assign using the color toolbars:
Property Back color Background color Border color Caption color Caption back color Fore color Foreground color Image color Image back color Legend color Needle color Pattern color Foreground color No No Yes Yes No Yes Yes Yes No Yes Yes Yes Background color Yes Yes No No Yes No No No Yes No No No
For objects with states, the selected color is applied to the current states color properties only. In the Property Panel, properties that apply to states have St_ at the beginning of the property name. When to select colors using the toolbars For all the drawing objects except image and panel, you can select colors from the color toolbars before you draw an object (either before or after you click the objects tool).
20-33
The other objects are always drawn using their default colors, but you can select the objects and then click the toolbars to change their colors. The toolbars are especially useful for quickly assigning the same colors to multiple objects. To display a color toolbar 1. On the View menu, select Toolbars, and then click Foreground Colors or Background Colors. To close a color toolbar 1. On the View menu, select Toolbars, and then click Foreground Colors or Background Colors, or click the toolbars Close button. Other methods for assigning colors You can also assign colors using an objects Properties dialog box or the Property Panel. Use one of these methods if you want to assign separate colors to different foreground or background color properties, or to choose colors that dont appear in the toolbars. For example, if you want to use a dark blue background color for a button, with a light blue background color for its image label, you must assign the colors separately. Using the toolbar would assign the same color to both properties. Also use the Properties dialog box or Property Panel to change the default colors for properties that cannot be assigned using the color toolbars.
Naming objects
Objects (and groups of objects) are automatically given a name and number when you create them, for example NumericInputEnable4. If desired, you can assign a more meaningful name to the object, for example Conveyor_speed_input. Each object in a display must have a unique name. The object name appears in the status bar, Diagnostics List, Property Panel, and Object Explorer in FactoryTalk View Studio, and in diagnostics log messages at run time. To name an object in the Property Panel 1. Select the object. 2. In the Property Panel, click the Properties tab. 3. Double-click the (Name) row, and then type the name. The name must start with a letter, and cannot contain spaces. You can use the underscore character (_).
20-34
To name an object in its Properties dialog box 1. Double-click the object to open its Properties dialog box. 2. Click the Common tab. 3. In the Name box, type the name. 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 (_).
To view an objects states using the States toolbar 1. Select one or more objects. 2. In the States toolbar, select the state to view. If you selected multiple objects, the toolbar shows the states that are common to all the objects. 3. To view the next state, select it in the toolbar or press the Down Arrow key on your keyboard. You can also use these keys to select the next state to view: To view the previous state, press the Up Arrow key. To view the first state, press the Home key.
20-35
To see the last state, press the End key. To view an objects states using the Property Panel 1. Select one or more objects. 2. In the Property Panel, click the State property and then select the state to view. 3. To view the next state quickly, double-click the row, or press the Enter key on your keyboard.
Assigning tags
To assign tags to a graphic object, use one of these methods: Double-click the object to open the objects Properties dialog box, and then assign tags in the Connections tab.
20-36
Select the object and then assign tags in the Connections tab of the Property Panel.
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: using the Tag Browser, see page 6-6. using the Properties dialog box, see page 20-26. using the Property Panel, see page 20-29.
20-37
To specify an expression, do one of the following In the Tag / Expression column, type the expression. In the Exprn column click the Browse button and then create an expression in the Expression editor. Use this method if you want to check the expression syntax, or to use multiple lines for the expression. For more information about expressions, see Chapter 23.
20-38
To replace tags 1. Select one or more objects. 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.
20-39
graphic displays that are opened using a goto display button. graphic displays that are opened using a display list selector. Use parameter files to specify which tags or folders to substitute for which placeholders. For global objects, you can specify the tags or folders of tags using global object parameters. For more information about using parameter files and global object parameters, see Chapter 25. Creating tag placeholders A tag placeholder is the cross-hatch character (#) followed by a number from 1 to 500. The tag placeholder can replace any part of a tag name, including folder names. For example, you could create a parameter file specifying that the tag placeholder #1=Folder1. You could assign the folder and a tag name to a graphic objects connection: #1\Tag1. You can assign tag placeholders in: the Connections tab of an objects Properties dialog box. the Connections tab of the Property Panel. the Expression box in the Animation dialog box. anywhere that you can insert an embedded variable. For information about embedded variables, see Chapter 24. To create a tag placeholder 1. Type the cross-hatch character followed by a number (no space in between). For example, #1.
20-40
Moving 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 objects Top and Left properties in the Property Panel. For information about using the Property Panel, see page 20-29. You can also specify an objects position using the Common tab in the objects Properties dialog box. For more information, see page page 21-1. Once youve moved objects into position, you might want to align other objects with them, or lock them into place. For information about aligning objects, see page 20-50. For information about locking objects into position, see page 20-56. To automatically align objects to the grid as you move them 1. 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 move objects by dragging with the mouse 1. Select one or more objects. 2. Place the pointer on an object (not on the edge or on the handles). 3. Drag the objects to the desired position.
If you selected several objects, dragging one of the objects moves all the selected objects. The objects maintain their position relative to each other. 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.
20-41
To adjust the amount of the increment, first hold down the Shift key and press the + or - keys on the keyboards numeric keypad. 4. Release the Shift key when the object is in place.
Copying objects
To copy objects, you can: drag and drop objects in the same display. drag and drop objects between displays, or from a graphic library to a display. copy and paste objects. When an object is copied, any animation attached to the object is also copied. If a group is copied, the new copy of the group can be ungrouped to individual objects, just like the original. Copying objects with multiple languages If an object has multiple language strings set up, copying the object copies all the languages. If the object is pasted into an application with different languages, only the strings for languages that are used by the application are pasted. If the new application has languages that are not set up for the object, those language strings are undefined and will be displayed with single question marks. For more information about setting up multiple languages, see Chapter 12. To copy objects in the same display 1. Select one or more objects. 2. Drag the object, and then press Ctrl. 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. Position or resize the displays so both are visible. For more information, see page 19-13.
20-42
3. Select one or more objects. 4. Click the selected object and drag it to the new display. If you selected several objects, dragging one of the objects copies all the selected objects. The objects maintain their position relative to each other. Copying and pasting objects You can cut, copy, or paste objects using the menu items on the Edit menu or the buttons on the toolbar. Once you cut or copy an object, you can paste it anywhere in the drawing area of: the same graphic display. a graphic display in the same or a different application. a graphic library in the same or a different application. To cut or copy objects 1. Select one or more objects.
Cut tool
2. On the Edit menu, click Cut or Copy, or click the Cut or Copy tool on the Graphics toolbar. To remove the original object, click Cut.
Copy tool
To retain the original object, click Copy. To paste objects 1. Click in the display or library to paste to.
Paste tool
2. On the Edit menu, click Paste, or click the Paste tool on the Graphics toolbar.
Duplicating 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.
20-43
Duplicate also duplicates actions. For example, if you duplicate an object, move it, and then duplicate it again, the second Duplicate will, in one step, duplicate and move the object. This is useful for creating a series of objects with an equal distance between them.
Select object
Duplicate object
Move object
Duplicate again
Resizing objects
You can resize objects using the mouse or using the keyboard. The keys let you resize objects in small increments. You can also use the grid to resize objects precisely. Another option is to size an object using the objects Height and Width properties in the Property Panel. This method is especially useful for quickly resizing multiple objects to the same size. For information about using the Property Panel, see page 20-29. You can also specify an objects size using the Common tab in the objects Properties dialog box. For more information, see page 21-1. 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 1. 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.
20-44
2. Place the pointer on one of the handles. A double arrow appears. 3. Drag the handle until the object is the desired size or shape. Drag a side handle to change width or height, or a corner handle to change both.
For perfect circles and squares, press Ctrl and hold the key down while you drag a corner handle. To maintain the objects original proportions (width to height), press Shift and hold the key down while you drag a corner handle. To resize an object in small increments using the keyboard 1. Select the object. 2. Place the pointer on one of the handles. A double arrow appears. 3. Hold down Shift and press an arrow key until the object is the desired size. To adjust the amount of the increment, first hold down the Shift key and press the + or - keys on the keyboards numeric keypad.
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.
20-45
Dragging from a point along the line (between corners) creates a new angle between the two corners. 5. To delete an angle, position the pointer at the tip of the angle, and then press Delete. To reshape arcs and wedges 1. Select the object you want to reshape. 2. Click the Arc or Wedge tool, or right-click the object and then click Edit.
Arc tool
The cursor changes to the Arc or Wedge tool, and handles appear on the object. 3. Place the pointer on one of the handles. A cross-hair appears.
Wedge tool
4. Drag the handle until the object is the desired shape. To reshape rounded rectangles 1. Select the rounded rectangle. 2. Click the Rounded Rectangle tool, or right-click the object and then click Edit.
A handle appears inside the rounded rectangle. 3. Click the handle and drag inward to increase roundedness, or outward to decrease roundedness.
Deleting 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 1. On the Edit menu, click Clear All.
20-46
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
20-47
The handles around the group are replaced with handles around each object.
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.
20-48
When the hatched border is around the group, you are in group edit mode. In this mode, you can select individual objects in the group and modify them. You can also add new objects to the group.
Double-click to edit the group. A hatched border appears. This border indicates that this is a group. Click again. Handles appear. The handles show the individual object selected within the group.
2. To select an individual object (or a group) in the group, click it. You can also use the Object Explorer to select objects within the group. The status bar and Object Explorer indicate which object or group is selected. 3. Make your changes to the object. You can change the selected objects shape, size, or position, or use the objects Properties dialog box or the Property Panel to edit the objects properties. 4. If desired, create new objects inside the hatched border. 5. To stop editing, click outside the group.
Arranging 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.
Layering objects
You can layer objects (or groups of objects) on top of each other. Objects are layered in the order they are created, with the most recently created object on top. Change the layer order with Send to Back and Bring to Front. Send to Back moves the selected object to the bottom layer. Bring to Front moves the selected object to the top layer.
20-49
To bring an object to the front 1. Select the object. To select an object thats behind another object, place your pointer on the front object, click once, pause, and then click again. Do not double-click and do not move the mouse. You can also select a concealed object easily by clicking the object in the Object Explorer. 2. On the Arrange menu, click Bring to Front, or click the Bring to Front tool.
Bring to Front tool
To send an object to the back 1. Select an object. 2. On the Arrange menu, click Send to Back, or click the Send to Back tool.
Send to Back tool
Aligning 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.
20-50
2. On the Arrange menu, click the appropriate menu item, or click a tool on the Alignment toolbar:
This button or menu item Align Left Align Center Align Right Align Top Align Middle Align Bottom Align Center Points Align to Grid
Aligns selected objects with the Left-most selected object Horizontal center of all selected objects Right-most selected object Top-most selected object Vertical center of all selected objects Bottom-most selected object Center of all selected objects Grid
To automatically align objects to the grid as you create or move them 1. 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.
20-51
Select objects
Align left
Select objects
Align right
Select objects
Align center
20-52
Align middle
Align bottom
Spacing 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 Space Horizontal Does this Places the centers of the selected objects an equal distance apart horizontally. Places the centers of the selected objects an equal distance apart vertically.
20-53
Select objects
Space horizontally
Flip Horizontal
Flip Horizontal
20-54
Select object
Flip vertical
Select object
Flip horizontal
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.
20-55
3. To move the center of rotation, click the cross-hair and drag it to a new anchor position. The anchor can be inside or outside the object. 4. Click an edge of the object and drag in the direction you want to rotate it. To rotate the object in five-degree increments, press Ctrl while you drag. 5. When the object is in the desired position, release the mouse button.
20-56
21-1
For details about the options in the Common tab, see Help.
21-2
For details about the options in the States tab, see Help.
21-3
use function keys to press buttons when a mouse or touch screen is not available on the runtime computer. use the keyboard or keypad to navigate to and select lists, trends, and ActiveX input objects. use buttons to work with lists and trends. repeat a buttons action by pressing and holding it. ensure that tag values are read by the data source before sending new values.
21-4
The bounding box If the objects shape is a circle or ellipse, the touch margin applies to the objects bounding box, not the objects 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.
The invisible bounding box is just inside the selection handles.
To create touch margins, use one of these methods In the General tab of the buttons Properties dialog box, type the number of pixels for the touch margins in the Horizontal margin and Vertical margin boxes. In the Properties tab of the Property Panel, type the number of pixels for the HorizontalMargin and VerticalMargin properties.
21-5
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 1. On the Edit menu, click Key Assignments, or right-click a button and then click Key Assignments.
21-6
For details about using the Key Assignment Properties dialog box to assign function keys and change function key assignments, see Help.
21-7
Focus highlight for ActiveX and trend objects For ActiveX and trend objects, use the Common tab in the objects Properties dialog box to specify whether or not to display a highlight box. For more information about setting up options on the Common tab, see page 21-1. If the Disable Highlight When Object has Focus box is checked (in the Display Settings dialog box), that setting overrides the setting you specify in the Common tab.
21-8
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. For list objects, alarm banners, numeric input cursor points, numeric input enable buttons, and string input enable buttons, in the General tab of the objects Properties dialog box, clear the Key navigation box for off. Check the box for on. For ActiveX and trend objects, in the Common tab of the objects Properties dialog box, clear the Key navigation box for off. Check the box for on.
21-9
These move up and move down buttons work with the object that has focus.
However, if space isnt 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 doesnt 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.
21-10
To link a button to a specific object using the buttons Properties dialog box 1. Double-click the button to open its Properties dialog box. 2. In the General tab, in the Send press to box, select Linked Object. 3. To select from a list of all the objects in the display that you can link the button to, click the Browse button next to the Linked object box. 4. Click the name of the object to link the button to, and then click OK. 5. Click OK to close the buttons Properties dialog box. To link a button to a specific object using the Property Panel 1. In the Properties tab, specify the SendPressTo and LinkedObject properties. Once you have linked buttons to an object, you might want to turn off the objects key navigation, since this option is no longer needed. For details, see page 21-9.
21-11
Ramp
Move up
Move down
For each button that uses auto repeat, you can specify these properties: Auto repeat ratethe number of times per second a button press is registered when the button goes into auto repeat mode. The default rate is 0, which means that auto repeat is turned off. Auto repeat delaythe length of time the button has to be pressed and held down before auto repeat starts.
21-12
To set up auto repeat for a button, use one of these methods In the Timing tab of the buttons 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.
Ensuring values are read by the data source before sending new values
To ensure a value is read by the data source before the operator sends a new value, use Enter key handshaking. While Enter key handshaking is in effect for an object, the operator cannot send a new value to the objects Value connection. You can use Enter key handshaking with these graphic objects: control list selector piloted control list selector numeric input enable button string input enable button numeric input cursor point If Enter key handshaking is in effect for one of these objects, the operator can still provide input to other objects in the graphic display. If the graphic display is closed while Enter key handshaking is in effect, the handshaking is cancelled.
21-13
Holding the value until the data source acknowledges that it has read the value
To set up an objects Enter key handshaking so that the value at the Value connection is held until the data source notifies FactoryTalk View that it has read the value, use two connections: the Enter connection and the Enter handshake connection. Instead of using an Enter key hold time, specify an Enter key handshake time. You must also specify the Handshake reset type. You can use an Enter key control delay, if desired.
21-14
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 Non-zero Value
The Enter connection is set to 0 when The Enter handshake connection has a non-zero value. If the Enter handshake connection already has a non-zero value when the value is sent to the Value connection (or when the Enter key control delay has expired, if the delay is used), then the Enter connection is not set to 1, and Enter key handshaking does not take place.
Set up the data source to send a non-zero value to the Enter handshake connection when it has read the new value at the Value connection, and then to reset the Enter handshake connection to 0. If the Enter key handshake time expires before the Enter handshake connection resets the Enter connection, an error message is sent to FactoryTalk Diagnostics. How handshaking works If you use the Enter handshake connection, handshaking works like this: 1. When the operator presses the Enter button, the value is sent to the Value connection and the Enter key control delay timer begins timing. (The use of a delay is optional.) 2. If you specify an Enter key control delay, when the time is up, the Enter connection is set to 1. If you dont use the delay, the Enter connection is set to 1 as soon as the operator presses Enter. As long as the Enter connection is set to 1, the operator cannot send new values to the data source. If the Handshake reset type is Non-zero Value, the Enter handshake connection must be 0 when the delay expires in order to set the Enter connection to 1. 3. When the Enter connection is set to 1, the Enter key handshake time timer begins timing. 4. The Enter connection remains set until the Enter key handshake time expires or until reset by the Enter handshake connection, whichever happens first.
21-15
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 objects 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: Enterassign a tag. A digital tag is recommended (either an HMI tag or a data server tag). Enter handshakeassign a tag or expression. 3. Set up the data source to send a non-zero value to the Enter handshake connection when it has read the new value at the Value connection, and then to reset the Enter handshake connection to 0. You can also use the Property Panel to specify the properties and assign tags to the connections.
Setting up buttons
Many of the button graphic objects are set up the same way. The instructions in this section apply to these buttons:
Acknowledge alarm Acknowledge all alarms Alarm status mode Backspace Clear alarm banner Logout Move down Move left Move right Move up
21-16
Clear alarm history Diagnostics clear Diagnostics clear all Display print End Enter Goto configure mode Home Information acknowledge Language switch Login
Next pen Page down Page up Password Pause RecipePlus Reset alarm status Return to display Shutdown Silence alarms Sort alarms
You can set up any combination of these buttons in a graphic display. For example, you might want to put a login, logout, and shutdown button in the same graphic display. Create and then set up each button separately. The illustration shows the login button. Some buttons have different properties on the General tab, but you can use these instructions to set up any of the buttons in the list. For example, on the General tab for the acknowledge all alarms button and the clear alarm history button, you can specify a subset of alarms to which the buttons action applies. For details about filtering alarm triggers, see page 9-5. To set up a button 1. Double-click the button.
21-17
2. In the buttons 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. In the Label tab, specify what text or image to display on the button. 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-13. The Timing tab is available only for the move up, move down, move left, move right, page up, and page down buttons. In the Common tab, specify the buttons spacial properties, name, and visibility. For details about the options in the tabs, see Help. 3. When you are finished, click OK.
21-18
You can use different kinds of push buttons, depending on what kind of machinery you are running or process you are controlling: Momentary push buttons change a tag to one value when the button is pressed, and another value when the button is released. The machine is on only while the button is held down. When the button is released, the machine turns off. Momentary push buttons are useful for jogging a motor, and they can be set up to start and stop a machine or process. Maintained push buttons toggle between two values. This type of button is useful for changing a setting within a machine or process, but not for starting the machine or process. For example, use the maintained push button for changing modes, such as Auto to Manual, or Metric to Imperial. Latched push buttons latch in the on position, and must be unlatched by another button or process to return to the off position. This type of button is useful for starting a machine or process. Multistate push buttons allow an operator to cycle through multiple options consecutively, using a single button. The current state of a process or operation is displayed on the button by a different color, caption, or image for each state.
21-19
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. For information about the numeric input enable button, see page 21-30. For information about the numeric input cursor point, see page 21-32.
21-20
2. In the buttons 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-2. In the Common tab, specify the buttons spacial properties, name, and visibility. In the Connections tab, specify the tags or expression with which the button exchanges data. 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.
21-21
The error state The buttons error state is displayed at run time when: the Value connection is unassigned. the Indicator connections value does not match one of the state values you set up. The error state is also displayed when the display containing the maintained push button first opens, if the Value connections value does not match one of the state values you set up. To set up a maintained push button 1. Double-click the maintained push button.
2. In the buttons 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-2. In the Common tab, specify the buttons spacial properties, name, and visibility. In the Connections tab, specify the tags or expression with which the button exchanges data. For information about assigning tags and expressions, see page 20-36.
21-22
For details about the options in the tabs, see Help. 3. When you are finished, click OK.
21-23
2. In the buttons 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-2. In the Common tab, specify the buttons spacial properties, name, and visibility. In the Connections tab, specify the tags or expression with which the button exchanges data. 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.
21-24
The error state The buttons error state is displayed at run time when: the Value connection is unassigned. the Indicator connections value does not match one of the state values you set up. The error state is also displayed when the display containing the multistate push button first opens, if the Value connections value does not match one of the state values you set up. To set up a multistate push button 1. Double-click the multistate push button.
2. In the buttons Properties dialog box, fill in the options on each tab: 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-2. 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-12.
21-25
In the Common tab, specify the buttons spacial properties, name, and visibility. In the Connections tab, specify the tags or expression with which the button exchanges data. 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.
21-26
2. In the buttons Properties dialog box, fill in the options on each tab: In the General tab, specify the buttons 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-2. In the Common tab, specify the buttons spacial properties, name, and visibility. In the Connections tab, specify the tag with which the button exchanges data. Interlocked push 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. When you are finished, click OK.
21-27
2. In the buttons Properties dialog box, fill in the options on each tab: In the General tab, specify what the button looks like, and whether the button ramps a value up or down. In the Label tab, specify what text or image to display on the button. 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-12. In the Common tab, specify the buttons spacial properties, name, and visibility. In the Connections tab, specify the tag with which the button exchanges data. 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. When you are finished, click OK.
21-28
21-29
2. In the objects 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 objects spacial properties, name, and visibility. In the Connections tab, specify the tags or expression whose data is displayed. 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.
21-30
To set up a numeric input enable button 1. Double-click the numeric input enable button.
2. In the buttons Properties dialog box, fill in the options on each tab: 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 display on the button. 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, and decimal point settings. In the Timing tab, set up the timing and handshake settings for the Enter key. These settings do not apply when you ramp a value. For information about using Enter key handshaking, see page 21-13. In the Common tab, specify the buttons spacial properties, name, and visibility. In the Connections tab, specify the tags or expressions with which the button exchanges data. For information about assigning tags and expressions, see page 20-36. For details about the options in the tabs, see Help.
21-31
2. In the objects Properties dialog box, fill in the options on each tab: 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.
21-32
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, decimal point settings, and display settings. In the Timing tab, set up the timing and handshake settings for the Enter key. These settings do not apply when you ramp values. For information about using Enter key handshaking, see page 21-13. In the Common tab, specify the objects spacial properties, name, and visibility. In the Connections tab, specify the tags or expression with which the numeric input cursor point exchanges data. 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.
21-33
2. In the objects Properties dialog box, fill in the options on each tab: In the General tab, specify what the string display looks like at run time. In the Common tab, specify the string displays spacial properties, name, and visibility. In the Connections tab, specify the tag or expression whose data is displayed. 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.
21-34
2. In the buttons Properties dialog box, fill in the options on each tab: 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 display on the button. In the String tab, specify the pop-up to open and the number of characters to accept. 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-13. In the Common tab, specify the buttons spacial properties, name, and visibility. In the Connections tab, specify the tags or expression with which the button exchanges data. 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.
21-35
For more information about using goto display buttons, see page 13-4. To set up a goto display button 1. Double-click the goto display button.
2. In the buttons 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 to use, if any. In the Label tab, specify what text or image to display on the button. In the Common tab, specify the buttons spacial properties, name, and visibility. For details about the options in the tabs, see Help. 3. When you are finished, click OK.
21-36
2. In the buttons 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 display on the button. In the Common tab, specify the buttons 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. For details about the options in the tabs, see Help. 3. When you are finished, click OK.
21-37
2. In the objects 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. In the States tab, specify which graphic display to use for each of the display list selectors states, and how each graphic display is named in the list. For tips about setting up states, see page 21-2. In the Common tab, specify the display list selectors spacial properties, name, and visibility. For details about the options in the tabs, see Help. 3. When you are finished, click OK.
21-38
Symbols display a symbol that changes color to indicate the state of a process or operation. This allows the operator to see the status of a process or operation at a glance. List indicators display a list of states for a process or operation, and highlight the current state. Each state is represented by a caption in the list. This type of indicator is useful if you want operators to view the current state, but also see the other possible states. For sequential processes, the list can inform the operator about what happens next.
21-39
2. In the objects 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 indicators appearance changes when its tag or expressions value changes. For tips about setting up states, see page 21-2. In the Common tab, specify the indicators spacial properties, name, and visibility. In the Connections tab, specify the tag or expression from which the indicator receives data. 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.
Setting up symbols
The symbol is an indicator that displays 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.
21-40
The error state The symbols error state is displayed at run time when: the Indicator connection is unassigned. the Indicator connections value does not match one of the state values you set up. the Trigger type is set to Value and the Indicator connection value does not match one of the state values you set up. the Trigger type is set to LSB and the position of the least significant bit set in the Value connection does not match one of the state values you set up. the Trigger type is set to Value and an array tag has been assigned to the objects Value connection. To set up a symbol 1. Double-click the symbol.
2. In the objects 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 symbols appearance changes when its tag or expressions value changes. For tips about setting up states, see page 21-2.
21-41
In the Common tab, specify the symbols spacial properties, name, and visibility. In the Connections tab, specify the tag or expression from which the symbol receives data. 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.
21-42
2. In the objects 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 indicators appearance changes when its tag or expressions value changes. For tips about setting up states, see page 21-2. In the Common tab, specify the indicators spacial properties, name, and visibility. In the Connections tab, specify the tag or expression from which the indicator receives data. 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.
21-43
If the temperature is in the correct range for the recipe, the bar graph can show the temperature in green. If the temperature is higher than the recipe allows, the bar graph can show the temperature in red. If you want to use a different fill color on a bar graph to show abnormal conditions, make sure enough of the new fill color is visible when the abnormal condition occurs that the operator can see the condition.
21-44
If the temperature is higher than the recipe allows, the gauge can show the temperature in red.
Some people are color blind to red and green, so dont rely on color alone to establish meaning.
2. In the objects 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 graphs spacial properties, name, and visibility. In the Connections tab, specify the tag or expression from which the bar graph receives data. For information about assigning tags and expressions, see page 20-36. For details about the options in the tabs, see Help.
21-45
Setting 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 gauges minimum and maximum values. To set up a gauge 1. Double-click the gauge.
2. In the objects 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 displays values at run time. In the Common tab, specify the gauges spacial properties, name, and visibility. In the Connections tab, specify the tag or expression from which the gauge receives data. 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.
21-46
Setting 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. In the objects Properties dialog box, fill in the options on each tab: In the General tab, specify what the scale looks like at run time. In the Common tab, specify the scales spacial properties, name, and visibility. For details about the options in the tabs, see Help. 3. When you are finished, click OK.
21-47
automatically. If you want the operator to confirm the selection of a particular state before the states value is written to the programmable controller, create an enter button on the same display as the control list selector, and select the Write on enter option. The operator can scroll through the control list selector using: key button graphic objects. These are graphic objects that duplicate the functions of keyboard keys. the arrow keys and Enter key on a terminals keypad. the arrow keys and Enter key on a keyboard.
21-48
For more information about using Enter key handshaking, see page 21-13. To set up a control list selector 1. Double-click the control list selector.
2. In the objects 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 to write out a value when the operator presses the Enter key, 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. In the States tab, set up the value and caption for each state. The value defines the control list selectors action, by changing the Value connection to the value you specify when the selected state is in effect. For tips about setting up states, see page 21-2. 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-13. In the Common tab, specify the control list selectors 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.
21-49
For details about the options in the tabs, see Help. 3. When you are finished, click OK.
Choosing between piloted control list selectors and control list selectors
Piloted control list selectors include the following features that control list selectors do not: The states can be selected either by an operator, or remotely, for example by a programmable controller, or by both an operator and a remote device. Individual states can be turned off, to prevent them from being selected by either the operator or the remote device. Control list selectors do not allow states to be turned off. The state values of all of the items that are visible in the list can be written to the Visible States connection when the list scrolls. The Visible States connection must be a data-server tag that supports arrays. You cannot use an HMI tag. Control list selectors have no Visible States connection. The state value of the item at the top of the list can be written to the Top Position connection when the list scrolls. Control list selectors have no Top Position connection.
21-50
Using buttons with the piloted control list selector When a piloted control list selector is operator-controlled, it works with: key button graphic objects. These are graphic objects that duplicate the functions of keyboard keys. the arrow keys and Enter key on a terminals keypad. the arrow keys and Enter key on a keyboard. The operator presses the buttons to scroll up or down the list, or to make selections from the list. The buttons can be set up to work with the piloted control list selector that has focus, or with a specific piloted control list selector. You can use the buttons listed in the table on page 21-48. Selecting items in the list Each state can be selected directly by an operator, or remotely by a device such as a programmable controller. The operator or the controller scrolls through the list to select a different state or a different group of visible states. When an operator or remote device selects a state, the value assigned to the selected state is written to the piloted control list selectors Value connection. If the state is turned off, the states value is not written to the Value connection. If the operator attempts to select a state that is remote-controlled, the states value is not written to the Value connection. Scrolling through the list If the piloted control list selector contains more states than can be displayed 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. To use this feature, the assigned tag must support arrays, and the array must be the same length as the number of
21-51
visible states in the piloted control list selector. For information about using array tags, see page 9-15. To set up a piloted control list selector 1. Double-click the piloted control list selector.
2. In the objects 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 to write out a value when the operator presses the Enter key, 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. 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-2. 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-13. In the Common tab, specify the piloted control list selectors spacial properties, name, and visibility.
21-52
In the Connections tab, specify the tags or expression with which the piloted 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. When you are finished, click OK.
21-53
2. In the objects 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 displays spacial properties, name, and visibility. In the Connections tab, specify the tag or expression with which the local message display exchanges data. 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.
21-54
2. In the buttons 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. In the Label tab, specify what text or image to display on the button. In the Common tab, specify the buttons spacial properties, name, and visibility. For details about the options in the tabs, see Help. 3. When you are finished, click OK.
2. In the objects 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 displays spacial properties, name, and visibility. For details about the options in the tabs, see Help.
21-55
2. In the buttons 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 filter the alarms to include in the report. In the Label tab, specify what text or image to display on the button. In the Print tab, specify what information to print on the report. In the Common tab, specify the buttons spacial properties, name, and visibility. For details about the options in the tabs, see Help. 3. When you are finished, click OK.
21-56
2. In the buttons 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 filter the alarms to include in the report. In the Label tab, specify what text or image to display on the button. In the Print tab, specify what information to print on the report. In the Common tab, specify the buttons spacial properties, name, and visibility. For details about the options in the tabs, see Help. 3. When you are finished, click OK.
21-57
21-58
2. In the objects 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. In the Display tab, specify the types of alarms to display in the list, and the appearance of the different alarm conditions. In the Common tab, specify the alarm lists spacial properties, name, and visibility. In the Connections tab, specify the tags or expressions to use to control the type of alarms to display in the list. The use of these connections is optional. For details about the options in the tabs, see Help. 3. When you are finished, click OK.
21-59
2. In the objects 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. In the Alarm tab, set up whether to queue alarms, whether to display all alarms or active alarms only, and which alarms to include in a filtered trigger list. In the Common tab, specify the alarm banners spacial properties, name, and visibility. For details about the options in the tabs, see Help. 3. When you are finished, click OK.
21-60
Active alarmsdisplays the status of all the alarms that are currently active. Past alarmsdisplays 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. If desired, you can set up the alarm status list to show alarms for specific alarm triggers only. FactoryTalk View comes with a library graphic display called [STATUS] that contains an alarm status list object, alarm status mode button, and other buttons for working with the list. You can use the display and objects as is, customize them, or create your own. For more information about using alarm status lists, see page 9-34. To set up an alarm status list 1. Double-click the alarm status list.
2. In the objects 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.
21-61
In the Common tab, specify the alarm status lists spacial properties, name, and visibility. For details about the options in the tabs, see Help. 3. When you are finished, click OK.
21-62
2. In the objects 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 lists spacial properties, name, and visibility. For details about the options in the tabs, see Help. 3. When you are finished, click OK.
21-63
2. In the objects 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 displays spacial properties, name, and visibility. For details about the options in the tabs, see Help. 3. When you are finished, click OK.
21-64
Types of animation
Animation associates graphic objects with tags so the appearance or position of an object changes to reflect changes to the tags value. For example, an objects color could change from yellow to orange to red as the tags value increases. Or a slider could move from left to right as a tags value increases. You can use these types of animation: color fill height horizontal position horizontal slider rotation vertical position vertical slider visibility
22-1
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.
You can also attach animation to groups of drawing objects. For more information, see page 22-14. You can attach as many types of animation to a drawing object (except images and panels) as you like. For example, apply width, height, horizontal position, and vertical position animation to an object to give it the appearance of moving into or out of the display as it shrinks and grows.
22-2
View menu
Animation menu
22-3
Expression range
Animation result
For details about the parts of the Animation dialog box, see Help.
22-4
Testing animation
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
1. 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. Test mode does not change the appearance or position of the display as set up in the Display Settings dialog box.
22-5
Using 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. A tag name or tag placeholder can be included as part of an expression, or it can stand alone as the entire expression. For more information about expressions, see Chapter 23.
Browse button
22-6
22-7
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.
22-8
Visibility animation is available for all objects. Visibility animation overrides an objects Visible property.
If you use a tags value to control visibility animation as well as in an expression to control some other aspect of animation, when you set up visibility, set the Expression true state to Invisible. If you do not do this, the object could appear briefly in its design-time location and orientation before animating properly.
For more information about setting up visibility animation, see Help. Example: Using visibility animation to set up security for a graphic display This example shows how to use visibility animation to control what operators can see. In a graphic display that all users have access to, only the Admin user can see the graphic object to which this animation is attached. 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 user names use uppercase letters, so make sure that you use uppercase letters in your expression. 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.
22-9
Color animation is available for all drawing objects except images and panels. For more information about setting up color animation, see Help. Example 1: Creating a text object that blinks This example describes how to create a text object that constantly blinks between two colors. Since the blinking is not based on changes in tag values, the expression is simply a constant value that matches the value for the selected threshold. For details about creating text, see page 20-13. 1. Select the text object. 2. Open the Animation dialog box, and then click the Color tab. 3. In the Expression box, type 0. Zero is the default value for threshold A. 4. In the list box, click threshold A. (Leave the value in the Value box as 0.) 5. For the foreground color, click Blink. (If desired, click Blink for the background color too.) 6. For each color, click the color box, and then click the color to use. 7. Click Apply.
Example 2: Creating an object that changes color as the fill level changes This example describes how to create a rectangle object that changes color as the objects 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. When the flour level reaches 95, the rectangle blinks between gray and red. You could use a bar graph object (without animation) to achieve a similar result. 1. Double-click the rectangle to open the Polygon Properties dialog box. Assign these properties to the rectangle: In the Back style box, select Solid. For the Fore color and Back color, select gray.
22-10
2. Click OK to close the Polygon Properties dialog box. 3. With the rectangle selected, open the Animation dialog box, and then click the Fill tab. 4. Attach fill animation as follows: In the Expression box, type Hopper1\FlourLevel (this is the tag that monitors the fill level). For Fill Direction, click Up. 5. Click the Color tab, and then attach color animation as follows: In the Expression box, type Hopper1\FlourLevel (the same tag that was used in the Fill tab). Set up the color for the normal state In the list box, click A. (In the Value box, leave the value as 0.) For foreground and background colors, click Solid. For each, click the color box, and then click gray (the same gray used for the rectangle). Set up the color for the first warning In the list box, click B. In the Value box, type 80. For foreground and background colors, click Blink.
Yellow Gray
For the foreground colors, select gray for the first color and yellow for the second color. Repeat for the background colors. Set up the color for the second warning In the list box, click C. In the Value box, type 95. For the foreground and background colors, click Blink.
22-11
Red Gray
For the foreground colors, select gray for the first color and red for the second color. Repeat for the background colors. 6. Click Apply.
22-12
example, if the value of the expression is halfway between the minimum and maximum values, the object will be halfway between its minimum and maximum offset. Vertical position animation is available for all drawing objects except images and panels. For more information about setting up vertical position animation, see Help.
22-13
An object can have both vertical and horizontal slider animation. Horizontal slider animation is available for all drawing objects except images and panels. For more information about setting up horizontal slider animation, see Help. Tips Here are some tips for creating slider objects: The Sliders graphic library contains several slider objects you can drag and drop into your graphic displays. Attach slider animation to the button portion of the slider object. If you create your own slider object, its useful to draw an object (for example, a line) to represent the path the slider will move along.
Horizontal slider, vertical slider Group animation overrides animation attached to individual objects within the group.
22-14
These types of animation Height, width, horizontal position, vertical position, and rotation
Are applied like this Animation results for individual objects and the group are combined. For example, if an individuals horizontal position animation result is to offset the object by 100 pixels, and the groups result is to offset the group by 200 pixels, the individual object is offset by 300 pixels. When the groups animation visibility is False (the group is not visible), then no objects in the group are visible, regardless of the animation status of the individual objects. When the groups animation visibility is True (the group is visible), the visibility of an object within the group is determined by the individual object animation.
Visibility
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-48.
22-15
When the Animation dialog box opens, look at which tabs have check marks on them to see which types of animation have been set up.
22-16
3. Select the objects to copy the animation to. 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.
22-17
23 Using expressions
This chapter describes: the types of expression components. using the Expression editor. which editors use expressions. formatting expressions. using tag names and tag placeholders with expressions. using constants. using operators. using math, security, and language functions. using if-then-else logic in expressions. the evaluation order of operators. using write expressions.
About expressions
Sometimes the data you gather from devices is meaningful only when you: compare it to other values. combine it with other values. create a cause-effect relationship with other values. Expressions allow you to create mathematical or logical combinations of data that return more meaningful values. Depending on the components used in the expression, the value returned can be in the form of a numeric value, a true/false value, or a text string.
23-1
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. The security function CurrentUserHasCode(x) also returns a true/false value. The security function CurrentUserName( ) returns a string value. The language function CurrentLanguage( ) returns a string value. Expressions that use if-then-else logic can return numeric values, true/false values, or text strings, depending on how they are structured. These are called conditional expressions because the result of the expression depends on whether the If statement is true or false. When the If statement evaluates to true, the result is defined by the Then statement. When the If statement is false, the result is defined by the Else statement. The Objects 5 Screen Demo sample application contains many examples of expressions. For example, see the alarm trigger expressions in the Alarm Setup editor.
23-2
23 Using expressions
and functions, thus avoiding typing mistakes. Another advantage of using the Expression editor is that you can check whether the syntax of the expression youve created is valid. To create an expression by typing it directly 1. Type an expression up to 16,000 characters long. Expressions that you type directly are not checked for syntax. To open the Expression editor, do one of the following Click the Browse button in the Exprn column for a connection that accepts expressions.
Browse button in the Exprn column
The Browse button is not available for connections to which you can assign only tags. In the Animation dialog box, click the Expression button.
23-3
Cursor position
Validation area
For details about using the options in the Expression editor, see Help.
23-4
23 Using expressions
Global ConnectionsYou can use expressions to remotely control when to open and print displays, as well as the date and time to display. For more information, see Chapter 8. Alarm SetupWhen setting up alarms, you can use expressions for alarm triggers, and with some of the connections that silence and acknowledge alarms. For more information, see Chapter 9. Information SetupYou can use expressions to determine when to display information messages. For more information, see Chapter 27. MacrosYou can use expressions in macros to assign values to tags. For more information, see page 30-1.
Formatting expressions
You can format expressions so they are easier to read. However, do not let tag names, function names, or function arguments span more than one line. When formatting expressions, you can use line returns and multiple spaces. Enclose strings in quotes. The string can contain any character, and can include spaces. Example: Formatting an expression To format this if-then-else statement, you can align the Else with the appropriate If, so the logic is easy to understand: if (tag1 > tag2) then 0 else if (tag1 > tag3) then 2 else 4 Or you can condense it to the following: if (tag1 > tag2) then 0 else if (tag1 > tag3) then 2 else 4
23-5
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. Enclose tag names that contain dashes or start with a number in braces { } when you use them in an expression. This distinguishes the characters in the tag name from the characters in the expression. You can use string tags as operands with the plus (+) arithmetic operator and with the relational operators.
Constants
A constant can have any of the following formats: integer (123) floating-point (123.45) string constant (character string)
23-6
23 Using expressions
Arithmetic operators
Arithmetic operators perform math on two or more numeric values and calculate the result. The arithmetic operators are:
Example (For these examples, tag1 = 5 and tag2 = 7) tag1 + tag2 returns a value of 12 You can also use this operator with string operands. See page 23-7. * / MOD,% subtraction multiplication division modulus (remainder) tag1 - tag2 returns a value of -2 tag1 * tag2 returns a value of 35 tag1 / tag2 returns a value of 0.7142857 tag2 MOD tag1 returns a value of 2 The modulus operator is the remainder of one number divided by another. In the example, the remainder of 7 divided by 5 is 2; so 7 % 5 = 2 Important: This operator is for integers only, not floating-point numbers. ** exponent tag1 ** tag2 returns a value of 78125
Symbol +
Operator addition
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.
23-7
Relational operators
Relational operators compare two numeric or string values to provide a true or false result. If the statement is true, a value of 1 is returned. If false, 0 is returned. The relational operators are:
Symbols Operator Numeric Example String Example
For the numeric examples, tag1 = 5 and tag2 = 7 For the string examples, serial_no = ST009 EQ, == equal tag1 == tag2 false NE, <> not equal tag1 <> tag2 true LT, < less than tag1 < tag2 true GT, > greater than tag1 > tag2 false LE, <= less than or equal to tag1 <= tag2 true GE >= greater than or equal to tag1 >= tag2 false
serial_no == ST009 true serial_no <> ST011 true serial_no < ST011 true serial_no > ST011 false serial_no <= ST011 true serial_no >= ST011 false
Logical operators
Logical operators determine the validity of one or more statements. There are three logical operators: AND, OR, and NOT. The operators return a non-zero value if the expression is true, or a 0 if the expression is false. 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.
23-8
23 Using expressions
Operator and
Action 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. Reverses the logical value of the statement it operates on.
OR, ||
or
(tag1 > tag2) OR (tag1 == 5) tag1 == 5 is true; returns a 1. NOT (tag1 < tag2) Although tag1 < tag2 is true, NOT reverses the logical value; returns a 0.
NOT
negation
The parentheses are essential in the above expressions. They determine the evaluation order of the operators. For more information, see page 23-11.
Bitwise operators
Bitwise operators examine and manipulate individual bits within a value.
These operators are for integers only, not floating-point numbers. Do not use them with tags or expressions that return floating-point values.
Symbol &
Operator And
Action (for examples, see page 23-11) Compares two integers or tags on a bit-by-bit basis. Returns an integer with a bit set to 1 if both the corresponding bits in the original numbers are 1. Otherwise, the resulting bit is 0.
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.
23-9
Symbol ^
Operator
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. If both bits are 1 or both are 0, the resulting bit is 0.
>>
right shift
Shifts the bits within an integer or tag to the right. Shifts the bits within the left operand by the amount specified in the right operand. The bit on the right disappears. Either a 0 or a 1 is shifted in on the left, depending on whether the left-most bit is a 0 or a 1, and whether the operand consists of a signed or unsigned data type. For signed data types, if the left-most bit is 0, a 0 is shifted in. If the left-most bit is 1, a 1 is shifted in. In other words, the sign of the number is preserved. For unsigned data types, a 0 is always shifted in.
<<
left shift
Shifts the bits within an integer or tag to the left. Shifts the bits within the left operand by the amount specified in the right operand. The bit on the left disappears and 0 always shifts in on the right. See Using the left shift operator, later in this chapter.
complement
Returns ones complement; that is, it toggles the bits within an integer or tag. Reverses every bit within the number so every 1 bit becomes a 0 and vice versa.
23-10
23 Using expressions
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).
23-11
23-12
23 Using expressions
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). _____________________________ NOT tag1 AND tag2 > tag3 ** 2 is evaluated in this sequence: 1. NOT tag1 = 0 2. 0 AND tag2 = 0 3. tag3 ** 2 = 100 4. 0 > 100 = 0 The expression evaluates to 0 (false).
23-13
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.
This function SQRT (expression) LOG (expression) LOG10 (expression) SIN (expression) COS (expression) TAN (expression) ARCSIN (expression) ARCCOS (expression) ARCTAN (expression SIND (expression) COSD (expression) TAND (expression) ARCSIND (expression) ARCCOSD (expression) ARCTAND (expression) Returns this value The square root of the expression The natural log of the expression The base ten log of the expression The sine of the expression in radians The cosine of the expression in radians The tangent of the expression in radians The arc sine of the expression in radians The arc cosine of the expression in radians The arc tangent of the expression in radians The sine of the expression in degrees The cosine of the expression in degrees The tangent of the expression in degrees The arc sine of the expression in degrees The arc cosine of the expression in degrees The arc tangent of the expression in degrees
23-14
23 Using expressions
Security functions
Use security functions to control access to your application. These functions allow you to determine a users identity or security rights in order to limit access to the application based on these criteria.
This function CurrentUserHasCode (Security Code Letters) Returns this value 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. CurrentUserName( ) A string containing the name of the current user. This function is case sensitive. All RSView 3.20 and earlier user names use uppercase letters.
For more information about setting up security for your application, see Chapter 11. For an example of using the CurrentUserHasCode(x) function, see page 11-11. For examples of using the CurrentUserName( ) function, see page 11-24.
Language function
The language function shows you which language your application is currently using. You can display the current language in a string display, or use it in expressions to generate language-specific messages for your users.
This function CurrentLanguage( ) Returns this value RFC1766 name of the current runtime language.
The RFC1766 name is a standard way of representing a language using the format: languagecode-Country/RegionCode where languagecode is a lowercase two-letter code and Country/RegionCode is an uppercase two-letter code. For example, U.S. English is en-US.
23-15
For more information about setting up languages for your application, see Chapter 12. For a list of RFC1766 names, see Appendix F. Language switching alarm, information, and local messages in RSView ME Station 4.00 FactoryTalk View 5.00 provides direct support for switching message languages at run time. For applications that will run in RSView ME Station version 4.00, you can use the CurrentLanguage( ) expression function to set up language switching for messages. To do this, set up trigger value offsets for series of messages in the Alarm Setup editor, information message files, and local message files. Export the text strings in the Alarm Setup editor and message files for translation. Then paste the translated strings into the editor and original message files, and assign each string the correct trigger value. For information about exporting text for translation, see Chapter 12. Example: Setting up information messages in multiple languages This example shows how to generate English, French, or German information messages at run time in an RSView ME Station 4.00 application, depending on which language the application is using. 1. Create a tag called Information_messages that will generate trigger values of 11 to 20 for different conditions that require information messages. 2. Create an information message file. 3. Create English messages for trigger values 11 to 20. Tip: Messages are sorted alphanumerically in the Excel spreadsheet or Unicode text file created for translation. Therefore, numbers 2 through 9 would appear after 10, 11, 12, and so on. To keep your messages in order in the translation file, begin the first series of numbers at 11. 4. Create French messages for trigger values 21 to 30. 5. Create German messages for trigger values 31 to 40. 6. Assign this expression to the Value connection in the Information Setup editor:
If CurrentLanguage( )=en-US then Information_messages Else If CurrentLanguage( )=fr-FR then Information_messages + 10 Else Information_messages + 20
23-16
23 Using expressions
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. The if-then-else structure is: if statement then value1 else value2 If the statement is true then the expression returns value1; if the statement is false then the expression returns value2. If the result of the statement is a non-zero value, the statement is true (and returns value1); if the result is 0, the statement is false (and returns value2). The if-then-else structure is illustrated here.
23-17
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. Example 1: Nested if-then-else This expression: if statement1 then value1 else if statement2 then value2 else value3 has this interpretation:
23-18
23 Using expressions
Example 2: Nested if-then-else This expression: if statement1 then if statement2 then value1 else value2 else value3 has this interpretation:
23-19
Example: Using 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 push button. The push button has one state corresponding to feet per second, and the other state to meters per second. Then the operator presses the numeric input enable button and enters the value for the conveyor speed in a numeric pop-up keypad. The ? character in the write expression is the placeholder for the value the operator enters. To set up the maintained push button 1. In the Maintained Push Button Properties dialog box, in the States tab, set up these states: State 0Value: 0, Caption: Feet/S State 1Value: 1, Caption: Meters/S 2. In the Connections tab, assign a digital tag called Feet_or_meters to the Value connection (either an HMI tag or a data server tag). To set up the numeric input enable button 1. In the Numeric Input Enable Properties dialog box, in the Label tab, type the caption Enter conveyor speed. 2. In the Connections tab, assign a tag called Conveyor_speed to the Value connection. 3. Assign this expression to the Optional Exp connection: if Feet_or_meters == 0 then ? else ? * 3.281 FactoryTalk View writes the result of the expression to the Conveyor_speed tag at the data source.
23-20
24-1
24-2
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.
24-3
Tag_name is the tag to display; 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. Examples: Numeric embedded variable syntax To display the current value of a tag called Oven_temp, with 3 digits, no decimal places, and no fill character, type this: /*N:3 Oven_temp NOFILL DP:0*/ To display the constant 48, with 3 decimal places and 2 zeroes to the left of the number (for a total length of 8 digits including the decimal), type this: /*LN:8 48 ZEROFILL DP:3*/ At runtime the numeric embedded variable would look like this: 0048.000.
24-4
Tag_name is the tag to display; 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 displayed to indicate the string is truncated. If you use the minus sign (-), the asterisk will be displayed as the first character at the left end of the string. Otherwise, the asterisk will be displayed as the last character at the right end of the string. Examples: String embedded variable syntax To display the current value of a string tag called Blower_status, with a fixed length of 20 characters, you would type this: /*S:20 Blower_status*/ To display the literal string Oven temperature, type this: /*LS:20 Oven temperature*/ To display the literal string 36.5, type this: /*LS:3 36.5*/ To assign the tag placeholder #1, without a fixed string length, type this: /*S:0 #1*/ To display the value of the string tag Conveyor_message, with a fixed length of 40, displaying the right-most characters, with an asterisk to indicate if the message is truncated, type this: /*S:-40 Conveyor_message SHOWSTAR*/
24-5
Example: Time and date embedded variable syntax To display the time followed by the short date, you would type this: /*TSD*/ A space is placed between the time and date when the embedded variable is displayed at run time.
24-6
Local messagesWhen a display containing a local message display object is open, and the message the object is displaying 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 messagesThe value of the embedded variable is read when the information message is first displayed. It is not updated after that. If the message is printed, it is printed using the value the variable had when the message was first displayed. This value is retained if you shut down and restart the application. Alarm messagesThe value of the embedded variable is read when the alarm occurs, and is displayed in the message associated with the alarm. It is not updated after that. If the message is printed, it is printed using the value the variable had when the alarm first occurred. This value is retained if you shut down and restart the application.
24-7
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.
24-8
25-1
you can create one display and not specify any tag names. Where a tag name is required, type a tag placeholder. Use parameter files to specify which tags to substitute for which placeholders. For information about using parameter files, see page 25-3. You can use tag placeholders wherever you would normally assign a tag to an object, including in expressions and embedded variables. You can also use tag placeholders in the expressions you create to animate objects. You can also use tag placeholders with global objects. You can assign tag placeholders to the connections for base objects, and to connections for reference objects with the LinkConnections property set to False. For more information about global objects, see page 25-6. You can use tag placeholders in: the graphic display that opens when the application is first run. Specify the graphic display to open, and the parameter file to use with it, in the Startup editor. graphic displays that are opened using goto display buttons. Specify the graphic display to open, and the parameter file to use with it, when you set up the button. graphic displays that are opened using display list selectors. Specify the graphic displays to open, and the parameter files to use with them, when you set up the display list selector.
Summary of steps
Follow these steps to use tag placeholders and parameter files: 1. In the Graphics editor, create graphic objects and assign tag placeholders to the objects. 2. In the Parameters editor, create parameter files for each set of tags that the display will use. In the parameter files, specify which tags to substitute for which placeholders. 3. In the Graphics editor, create goto display buttons or display list selectors for opening the display containing tag placeholders. Specify the appropriate parameter files in the Goto Display Button Properties dialog box or Display List Selector Properties dialog box. For information about setting up goto display buttons, see page 21-35. For information about setting up display list selectors, see page 21-37. 4. If the startup display uses tag placeholders, in the Startup editor specify the parameter file to use with the startup display. For information about the Startup editor, see Chapter 14.
25-2
Creating tag placeholders A tag placeholder is the cross-hatch character (#) followed by a number. The tag placeholder can replace any part of a tag name, including folder names. For example, you could create a parameter file specifying that the tag placeholder #1=Folder1. You could assign the folder and a tag name to a graphic objects connection: #1\Tag1. You can create tag placeholders in: the Connections tab of an objects Properties dialog box. the Connections tab of the Property Panel. the Expression box in the Animation dialog box. anywhere that you can insert an embedded variable. For information about embedded variables, see Chapter 24. To create a tag placeholder 1. Type the cross-hatch character followed by a number (no space in between). For example, #1.
25-3
For details about using the Parameters editor, see Help. To open the Help, press F1 on your keyboard. Example: Using a parameter file to replace tag placeholders This example shows how to use a graphic display called Canning Overview with two sets of tags, one for canning corn, and one for canning peas. The Canning Overview display is opened from a graphic display called Main Menu. 1. Create these sets of tags. You can use both HMI and data server tags.
Tag type String Analog Analog Analog Tag name Corn_Name Corn_Temp Corn_Weight Corn_Level Tag name Pea_Name Pea_Temp Pea_Weight Pea_Level
2. Create two parameter files, called Corn and Peas, containing these parameters:
Corn #1=Corn_Name #2=Corn_Temp #3=Corn_Weight Peas #1=Pea_Name #2=Pea_Temp #3=Pea_Weight
25-4
Corn #4=Corn_Level
Peas #4=Pea_Level
3. In the Canning Overview display, assign tag placeholders to the Value connections for these graphic objects:
This graphic object String display Numeric display 1 Numeric display 2 Bar graph Uses this tag placeholder #1 #2 #3 #4
4. Use descriptive text to illustrate the objects in the display. 5. In the Main Menu display, create a display list selector for opening the Canning display, with two states. 6. Assign the Corn parameter file to one state, and the Peas parameter file to the other. 7. Call the captions for the states Corn and Peas, respectively. At run time, when the operator selects the Peas state on the display list selector in the Main Menu, and presses the Enter key, the Canning Overview display opens and shows the values of the Pea_ tags. When the operator selects the Corn state, the values of the Corn_ tags are displayed.
25-5
The Canning Overview display looks like this when the operator selects the Peas state:
25-6
Summary of steps
Follow these steps to set up global objects: 1. In the Graphics editor, create a global object display. For more information, see the next section. 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-8. 4. Edit the link properties of the reference objects as desired. For more information, see page 25-9.
For information about creating graphic objects, see Chapter 20. 3. On the File menu click Save, or click the Save tool.
Save tool
4. In the Component name box, type a name for the display, and then click OK. The display is added to the list in the Global Objects folder. To add a display or library to the Global Objects folder 1. In the Explorer window, in the Graphics folder, right-click the Global Objects icon. 2. Click Add Component Into Application. 3. Browse to and select the display or library to add, and then click Open.
25-7
The display is copied into the Global Objects folder, and given the file extension .ggfx. Any ActiveX objects are deleted. All other objects are converted to base objects.
If you delete, remove, or rename a global object display, you break the links between the base objects in the display and their reference objects. For more information about breaking links, see Help.
If desired, you can assign unique connections, animation, and size to the reference object. To create a reference object 1. Copy an object from a global object display to a standard graphic display. 2. To assign unique connections, animation, or size to the object, double-click the object to open the Property Panel. For information about using the Property Panel, see page 20-29.
You can also create reference objects by adding a global object display to the Displays folder. All the objects in the new display are reference objects.
To add a global object display to the Displays folder 1. In the Explorer window, in the Graphics folder, right-click the Displays icon. 2. Click Add Component Into Application. 3. Browse to and select the global object display to add, and then click Open. The display is copied into the Displays folder, and given the file extension .gfx. All the objects are converted to reference objects.
25-8
To edit a reference objects base object 1. Right-click the reference object, and then click Edit Base Object. 2. The global object display containing the base object opens, with the object selected. 3. Make your changes to the base 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 objects LinkSize property on and off.
25-9
To change a reference objects link properties 1. Double-click the object to open the Property Panel. 2. Make your changes to the link properties. 3. Specify the new size, connections, or animation for the object. For information about resizing objects, see page 20-44. 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. You can still edit the properties for individual objects separately. To break the link to a base object 1. Right-click the reference object, and then click Break Link. The reference object becomes a regular object. You can edit all of its properties. However, you cannot restore the connection to the base object.
25-10
that use values from a set of Logix5000 tags. When you create multiple reference objects from this base object, each reference object can use a different set of Logix5000 tags. The global object parameters you assign to the base object allow you to do this, because you are using a placeholder instead of a specific backing tag (a backing tag is a path to a folder of tags; it is also known as a structured tag). If you then change, add, or remove a tag or expression in the base object, the same change is made to all the reference objects. If you dont use global object parameters, you can still assign different tags to different reference objects by changing the reference objects 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. The parameter can be the placeholder for an individual tag or for a folder of tags. For example, #1 could be a placeholder for the path to the folder containing the PIDE tags assigned to the global object. When you set up the base object, specify the global object parameters to use with the object. You can provide a description of each parameter to remind you or another application designer of the type of value to assign to the parameter on the reference object. Then assign specific values to each parameter for the reference object. You can assign numeric or string constants, tags, or backing tags.
25-11
Summary of steps
Follow these steps to use global object parameters: 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. You can also type placeholders in embedded variables by using a literal string embedded variable. For information about embedded variables, see Chapter 24. 2. Right-click the global object or grouped global object, and then click Global Object Parameter Definitions.
3. Specify a parameter for each placeholder for the object. If desired, type a description for each parameter. For details about using the Global Object Parameter Definitions dialog box, see Help. To specify the parameter values for the reference object 1. Right-click the reference object or grouped reference object, and then click Global Object Parameter Values.
25-12
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. For details about using the Global Object Parameter Values dialog box, see Help.
25-13
FactoryTalk View Studio comes with sets of faceplates that work with these Logix5000 instructions: Enhanced PID (Logix_PIDE) Discrete 2-State Device (Logix_D2SD) Discrete 3-State Device (Logix_D3SD) Totalizer (Logix_TOT) 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. When you add process faceplates, any graphic images associated with the faceplates are added to the Images folder. To add process faceplates to an application 1. In the Explorer window, right-click the HMI server, and then click Add Process Faceplates.
25-14
The Add Process Faceplates dialog box opens. 2. Select the faceplates to add. For details about selecting options in the dialog box, see Help.
25-15
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. In the Startup editor, turn on data logging by selecting the Data logging check box. Also use this editor to specify the data log model to use at run time. See Chapter 14. 3. In the Graphics editor, create a graphic display containing the trend graphic object, and set up how the object looks, which tag values to display, the start time, and the time span for the data. Also specify the name of the data log model to use.
26-1
File names FactoryTalk View creates two data log files: Data Log Model Name.log Data Log Model Name.tag Youll need this information if you log to a custom path and want to delete the log files manually.
26-2
Set up general aspects of the model. Specify where to log the data. Specify how logging occurs.
For detailed information about the options in the Data Log Models editor, see Help. Each data log model has a unique name, and an optional description. You can log a maximum of 300,000 points. When the maximum number of data points have been logged, the oldest data is deleted to make room for the new data.
26-3
on another computer on the network on a compact Flash Card (for PanelView Plus or PanelView Plus CE terminals only) If the logging destination is unavailable for any reason, for example, the card is removed or the network drive becomes unavailable, data logging stops. It does not restart until you restart the application. Logging to a network location To log data to a network location, the network drive must be shared, and the runtime computer must be logged in to the same domain as the computer on the network. To do this, the user must have access rights for the domain. The PanelView Plus or PanelView Plus CE terminal cannot be part of a domain. However, you can verify that the user who is logged into the PanelView Plus or PanelView Plus CE terminal is on a user list that is part of a domain. For more information about logging in to a Windows domain or authenticating users, see page 17-1.
26-4
Using a heartbeat rate You can also specify a heartbeat rate, to log values at specified times even if no tag value changes have occurred. The heartbeat ensures that the data in the log file is current. The heartbeat is also a good way to ensure that data logging is working and acquiring valid data. The heartbeat cannot be less than the maximum update rate, which is the rate at which data servers send tag values to FactoryTalk View. If you specify a heartbeat of 0, the heartbeat is not used.
26-5
26-6
Summary of steps
Follow these steps to set up information messages: 1. In the Information Messages editor, set up the messages and their trigger values. 2. In the Information Setup editor, specify the graphic display to open when information messages occur, and the file of messages to display. Also use this editor to assign a tag or expression to the Value connection. If you want the operator to acknowledge messages, assign the Ack connection and specify the acknowledge hold time.
27-1
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 dont want the operator to acknowledge messages, edit the default display to remove the information acknowledge button. For information about graphic displays, see Chapter 19.
You can define up to 10,000 messages in each message file. For detailed information about the options in the Information Messages editor, see Help.
27-2
For detailed information about the options in the Information Setup editor, see Help.
27-3
27-4
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 displayed (in the default information message display). When the value of Conveyor_2_status changes to 1, the second message is displayed.
27-5
Buttons
You can use the [INFORMATION] 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 displaying information messages. In the Information Setup editor, specify the display to use. Another option is to place the information message display object in a graphic display that doesnt open automatically when a message is generated. For information about creating your own information message display, see page 27-7. The information message display graphic object The [INFORMATION] display contains an information message display graphic object, which lists one information message at a time. For information about how the information message display object works at run time, see page 27-7. Buttons in the [INFORMATION] display The [INFORMATION] display contains these buttons:
This button Does this
Ack (information acknowledge) Acknowledges the information message Close (close display) Closes the information message graphic display.
You can assign any caption you choose to the labels on the buttons.
27-6
Using 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.
Opening and closing the information message display Opening the display
The information message display you specify in the Information Setup editor (either the default [INFORMATION] display or your own display) is automatically opened whenever the Value connections value matches a trigger value. You can also create a goto display button that the operator can press to open the information message display. For information about setting up a goto display button and specifying the display to open, see Help.
27-7
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-63.
What is displayed
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. The Value connection is rounded up to the nearest integer. If the value does not match any of the trigger values in the specified message file, the display is filled with question marks (?). For information about how values are rounded, see page 7-2. If the message is too long to fit in the information message display object, the last displayed character is replaced with an asterisk (*). When the Value connections value is 0, the information message graphic display is closed. If you set up information messages in multiple languages, messages are displayed in the current application language. When a language switch occurs, a message that was already in the information message display remains in the language that it originally appeared in. New messages are displayed in the new language.
27-8
27-9
28 Setting up trends
This chapter describes: what trends are. summary of steps for creating a trend graphic object. creating trends, and the Trend Object Properties dialog box. the parts of the trend graphic object. the different chart types. choosing colors, fonts, lines, and markers for the trend. testing the trend. using objects from the Trends graphic library. using buttons to control the trend at run time. printing trend data. runtime errors for trends.
About trends
A trend is a visual representation of current or historical tag values. The trend provides operators with a way of tracking plant activity as it is happening. You can: plot data for as many as eight tags or expressions on one trend. create a trend that is part of a graphic display or acts as the entire graphic display. plot data over time, or plot one variable against another in an XY Plot chart to show the relationship between them. display isolated or non-isolated graphs. Isolated graphing places each pen in a separate band of the chart. With non-isolated graphing, pen values can overlap. create buttons to allow the operator to pause, scroll, and print the trend data.
28-1
The illustration below shows a trend that has been added to a graphic display. You can view the Kiln Status display by opening the Malthouse sample application.
28-2
28 Setting up trends
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. If desired, create a next pen button, a pause button, or key buttons in the same graphic display, to allow the operator to switch between pens, pause the trend, or scroll the trend. For information about the buttons you can use with trends, see page 28-11. 5. To keep a printed record of the trend data, provide a way for the operator to print the graphic display. For information see page 28-12.
28-3
Setting 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 display data for.
For details about the options in the Trend Object Properties dialog box, see Help.
28-4
28 Setting up trends
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.
28-5
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.
X-axis
The x-axis is the bottom horizontal edge of the chart. It is also known as the horizontal axis.
Pens
Pens are the lines and symbols used to represent values. The values can be tags you are monitoring, expressions that manipulate tag values, or constants.
28-6
28 Setting up trends
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 display them. The icons position indicates the pens 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. If data is plotted frequently, the markers might not appear as distinct, separate symbols. For example, see the lowest pen in the illustration on page 28-5.
Notice that the horizontal axis labels display the range for the specified x-axis pen. The time period covered by the chart is at the upper left.
28-7
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 pens 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 pens band.
28-8
28 Setting up trends
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 displayed, the pen appears as a horizontal line across the full width of the chart. Its vertical position is determined by the tag, expression, or constants value. If the value changes, the position changes.
28-9
To use a different window color 1. In the Property Panel, select the opaque WindowStyle, and then specify the WindowColor property. For information about using the Property Panel, see page 20-29.
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. When you are finished testing, switch back to edit mode to continue editing. To switch between test and edit modes
1. 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. Test mode does not change the appearance or position of the display as set up in the Display Settings dialog box. Also, data logging is not turned on in test mode.
28-10
28 Setting up trends
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.
28-11
Does this Resumes trend scrolling and moves to the current (latest) data in the trend.
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.
28-12
28 Setting up trends
28-13
29 Setting up RecipePlus
This chapter describes: what recipes are. summary of steps for creating a recipe system. how the recipe system works. specifying the runtime location of recipe files. creating recipe files. comparing recipes. creating RecipePlus buttons, selectors, and tables. testing RecipePlus objects. using objects from the RecipePlus_Components graphic library. using buttons with the recipe objects. viewing data values that are saved at run time.
About recipes
A recipe is a set of numeric and string data values (ingredients) that can be downloaded to their associated tags at the data source. Each ingredient has a pre-set data value assigned to it. The set of data values for all the ingredients in a recipe is called a data set. The set of numeric and string tags assigned to the ingredients in the recipe is called a tag set. The ingredients, data sets, and tag sets are stored together in a recipe file. You can create different pairs of data sets and tag sets for the same set of ingredients. Each pairing of data set with tag set is called a unit. Each unit is like a unique recipe. At run time, the operator can select the unit (recipe) that applies to the current operation. For example, a bakery making whole wheat bread could use the same ingredients and tag sets, but depending on the type of crust desired, could use different data sets to specify different baking temperatures. As another example, you might want to have multiple production lines baking the same bread. In this case, the data set for all the production lines would be the same, but the tags receiving the recipe information would be different for each production line. Units allow you to combine different tag sets and data sets for the same set of ingredients. The FactoryTalk View RecipePlus system allows you to create up to 15,000 ingredients, 500 data sets, 50 tag sets, and 2,500 units for each recipe file. You can create data sets at
29-1
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 display, edit, download, or save multiple values at once. For example, recipes are used in the petrochemical and pharmaceutical industries. In the pharmaceutical industry, you could use recipes to design flexible packaging, creating recipes that specify the number of tissues to put in a box or the number of milliliters of shampoo to put in a bottle.
Summary of steps
These are the steps for creating a recipe system: 1. In the RecipePlus Setup editor, specify the runtime location for recipe files. The files can be stored with the application or in a separate location. For details, see page 29-5. 2. In the RecipePlus Editor, set up ingredients, data sets, tag sets, and units. You can also specify a percent complete tag and a status tag for the recipe. For details, see page 29-6. 3. Create a display in the Graphics editor, containing a RecipePlus selector, table, and buttons. For details, see page 29-9. 4. If desired, create key buttons in the same graphic display, to allow the operator to use the selector and table without a keyboard. For information about the buttons you can use with recipes, see page 29-11.
RecipePlus selector
Use the RecipePlus selector to select the recipe file and unit to work with.
RecipePlus table
Use the RecipePlus table to display the selected recipe files ingredients, tag values, and data set values. The operator can edit data set values in the table, unless you select the View only option. If desired, you can include a Compare column in the table, to compare tag values to data sets at a glance. If you choose this option, FactoryTalk View displays an X in the Compare column when the tag value and data set value for an ingredient differ. Ingredients with an X are listed first.
29-2
29 Setting up RecipePlus
RecipePlus button
Use the RecipePlus button to perform actions on the selected recipes ingredients. The recipe is selected using the RecipePlus selector object. Set up a separate RecipePlus button for each action you want to perform: Downloadwrite the data set values to tags, for all the ingredients in the selected recipe. Uploadwrite 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. Upload and Createwrite tag values for all the ingredients in the selected recipe to a new data set, creating a new unit. The operator is prompted for a name for the new unit. If all values are uploaded successfully, the recipe file is saved. The new data set is named Data Set n, where n is the next available number (starting at 1) that will create a unique data set name. Restoredisplay the selected recipe in the RecipePlus table. Savesave the data set values for the recipe file and unit displayed in the RecipePlus table. If the operator made changes in the data set values using the string pop-up keyboard or numeric pop-up keypad, the new values in the table overwrite existing data set values (if any) for the unit in the recipe file. Deletedelete the recipe unit selected in the RecipePlus selector object. Renamerename the recipe unit selected in the RecipePlus selector object. The illustration below shows a graphic library display that contains a RecipePlus selector, RecipePlus buttons, and a RecipePlus table. The display also contains key buttons for
29-3
working with the selector and table, a bar graph that shows the percentage complete of the recipe operation, and a string display that shows the status of the recipe operation.
Number format
The values in the recipe table are displayed 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.797693E+308. This range applies to the numbers that you enter in the RecipePlus Editor, and it also applies to the tag values that are uploaded to the recipe file at run time.
29-4
29 Setting up RecipePlus
This is the path to the RecipePlus folder: \Documents and Settings\All Users\Documents\RSView Enterprise\ME\HMI projects\Project name\RecipePlus (Windows 2000) or \Documents and Settings\All Users\Shared Documents\RSView Enterprise\ME\HMI projects\Project name\RecipePlus (Windows XP or Windows Server 2003 R2) If recipe files are stored outside the HMI project, when you perform an action on a recipe file at run time, the file is locked until the action is completed. This prevents other users from making changes to a file while you are working with it.
29-5
view the changes in FactoryTalk View Studio. For more information about converting runtime application files, see page 14-6.
For details about using the RecipePlus Setup editor, see Help.
29-6
29 Setting up RecipePlus
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.
Comparing 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 displayed 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.
29-7
3. Specify the recipe file or files, data sets, and tag sets to compare. For information about the options in the Compare Recipes dialog box, see Help. 4. Click Compare. A report is displayed in Windows Notepad.
29-8
29 Setting up RecipePlus
Printing recipes
You can use the RecipePlus Editor to print recipe data sets. For information about printing from editors, see page 2-13.
29-9
To create a recipe object 1. In the Graphics editor, create or open a graphic display. 2. Select a RecipePlus drawing tool by doing one of the following: In the Objects toolbox, click the RecipePlus Button, RecipePlus Selector, or RecipePlus Table tool. On the Objects menu, select RecipePlus, and then click RecipePlus Button, RecipePlus Selector, or RecipePlus Table. 3. Drag the mouse to create a box approximately the size you want for the object. 4. Double-click the object to open its Properties dialog box. 5. Set up the object. For details, see Help. Once you have set up a RecipePlus object, you can edit it as you would any other graphic object. You can move it, resize it, attach animation to it, and so on. You can also use the object in other graphic displays by dragging it from one display and dropping it into another. For more information about graphic objects, see Chapter 20.
1. 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. Test mode does not change the appearance or position of the display as set up in the Display Settings dialog box.
29-10
29 Setting up RecipePlus
You can use the objects in the library as they are, or you can edit them to suit your needs. To use the objects, drag and drop (or copy and paste) them into your graphic display. For information about copying and pasting objects from the graphic libraries, see page 20-43.
To use the RecipePlus_Components graphic library 1. Open the Graphics folder, and then open the Libraries folder. 2. Double-click the RecipePlus_Components library. 3. Drag and drop or copy and paste objects into your display.
29-11
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. Use these buttons with recipe objects:
This button Move up Move down Page up Page down Home End Enter (table only) Does this Moves the highlight bar up one item in the list. Moves the highlight bar down one item in the list. Moves the highlight bar up one page in the list. Moves the highlight bar down one page in the list. Moves the highlight bar to the top item in the list. Moves the highlight bar to the bottom item in the list. Opens the numeric keypad or string keyboard for the operator to edit the data set value. If a numeric ingredient has a minimum and maximum value defined, these values are displayed in the numeric keypad. If the table is defined as View only, the operator cannot edit it.
To see how the buttons work with the RecipePlus selector and table, open the RecipePlus_Components graphic library (see page 29-10), and start test mode. For information about creating buttons, see Chapter 20. For details about setting up the buttons, see page 21-16. Example: Editing and downloading recipe values at run time This example shows how to use the RecipePlus graphic objects to edit and download recipe values at run time. 1. In the RecipePlus editor, create a RecipePlus file containing ingredients, several data sets, a tag set, and several units combining the different data sets with the tag set. 2. Open the RecipePlus_Components library. 3. Start test mode. 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 units ingredients are displayed in the RecipePlus table, with the data set values in the Recipe column.
29-12
29 Setting up RecipePlus
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, displaying the minimum and maximum values for the ingredient. If the ingredient is a string ingredient, the string pop-up keyboard opens. 6. Type a new value for the ingredient, and then press Enter. The new value is displayed in the Recipe column. 7. Press the Save button to save the new value. 8. Press the Download button to write all the values in the Recipe column to the tags associated with the ingredients. The values are downloaded to the data source.
29-13
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.
29-14
30 Using macros
This chapter describes: using macros to assign values to tags. using the Macros editor. when to use macros. running macros when tags or expressions change value. where to assign macros.
30-1
30-2
30 Using macros
30-3
Global Connections
30-4
APPENDIX A
Terminology
This section describes terms that are different in PanelBuilder 1400e and FactoryTalk View.
PanelBuilder 1400e term screen Optional Keypad Write Expression programmable controller FactoryTalk View term display, graphic display Optional Expression data source
A-1
In FactoryTalk View, the data source can be memory or a device such as a programmable controller or an OPC server. FactoryTalk View writes values to and reads values from the 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. Prepare the application in PanelBuilder 1400e, and then convert the application file, as described in the next section. 2. Specify additional project settings, as described on page 4-11. For example, if you want the application to have a border around its graphic displays, or to use a title bar, you can specify these options in the Project Settings editor.
We recommend that you use the Project Settings editor to change the project window size, rather than using the Convert to new window size option in the Machine Edition Import Wizard.
3. If you use the Convert to new window size option in the Machine Edition Import Wizard, check the position of the graphic objects in each display. 4. Set up communications and edit tags that dont convert directly. For more information, see page A-9. 5. Set up graphic object features that dont convert directly. For more information, see page A-12. 6. Check each expression you used in PanelBuilder 1400e. For more information, see page A-13. 7. If you are going to use a printer at run time, set it up for Ethernet or USB printing. Adjust the printer settings on the PanelView Plus or PanelView Plus CE terminal. For information about setting up printers on the terminal, see the PanelView Plus Terminals User Manual. This manual is available on the FactoryTalk View Machine Edition CD.
A-2
A-3
2. In the New tab, in the Application name box, type a name for your converted application, up to 32 characters long. 3. If desired, type a description of the application. If the PanelBuilder 1400e application contains an Application File Comment, the Application File Comment will overwrite the description you type here. You can add or change the description later, as described on page 4-17. 4. Specify a language for the converted application. For information about using different languages, see Chapter 12. 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 1400e application, creates the converted applications folders and files, and then displays the converted application in the Explorer window in FactoryTalk View Studio. If there are any messages about conversion, they are displayed automatically in the Project Status dialog box. The converted application is created in the ME\HMI projects directory, in a folder with the same name as the application name you specified in step 2.
A-4
This is the path to the ME\HMI projects directory: \Documents and Settings\All Users\Documents\RSView Enterprise\ME\HMI projects (Windows 2000) or \Documents and Settings\All Users\Shared Documents\RSView Enterprise\ME\HMI projects (Windows XP or Windows Server 2003 R2) Conversion messages are saved in a file called Convert.log, in the HMI projects directory. To convert a PanelBuilder 1400e application when FactoryTalk View Studio is already open 1. On the File menu, click New Application, or click the New Application tool.
New Application
If an application is already open, FactoryTalk View Studio asks you whether to close the application that is currently open. Click Yes. 2. Follow steps 2 through 6 in the previous procedure.
Notes During conversion the button is set up to increment. During conversion the button is set up to decrement. The Increment Value Button with Display is divided into two separate FactoryTalk View objects. The Decrement Value Button with Display is divided into two separate FactoryTalk View objects.
A-5
Notes
Screen List Selectors Up Cursor Move up button Control List Selectors list Control List Selectors Enter Key Control List Selectors Down Cursor Control List Selectors Up Cursor Screen Select Keypad (small and large) Screen Keypad Enable Button Goto Screen Button Return to Previous Screen Button ASCII Display Control list selector Enter button Move down button Move up button Display list selector Display list selector Goto display button Return to display button String display Specify the graphic displays that the display list selector can open. Specify the graphic displays that the display list selector can open. The PanelBuilder 1400e Control List Selector is divided into four separate FactoryTalk View graphic objects.
Numeric Keypad Enable Button Numeric input enable button Normally Open Momentary Push Button Normally Closed Momentary Push Button Screen Print Button Alarm History Sort By Time/Sort By Value Button Alarm Status Reset Qty/Time Button Alarm Panel Single Line Alarm Window Momentary push button Momentary push button Display print button Sort alarms button Reset alarm status button Alarm banner Alarm banner During conversion the button is set up to be normally open. During conversion the button is set up to be normally closed.
A-6
This PanelBuilder 1400e object Alarm Status Screen Clear All Button Print Button (in Alarm History screen) Print Button (in Alarm Status screen) Alarm Status Button/Alarm History Button Exit Button Alarm History List Display Mode Button Time Display
Is converted to this FactoryTalk View object Alarm status list Clear alarm history button Print alarm history button Print alarm status button Goto display button Close display button Alarm list Alarm status mode button Time and date display
Notes
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-16. During conversion the display is set up to show the date only. The PanelBuilder 1400e date format is not converted. For details about the FactoryTalk View date format, see page 21-16.
Date Display
Arc (with solid back style) and The line graphic object is added because the solid line FactoryTalk View arc shape does not have a line between the two points of the arc.
A-7
A-8
Block tags
Block tags are not supported in FactoryTalk View. Block tags that are monitored for alarms in your PanelBuilder 1400e application are converted to bit arrays. For information about monitoring bit arrays for alarm conditions, see Chapter 9.
A-9
For Bit Position data types, use the bitwise expression operators to display data that does not reference supported lengths. For more information, see the Rockwell Automation KnowledgeBase. To open the KnowledgeBase 1. 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-9.
To convert an RIO application from PanelBuilder 1400e to FactoryTalk View 1. Convert the application, as described on page A-3. 2. Open the RSLinx Enterprise data server, and then double-click Communication Setup. 3. In the Communication Setup editor, add an RIO driver. For PanelView Plus 400 and 600 terminals, use the 2711P-RN1 driver. For all other PanelView Plus or PanelView Plus CE terminals, use the 2711P-RN6 driver. For information about adding drivers in RSLinx, see RSLinx Help. 4. Expand the RIO tree, right-click RIO Data, and then click Configure RIO. 5. In the RIO Configuration dialog box, right-click RIO, and then click Import. 6. Browse to the location of the RIO configuration file. The file is saved in the root of the applications directory. 7. In the Communications Setup editor, create a device shortcut that points to the RIO data device.
A-10
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 .xml file, you can fix block tags in the Communication Setup editor in FactoryTalk View. The length of block tags must be the same for Read and Write pairs sharing the same rack, group, and slot.
10. Create an alias for any data that is not a 16-bit integer or bit. 11. Save the converted RIO application.
RIO configurations are not saved with the application when you exit FactoryTalk View Studio. However, they are backed up with the application in the Application Manager. For information about handling multiple applications with different RIO settings, see the Rockwell Automation KnowledgeBase. For information about using the Application Manager, see page 4-10.
A-11
Graphic object Image, text, arc, ellipse, line, panel, rectangle, wedge
Notes If you want an object to blink at run time, unlock the wallpaper. In FactoryTalk View, all of the listed objects except images and panels use color animation to blink. For details, see page 22-9. Panels use the Blink property to blink. Color images do not blink. Monochrome images use the Blink property to blink.
Numeric Display
Polarity
If a PanelBuilder 1400e application was set up with the Polarity control requiring a negative number to display the minus sign, the numeric display will not work properly after the application is converted to FactoryTalk View Machine Edition. Use an expression to achieve the same result. Assign the expression to the objects Value connection. For information about expressions, see Chapter 23. Objects are converted with the Decimal Point property set to Implicit. The numeric input cursor point retains focus when the operator cancels entering a numeric value. 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.
PLC Controlled and Decimal Numeric Input Cursor Point, Numeric Keypad Enable Button, Key Controlled input options Numeric Keypad Numeric Input Cursor Point Retain Cursor on Cancel
Initial state values Maintained Push Button, Multistate Push Button, Control List Selector
A-12
Unsupported feature in FactoryTalk View Blinking pens Date labels on the X-Axis Background screen plotting
Notes
The date is displayed 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. For information about data logging, see Chapter 26.
All objects
PanelBuilder 1400e object name Object names are replaced with the FactoryTalk View default object names. The PanelBuilder 1400e object name is used for the objects description. You can view and edit the name and description in the Property Panel. For details, see Help. Caption and image placement FactoryTalk View supports one, three, or nine positions for captions and images, depending on the type of object. On conversion, captions and images are positioned using the closest match. Therefore some captions might overlap images, some captions might be truncated, and some images might be clipped to fit the object. FactoryTalk View supports one image label per object or state. If a PanelBuilder 1400e object is set up to use multiple image labels, only the top left image is converted.
All objects
All objects
Converting expressions
Some PanelBuilder 1400e expression syntax is not supported in FactoryTalk View. Expressions are converted without modification, and then turned off by placing warning text at the beginning of the first line of the expression. In addition, exclamation marks (!) are placed at the beginning of each subsequent line of the expression. Warming text is also placed in expressions assigned to alarm triggers in the Alarm Setup editor. To turn on the expression, you must remove the warning text and exclamation marks, and revise the syntax if necessary. The maximum expression length in FactoryTalk View is 16,000 characters. If a PanelBuilder 1400e expression contains more than 16,000 characters, the excess characters are not converted.
A-13
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. To turn on an expression 1. Select the object containing the expression. 2. Open the Property Panel, and then click the Connections tab. 3. In the Exprn column, click the Browse button beside the expression to turn on.
Browse button
4. In the Expression editor, delete the warning text and exclamation marks. 5. Revise the expression, if necessary, using the tables in the following three sections as guides. 6. Click Check Syntax. For more information about using the Expression editor, see Chapter 23 or Help.
A-14
Type of expression component or operator Bitwise Not Bitwise And Bitwise Or Bitwise 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.
Select case
Logical Xor (if one or both operands Xor are Boolean or Single data types)
A-15
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.
PanelBuilder 1400e order of precedence () - (negation) *, / (floating point division) \ (integer division) MOD +, - (subtraction) =, <>, <, >, <=, >= Not And Or Xor
FactoryTalk View order of precedence () NOT, ~ (tilde) *, /, MOD, %, **, AND, &&, &, >>, << +, -, OR, ||, |, ^ EQ, ==, NE, <>, LT, <, GT, >, LE, <=, GE, >=
A-16
APPENDIX B
Terminology
This section describes terms that are different in PanelBuilder and FactoryTalk View.
PanelBuilder term screen programmable controller control FactoryTalk View term display, graphic display data source connection
In FactoryTalk View, the data source can be memory or a device such as a programmable controller or an OPC server. FactoryTalk View writes values to and reads values from the data source. The data source is configured to exchange information (in the form of
B-1
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. For example, if you want the application to have a border around its graphic displays, or to use a title bar, you can specify these options in the Project Settings editor. 3. If you select Convert to new window size, check the position of the graphic objects in each display. 4. Set up communications and edit tags that dont convert directly. For more information, see page B-7. 5. Set up graphic object features that dont convert directly. For more information, see page B-10.
B-2
To convert a PanelBuilder application when you open FactoryTalk View Studio 1. Open FactoryTalk View Studio.
2. In the New tab, in the Application name box, type a name for your converted application, up to 32 characters long. 3. 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-17. 4. Specify the last language that was used to edit the application. This will be used for the converted application. You can only import one language for your application, even if the original application uses multiple languages. The imported language will be the last language used to edit the application. For information about using different languages, see Chapter 12. 5. Click Import.
B-3
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 applications folders and files, and then displays the converted application in the Explorer window in FactoryTalk View Studio. If there are any messages about conversion, they are displayed automatically in the Project Status dialog box. The converted application is created in the ME\HMI projects directory, in a folder with the same name as the application name you specified in step 2. This is the path to the ME\HMI projects directory: \Documents and Settings\All Users\Documents\RSView Enterprise\ME\HMI projects (Windows 2000) or \Documents and Settings\All Users\Shared Documents\RSView Enterprise\ME\HMI projects (Windows XP or Windows Server 2003 R2) Conversion messages are saved in a file called Convert.log, in the HMI projects directory.
B-4
To convert a PanelBuilder application when FactoryTalk View Studio is already open 1. On the File menu, click New Application, or click the New Application tool.
New Application
If an application is already open, FactoryTalk View Studio asks you whether to close the application that is currently open. Click Yes. 2. Follow steps 2 through 6 in the previous procedure.
This PanelBuilder object Numeric Entry Keypad Enable Button Numeric Entry Cursor Point Increment/Decrement Entry Button
Notes
Multistate indicator Text The text object contains a numeric embedded variable that displays the read tag. If the original numeric data display object does not contain text, manually create a numeric display object with the desired properties in FactoryTalk View.
Connected Line
Polyline
B-5
This PanelBuilder object Circle Freeform Screen List Selector Goto Screen Button Return Screen Button New Password Button Print Alarm List Button Clear Alarm List Button
Is converted to this FactoryTalk View object Ellipse Freehand Display list selector Goto display button Return to display button Password button Print alarm history button Clear alarm history button
B-6
External fonts
PanelBuilder external fonts are not converted. When you convert your application you can specify the font to use instead. For details, see Help for the Machine Edition Import Wizard.
Power-up options
These PanelBuilder power-up options are not imported into FactoryTalk View: Write Last Terminal State to Controller Display Last User Screen Use Terminal Presets
B-7
B-8
B-9
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 /. has a data type of 4-BCD, Unsigned Integer, Signed Integer or INT, Character Array, or DINT, and its address contains the bit delimiter character /. is a block transfer tag with a data type of Bit Array, and its array size is 8, but its address does not have a bit offset of 0 or 8. is a block transfer tag with a data type of SINT, and its address does not have a bit offset of 0 or 8. is an I/O tag with an address that references an undefined rack. is an I/O tag with a data type of SINT, and its address does not have a bit offset of 0 or 10. does not have a valid I/O address or block transfer address.
Graphic object
Notes In FactoryTalk View, all of the listed objects except images use color animation to blink. For details, see page 22-9. Color images do not blink. Monochrome images use the Blink property to blink.
Image text, arc, ellipse, freehand, line, Blink property polyline, rectangle, wedge
B-10
Graphic object Maintained Push Button, Multistate Push Button, Standard Control List Selector
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.
Multistate Indicator, Message Display Print Setting Bar Graph Gauge Inner text and inner graphic Inner text and inner graphic Scale clipping Converted to a separate text object and image object. Converted to a separate text object and image object. If the scale doesnt fit within the height or width of the gauge, it is not clipped. Check the position of the scale to ensure it doesnt overlap other objects. Converted to a separate gauge object; if the gauge had 2 needles, each needle is converted to a separate gauge object. All alarms can be acknowledged. FactoryTalk View supports one, three or nine positions for images, depending on the type of object. On conversion, images are positioned using the closest match. Therefore some images might be clipped to fit the object. If this property is set to False, the converted object has a transparent background, no border, no caption, and no image. If the inner graphic uses a color image, it will not blink. Use a monochrome image if you want the inner graphic to blink.
All objects
All objects
B-11
APPENDIX C
System tags
This appendix describes system tags. System tags are preconfigured HMI tags created by FactoryTalk View. System tags are read-only. Display 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 system\AlarmReset DateAndTimeString Type String Function Contains the date and time of the last alarm reset.
Graphics
The following HMI tags can be used to make graphic objects appear as though they are blinking on and off:
Tag name system\BlinkFast system\BlinkSlow Type Digital Digital Function Toggles on and off every 100 ms (10 times per second). Toggles on and off every 500 ms (twice per second).
A more efficient way to make graphic objects blink is to use the blinking color option in color animation. For details, see page 22-9. Also, many objects have a Blink property that you can set up. For information about specific objects, see Help.
C-1
Time
These HMI tags record time and date information in various formats:
Tag Name system\Date system\DateAndTime Integer Type String Analog Provides this data System date. Number of seconds elapsed since midnight (00:00:00) January 1, 1970, coordinated universal time. Complete date and time display. For example: Monday, December 12 2001 10:47:50 AM Day of the month (1 - 31). Day of the week (1-7); Sunday = 1. Day of the year (1-366). Hour of the day (0-23). Minutes (0 - 59). Number for month (1-12). Name of the month. Seconds (0 - 59). System Time. The year (1980-2099). Read or write Read only Read only
system\DateAndTime String
String
Read only
system\DayOfMonth system\DayOfWeek system\DayOfYear system\Hour system\Minute system\Month system\MonthString system\Second system\Time system\Year
Analog Analog Analog Analog Analog Analog String Analog String Analog
Read only Read only Read only Read and write Read and write Read only Read only Read and write Read only Read only
For information about using the data source to update the system date and time, or about sending the runtime computers date and time to the data source, see Chapter 8.
C-2
C System tags
User
This tag contains the name of the current user:
Tag Name system\User Type String Function 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. For more information about the security functions, see page 23-15.
C-3
APPENDIX D
Severity
SQL_SMALLINT, or SQL_INTEGER
Area
80
Location
15
D-1
Contains 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.
Length 38
UserFullName Provider
255 20
D-2
APPENDIX E
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. For information about working with graphics XML files, see Appendix H. Sometimes editing your alarm setup in an XML file is quicker than working in FactoryTalk View. For example, if you have a list of 100 tags to monitor for alarms, with multiple messages for each tag, you might prefer to enter all the information in a text editor, and then import the alarm setup information into FactoryTalk View. Another example of using XML files is to export the alarm setup information you develop in one application, import the setup information to another FactoryTalk View application, and then modify the alarm setup as needed. Or, you could modify the information in the XML file before importing it. For more information about XML, see the World Wide Web Consortiums web page about XML at: http://www.w3.org/XML.
To export alarm information to an XML file 1. In the Explorer window, right-click the Alarm Setup editor.
E-1
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.
E-2
2. Click Import and Export. The Alarm Import Export Wizard opens. 3. Follow the instructions in the wizard. For more information about using the Alarm Import Export Wizard, see Help.
E-3
Element <trigger id=T2 /> </triggers> <messages> <message id=M1 /> <message id=M2 /> </messages> </alarm> </alarms>
Description Contains attributes for the second alarm trigger. Indicates the end of the triggers element. Contains a message element for each message in the Messages tab of the Alarm Setup editor. Contains attributes for the first alarm message. Contains attributes for the second alarm message. Indicates the end of the messages element. Indicates the end of the alarm element. Indicates the end of the alarms element.
You can specify multiple attributes for an element. For example, the alarm element contains 11 possible attributes from the Advanced tab of the Alarm Setup editor. For more information about alarm elements and their attributes, see Help for the Alarm Import Export Wizard.
E-4
APPENDIX F
RFC1766 names
This appendix describes RFC1766 names for Windows languages.
F-1
RFC1766 Name euES beBY bgBG caES zhHK zhHK zhMO zhMO zhCN zhCN zhSG zhSG zhTW zhTW hrHR csCZ daDK divMV nlBE nlNL enAU enBZ enCA enCB enIE enJM enNZ enPH enZA enTT enGB
Language Country/Region Basque Basque Belarusian Belarus Bulgarian Bulgaria Catalan Catalan Chinese Hong Kong SAR (Default Sort Order Stroke Count) Chinese Hong Kong SAR (Alternate Sort Order Stroke Count) Chinese Macau SAR (Default Sort Order Pronunciation) Chinese Macau SAR (Alternate Sort Order Stroke Count) Chinese China (Default Sort Order Pronunciation) Chinese China (Alternate Sort Order Stroke Count) Chinese Singapore (Default Sort Order Pronunciation) Chinese Singapore (Alternate Sort Order Stroke Count) Chinese Taiwan (Default Sort Order Stroke Count) Chinese Taiwan (Alternate Sort Order Bopomofo) Croatian Croatia Czech Czech Republic Danish Denmark Dhivehi Maldives Dutch Belgium Dutch The Netherlands English Australia English Belize English Canada English Caribbean English Ireland English Jamaica English New Zealand English Philippines English South Africa English Trinidad and Tobago English United Kingdom
F-2
F RFC1766 names
RFC1766 Name enUS enZW etEE foFO faIR fiFI frBE frCA frFR frLU frMC frCH mkMK glES kaGE kaGE deAT deDE deDE deLI deLU deCH elGR guIN heIL hiIN huHU huHU isIS idID itIT
Language Country/Region English United States English Zimbabwe Estonian Estonia Faroese Faroe Islands Farsi Iran Finnish Finland French Belgium French Canada French France French Luxembourg French Monaco French Switzerland FYRO Macedonian Galician Galician Georgian Georgia (Default Sort Order Traditional) Georgian Georgia (Alternate Sort Order Modern Sort) German Austria German Germany (Default Sort Order Dictionary) German Germany (Alternate Sort Order Phone Book Sort DIN) German Liechtenstein German Luxembourg German Switzerland Greek Greece Gujarati India Hebrew Israel Hindi India Hungarian Hungary (Default Sort Order) Hungarian Hungary (Alternate Sort Order Technical Sort) Icelandic Iceland Indonesian Indonesia Italian Italy
F-3
RFC1766 Name itCH jaJP jaJP knIN kkKZ kokIN koKR koKR kyKZ lvLV ltLT msBN msMY mrIN mnMN nbNO nnNO plPL ptBR ptPT paIN roRO ruRU saIN srSPCyrl srSPLatn skSK slSI esAR esBO esCL
Language Country/Region Italian Switzerland Japanese Japan (Default Sort Order) Japanese Japan (Alternate Sort Order Unicode) Kannada India Kazakh Kazakhstan Konkani India Korean Korea (Default Sort Order) Korean Korea (Alternate Sort Order Korean Xwansung Unicode) Kyrgyz Kazakhstan Latvian Latvia Lithuanian Lithuania Malay Brunei Malay Malaysia Marathi India Mongolian Mongolia Norwegian (Bokml) Norway Norwegian (Nynorsk) Norway Polish Poland Portuguese Brazil Portuguese Portugal Punjabi India Romanian Romania Russian Russia Sanskrit India Serbian (Cyrillic) Serbia Serbian (Latin) Serbia Slovak Slovakia Slovenian Slovenia Spanish Argentina Spanish Bolivia Spanish Chile
F-4
F RFC1766 names
RFC1766 Name esCO esCR esDO esEC esSV esGT esHN esMX esNI esPA esPY esPE esPR esES esES esUY esVE swKE svFI svSE syrSY taIN ttRU teIN thTH trTR ukUA urPK uzUZCyrl uzUZLatn viVN
Language Country/Region Spanish Colombia Spanish Costa Rica Spanish Dominican Republic Spanish Ecuador Spanish El Salvador Spanish Guatemala Spanish Honduras Spanish Mexico Spanish Nicaragua Spanish Panama Spanish Paraguay Spanish Peru Spanish Puerto Rico Spanish Spain (Default Sort Order International) Spanish Spain (Alternate Sort Order Traditional) Spanish Uruguay Spanish Venezuela Swahili Kenya Swedish Finland Swedish Sweden Syriac Syria Tamil India Tatar Russia Telugu India Thai Thailand Turkish Turkey Ukrainian Ukraine Urdu Pakistan Uzbek (Cyrillic) Uzbekistan Uzbek (Latin) Uzbekistan Vietnamese Vietnam
F-5
APPENDIX G
G-1
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. If the application contains features that are not supported by the version you select, FactoryTalk View displays a validation report that lists the unsupported features. The runtime application file is not created. You must remove or turn off the unsupported features before you can create the runtime application file. For information about creating runtime application files, see Chapter 14. The remainder of this appendix lists the features that are not supported in previous versions of FactoryTalk View ME Station. The tables also show how to remove or replace the unsupported features.
Display undefined strings using the In the Language Configuration dialog box, clear the default language option options checkbox. Tag assigned to the MERuntime RAM Usage, Total RAM Usage, or Available RAM connection Tag or expression assigned to the Remote RAM Usage connection CaptionOnBorder property assigned to graphic object Embedded variable L character assigned to a caption or message Unassign the tag in the Memory tab of the Global Connections editor. Unassign the tag or expression in the Memory tab of the Global Connections editor. In the Property Panel, set the objects CaptionOnBorder property to False. Select the Tag radio button in the Numeric Variable or String Variable dialog box for the caption or message.
Minus sign (-) qualifier used to show Clear the Right-most characters in string are displayed right-most text assigned to a caption checkbox in the String Variable dialog box for the caption or message. or message
G-2
To remove or replace this feature SHOWSTAR qualifier assigned to a caption or message Embedded variable assigned to the title bar of an On Top display RSLinx Enterprise Remote I/O alias with a BitArray data type Global object parameter definition or value
Do this Clear the Show * character if string is longer than field width checkbox in the String Variable dialog box for the caption or message. Remove the embedded variable. Assign a different data type to the alias. Delete the global object parameter definition. The corresponding value will be deleted automatically. Use parameter files instead.
Unsupported RSLinx Enterprise feature or shortcuterror Global reference object that is not linked to a global base object
G-3
Acknowledge all alarms button with Clear the Filtered triggers box. a filtered trigger Print alarm history button with a filtered trigger Print alarm status button with a filtered trigger Clear alarm history button with a filtered trigger Clear alarm history button with the Reset alarm status option cleared Clear the Filtered triggers box. Clear the Filtered triggers box. Clear the Filtered triggers box. Select Reset alarm status.
G-4
To remove or replace this feature Alarm list graphic object with an Acknowledged symbol other than * Alarm list graphic object with the Active symbol column displayed Alarm list graphic object with tags or expressions assigned to one or more connections Alarm list graphic object with Selected alarm indicator set to Cursor Alarm list graphic object with Lines per alarm set to >1 Alarm banner graphic object with Use alarm colors selected
Do this Change the Acknowledged symbol to *. Clear the Display column check box for the Active symbol column. Clear the tags or expressions assigned to the connections.
Change the Lines per alarm to 1. Clear the Use alarm colors check box.
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. a Fore color other than white
G-5
To remove or replace this feature Alarm trigger with Message Handshake connection assigned
G-6
APPENDIX H
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. For information about working with alarm XML files, see Appendix E. Sometimes editing your display information in an XML file is quicker than working in FactoryTalk View. For example, if you have a list of 100 local messages to set up for a graphic display, you might prefer to enter all the information in a text editor, and then import the display information into FactoryTalk View. For more information about XML, see the World Wide Web Consortiums web page about XML at: http://www.w3.org/XML.
To export graphic display information to an XML file 1. In the Explorer window, right-click the Displays editor or the Global Objects editor.
H-1
The Graphics Import Export Wizard opens. 3. Follow the instructions in the wizard. 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. To import a different set of displays than you exported, edit the list of display names in the BatchImport_Application name.xml file.
H-2
If you can see the XML code, your file is well-formed. If the XML code is not wellformed, Internet Explorer displays an error message.
2. Click Import and Export. The Graphics Import Export Wizard opens. 3. Follow the instructions in the wizard. For more information about using the Graphics Import Export Wizard, see Help.
H-3
In an XML document, the start of an element is marked <element name>. The end is marked </element name>. If the element contains no subelements, the end can be marked />. For example, <caption fontFamily=Arial fontSize=8 bold=false />. The syntax for specifying an attribute for an element is attribute=value. The attribute value must be enclosed in single or double quotes. Here is a sample structure for a graphic display XML document containing two graphic objects. The second object has states:
Element <gfx> <displaySettings /> <object1> Description Root element. Contains attributes from the Display Settings dialog box in the Graphics editor. Contains attributes from the General and Common tabs in the objects Properties dialog box, as well as elements for the objects caption, image, animation, and connections. Contains attributes for the objects caption. Contains attributes for the objects image. Contains an animation element for each type of animation set up for the object. Contains attributes for Visibility animation. Contains attributes for Color animation. Indicates the end of the animations element. Contains a connection element for each connection assigned to the object. Contains attributes for the Value connection. Contains attributes for the Indicator connection. Indicates the end of the connections element. Indicates the end of the object1 element. Contains attributes from the General and Common tabs in the objects Properties dialog box, as well as elements for the objects states and connections. Contains state elements for each of the objects states.
<caption /> <imageSettings /> <animations> <animateVisibility /> <animateColor /> </animations> <connections> <connection name= Value /> <connection name= Indicator /> </connections> </object1> <object2>
<states>
H-4
Element <state stateid=0> <caption /> <imageSettings /> </state> <state stateid=1> <caption /> <imageSettings /> </state> </states> <connections> <connection name= Value /> <connection name= Indicator /> </connections> </object2> </gfx>
Description Contains attributes for the objects first state, as well as elements for the states caption and image. Contains attributes for the states caption. Contains attributes for the states image. Indicates the end of the state element. Contains attributes for the objects second state, as well as elements for the states caption and image. Contains attributes for the states caption. Contains attributes for the states image. Indicates the end of the state element. Indicates the end of the states element. Contains a connection element for each connection assigned to the object. Contains attributes for the Value connection. Contains attributes for the Indicator connection. Indicates the end of the connections element. Indicates the end of the object2 element. Indicates the end of the gfx element.
You can specify multiple attributes for an element. For example, the caption element contains 13 possible attributes. Elements for group objects begin with <group> and end with </group>. The <group> element contains all the elements for each object in the group. For more information about graphic object elements and their attributes, see Help for the Graphics Import Export Wizard.
H-5
Index
Symbols
.bmp files 19-20 importing 19-21 location of 19-21 placing in graphic displays 20-14 tips for using 19-24 viewing 19-22 .dxf files 19-20 placing in graphic displays 20-20 .jpg files 19-20 importing 19-21 placing in graphic displays 20-14 tips for using 19-24 viewing 19-22 .mea files 4-11 .med files 4-2 .mer files 4-2 comparing 16-7 converting to .med 14-3, 14-6 creating 14-2 transferring from PanelView Plus or PanelView Plus CE 16-6 to PanelView 16-1, 16-5 to PanelView Plus CE 16-1, 16-5 to personal computers 15-1, 15-3 .wmf files 19-20 placing in graphic displays 20-20 .xml files 9-4, 19-4, E-1, H-1 Acknowledge alarm button graphic object 20-7, 21-16 using with alarm objects 9-8, 9-35 Acknowledge all alarms button graphic object 9-8, 20-8, 21-16 using with alarm lists 9-36 ActiveX objects 20-2 animating 22-2 at run time 17-17, 17-18 creating 20-21 navigating to 21-7 using to display tag values 20-6, 20-9 using to set tag values 20-5, 20-9 Addressing syntax for HMI tags 7-5 Logix5000 7-6 Adobe Reader 1-1 ALARM BANNER display editing 9-26 Alarm banner graphic object 20-10, 21-59 at run time 9-33, 17-19 linking buttons to 21-9 navigating to 21-7 specifying time and date format for 15-16 using buttons with 9-35 ALARM display 9-6 editing 9-25 window size 4-14 Alarm display opening and closing 9-25, 9-31 remotely 9-25 Alarm Import Export Wizard E-1 Alarm list graphic object 20-10, 21-58 at run time 9-32, 17-19 linking buttons to 21-9 navigating to 21-7 specifying time and date format for 15-16 using buttons with 9-35 Alarm log file 4-3, 9-10 deleting at application startup 15-15 printing contents of 9-10
Numerics
21 CFR Part 11 compliance 10-4
A
A.I. 5 tags importing 7-11 AB_DF1-1 using to transfer applications AB_ETH-1 using to transfer applications
16-5 16-5
I-1
Alarm messages embedded variables in 24-2 exporting to XML E-1 handshaking 9-21 importing XML E-3 multiple languages for 9-5, 9-17 printing at run time 9-10 viewing at run time 17-19 ALARM MULTI-LINE display 9-6 copying 9-30 editing 9-27 Alarm Setup editor 9-3 exporting to XML E-1 importing XML E-3 using tags in 6-9 Alarm status list graphic object 20-10, 21-60 at run time 9-34 linking buttons to 21-9 navigating to 21-7 using buttons with 9-35 Alarm status mode button graphic object 20-7, 21-16 using with alarm status lists 9-36 Alarm triggers 9-4 and the default language 9-5 data types for 9-11 exporting to XML E-1 importing XML E-3 Alarms 9-1 acknowledging 9-8, 9-19, 9-38 remotely 9-19, 9-20, 9-24 clearing 9-8, 9-39 creating your own display for 9-30 deleting 9-39 displaying 9-6 displaying in the alarm status list 9-40 expressions in 23-5 filtering 9-5 handshaking 9-18 for remote acknowledgements 9-20 importing and exporting 9-4, 19-4 keeping a permanent record of 9-6, 9-10 notification methods for 9-5 planning 3-5 printing 9-10 queueing 9-18
resetting status of 9-9, 9-24, 9-40 remotely 9-25 responding to 9-7 retaining status of 9-40 sending messages to the data source 9-22 setting up 9-2 silencing 9-8, 9-24, 9-39 remotely 9-24 sorting 9-9, 9-40 testing on the development computer 14-2 Analog tags 7-1 how floating-point values are rounded 7-2 logging values for 26-5 monitoring for alarms 9-4 using to generate a range of alarms 9-11 Animation 22-1 checking 22-15 copying 22-16 defining range of motion for 22-6 for global objects 22-17, 25-9 for group objects 20-47, 22-14 setting minimum and maximum values for 22-6 testing 22-5 using expressions 22-6 using Object Smart Path 22-4, 22-7 using tags and placeholders 22-5 viewing in Object Explorer 20-25 Animation dialog box 22-2 Animation types 22-1 color 22-9 fill 22-12 height 22-13 horizontal position 22-12 horizontal slider 22-14 rotation 22-13 vertical position 22-13 vertical slider 22-14 visibility 22-8 width 22-13 Application Explorer 2-4, 2-5 showing and hiding 2-7 using 2-8 Application files converting from runtime to development 14-3, 14-6
I-2
Index
deleting from disk 18-4 viewing location of 4-18 Application Manager 4-10 converting .mer files to .med files 14-6 security for 4-10 Application properties viewing 4-18 Application text exporting for translation 12-6 importing 12-13 translating in Excel 12-9 translating in Unicode 12-9 Applications 2-1, 18-1 backing up and restoring 4-10 closing 4-10 comparing 16-7 converting PanelBuilder B-1 PanelBuilder 1400e A-1 PanelBuilder 32 B-1 copying, deleting, and renaming 4-10 creating 4-4 importing PanelBuilder B-1 PanelBuilder 1400e A-1 PanelBuilder 32 B-1 multiple version support for 4-10, G-1 opening 4-7 multiple 4-9 problems with 4-9 planning 3-1 runtime, creating 14-2 sample, granting users access to 2-2 sample, opening 2-2 security for 11-18, 11-19, 11-20 specifying language for 4-5, A-4, B-3 testing on the development computer 14-2 transferring from PanelView Plus or PanelView Plus CE 16-6 transferring to PanelView Plus or PanelView Plus CE 16-5 using earlier versions of FactoryTalk View G-1 using earlier versions of RSView 4-10 versus projects 4-1 Arc graphic object 20-2, 20-16
Arithmetic operators in expressions 23-7 evaluation order of 23-11 Array tags 9-15 data types for 9-15, 9-16 Arrow images 19-20 Audiences for diagnostics messages 10-4 Auto repeat 21-12 AutoCAD files See .dxf files Automatic logout 11-13, 11-23
B
Background Color toolbar 20-32 Background style transparent 19-21 Backing tags 6-6, 25-13 using with global object parameters 25-11 Backspace button graphic object 20-7, 21-16, 21-48 Bar graph graphic object 20-6, 21-43, 21-45 at run time 17-18 using animation to create 22-10 using with recipes 29-10 Base objects assigning global object parameters to 25-11, 25-12 breaking links to 25-10 creating 25-7 deleting 25-10 editing 25-9 Bit arrays using to generate alarms based on priority sequence 9-13 using to generate multiple alarms 9-12 Bit trigger type 9-12 Bitmap files See .bmp files Bitwise operators in expressions 23-9 evaluation order of 23-11 Bounding box 21-5 Button graphic objects bounding box 21-5
I-3
creating touch margins for 21-4 linking to specific objects 21-9 repeating button presses 21-12 selecting objects to send button presses to 21-7, 21-9 using function keys with 21-5 using with alarm banners 20-7, 20-8 using with alarm history and diagnostics messages 20-8 using with lists 20-7 using with numeric input objects 20-7, 20-8 using with trends 20-7, 20-8, 28-11 Button presses repeating 21-12 sending to graphic objects 21-7, 21-9
C
Caches for data servers synchronizing 5-5 Change Password window 17-5 Circle graphic object 20-2, 20-17 Clear alarm banner button graphic object 9-8, 20-7, 21-16 using with alarm banners 9-36 Clear alarm history button graphic object 20-8, 21-17 clearing alarms with 9-8 resetting alarms with 9-9 silencing alarms with 9-9 using to delete the alarm log file 9-10 using with alarm lists 9-36 Close display button graphic object 20-4, 21-36 and alarms 9-31 and diagnostics messages 10-11 and information messages 27-6, 27-7 using to navigate 13-3, 13-6 Color blinking C-1 for graphic objects 20-32 in graphic displays animating 22-9 in trends 28-9 Color animation 20-6, 22-9
at run time 17-18 Communication drivers setting up at run time for transfer to PanelView Plus 16-3 for transfer to PanelView Plus CE 16-3 on personal computers 15-9 setting up in RSLinx Enterprise at run time 15-9 for transfer to PanelView Plus 16-5 for transfer to PanelView Plus CE 16-5 Communications displaying errors at run time 17-20 setting up 5-1 testing on the development computer 14-2 Components 2-11, 18-1 adding into applications 18-3 file locations 4-2 printing 2-13, 18-5 security for 11-18 working with 18-1 Connections 20-2 assigning to graphic objects 20-36 using the Property Panel 20-31 expressions 20-2 for alarms 9-4, 9-17, 9-23 tags 20-2 Constants in expressions 23-6 Context menus 19-5 Control list selector graphic object 20-5, 21-47 at run time 17-17 differences from piloted control list selectors 21-50 linking buttons to 21-9 navigating to 21-7 using Enter key handshaking with 21-13 Current trends 26-6, 28-2
D
Data log files 4-3, 26-1 Data log models changing the model to use at run time 26-5 deleting tags from 26-5
I-4
Index
Data Log Models editor 26-2 using tags in 6-12 Data logging 26-1 choosing the data to log 26-5 methods 26-4 problems with 26-6 setting up 26-1 storage locations 26-3 to monitor memory usage 8-8 Data server tags 6-1 browsing for 6-5 how to use 6-3 when to use 6-3 Data servers 2-8, 4-1, 5-2 creating 5-4 synchronizing caches for 5-5 Data sets, for recipes 29-1 comparing 29-7 printing 29-9 Data source ensuring values are read by 21-13 for alarms 9-3 for HMI tags 7-5 for information messages 27-3 for local messages 19-27 for tags 6-2, 7-5 for trends 28-2 Default graphic displays ALARM display 9-6 DIAGNOSTICS display 10-10 INFORMATION display 27-6 Default language 12-2 and alarm triggers 9-5 DEFAULT user 11-4 at runtime 11-3 DeskLock tool 11-2, 15-17 Device shortcuts editing at run time 15-6 Device tags 7-5 addressing syntax for 7-5 Diagnostics clear all button graphic object 20-8, 21-17 using with diagnostic lists 10-12 Diagnostics clear button graphic object 20-7, 21-17
using with diagnostics lists 10-12 DIAGNOSTICS display 10-10 at run time 17-19 opening and closing 10-11 window size 4-14 Diagnostics List 2-5 clearing messages in 2-5 displaying 10-5 moving 2-5 resizing 2-5 showing and hiding 2-7 using to test displays 19-10 Diagnostics list graphic object 20-10, 21-62 at run time 10-11, 17-19 displaying communication errors in 17-20 linking buttons to 21-9 navigating to 21-7 using buttons with 10-12 Diagnostics List Setup editor 10-9 Diagnostics messages 10-1 audiences for 10-4 creating your own display for 10-11 displaying at run time 10-8, 17-19 displaying during application development 10-4 logging from PanelView Plus and PanelView Plus CE terminals 10-6, 10-8 logging to an ODBC database 10-7 message severity 10-3 ODBC format for D-1 printing at run time 10-8 setting up at run time 10-10 setting up destinations for 10-6 setting up message routing for 10-6, 10-8 viewing log files 10-5 Diagnostics Setup tool 10-6 Diagnostics Viewer tool 10-5 Digital tags 7-1 logging values for 26-5 monitoring for alarms 9-4 DIN symbols 19-20 Display editor See Graphic Displays editor
I-5
Display list selector graphic object 20-4, 21-37 linking buttons to 21-9 navigating to 21-7 using parameter files with 25-2 using to navigate 13-3, 13-6 Display number specifying 8-4, 8-5 Display print button graphic object 19-30, 20-4, 21-17 printing trend data with 28-12 using the data source instead of 8-5 Display Settings dialog box 19-11 exporting to XML H-1 importing XML H-3 Display size See Window size Display types 19-12 and navigation 13-4 default 19-3 Displays See Graphic displays Documentation for FactoryTalk View finding P-2 printing 1-1 Drawing objects 20-1 animating 22-2 coloring 20-33 creating 20-12 flipping 20-54 locking into position 20-56 reshaping 20-45 rotating 20-55 Drivers See Communication drivers
Graphic Libraries 19-15 Images 19-22 Information Messages 27-2 Information Setup 27-3 Local Messages 19-26 Parameters 25-3 Project Settings 4-17 RecipePlus Editor 29-6, 29-7 RecipePlus Setup 29-5 Runtime Security 11-3 Editors printing in 2-13, 18-5 working with 2-10 Ellipse graphic object 20-2, 20-17 Embedded variables 24-1 displaying at run time 24-7 in title bars 19-13 syntax for 24-3 types of values 24-1 updating at run time 24-6 End button graphic object 20-7, 21-17, 21-48 using with alarm objects 9-38 using with diagnostics lists 10-12 using with recipes 29-12 using with trends 28-12 Enter button graphic object 20-7, 21-17, 21-48 and Enter key handshaking 21-13 using with alarm objects 9-8, 9-38 using with recipes 29-12 Enter key handshaking 21-13 Error messages
See
E
Edit mode 19-10 Editor types Alarm Setup 9-3 Data Log Models 26-2 Diagnostics List Setup 10-9 Expression 23-2 Global Connections 8-2 Graphic Displays 19-3
Diagnostics messages Problems at run time Exporting alarm files 9-4, E-1 global object displays H-1 graphic displays 19-4, H-1 problems with 12-8 text for translation 12-6 Expression editor 23-2 using tags in 6-5 Expression results rounding 23-1 types of values 23-2
I-6
Index
Expressions 23-1 and animation 22-6 assigning to connections 6-11 assigning to graphic objects 20-36 using the Property Panel 20-31 constants in 23-6 evaluation order of operators 23-11 formatting 23-5 if-then-else logic in 23-17 language function in 23-15 math functions in 23-14 monitoring for alarms 9-4 operators in arithmetic 23-7 bitwise 23-9 logical 23-8 relational 23-8 security functions in 23-15 tags and placeholders in 23-5 viewing in Object Explorer 20-25 write expressions 23-19
F
Faceplates See Process faceplates Factory Talk Local Directory restoring from runtime computer to development computer 14-6 FactoryTalk loading directory of users and security policies 15-5 logging in 11-3 at runtime 11-3 single sign-on 11-22 turning off warning 15-16 FactoryTalk Diagnostics 10-1 setting up on a personal computer 15-7 See also Diagnostics messages FactoryTalk Diagnostics Viewer tool 10-5 viewing diagnostics log files in 10-5 Windows Event Viewer 10-5 FactoryTalk Directory security access to 11-19 FactoryTalk Security 11-1
permissions for converting runtime applications to development applications 14-6 setting up 11-14 turning off 11-2 users, creating 11-17 FactoryTalk View FactoryTalk View ME Station 1-1 FactoryTalk View Studio 1-1 FactoryTalk View Machine Edition 1-1 FactoryTalk View ME Station exiting 15-5 starting on PanelView Plus CE terminals 16-3 on PanelView Plus terminals 16-3 on personal computers 15-4, 15-11 supported versions 4-10, G-1 FactoryTalk View Studio main window 2-4 starting and exiting 2-1 FactoryTalk View tags importing 7-11 File names 4-2 and spaces 4-4 maximum length of 4-4 Fill animation 20-6, 22-12 at run time 17-18 Folders 7-7 Fonts for multiple languages 20-13 in graphic displays substitution at run time 20-13 in trends 28-9 transferring 16-5 Foreground Color toolbar 20-32 Freehand graphic object 20-2, 20-17 Function keys assigning to graphic objects 21-5
G
Gauge graphic object 20-6, 21-43, 21-46 at run time 17-18 specifying number format for 15-16 Global connections 8-1 setting up 8-2
I-7
using to change displays remotely 8-4, 13-7 using to monitor memory usage 8-7 using to print displays remotely 8-5 using to run macros 8-6, 30-3 Global Connections editor 8-2, 19-30 Global object displays creating 25-7 exporting to XML H-1 importing XML H-3 Global object parameters 25-1 setting up 25-10 specifying tags for 25-13 using with process faceplates 25-11 Global objects 25-1 animating 22-17, 25-9 creating 25-7, 25-8 exporting to XML H-1 importing XML H-3 using global object parameters with 25-10
See also
Base objects Reference objects Goto configure mode button graphic object 20-4, 21-17 using to navigate 13-3 Goto display button graphic object 20-4, 21-35 and alarms 9-30, 9-31 and diagnostics messages 10-11 and information messages 27-7 assigning visibility animation to 11-24 using parameter files with 25-2 using to navigate 13-3, 13-4 Graphic displays 19-1 changing remotely 8-4, 13-7 security issues 8-4 setting up 8-4 using global connections 8-4 when a user logs out 11-23 creating 19-3 creating a background for 19-14 default ALARM 9-6 DIAGNOSTICS 10-10 INFORMATION 27-6
developing a hierarchy for 13-1 exporting to XML H-1 illustrating 20-2 importing XML H-3 limiting access to 11-9 maximum number licensed to use 4-18 navigating between 13-1 objects for 13-3 testing navigation 13-3 numbering 8-4, 8-5 opening 19-3 planning 3-3, 19-2 printing 19-29 at run time 19-30 remotely 8-5, 19-30 setting up printer 15-10 setting up 19-11 sizing 4-12, 19-13 testing 19-10 animation 22-5 title bar in 4-15 types of 19-12 default type 19-3 using parameter files with 25-2 viewing in detail 19-9 Graphic Displays editor 19-3 undoing and redoing actions in 19-10 using tags in 6-9 Graphic images importing 19-20 monochrome 19-21 that come with FactoryTalk View Studio 19-21 viewing 19-22 Graphic libraries 19-15 ALARM BANNER display 9-26 ALARM MULTI-LINE display 9-6, 9-26, 9-27 changing file location for 19-19 copying 9-30 creating 19-15 HISTORY display 9-6, 9-29 opening 19-15 RecipePlus_Components library 29-10 saving with multiple languages 19-17 setting up for multiple languages 12-14
I-8
Index
Sliders library 22-14 STATUS display 9-6, 9-28 Trends library 28-10 Graphic Libraries editor 19-15 Graphic object types acknowledge alarm button 20-7, 21-16 acknowledge all alarms button 20-8, 21-16 ActiveX objects 20-2, 20-21 alarm banner 20-10, 21-59 alarm list 20-10, 21-58 alarm status list 20-10, 21-60 alarm status mode button 20-7, 21-16 backspace button 20-7, 21-16, 21-48 bar graph 20-6, 21-43, 21-45 clear alarm banner button 20-7, 21-16 clear alarm history button 20-8, 21-17 close display button 20-4, 21-36 control list selector 20-5, 21-47 diagnostics clear all button 20-8, 21-17 diagnostics clear button 20-7, 21-17 diagnostics list 20-10, 21-62 display list selector 20-4, 21-37 display print button 20-4, 21-17 drawing objects 20-1 arcs 20-2, 20-16 circles 20-2, 20-17 ellipses 20-2, 20-17 freehand objects 20-2, 20-17 images 20-2, 20-14 lines 20-2, 20-18 panels 20-2, 20-16 polygons 20-2, 20-18 polylines 20-3, 20-18 rectangles 20-3, 20-19 rounded rectangles 20-3, 20-20 squares 20-3, 20-19 text 20-2, 20-13 wedges 20-3, 20-16 end button 20-7, 21-17, 21-48 enter button 20-7, 21-17, 21-48 gauge 20-6, 21-43, 21-46 goto configure mode button 20-4, 21-17 goto display button 20-4, 21-35 home button 20-7, 21-17, 21-48 information acknowledge button 20-7,
21-17 information message display 20-10, 21-63 interlocked push button 20-5, 21-26 language switch button 20-4, 21-17 latched push button 20-4, 21-23 list indicator 20-6, 21-42 local message display 20-10, 21-53 login button 20-4, 21-17 logout button 20-4, 21-16 macro button 21-54 maintained push button 20-4, 21-21 momentary push button 20-4, 21-20 move down button 20-7, 21-16, 21-48 move left button 20-7, 21-16 move right button 20-7, 21-16 move up button 20-7, 21-16, 21-48 multistate indicator 20-6, 21-39 multistate push button 20-5, 21-24 next pen button 20-7, 21-17 numeric display 20-9, 21-28 numeric input cursor point 20-9, 21-32 numeric input enable button 20-9, 21-30 page down button 20-7, 21-17, 21-48 page up button 20-7, 21-17, 21-48 password button 20-4, 21-17 pause button 20-7, 21-17 piloted control list selector 20-5, 21-50 print alarm history button 20-4, 21-56 print alarm status button 20-4, 21-57 ramp button 20-5, 21-27 RecipePlus button 20-9, 21-17, 29-3 RecipePlus selector 20-9, 29-2 RecipePlus table 20-9, 29-2 reset alarm status button 21-17 reset alarm status mode button 20-8 return to display button 20-4, 21-17 scale 20-6, 21-43, 21-47 shutdown button 20-4, 21-17 silence alarms button 20-8, 21-17 sort alarms button 20-8, 21-17 string display 20-9, 21-33 string input enable button 20-9, 21-34 symbol 20-6, 21-40 time and date display 20-6, 21-55 trend 20-6
I-9
Graphic objects 19-1, 20-1 aligning 20-50 animating 22-2 arranging 20-49, 20-53 assigning connections to 20-36 using the Property Panel 20-31 coloring 20-32 converting to wallpaper 19-14 copying 20-42 creating 20-12 selecting tools for 20-10 deleting 20-46 deselecting 20-23 duplicating 20-43 editing 20-40 embedded variables in 24-2 exporting to XML H-1 grouping and ungrouping 20-47 importing XML H-3 moving 20-41 naming 20-34 navigating between 21-7 positioning 20-49 with grid 19-8 replacing tags and expressions in 20-38 resizing 20-44 selecting 20-23 setting up 21-1 using the Properties dialog box 20-26 using the Property Panel 20-30 spatial properties of 21-1 time, date, and number formats 21-16 using at run time 21-3 using keys to work with See Special keys using to display alarms and messages 20-10 using to display processes 20-6 using to enter and display numeric and string values 20-9 using to illustrate displays 20-2 using to navigate 13-3 using to start and control processes 20-4 visibility, setting up 21-1 Grid in graphic displays 19-8 in trends 28-9
Group objects animating 20-47, 22-14 creating 20-47 editing 20-48 naming 20-35 using global object parameters with
25-11
H
Handshaking Enter key 21-13 for Alarm messages 9-21 for alarms 9-18 remote 9-20 Height animation 20-6, 22-13 at run time 17-18 Historical trends 26-6, 28-2 HISTORY display 9-6 editing 9-29 HMI servers 2-8, 2-9, 4-1 HMI tags 6-2, 7-1 addressing syntax for 7-5 browsing for 6-5 creating 7-8 data sources 7-5 exporting 7-11 how to use 6-5 importing 7-9, 7-11 merging databases 7-11 naming 7-7 searching for 7-4 when to use 6-4
See also
Analog tags Device tags Digital tags Memory tags String tags System tags Home button graphic object 20-7, 21-17, 21-48 using with alarm objects 9-37 using with diagnostics lists 10-12 using with recipes 29-12 using with trends 28-11
I-10
Index
Horizontal position animation 20-6, 22-12 at run time 17-18 Horizontal slider animation 20-6, 22-7, 22-14 at run time 17-17
I
If-then-else logic in expressions 23-17 nesting 23-18 Image Browser 19-23 Image graphic object 20-2, 20-14 Images editor 19-22 Importing alarm files 9-4, E-3 applications 4-6 global object displays H-3 graphic displays 19-4, H-3 tags 7-11 Importing application text 12-13 problems with 12-13 Indicators 21-38 Information acknowledge button graphic object 20-7, 21-17 at run time 27-7 INFORMATION display 27-6 at run time 17-19 opening and closing 27-7 window size 4-14 Information message display graphic object 20-10, 21-63 at run time 17-19, 27-7 Information message files 27-2, 27-4 changing the file to use at run time 27-8 Information messages 27-1 creating your own display for 27-7 displaying 27-3 embedded variables in 24-2 multiple languages for 27-5 setting up 27-1 viewing at run time 17-19 Information Messages editor 27-2 Information Setup editor 27-3
Ingredients, for recipes 29-1 Initial values for tags 6-12, 30-1 See also Tag values Input focus giving to graphic objects 21-7 Interlocked push button graphic object 21-26 at run time 17-16 ISA symbols 19-20 Isolated graphing in trends 28-8
20-5,
K
KEPServerEnterprise array tag syntax 9-17 Keyboard button symbols 19-21 Keyboard navigation 21-7
L
Language function in expressions 23-15 Language strings exporting for translation 12-6 importing 12-13 translating in Excel 12-9 translating in Unicode 12-9 Language switch button graphic object 12-3, 20-4, 21-17 placing in displays 13-3 planning 3-5 Language switching 12-1 See also Languages setting up 12-3 setting up Windows for 12-4 Languages adding 12-5 to libraries 19-17 choosing fonts for 20-13 default 12-2 displaying current language 23-15 planning 3-5 display navigation 13-3 RFC1766 names F-1
I-11
setting up messages alarm 9-5, 9-17 for RSView ME Station 4.00 23-16 information 27-5 local 19-29 testing 14-2 Latched push button graphic object 20-4, 21-23 at run time 17-16 Least Significant Bit trigger type 9-13 Libraries See Graphic libraries License viewing maximum allowable graphic displays 4-18 Line graphic object 20-2, 20-18 Link properties for reference objects 25-9 List indicator graphic object 20-6, 21-42 at run time 17-18 Local message display graphic object 19-27, 20-10, 21-53 at run time 17-19, 19-29 using with message files 19-25 Local message files 19-26, 19-27 Local messages 19-25 embedded variables in 24-2 multiple languages for 19-29 viewing at run time 17-19 Local Messages editor 19-26 Localizing applications importing text 12-13 information for translators 12-9 new line character 12-12 problems importing text 12-13 Unicode file schema 12-11 Log files ODBC format for diagnostics messages D-1 LOGIC 5 See WINtelligent LOGIC 5 tags Logical operators in expressions 23-8 evaluation order of 23-11
Login button graphic object 20-4, 21-17 locating in display hierarchy 13-1 logging in with 11-12 Login macro 30-2, 30-4 assigning to RSView 3.20 and earlier users 11-6 assigning to users 11-4 running 17-3, 17-6 Login window 17-2 Logix5000 faceplates See Process faceplates Logix5000 processors 6-2 addressing syntax for 7-6 creating tags in 6-3 Logout button graphic object 20-4, 21-16 locating in display hierarchy 13-1 logging out with 11-12 Logout macro 30-2, 30-4 assigning to RSView 3.20 and earlier users 11-6 assigning to users 11-4 running 17-3, 17-6 LSBit trigger type 9-13
M
Macro button graphic object 21-54 using to run macros 30-2 Macros creating 30-1 remote running from the data source 8-6, 30-3 Macros editor 6-12 Maintained push button graphic object 20-4, 21-21, 23-20 at run time 17-16 Math functions in expressions 23-14 Memory tags 7-5 using 6-4 Memory usage monitoring at runtime 8-7 Menus in the Graphic Displays editor 19-5 Message severity for diagnostics messages 10-3
I-12
Index
Messages displaying 20-10 multiple languages for in RSView ME Station 4.00 planning 3-5
23-16
See also
Alarm messages Diagnostics messages Information messages Local messages Microsoft Access logging to 10-7 Microsoft Excel exporting text strings to 12-6 translating text strings in 12-9 Microsoft SQL Server logging to 10-7 Minimum and maximum values for animation 22-6 for HMI tags 6-4 for trends 28-6 Modicon devices 5-1 Momentary push button graphic object 20-4, 21-20 at run time 17-15 Monochrome images 19-21, 20-6 Move down button graphic object 20-7, 21-16, 21-48 setting up auto repeat for 21-12 using with alarm objects 9-37 using with diagnostics lists 10-12 using with recipes 29-12 using with trends 28-11 Move left button graphic object 20-7, 21-16 setting up auto repeat for 21-12 using with trends 28-11 Move right button graphic object 20-7, 21-16 setting up auto repeat for 21-12 using with trends 28-11 Move up button graphic object 20-7, 21-16, 21-48 setting up auto repeat for 21-12 using with alarm objects 9-37 using with diagnostics lists 10-12 using with recipes 29-12 using with trends 28-11
Multistate graphic objects coloring 20-32 setting up 21-2 testing states 20-35 Multistate indicator graphic object 20-6, 21-39 at run time 17-18 using with recipes 29-10 Multistate push button graphic object 20-5, 21-24 at run time 17-16 setting up auto repeat for 21-12
N
Navigation between graphic displays 13-1 testing 13-3 between graphic objects in a display 21-7 Next pen button graphic object 20-7, 21-17 using to change trends vertical axis labels 28-6, 28-11 Normally closed push button 21-20 Normally open push button 21-20 Number format at run time 15-16 Numeric display graphic object 20-9, 21-28, 28-10 at run time 17-17 specifying number format for 15-16 Numeric embedded variables 24-3 at runtime 24-7 Numeric input cursor point graphic object 20-9, 21-32 at run time 17-16, 17-17 navigating to 21-7 using Enter key handshaking with 21-13 Numeric input enable button graphic object 20-9, 21-30 at run time 17-6, 17-16 how values are calculated 17-9 how values are ramped 17-9 navigating to 21-7 using Enter key handshaking with 21-13 using write expressions with 23-19
I-13
Numeric pop-up windows using at run time 17-7 Numeric values ramping at run time 17-7 using graphic objects to display and enter 20-9
O
Object Explorer 20-24 opening 20-25 using to highlight objects 20-25 viewing animation in 20-25 viewing tag and expression assignments in 20-25 Object Smart Path 22-4, 22-7 ODBC storage format for diagnostics messages D-1 Off-line tags browsing for 6-7 On Top displays 19-13 sizing 4-13 using for alarms 9-30 using for diagnostics messages 10-11 using for information messages 27-7 OPC communications and RSLinx Classic 5-1 setting up 5-1 using to connect to Logix5000 processors 7-6 OPC servers, items in 7-6 OPC tags addressing syntax for 7-5 Operators in expressions 23-7 Oracle logging to 10-7
P
Page down button graphic object 20-7, 21-17, 21-48 setting up auto repeat for 21-12 using with alarm objects 9-37 using with diagnostics lists 10-12
using with recipes 29-12 Page up button graphic object 20-7, 21-17, 21-48 setting up auto repeat for 21-12 using with alarm objects 9-37 using with diagnostics lists 10-12 using with recipes 29-12 Panel graphic object 20-2, 20-16 PanelBuilder 1400e applications converting A-1 PanelBuilder 32 applications converting B-1 PanelBuilder applications converting B-1 PanelView Plus CE terminals logging diagnostics messages from 10-6, 10-8 transferring applications to 16-1 PanelView Plus terminals logging diagnostics messages from 10-6, 10-8 running applications on 16-1 transferring applications to 16-1 Parameter files 20-40, 25-1 assigning to graphic displays 25-2 using display list selectors 25-2 using goto display buttons 25-2 creating 25-3 See also Global object parameters Parameters editor 25-3 using tags in 6-5 Password button graphic object 20-4, 21-17 using at runtime 17-4 Passwords changing at runtime 17-4 for RSView 3.20 and earlier users 11-7 for Windows users in RSView 3.20 and earlier applications 11-8 for FactoryTalk Security users managing 11-21 uploading runtime changes to development application 14-6 Pause button graphic object 20-7, 21-17
I-14
Index
Piloted control list selector graphic object 20-5, 21-50 controlling remotely 21-51 differences from control list selectors 21-50 using Enter key handshaking with 21-13 Placeholders See Tag placeholders PLC tags importing 7-9 Polygon graphic object 20-2, 20-18 Polyline graphic object 20-3, 20-18 Preconfigured graphic displays ALARM display 9-6 DIAGNOSTICS display 10-10 INFORMATION display 27-6 Print alarm history button graphic object 20-4, 21-56 specifying time and date format for 15-17 using to print alarm information 9-10 using with alarm objects 9-36 Print alarm status button graphic object 20-4, 21-57 using to print alarm information 9-10 using with alarm objects 9-36 Printers selecting on the development computer 2-14 specifying at run time on personal computers 15-10 type to use with PanelView Plus and PanelView Plus CE 16-1, 16-2 Problems at run time communication errors viewing 17-20 data logging 26-6 displaying numeric values 21-29 displaying trend data 28-12 logging in 17-4 printing from a PanelView Plus CE terminal 16-1 printing from a PanelView Plus terminal 16-2 using the numeric pop-up windows 17-10 using the string pop-up windows 17-15
Problems at runtime memory usage 8-7 Problems during application development exporting text for translation 12-8 importing alarm XML files E-3 importing graphics XML files H-3 importing text 12-13 navigating through displays 13-3 opening applications 2-3, 4-9 Process faceplates 25-1 adding to a new application 4-5 adding to an existing application 25-13 selecting tags for 6-6, 25-13 using global object parameters with 25-11 Project files location of 4-2 viewing 4-18 Project Settings editor 4-17 Project window size 4-11, 4-12 changing 4-13 Projects versus applications 4-1 Properties dialog box opening 20-28 setting up objects in 20-26 using to assign connections to graphic objects 20-36, 20-38 Property Panel opening 20-30 setting up objects in 20-30 using to assign connections to graphic objects 20-31 Push buttons 21-19
R
RAM usage monitoring at runtime 8-7 Ramp button graphic object 20-5, 20-38, 21-27 at run time 17-16 setting up auto repeat for 21-12 Range of motion for animation 22-6 Read connection 20-31 Read-write connection 20-31
I-15
Real-time trends See Current trends Recipe files setting up 29-6 specifying location for 29-5 RecipePlus 29-1 RecipePlus button graphic object 20-9, 21-17, 29-3 creating 29-9 using at runtime 17-16, 17-18, 29-12 RecipePlus Editor 29-6, 29-7 viewing runtime data in 29-13 RecipePlus selector graphic object 20-9, 29-2 creating 29-9 linking buttons to 21-9 navigating to 21-7 using at runtime 17-16, 17-18, 29-12 RecipePlus Setup editor 29-5 RecipePlus table graphic object 20-9, 29-2 creating 29-9 linking buttons to 21-9 navigating to 21-7 using at runtime 17-16, 17-18, 29-12 Recipes 29-1 comparing 29-7 deleting units 29-3 displaying at runtime 29-2 downloading 29-3 editing at runtime 29-2 linking buttons to 29-11 number format 29-4 numeric limits 29-4 planning 3-6 printing 29-9 renaming units 29-3 saving at runtime 29-3 selecting at runtime 29-2 setting up 29-2 testing 29-10 time and date formats 29-9 uploading 29-3 viewing data for 14-6, 29-13 Rectangle graphic object 20-3, 20-19 blinking 22-10
Reference objects assigning global object parameters to 25-11, 25-12 creating 25-8 editing 25-9 link properties 25-9 Relational operators in expressions 23-8 evaluation order of 23-11 Remote display changes 8-4, 11-23 Remote macros 8-6, 30-3 Replace displays 19-12 sizing 4-13 Reset alarm status button graphic object 20-8, 21-17 using to reset alarms 9-9 using with alarm status lists 9-37 Return to display button graphic object 20-4, 21-17 using to navigate 13-3, 13-5 RFC1766 names F-1 Right-click menus 19-5 Rotation animation 20-6, 20-55, 22-13 at run time 17-18 Rounded rectangle graphic object 20-3, 20-20 RSLinx Classic 1-1 and OPC 5-1 RSLinx Enterprise 1-1 array tag syntax 9-16 device shortcuts created at runtime 14-3, 14-6 setting up drivers in at run time 15-9 for transfer to PanelView Plus 16-5 for transfer to PanelView Plus CE 16-5 RSLogix 5 tags importing 7-11 RSLogix 500 tags importing 7-11 RSLogix 5000 6-2 Runtime changing tag values 17-15 deleting log files 15-15 displaying tag values 17-17 entering numeric values 17-6
I-16
Index
entering string values 17-10 font substitution 20-13 logging in and out 17-2, 17-6 automatic logout 11-13 problems with logging in 17-4 printing 2-15 graphic displays 19-30 printing graphic displays 19-30 setting up communication drivers on personal computers 15-9 setting up printers on personal computers 15-10 switching language at 13-3 time, date, and number formats 15-16 using graphic objects 21-3 viewing alarms and messages 17-19 viewing communication errors 17-20 Runtime application .mer files 16-1 converting to development application 14-3, 14-6 opening 15-4 on personal computers 15-4, 15-11 running on PanelView Plus CE terminals 16-3 on PanelView Plus terminals 16-3 on personal computers 15-4 shutting down 15-5 transferring from PanelView Plus or PanelView Plus CE 16-6 to PanelView 16-1, 16-5 to PanelView Plus CE 16-1, 16-5 to personal computers 15-1, 15-3 Runtime application file creating 14-2 Runtime RAM usage monitoring 8-7 Runtime screen resolution 4-11 Runtime Security editor 11-3
S
Sample applications Scale graphic object 2-2 20-6, 21-43, 21-47
Screen resolution at run time 4-11 Screen size See Window size Security and remote display changes 8-4 automatic logout 11-13 controlling who can stop the application 11-14 FactoryTalk Security 11-1 FactoryTalk View security 11-1 for Application Manager 4-10 logging in and out 11-12 planning 3-7 setting up 11-17 using visibility animation 11-14, 11-24, 22-9 Security codes assigning to graphic displays 11-9 assigning to RSView 3.20 and earlier users 11-6 assigning to users 11-4, 11-9 Security functions in expressions 23-15 using 11-11, 11-24, 22-9 Serial downloads cable to use for 16-6 Servers, data 5-2 See also OPC servers Shutdown button graphic object 20-4, 21-17 assigning visibility animation to 11-24, 11-25 limiting access to 11-14 locating in display hierarchy 13-1 using to navigate 13-3, 13-7 using to shut down application 15-5 using to stop application 14-2 Shutdown macro 30-2, 30-4 Siemens devices 5-1 Silence alarms button graphic object 9-9, 20-8, 21-17 using with alarm objects 9-37 Single sign-on 11-22 SLC tags importing 7-9
I-17
Sort alarms button graphic object 9-9, 20-8, 21-17 using with alarm lists 9-37 Special keys arrows, using with graphic objects 20-45 Ctrl copying objects with 20-42 drawing objects with 20-17, 20-18, 20-19, 20-20 resizing objects with 20-45 rotating objects with 20-56 selecting objects with 20-24 Shift, using with graphic objects 20-41, 20-45 using to navigate at run time 21-8 using with numeric pop-up windows 17-8 using with string pop-up windows 17-13 Spreadsheets, working in 2-12 Square graphic object 20-3, 20-19 Standard toolbar 2-5 Startup macro 30-2, 30-4 Startup settings 14-1 States multistate graphic objects 20-1 States toolbar 20-35 Status bar 2-6 showing and hiding 2-7 STATUS display 9-6 copying 9-30 editing 9-28 String display graphic object 20-9, 21-33 at run time 17-17 String embedded variables 24-4 at runtime 24-8 String input enable button graphic object 20-9, 21-34 at run time 17-10, 17-16 how values are written 17-14 navigating to 21-7 using Enter key handshaking with 21-13 String pop-up character input using at run time 17-11 String pop-up windows using at run time 17-11, 17-13 String tags 7-1
String values using graphic objects to display and enter 20-9 Structured tags 6-6 using with global object parameters 25-11 See also Backing tags Sybase SQL Server logging to 10-7 Symbol graphic object 20-6, 21-40 at run time 17-18 Syntax, embedded variable 24-3 System activity See Diagnostics messages System tags 7-1, C-1 alarm reset date and time C-1 for making graphic objects blink C-1 time and date C-2 System time and date C-2
T
Tag Browser opening 6-5 using 6-6 Tag Import and Export Wizard 7-11 Tag placeholders 20-39, 25-1 creating 20-40, 25-3 using in expressions 23-5 using with animation 22-5 Tag sets, for recipes 29-1 comparing 29-7 Tag statistics viewing 7-8 Tag substitution 6-11, 20-38 Tag syntax for array tags KEPServerEnterprise 9-17 RSLinx Enterprise 9-16 Tag values changing at run time 17-15 displaying at run time 17-17 ensuring the data source has read 21-13 logging 6-12, 26-5 using graphic objects to display 20-9 using graphic objects to set 20-4, 20-9 using macros to assign 6-12, 30-1
I-18
Index
Tags 6-1 addressing syntax 7-5 assigning to graphic objects 20-36 using the Property Panel 20-31 viewing in Object Explorer 20-25 basic steps for using 6-2 browsing for 6-5 limits, in graphic displays 19-1 off-line, browsing for 6-7 planning 3-2 using in expressions 23-5
See also
Analog tags Array tags Backing tags Data server tags Digital tags HMI tags PLC tags SLC tags String tags Structured tags System tags Test mode for animation 22-5 for graphic displays 19-10 for RecipePlus objects 29-10 for trends 28-10 Text graphic object 20-2, 20-13 blinking 22-10 editing 20-14 Text strings exporting for translation 12-6 importing 12-13 translating in Excel 12-9 translating in Unicode file 12-9 Time and date at run time 15-16 setting using global connections 8-2 system tags C-2 updating 8-2 Time and date display graphic object 20-6, 21-55 at run time 17-19
specifying time and date format for 15-16 Time and date embedded variables 24-6 at runtime 24-8 Title bar and security 11-14 in graphic displays 4-15 Toolbars 2-4 Background Color toolbar 20-32 Foreground Color toolbar 20-32 in the Graphic Displays editor 19-7 showing and hiding 2-7 Standard toolbar 2-5 States toolbar 20-35 Tools Application Manager 4-10 DeskLock 11-2, 15-17 Diagnostic Setup 10-6 Diagnostics Viewer 10-5 Tag Import and Export Wizard 7-11 Transfer Utility 16-6 Touch margins using on buttons 21-4 Touch screens positioning objects for 21-4 Transfer Utility tool 16-6 Translating application text in Excel 12-9 in Unicode 12-9 Transparent background style 19-21 Trend data printing at run time 28-12 remotely 28-12 Trend graphic object 20-6, 28-1 and data logging 26-6 at runtime 17-18 border 28-5 chart 28-6 isolated graphing in 28-8 types 28-7 XY Plot 28-7 coloring 28-9 creating 28-3 linking buttons to 21-9 minimum and maximum values for 28-6
I-19
pens 28-6 icons 28-7 markers 28-7 planning 3-6 plotting values across the chart 28-8 problems at run time 28-12 setting up 28-3, 28-4, 28-5 specifying number, time, and date format for 15-16 testing 28-10 time, date, and number format 28-3 window 28-5 x (horizontal) axis 28-6 labels 28-6 y (vertical) axis 28-6 labels 28-6 Trigger Label Selector 9-5 Trigger values for alarms 9-4, 9-11 for information messages 27-5 for local messages 19-28 Troubleshooting See Problems at run time, Problems during application development
managing accounts 11-21 logging in and out 11-12, 17-6 at runtime 17-2 RSView 3.20 and earlier assigning login and logout macros to 11-6 assigning security codes to 11-6 RSView 3.x migrating to 4.00 and later applications 11-5
V
Value table 6-2, 6-4, 7-5 Value trigger type 9-11 Vertical position animation 20-6, 22-13 at run time 17-18 Vertical slider animation 20-6, 22-14 at run time 17-17 Visibility animation 22-8 using to set up security 11-14, 11-24, 22-9
Wallpaper converting graphic objects to 19-14 unlocking 19-14 U Wedge graphic object 20-3, 20-16 Unicode text Width animation 20-6, 22-13 translating 12-9 at run time 17-18 Units, for recipes 29-1 Wildcard characters 7-4, 7-7 User accounts Window size DEFAULT user 11-4 default graphic displays 4-14 User groups project 4-12 assigning security codes to 11-9 Windows FactoryTalk Security, creating 11-19 setting up for language switching 12-4 Windows Windows 2000, Windows XP, or Windows adding to RSView 3.20 and earlier Server 2003 R2 applications 11-7 editing device shortcuts on 15-6 Users running applications in 15-1 assigning login and logout macros to 11-4 runtime settings 15-4 assigning security codes to 11-4, 11-9 Windows languages F-1 assigning security permissions to 11-18 Windows metafiles displaying current user 23-15 See .wmf files FactoryTalk Security Windows network domain adding to FactoryTalk View 11-4 logging in to 17-1 creating 11-17
Index
Windows users or groups adding to FactoryTalk Security 11-17, 11-19 adding to RSView 3.20 and earlier applications 11-7 removing from RSView 3.20 and earlier applications 11-8 WINtelligent LOGIC 5 tags importing 7-11 Workbook Mode 2-7 turning on and off 2-7 Workspace 2-5 Write connection 20-31 Write expressions 23-19
X
XML using with FactoryTalk View XML files alarm structure E-3 creating E-1, H-1 editing E-2, H-2 exporting E-1, H-1 graphics structure H-3 importing E-2, H-3 testing E-2, H-2 XY Plot trend 28-7 E-1, H-1
I-21