Rockwell-automation FactoryTalk Historian SE DataLink 4.2 User Guide Uživatelský manuál Strana 153

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 164
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 152
9 FactoryTalk Historian DataLink Function Reference
145
PIPropertyToValue()
Retrieves the value of a specified FactoryTalk Historian point property,
using the following syntax:
PIPropertyToValue(property, modulepath, querydate, PIServer,
outcode)
Arguments
Argument
Explanation
Property (string)
The module database property corresponding to the desired
FactoryTalk Historian point.
modulepath (string)
The full module path to the property.
querydate (integer)
A date limit such that only properties created at or after the date are
returned.
PIServer (string)
The target FactoryTalk Historian server.
Outcode (integer)
An ouput code, either 0, 1, or 2.
Returns
An output code (page 104) of 0 displays the value of the property in a
column.
An output code of 2 displays the value of the property in a row.
Example:
The following returns the value corresponding to the Implementer property
of module Reactor1 which is a submodule of Unit1. Unit1 is at the root of
the module database for a FactoryTalk Historian server named thevax.
The module database is queried at current time.
=PIPropertyToValue("Implementer","\Unit1\Reactor1","*","theva
x")
Zobrazit stránku 152
1 2 ... 148 149 150 151 152 153 154 155 156 157 158 ... 163 164

Komentáře k této Příručce

Žádné komentáře