Piattributemasktotag (), Tag name – Rockwell Automation FactoryTalk Historian SE DataLink 4.2 User Guide User Manual

Page 150

Advertising
background image

FactoryTalk Historian DataLink User Guide

142

Returns

Tag name.

Example:

The following returns the tag name of the tag with point ID of 123 from
server named thevax.

=PIPointIDToTag("123","thevax")

PIAttributeMaskToTag ()

Retrieves a tag name corresponding to one or more point attributes, using
the following syntax:

PIAttributeMaskToTag(tagname, descriptor, pointsource,
pointtype, pointclass, engunits, outcode, PIServer)

Arguments

Argument

Explanation

tagname (string)

Tagname mask.

descriptor (string)

Descriptor mask.

pointsource (string)

Point Source mask.

pointtype (string)

Point Type mask.

pointclass (string)

Point Class mask.

engunits (string)

Engineering Units mask.

outcode (integer)

An output code, either 0 or 2.

PIServer (string)

The target FactoryTalk Historian server.

Returns

Outcode

Column 1

Column 2

0

Tag name

Advertising