beautypg.com

Specifying a start time, Specifying a start time -34 – Rockwell Automation 9301 Series RSView32 Users Guide User Manual

Page 505

background image

13–34

RSView32 User’s Guide

To show Pen 10 again, use the bitwise OR operator and the pen’s
decimal value:

PenMask = PenMask | 512

Specifying a start time

To specify an absolute trend start time, use the \StartTimeDate
control tag. The \StartTimeDate control tag overrides the time
specified in the Start Time field of the Trend dialog box. Create a
string input object so that the operator can enter the date and time of
the start time.

6.

To specify a relative trend start time, create an = (Equal) command
that uses the system\DateAndTimeInteger tag as the current time and
performs calculations relative to its value. The value that is added to or
subtracted from the current time must be in seconds.

Example: Specifying an absolute start time

The current display contains these objects:

A historical trend with a Control Tag folder called Trend

A string input object configured with the control tag

Trend\StartTimeDate

To specify a start time of 1:00 pm on January 1, 1998, the operator
enters this string in the string input object:

JAN 01 1998 13:00:00