Rockwell-automation FactoryTalk Historian SE DataLink 4.2 User Guide Instrukcja Użytkownika Strona 1

Przeglądaj online lub pobierz Instrukcja Użytkownika dla Ekwipunek Rockwell-automation FactoryTalk Historian SE DataLink 4.2 User Guide. Rockwell Automation FactoryTalk Historian SE DataLink 4.2 User Guide User Manual Instrukcja obsługi

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj

Podsumowanie treści

Strona 1 - DATALINK USER GUIDE

DATALINK USER GUIDE PUBLICATION HSEDL-UM024A-EN-E–June 2012 Supersedes Publication HSEDL-UM023A-EN-E

Strona 2 - Copyright

● ● ● ● ● FactoryTalk Historian DataLink User Guide 2 Combined with the computational, graphic and formatting capabilities of Microsoft Excel, Fact

Strona 3 - Contents

● ● ● ● ● FactoryTalk Historian DataLink User Guide 92 Type Operator Syntax Example Meaning Arithmetic + A + B Addition: A + B - A - B Subtraction:

Strona 4

8 ● Supplementary Information ● ● ● ● ● 93 Type Operator Syntax Example Meaning ...BN) enclosed in the parentheses. If-Then-Else Expressions if the

Strona 5

● ● ● ● ● FactoryTalk Historian DataLink User Guide 94 Math Functions Name Description Abs Absolute value. Asin Arc sine. Acos Arc cosine. Atn Arc

Strona 6

8 ● Supplementary Information ● ● ● ● ● 95 Aggregate Functions Name Description Avg Average. Max Maximum. Median Median selector. Min Minimum. PSt

Strona 7

● ● ● ● ● FactoryTalk Historian DataLink User Guide 96 FactoryTalk Historian Archive Retrieval Name Description NextEvent Time of a point's n

Strona 8

8 ● Supplementary Information ● ● ● ● ● 97 FactoryTalk Historian Archive Statistics Name Description EventCount Number of Archive events. PctGood

Strona 9 - Introduction

● ● ● ● ● FactoryTalk Historian DataLink User Guide 98 Name Description TagZero Get a point's zero value. Time Functions Name Description B

Strona 10 - About this Document

8 ● Supplementary Information ● ● ● ● ● 99 Dynamic Response Name Description Arma Dynamic response from Auto Regressive Moving Average model. Dela

Strona 11 - Support

● ● ● ● ● FactoryTalk Historian DataLink User Guide 100 Name Description Format Formatting of a numerical number. InStr Instance of a sub-string. L

Strona 12 - Installation and Upgrade

8 ● Supplementary Information ● ● ● ● ● 101 FactoryTalk Historian Expression Examples These examples use the tag delimiters : (colon) and . (period

Strona 13 - Configuration

1 ● Introduction ● ● ● ● ● 3 PI SDK PI SDK is installed with FactoryTalk Historian DataLink, and connects FactoryTalk Historian DataLink to your Fa

Strona 14 - Microsoft Excel 2010

● ● ● ● ● FactoryTalk Historian DataLink User Guide 102 Use Array Functions When defining array functions follow these steps:  Select an appropri

Strona 15 - Chapter 2

8 ● Supplementary Information ● ● ● ● ● 103 For example, the expression below finds the difference between the natural logarithm of the value of th

Strona 16 - PI Ribbon

● ● ● ● ● FactoryTalk Historian DataLink User Guide 104 Outcodes FactoryTalk Historian DataLink function syntax includes integer outcode arguments

Strona 17 - Function Task Panes

8 ● Supplementary Information ● ● ● ● ● 105 The formula used to calculate a corresponding outcode is: Functions have different arguments and outco

Strona 18

● ● ● ● ● FactoryTalk Historian DataLink User Guide 106 value from a worksheet to a FactoryTalk Historian server. The Excel macro function PIPutVal

Strona 19 - PI Menu

8 ● Supplementary Information ● ● ● ● ● 107 Array and Cell Limits FactoryTalk Historian DataLink is subject to an Excel limitation on the number of

Strona 20

● ● ● ● ● FactoryTalk Historian DataLink User Guide 108 Security Excel security features for add-ins, ActiveX controls and macros allow you to dete

Strona 21 - Function Dialog Boxes

8 ● Supplementary Information ● ● ● ● ● 109 Trust for the user, domain, application or machine (per Trust configurations). 2. If all attempts to l

Strona 22 - Context Menu

● ● ● ● ● FactoryTalk Historian DataLink User Guide 110

Strona 23 - 2 ● Basics

Chapter 9 111 FactoryTalk Historian DataLink Function Reference FactoryTalk Historian DataLink function dialog boxes (XP-2003) or task panes (2007

Strona 24

● ● ● ● ● FactoryTalk Historian DataLink User Guide 4 System Requirements For up to date system requirements, see the KB article 42682 (https://roc

Strona 25 - Graphic Function Components

● ● ● ● ● FactoryTalk Historian DataLink User Guide 112 Arguments Argument Value tagname (string) The tag name or names matching the desired Factor

Strona 26 - Standard Arguments

9 ● FactoryTalk Historian DataLink Function Reference ● ● ● ● ● 113 Argument Value outcode (integer) An output code to determine results placement,

Strona 27 - Start Time

● ● ● ● ● FactoryTalk Historian DataLink User Guide 114 Returns Outcode Archive Value Time stamp 0 output cell 1 left column output cell 2 output

Strona 28 - Output Cell

9 ● FactoryTalk Historian DataLink Function Reference ● ● ● ● ● 115 Argument Value outcode (integer) An output code. PIServer (string) The target F

Strona 29 - Time Arguments

● ● ● ● ● FactoryTalk Historian DataLink User Guide 116 Argument Value outcode (integer) An output code. PIServer (string) The FactoryTalk Historia

Strona 30 - Appended Data

9 ● FactoryTalk Historian DataLink Function Reference ● ● ● ● ● 117 Argument Value outcode (integer) An output code. PIServer (string) The target F

Strona 31 - Appended Data Array

● ● ● ● ● FactoryTalk Historian DataLink User Guide 118 Argument Value filtcode (integer) A filter code, either 1 to return Filtered status or 0 to

Strona 32 - Interval Timestamps

9 ● FactoryTalk Historian DataLink Function Reference ● ● ● ● ● 119 Argument Value etime (string) The end time for the range (in FactoryTalk Histor

Strona 33 - Show Value Attributes

● ● ● ● ● FactoryTalk Historian DataLink User Guide 120 Arguments Argument Value tagname(string) The tag name or names matching the desired Factory

Strona 34 - Orientation Controls

9 ● FactoryTalk Historian DataLink Function Reference ● ● ● ● ● 121 Time stamps are shown in column1 and values in column2. A Filtered status is re

Strona 35 - Display Formats

1 ● Introduction ● ● ● ● ● 5 3. Run Setup.exe from the temp directory and follow the directions displayed in the installation wizard. After the in

Strona 36

● ● ● ● ● FactoryTalk Historian DataLink User Guide 122 Example: The following calculates the square root of the value of the tag sinusoid from the

Strona 37 - Preference Settings

9 ● FactoryTalk Historian DataLink Function Reference ● ● ● ● ● 123 =PITimeDat("mytag",b1:b12,,"interpolated") PITimeExpDat()

Strona 38

● ● ● ● ● FactoryTalk Historian DataLink User Guide 124 Calculation Functions Calculation functions compute new values from FactoryTalk Historian p

Strona 39 - Spreadsheet Construction

9 ● FactoryTalk Historian DataLink Function Reference ● ● ● ● ● 125  If the outcode is 1, the following applies: Mode Column 1 Column 2 Column 3

Strona 40

● ● ● ● ● FactoryTalk Historian DataLink User Guide 126 Mode Column 1 Column 2 Column 3 Column 4 Count Count value Percent good Mean Mean value P

Strona 41 - Functions

9 ● FactoryTalk Historian DataLink Function Reference ● ● ● ● ● 127 Argument Explanation mode (string) The type of calculation to be used to comput

Strona 42 - Archive Value

● ● ● ● ● FactoryTalk Historian DataLink User Guide 128 Arguments Argument Explanation tagname (string) The tag name or names matching the desired

Strona 43

9 ● FactoryTalk Historian DataLink Function Reference ● ● ● ● ● 129 will be sampled at the compressed events of cdf144. The minpctgood is 50 percen

Strona 44 - Compressed Data

● ● ● ● ● FactoryTalk Historian DataLink User Guide 130 Returns See specific information for PICalcVal() outcodes (page 124). Example: The followin

Strona 45 - Filtered

9 ● FactoryTalk Historian DataLink Function Reference ● ● ● ● ● 131 Argument Explanation mode (string) The type of calculation to be used to comput

Strona 46

● ● ● ● ● FactoryTalk Historian DataLink User Guide 6 2. Click Add-ins > Manage Disabled Items > Go and enable PIDatalink.UI.dll.manifest. 3

Strona 47 - Sampled Data

● ● ● ● ● FactoryTalk Historian DataLink User Guide 132 PICalcDat() Retrieves calculated FactoryTalk Historian point values using the following syn

Strona 48

9 ● FactoryTalk Historian DataLink Function Reference ● ● ● ● ● 133  4 produces values and percent good along 2 columns.  5 produces time stamp

Strona 49 - Timed Data

● ● ● ● ● FactoryTalk Historian DataLink User Guide 134 Argument Explanation calcbasis (string) The weighting method used to calculate values. minp

Strona 50

9 ● FactoryTalk Historian DataLink Function Reference ● ● ● ● ● 135 Arguments Argument Explanation tagname (string) The tag name or names matching

Strona 51 - Calculated Data

● ● ● ● ● FactoryTalk Historian DataLink User Guide 136 =PIAdvCalcFilDat("cdf144","y","t","3h","'

Strona 52 - Average

9 ● FactoryTalk Historian DataLink Function Reference ● ● ● ● ● 137 Argument Explanation PIServer (string) The target FactoryTalk Historian server.

Strona 53 - Interpolated

● ● ● ● ● FactoryTalk Historian DataLink User Guide 138 Argument Explanation time format). etime (string) The end time (in FactoryTalk Historian ti

Strona 54

9 ● FactoryTalk Historian DataLink Function Reference ● ● ● ● ● 139 sampled at the combined compressed events of cdf144 and cdt158. The minpctgood

Strona 55

● ● ● ● ● FactoryTalk Historian DataLink User Guide 140 An output code (page 104) of 2 transposes the output array that results from an output code

Strona 56 - Time Filtered

9 ● FactoryTalk Historian DataLink Function Reference ● ● ● ● ● 141 Returns  If the output code (page 104) is 0, 1, or 2 only the calculated valu

Strona 57

Chapter 2 7 Basics The following sections introduce basic FactoryTalk Historian DataLink concepts and features. You should familiarize yourself wi

Strona 58

● ● ● ● ● FactoryTalk Historian DataLink User Guide 142 Returns Tag name. Example: The following returns the tag name of the tag with point ID of 1

Strona 59 - Attributes

9 ● FactoryTalk Historian DataLink Function Reference ● ● ● ● ● 143 An output code (page 104) of 2 transposes the output array that results from an

Strona 60

● ● ● ● ● FactoryTalk Historian DataLink User Guide 144 Module Database Functions PIAliasToTag() Retrieves a tag name based on a FactoryTalk Histor

Strona 61 - Tag Search Tips

9 ● FactoryTalk Historian DataLink Function Reference ● ● ● ● ● 145 PIPropertyToValue() Retrieves the value of a specified FactoryTalk Historian p

Strona 62

● ● ● ● ● FactoryTalk Historian DataLink User Guide 146 Input Functions PIPutVal() PIPutVal(tagname, value, time stamp, PIServer, outcell) PIPutVal

Strona 63 - Attribute Mask to Tag

9 ● FactoryTalk Historian DataLink Function Reference ● ● ● ● ● 147 The following puts the value located in the cell A5 into the FactoryTalk Histor

Strona 64 - Tag Attributes

● ● ● ● ● FactoryTalk Historian DataLink User Guide 148

Strona 65 - Module Database Objects

Chapter 10 149 Technical Support and Resources Rockwell provides dedicated technical support internationally, 24 hours a day, 7 days a week. You c

Strona 66 - Module Database Browse

● ● ● ● ● FactoryTalk Historian DataLink User Guide 150 Worldwide Support If you are not located in North America and want to contact Rockwell Aut

Strona 67 - 5 ● Module Database Objects

10 ● Technical Support and Resources ● ● ● ● ● 151 When you contact Rockwell Technical Support, please provide:  Product name, version, and/or bu

Strona 68

● ● ● ● ● FactoryTalk Historian DataLink User Guide 8 Depending on your version of Excel, you may work with either of the following groups of Facto

Strona 69 - Property to Value

● ● ● ● ● FactoryTalk Historian DataLink User Guide 152 directory and type the subsystem name followed by the option -v (for example, piarchss.exe

Strona 70 -  Query Date

Index 153 Index A About this Document • 2 Aggregate Functions • 95 Alarm Status Functions • 99 Alias to Tag • 61 Appended Data • 22 Appended Da

Strona 71 - Spreadsheets

● ● ● ● ● FactoryTalk Historian DataLink User Guide 154 FactoryTalk Historian Time Expressions • 87 FactoryTalk Historian Time String Examples • 88

Strona 72 - Triggered Recalculation

● Index ● ● ● ● ● 155 PIPointIDToTag() • 141 PIPropertyToValue() • 145 PIPutVal() • 146 PISampDat() • 118 PISampFilDat() • 119 PIServer Argument •

Strona 73 - Manual Recalculation

● ● ● ● ● FactoryTalk Historian DataLink User Guide 156 W Worksheet Data • 75 Worldwide Support • 150 Write Data to FactoryTalk Historian • 105

Strona 74 - Functions and Array Values

2 ● Basics ● ● ● ● ● 9  Click an item in the PI ribbon to open a corresponding task pane or dialog box.  Place the cursor over an item to displ

Strona 75 - Array Management

● ● ● ● ● FactoryTalk Historian DataLink User Guide 10  Click in the desired output cell, and then click a function on the PI ribbon to add a fun

Strona 76 - Update Arguments

2 ● Basics ● ● ● ● ● 11 PI Menu FactoryTalk Historian DataLink for Excel XP-2003 adds a PI menu to the Excel menu bar once the DataLink add-in is l

Strona 77 - Resize Arrays

● ● ● ● ● Copyright ii Contact Rockwell Automation Customer Support Telephone — 1.440.646.3434 Online Support — http://www.rockwellautomation.com/s

Strona 78 - Share Spreadsheets

● ● ● ● ● FactoryTalk Historian DataLink User Guide 12 FactoryTalk Historian DataLink for Excel XP-2003 uses a standard menu configuration:

Strona 79 - 6 ● Spreadsheets

2 ● Basics ● ● ● ● ● 13  Choose an item from the PI menu to open a corresponding dialog box. Function Dialog Boxes FactoryTalk Historian DataLin

Strona 80

● ● ● ● ● FactoryTalk Historian DataLink User Guide 14  FactoryTalk Historian DataLink automatically retrieves values from FactoryTalk Historian

Strona 81 - Trend Displays

2 ● Basics ● ● ● ● ● 15 FactoryTalk Historian Server Connections Use the Connections dialog box to manage connections to FactoryTalk Historian ser

Strona 82 - Create a Trend

● ● ● ● ● FactoryTalk Historian DataLink User Guide 16 Choose Server > Add Server or right-click in the server pane and choose Add Server to dis

Strona 83 - Worksheet Data

2 ● Basics ● ● ● ● ● 17 Historian server at a time, although you may need to specify the target server when you define a FactoryTalk Historian Data

Strona 84 - FactoryTalk Historian Data

● ● ● ● ● FactoryTalk Historian DataLink User Guide 18  Select an item from choices in a list , such as a calculation or a sampling method.  R

Strona 85 - Manage Traces

2 ● Basics ● ● ● ● ● 19  PI Server (page 20)  Output Cell (page 20) Tagname(s) or Expression The Tagname(s) or Expression field is required by

Strona 86 - Specify the Time Range

● ● ● ● ● FactoryTalk Historian DataLink User Guide 20 the time range are retrieved from the FactoryTalk Historian archive or calculated to create

Strona 87 - Title and Placement

2 ● Basics ● ● ● ● ● 21 Instead, only the results that fit within the specified array dimensions are displayed. Time Arguments Many FactoryTalk Hi

Strona 88

Contents iii Introduction ... 1 About this Document ...

Strona 89 - 7 ● Trend Displays

● ● ● ● ● FactoryTalk Historian DataLink User Guide 22  To enter intervals in terms of frequency, convert the frequency to equivalent seconds. Fo

Strona 90

2 ● Basics ● ● ● ● ● 23 When specified, appended data appear in columns (or rows) adjacent to the primary values returned by a function according t

Strona 91 - Supplementary Information

● ● ● ● ● FactoryTalk Historian DataLink User Guide 24 Show Timestamps A show timestamps check box appears when a function returns an array of Fact

Strona 92 - Firewall Database

2 ● Basics ● ● ● ● ● 25 Time stamps are displayed to match the specified row or column orientation. If all time stamps are shown, the order from le

Strona 93 - Point Access Permissions

● ● ● ● ● FactoryTalk Historian DataLink User Guide 26  Q = questionable, indicating that there is some reason to doubt the accuracy of the value

Strona 94 - FactoryTalk Historian Time

2 ● Basics ● ● ● ● ● 27 Display Formats You can change the default time and number formats used by FactoryTalk Historian DataLink to format data in

Strona 95

● ● ● ● ● FactoryTalk Historian DataLink User Guide 28 You can customize default format strings using any valid Excel format codes from the Format

Strona 96 - Time Syntax Examples

2 ● Basics ● ● ● ● ● 29 Preference Settings Use the Settings dialog box to specify global preferences and default formatting for the output of PI D

Strona 97 - Time Interval Examples

● ● ● ● ● FactoryTalk Historian DataLink User Guide 30 Review the following for additional information: Copy items to sheet Choose In a row or In a

Strona 98

2 ● Basics ● ● ● ● ● 31 Number Format Type a number format to indicate how numeric function output should be displayed by default. The format strin

Strona 99 - Operators

● ● ● ● ● FactoryTalk Historian DataLink User Guide iv Entry Fields ... 17 Standard

Strona 100

● ● ● ● ● FactoryTalk Historian DataLink User Guide 32 Your goals First consider your goals.  What data do you want to display in a spreadsheet

Strona 101

Chapter 3 33 FactoryTalk Historian DataLink Functions FactoryTalk Historian DataLink functions enable you to query, calculate and return FactoryTa

Strona 102 - Math Functions

● ● ● ● ● FactoryTalk Historian DataLink User Guide 34 Example: To see the current value of the sinusoid tag, the following arguments are set for t

Strona 103 - Miscellaneous Functions

3 ● FactoryTalk Historian DataLink Functions ● ● ● ● ● 35 Retrieval Mode One of five modes can be selected to produce an archive value:  Previous

Strona 104

● ● ● ● ● FactoryTalk Historian DataLink User Guide 36 The resulting function array appears as: Compressed Data Returns either all values of a Fa

Strona 105 - Point Attributes

3 ● FactoryTalk Historian DataLink Functions ● ● ● ● ● 37 Filter Expression Add a filter expression to filter event values using a mathematical exp

Strona 106 - Time Functions

● ● ● ● ● FactoryTalk Historian DataLink User Guide 38 Show Value Attributes Select show value attributes to display extended status bits associate

Strona 107

3 ● FactoryTalk Historian DataLink Functions ● ● ● ● ● 39 show timestamps column The resulting function array appears as: Note that all events bet

Strona 108 - String Conversion

● ● ● ● ● FactoryTalk Historian DataLink User Guide 40 Time Interval Type a time interval as a FactoryTalk Historian time (page 86) expression. The

Strona 109 - Manual Function Entry

3 ● FactoryTalk Historian DataLink Functions ● ● ● ● ● 41 The resulting function array appears as: where a value is displayed for each 3-hour inte

Strona 110 - Mathematical Functions

● Contents ● ● ● ● ● v Point ID to Tag ... 54 Attribute Mask to Tag ...

Strona 111 - PIServer Argument

● ● ● ● ● FactoryTalk Historian DataLink User Guide 42 Special Notes You can use a PI Expression (page 91) instead of a tag name for this function.

Strona 112 - Outcodes

3 ● FactoryTalk Historian DataLink Functions ● ● ● ● ● 43 where the column of timed data appears in the column to the right, based on time stamps r

Strona 113 - Example:

● ● ● ● ● FactoryTalk Historian DataLink User Guide 44 Calculation Mode The following calculations are provided:  Total  Minimum  Maximum

Strona 114 - Troubleshooting

3 ● FactoryTalk Historian DataLink Functions ● ● ● ● ● 45 Expression Sampling Mode Different sampling modes are available for functions that includ

Strona 115 - Row Limitations

● ● ● ● ● FactoryTalk Historian DataLink User Guide 46 Minimum Percent Good Specify the minimum percentage of good data (page 25) required in each

Strona 116 - Security

3 ● FactoryTalk Historian DataLink Functions ● ● ● ● ● 47 Example: To see the hourly range of values beginning the same day at midnight until the p

Strona 117 - , shipped with the

● ● ● ● ● FactoryTalk Historian DataLink User Guide 48 where the range is calculated for each one hour interval. Note that any available calculatio

Strona 118

3 ● FactoryTalk Historian DataLink Functions ● ● ● ● ● 49 show percent good column The resulting function array appears as: where the results show

Strona 119 - Function Reference

● ● ● ● ● FactoryTalk Historian DataLink User Guide 50

Strona 120 - PIArcVal()

Chapter 4 51 FactoryTalk Historian Tags and Attributes A FactoryTalk Historian point is a stream of real-time data from a defined source, and is d

Strona 121 - PIExpVal()

● ● ● ● ● FactoryTalk Historian DataLink User Guide vi High Availability Connection Preferences ... 84 FactoryTalk Hist

Strona 122 - Multiple Value Functions

● ● ● ● ● FactoryTalk Historian DataLink User Guide 52 spreadsheets. Selected tags are copied to the spreadsheet, or added to a Tagname edit field

Strona 123 - PINCompFilDat()

4 ● FactoryTalk Historian Tags and Attributes ● ● ● ● ● 53 Alias Search Provides a logical tree view of a FactoryTalk Historian server through the

Strona 124 - PICompDat()

● ● ● ● ● FactoryTalk Historian DataLink User Guide 54 Tag Functions The following section describes FactoryTalk Historian DataLink tag functions.

Strona 125 - PICompFilDat()

4 ● FactoryTalk Historian Tags and Attributes ● ● ● ● ● 55 where the tag name is displayed in the column to the right, based on a reference to the

Strona 126 - PISampDat()

● ● ● ● ● FactoryTalk Historian DataLink User Guide 56 Note that attribute strings must match attribute values in FactoryTalk Historian, and wildca

Strona 127 - PISampFilDat()

Chapter 5 57 Module Database Objects The FactoryTalk Historian Module Database provides an entirely different way to build the infrastructure of a

Strona 128 - Returns

● ● ● ● ● FactoryTalk Historian DataLink User Guide 58 The following topics describe the tools provided by FactoryTalk Historian DataLink to access

Strona 129 - PIExpDat()

5 ● Module Database Objects ● ● ● ● ● 59 Aliases and properties corresponding to FactoryTalk Historian points must be configured in your FactoryTal

Strona 130 - PITimeDat()

● ● ● ● ● FactoryTalk Historian DataLink User Guide 60  Alias  Property  Module Use the PI Server drop-down list to display module databases

Strona 131 - PITimeExpDat()

5 ● Module Database Objects ● ● ● ● ● 61  Click in the desired output cell, and then choose PI > <function name> to open a function dial

Strona 132 - Calculation Functions

● Contents ● ● ● ● ● vii Troubleshooting ... 106 FactoryTalk Historian Menu Not Availab

Strona 133

● ● ● ● ● FactoryTalk Historian DataLink User Guide 62 DataLink can return values for Boolean, Date, Double, Integer, Long, Null, Single and String

Strona 134 - PIAdvCalcVal()

Chapter 6 63 Spreadsheets When you add a function to a spreadsheet, FactoryTalk Historian DataLink retrieves the requested data from the FactoryTa

Strona 135 - PIAdvCalcFilVal()

● ● ● ● ● FactoryTalk Historian DataLink User Guide 64 All workbooks open in the current Excel session are calculated immediately, and then at spec

Strona 136

6 ● Spreadsheets ● ● ● ● ● 65 Volatile Excel time functions such as now() and today() recalculate with the most frequency. Whenever a user edits a

Strona 137 - PIAdvCalcExpVal()

● ● ● ● ● FactoryTalk Historian DataLink User Guide 66 Manual recalculation is the best method for variable-size arrays (page 69) where the number

Strona 138 - PIAdvCalcExpFilVal()

6 ● Spreadsheets ● ● ● ● ● 67 For example, when you select a cell and add a Current Value function, you specify the name of the FactoryTalk Histori

Strona 139

● ● ● ● ● FactoryTalk Historian DataLink User Guide 68 You must move or clear an entire Excel array including all cells, or DataLink displays an er

Strona 140 - PICalcDat()

6 ● Spreadsheets ● ● ● ● ● 69 Note that you can also edit function syntax directly by pressing F2 to edit in the Excel formula bar. Press Ctrl+Shif

Strona 141 - PIAdvCalcDat()

● ● ● ● ● FactoryTalk Historian DataLink User Guide 70 the function. To maintain a constant size for Compressed Data (page 36) functions, specify t

Strona 142 - PIAdvCalcFilDat()

6 ● Spreadsheets ● ● ● ● ● 71 site and use FactoryTalk Historian DataLink Server to display and recalculate FactoryTalk Historian function data.

Strona 143

● ● ● ● ● FactoryTalk Historian DataLink User Guide viii PICalcVal() ... 124 PIAdvCa

Strona 144 - PIAdvCalcExpDat()

● ● ● ● ● FactoryTalk Historian DataLink User Guide 72

Strona 145 - PIAdvCalcExpFilDat()

Chapter 7 73 Trend Displays FactoryTalk Historian DataLink includes an ActiveX trend control object that can be inserted into any Excel spreadshee

Strona 146

● ● ● ● ● FactoryTalk Historian DataLink User Guide 74 Create a Trend A wizard makes it easy to insert and configure trends. To insert a trend: 1.

Strona 147 - PITimeFilter()

7 ● Trend Displays ● ● ● ● ● 75 Worksheet Data If you choose Data on worksheet, the trend wizard prompts you to select the cell range containing th

Strona 148 - PITimeFilterVal()

● ● ● ● ● FactoryTalk Historian DataLink User Guide 76 The first element is the cell above the first value of the selected range if the data is arr

Strona 149 - Tag Functions

7 ● Trend Displays ● ● ● ● ● 77 1. Click in the Tag name field, then click and drag to select a cell range in the spreadsheet. You can also enter

Strona 150 - PIAttributeMaskToTag ()

● ● ● ● ● FactoryTalk Historian DataLink User Guide 78  Click the X and X All buttons to remove selected and all traces, respectively.  Click t

Strona 151 - PITagAtt()

7 ● Trend Displays ● ● ● ● ● 79 Title and Placement Complete the trend and determine its location in the final screen. To complete the trend: 1.

Strona 152 - Module Database Functions

● ● ● ● ● FactoryTalk Historian DataLink User Guide 80 If Existing worksheet is selected, then the cell (or range used to size the trend) where the

Strona 153 - PIPropertyToValue()

7 ● Trend Displays ● ● ● ● ● 81  Choose Format to edit the display of individual traces or the trend as a whole using the Trend Control Propertie

Strona 154 - Input Functions

Chapter 1 1 Introduction FactoryTalk Historian DataLink is a Microsoft Excel add-in that enables you to retrieve information from your FactoryTalk

Strona 155

● ● ● ● ● FactoryTalk Historian DataLink User Guide 82  Choose Export Data to paste the values used to plot the trend into spreadsheet cells. You

Strona 156

Chapter 8 83 Supplementary Information Setup There are two ways for users to work with FactoryTalk Historian DataLink functions in Excel spreadshe

Strona 157 - Chapter 10

● ● ● ● ● FactoryTalk Historian DataLink User Guide 84 High Availability Connection Preferences The connection preference is set at the time of the

Strona 158 - TechConnect Support

8 ● Supplementary Information ● ● ● ● ● 85 *.*.*.*, DISALLOW 192.168.100.*, ALLOW allows connections only from TCP/IP addresses starting with 192.1

Strona 159

● ● ● ● ● FactoryTalk Historian DataLink User Guide 86 The PIAdmin account is a super-privileged user and has read and write access to all tags. Fo

Strona 160

8 ● Supplementary Information ● ● ● ● ● 87 PI Times can also be expressed using certain constants: Constant Result * The current time. Today or t 1

Strona 161

● ● ● ● ● FactoryTalk Historian DataLink User Guide 88 When using FactoryTalk Historian times, follow these guidelines:  Use absolute or combined

Strona 162

8 ● Supplementary Information ● ● ● ● ● 89 PI Time String Meaning *-1h One hour ago t+8h 8:00:00 am today y-8h 4:00:00 pm on the day before yesterd

Strona 163

● ● ● ● ● FactoryTalk Historian DataLink User Guide 90 Data Type Support Digital (defined states) supported Int (16 and 32) supported Float (16, 32

Strona 164 - Worldwide Support • 150

8 ● Supplementary Information ● ● ● ● ● 91 Some functions also provide a field for a Filter Expression argument. You can supply a filter expression

Komentarze do niniejszej Instrukcji

Brak uwag