beautypg.com

Using the trends graphic library – Rockwell Automation 9301 Series RSView32 Users Guide User Manual

Page 506

background image

Configuring trends

13–35

Example: Specifying a start time one hour before the current
time

Display “Process Trend”

Trend\StartTime=system\DateAndTimeInteger - 3600

When these commands run, RSView32 displays the trend graphic
called Process Trend and sets the start time for the trend to the
current time minus 3600 seconds (1 hour).

You can specify the start time from a graphic object or from a macro.
For example, create a button object and use the above commands as
the press action for the button.

Using the Trends graphic library

The Trends graphic library contains a real-time trend and objects for
controlling the trend. You can use the trend and objects as they are, or
you can edit them to suit your needs. To use the objects, drag and drop
them into your graphic display and then type a folder name in the
trend’s Control Tag field.

2

To use the Trends graphic library:

1.

In the Project Manager, open the Graphics folder.

2.

Open the Graphics Library folder.

The graphic library files are displayed in the right pane of the
Project Manager.

Do not set control tags from a macro that is launched from the
Startup field in the Display Settings dialog box of the Graphic Display
editor. All commands and macros launched from the Startup field are
executed before the graphic display is initialized.

IMPORTANT