Time format and processing functions, E 105) – Rockwell Automation FactoryTalk Metrics User Guide User Manual

Page 105

Advertising
background image

Collecting Performance Data Chapter 3

Use the following time format and processing functions:

Item

Description

UTC

Specifies that a timestamp will be displayed in Coordinated

Universal Time (UTC) format. This format can be attributed to the
TransTimestamp(), the TimeStampOf(), and OPCTimeStampOf()

functions. The letters 'UTC' will be appended to all expressions.
Example:

TransTimestamp (Datapoint1, "UTC")

Local

Specifies that a timestamp will be displayed in the local time
format (default). This time format can be attributed to the

TransTimestamp(), the TimeStampOf(), and OPCTimeStampOf()
functions. The word 'Local' will be appended to all expressions.
Example:

TransTimestamp (Datapoint1, "Local")

Tip: The FactoryTalk Transaction Manager service will correctly

format the UTC-based times; the FactoryTalk Transaction Manager

service will accept the UTC-based format, but it will not evaluate
times to the UTC formats. All time expressions will be resolved to

system local time.

TimestampOf()

Uses a single data point as a parameter to return a timestamp value
that indicates when the control connector received this data point.

This value is accurate to the nearest second.

MTimestampOf()

Uses a single data point as a parameter to return the millisecond
component of the TimestampOf() function. This value is an integer

between 0 and 999 milliseconds.
Tip: The TimestampOf() and MTimestampOf() functions can also be

considered data point functions.

OPCTimestampOf() Uses a single data point as a parameter to return an OPC timestamp

value that indicates when the OPC data server (or FactoryTalk data

server) received (or read) the data from the controller. If the data
server is RSLinx Classic, this is the time when RSLinx Classic

provided data to FactoryTalk Transaction Manager. If the data
server is RSLinx Enterprise, this is the time when RSLinx Enterprise

acquired the data from the controller. This value is accurate to the
nearest second.

Time Format and
Processing Functions

Rockwell Automation Publication PLTMT-UM001M-EN-P-June 2014

105

Advertising