Time and date embedded variable syntax, How embedded variables are updated at run time, Time and date embedded variable syntax -6 – Rockwell Automation FactoryTalk View Machine Edition Users Guide User Manual

Page 504: How embedded variables are updated at run time -6

Advertising
background image

F

ACTORY

T

ALK

V

IEW

M

ACHINE

E

DITION

U

SER

S

G

UIDE

24-6

• •

Time and date embedded variable syntax

Use time and date embedded variables to insert the current time or date into captions, title
bars, and messages

Time and date embedded variables use this syntax:

/*Time_date_format*/

where

Time_date_format uses one of these character sequences:

Example: Time and date embedded variable syntax

To show 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 shown at run
time.

How embedded variables are updated at run time

At run time, this is how embedded variables are shown and updated:

Graphic objects and title bars—When a display containing a graphic object or title bar
that uses an embedded variable is open, 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.

These characters

Specify this format

SD

Short date

LD

Long date

SDT

Short date and time

LDT

Long date and time

T

Time

TSD

Time and short date

TLD

Time and long date

Advertising