mi07 (factory talk historian)

Upload: pradeep311

Post on 01-Jun-2018

231 views

Category:

Documents


3 download

TRANSCRIPT

  • 8/9/2019 MI07 (Factory talk historian)

    1/90

  • 8/9/2019 MI07 (Factory talk historian)

    2/90

    Important User Information

    This documentation, whether, illustrative, printed, online or electronic (hereinafter Documentation) is intended for use only asa learning aid when using Rockwell Automation approved demonstration hardware, software and firmware. The Documentationshould only be used as a learning tool by qualified professionals.

    The variety of uses for the hardware, software and firmware (hereinafter Products) described in this Documentation, mandatesthat those responsible for the application and use of those Products must satisfy themselves that all necessary steps have beentaken to ensure that each application and actual use meets all performance and safety requirements, including any applicablelaws, regulations, codes and standards in addition to any applicable technical documents.

    In no event will Rockwell Automation, Inc., or any of its affiliate or subsidiary companies (hereinafter Rockwell Automation) beresponsible or liable for any indirect or consequential damages resulting from the use or application of the Products described inthis Documentation. Rockwell Automation does not assume responsibility or liability for damages of any kind based on thealleged use of, or reliance on, this Documentation.

    No patent liability is assumed by Rockwell Automation with respect to use of information, circuits, equipment, or softwaredescribed in the Documentation.

    Except as specifically agreed in writing as part of a maintenance or support contract, equipment users are responsible for:

    properly using, calibrating, operating, monitoring and maintaining all Products consistent with all Rockwell Automation

    or third-party provided instructions, warnings, recommendations and documentation;

    ensuring that only properly trained personnel use, operate and maintain the Products at all times;

    staying informed of all Product updates and alerts and implementing all updates and fixes; and

    all other factors affecting the Products that are outside of the direct control of Rockwell Automation.

    Reproduction of the contents of the Documentation, in whole or in part, without written permission of Rockwell Automation isprohibited.

    Throughout this manual we use the following notes to make you aware of safety considerations:

    Identifies information about practices or circumstancesthat can cause an explosion in a hazardous environment,which may lead to personal injury or death, property damage, or economic loss.

    Identifies information that is critical for successful application and understanding of the product.

    Identifies information about practices or circumstances that can lead to personal injury or death, propertydamage, or economic loss. Attentions help you: identify a hazard avoid a hazard recognize the consequence

    Labels may be located on or inside the drive to alert people that dangerous voltage may be present.

    Labels may be located on or inside the drive to alert people that surfaces may be dangerous temperatures.

  • 8/9/2019 MI07 (Factory talk historian)

    3/90

    3 of 89

    MI07 FactoryTalk Historian ME Lab

    Contents

    Before you begin ......................................................................................................................................... 5

    About this lab ................................................................................................................................................ 5

    Tools & prerequisites .................................................................................................................................... 5

    Lab Setup and Initialization ........................................................................................................................... 7

    Section 1: Introduction to Historian ........................................................................................................ 11

    About This Section ...................................................................................................................................... 11

    Historian applications .................................................................................................................................. 12

    Historian Architectures / Distributed Historian ............................................................................................ 13

    Capturing Time-series data vs. Relational data .......................................................................................... 14

    Filtering and Compression .......................................................................................................................... 14

    Section 2: Conf igurat ion and Setup of the FTHME module ................................................................. 17

    Section 3: Integrating the FTHME into an exis ting FT Directory (FTD) .............................................. 31

    Using DataLink ............................................................................................................................................ 42

    Section 4: Aggregat ing data (Data Transfer) from FTHME to FTHSE ................................................. 51

    Using Trend ................................................................................................................................................. 61

    Creating a Basic Excel Report .................................................................................................................... 67

    Section 5: FactoryTalk Histor ian Discovery Rule Editor Uti lit y .......................................................... 75

    Sect ion 6: RSLogix5000 Add On Prof ile: ............................................................................................... 81

  • 8/9/2019 MI07 (Factory talk historian)

    4/90

  • 8/9/2019 MI07 (Factory talk historian)

    5/90

    5 of 89

    Before you begin

    The following steps must be completed before starting the lab exercise:

    1. Start the VMware image. The image is configured for auto logon. Should the auto logon fail and youreceive the logon screen, log on with the following credentials:

    Username: Labuser

    Password: rockwell

    About this lab

    Welcome to the FactoryTalk Historian Machine Edition Lab. This session provides you with an

    opportunity to explore the new FactoryTalk Historian ME module. The following sections explain what

    youll be doing in this lab session, and what you will need to do to complete the hands-on exercises.

    Tools & prerequisites

    Software programs required:

    Microsoft Windows Server 2008 R2 SP1 Standard (x64bit)

    Microsoft Internet Explorer 8.0 (compatibility mode)

    FactoryTalk Historian Site Edition v3.00 (PreRelease bld1060)

    FactoryTalk Historian DataLink v4.2.0*

    FactoryTalk VantagePoint v4.0.0

    FTSP CPR9 SR5 (FactoryTalk Administration Console, FactoryTalk Directory, FactoryTalk Activation

    Server, FactoryTalk Diagnostics)FactoryTalk Historian Machine Edition Client Tools 2.20* (Management/RuleEditor/AOP)

    RSLogix5000 v20 - NOT OFFICIALLY SUPPORTED ON THIS OPERATING SYSTEM

    RSLinx Classic 2.59 (SR5)

    RSLinx Enterprise 5.50 (SR5)

    Microsoft Office Professional Plus 2010 (Excel 2010)

    *FactoryTalk Historian Clients are not officially supported running on the FTHistorian Server.

    Hardware:

    1756-EN2TR Ethernet module (slot0)

    1756-L75 Controller (slot1)

    1756-HIST1G (FTHME) v2.2 (slot2)

    Chassis, Power Supply, Ethernet Switch

  • 8/9/2019 MI07 (Factory talk historian)

    6/90

    6 of 89

    Files Required:

    FTHDemo.ACD

    Tank Temperatures.xls

    MYVMDATA VMWare image: A Windows 2008 R2 SP1 (x64bit OS) Server computer to act as a

    Centralized FactoryTalk Historian SE Server, FactoryTalk Directory (IIS), FactoryTalk Activation

    Server, Workstation (RSLogix5000/FTAdministration Console) using FTSP CPR9 SR5.

  • 8/9/2019 MI07 (Factory talk historian)

    7/90

    7 of 89

    Lab Setup and Initialization

    Before you Begin

    1. Before you can begin any of the lab exercise, we must ensure the lab hardware has been reset to the

    default startup state.

    2. Open the file FTHDemo.ACDlocated on the desktop. The file will be opened in RSLogix5000. We

    are going to download this file to the controller to ensure a proper startup state.

    3. From the menu in RSLogix500, select Communication > Who Active. Expand the AB_ETHIP-1

    node and let in auto populate with EthernetIP devices that RSLinx Classic recognizes. Look at the

    front LENS display on your 1756-ENBT Ethernet module in the ControlLogix chassis to determine its

    IP address. Match this up with the IP address in the Who Active window and expand this node.

    Continue to expand the sub-nodes until you can select the controller in the chassis.

    4. Press the Downloadbutton to load the program in the controller. When the download is finished, youwill be prompted to return the controller to Remote Runmode. Press the Yesbutton.

  • 8/9/2019 MI07 (Factory talk historian)

    8/90

    8 of 89

    5. In the RSLogix5000 project window, select the folder Controller FTHDemo, right mouse click and

    select Properties from the menu. On the Properties dialog, switch to the Date/Timetab and press

    the Set Date, Time and Zone from Workstationbutton. This will synchronize the controller date and

    time to the computer running the VMWare images. Press the OKbutton when you are finished.

    6. Under the I/O Configuration folder, in slot 2, the FTHME is currently registered via the Add On Profile.

    Right- clickand select Properties . Select the Internet Protoco ltab so we can configure the IP

    address for the FTHME module. Select the Manually configure IP settingsradio button. Under IP

    Settings Configuration section, type in the IP addresses as shown below:

    Physical Module IP Address: 192.168.1.115

    Subnet Mask: 255.255.255.0

  • 8/9/2019 MI07 (Factory talk historian)

    9/90

    9 of 89

    7. Press the Setbutton to write the IP information to the FTHME module. Also press the Yesbutton to

    apply the changes. You will notice that this IP address begins scrolling across the LENS of the

    FTHME module.

    8. You can minimize the RSLogix 5000 application

    9. At this point, we are ready to begin the lab.

  • 8/9/2019 MI07 (Factory talk historian)

    10/90

  • 8/9/2019 MI07 (Factory talk historian)

    11/90

    11 of 89

    Section 1: Introduction to Historian

    Historians are a widely used tool for gathering large amounts of historical data, primarily based on time-

    series data. This data is stored in large archives, and retrieved for reporting, analysis and for general real-

    time and historical trending.

    We will in this section get introduced to Historians in general and the new FactoryTalk Historian ME. We

    will look at the advantages of the new Historian compared to previous and older technologies.

    About This Section

    In this section, we will introduce you to the new FactoryTalk Historian. In this section you will:

    What is a Historian and what is it used for

    Where does a Historian fit within the Enterprise IT solution

    What is time-series data

    What is the difference between time series data and relational data

    What are some of the advanced features of a Historian

  • 8/9/2019 MI07 (Factory talk historian)

    12/90

    12 of 89

    Historian applications

    Historians are utilized across many industries and applications including, Consumer Products, Food and

    Beverage, Automotive, Life Sciences, Packaging, Water/Waste Water and Material Routing.

    The main application is to capture process data at high speeds and at low intervals to be able to displaytrends and graphs of the data, and to be able to perform advanced analysis of the data, and to report

    based on the data.

    Those time-series data can then be used as a basis for various calculations, estimations, statistical

    processes, quality controls, etc., throughout the processes and applications in the enterprise.

    The typical Historians are Plant historians capturing data from all the equipment in a plant, and that data

    is then used in mostly other specialized applications such as MES, ERP, Reporting, Visualization, Quality

    and Assurance applications etc.

  • 8/9/2019 MI07 (Factory talk historian)

    13/90

    13 of 89

    Historian Architectures / Distributed Historian

    Because data becomes more and more important, it is essential that systems will allow for data capture at

    all levels of the Plant floor and at optimal capture rates, and it is also essential that this data becomes

    available at all levels of the enterprise. This is the basic concept of Rockwells Distributed Historian

    Strategy.

    The Distributed Strategy extends the traditional Site/Plant Historian, with a Machine Level device

    Historian to allow for fast and reliable data capture at the controller level, and with an Enterprise Level

    Historian to aggregate all Enterprise data to a central repository making the data available at all levels of

    the Enterprise.

  • 8/9/2019 MI07 (Factory talk historian)

    14/90

    14 of 89

    Capturing Time-series data vs. Relational data

    Time-series data is largely unstructured, and is therefore not the optimal candidate for being stored in a

    relational database such as Microsoft SQL Server or Oracle. First of all the data will require a lot of space,

    given that typical technologies make every data point a record in the database, and secondly retrieving

    that data given the system needs to select a lot of records for a simple trend, will take more time than

    traditional relational lookups.

    So in order store more data in the same space and in order to allow for very fast data capture and

    retrieval, the more advanced Historians today are utilizing time-series optimized data stores, that allow for

    a very fast capture rate and storage, a space optimized storage, and a very fast data retrieval rate.

    Filtering and Compression

    On top of the optimized storage the new FactoryTalk Historian also has an advanced filtering and

    compression algorithm that further optimizes the storage capability

    Exception Test

    Data compression is an optional two-step process to report changes by exception and store only what

    is necessary to reproduce as close to the actual raw data trend.

    The first step is the Exception test. This test filters all values out that only differ slightly from the

    previous value.

  • 8/9/2019 MI07 (Factory talk historian)

    15/90

    15 of 89

    When a value passes this test, that value and the previous value are reported.

    Compression Test

    The second step is the compression test. This test filters values out that only differ slightly from the

    slope between the previous and the next value.

  • 8/9/2019 MI07 (Factory talk historian)

    16/90

    16 of 89

    When a value passes this test, the first value for the slope section and the last value are reported.

    This system is also used to retrieve non archived values by interpolation between the archived start

    and ending point of the slope section.

    In the following sections, we will explore the FactoryTalk Historian Machine Edition (FTHME) module.

    This 1756 based Historian collects data from its local chassis and archives it locally on the module.

    This data can be accessed by the new Web Browser Application and any of the existing FactoryTalk

    Historian Clients such as FTH DataLink, FTH ProcessBook, or FT VantagePoint. This rack based

    Historian stores data at the source and is not susceptible to data loss due to a down PC or network.

    It is also able to collect data at higher collection rates. For long term data storage, the data from the

    FTHME would be configured to automatically transfer to the centralized FactoryTalk Historian Site

    Edition (FTHSE) Server.

  • 8/9/2019 MI07 (Factory talk historian)

    17/90

    17 of 89

    Section 2: Configuration and Setup of the FTHME

    module

    In this section, we will start with a FTHME module in its factory default settings. You will configure the

    modules settings, configure data collection and verify the logged data all through the Web Browser.

    There is no Rockwell Automation software required to accomplish these tasks, everything is done through

    Microsoft Internet Explorer.

    The configuration settings for IE8 have been done for you and are:

    Tools > Compatibility View

    Tools > Internet Options > Security > Local intranet > Sites > Advanced > Add (IP of FTHME)

    Tools > Internet Options > Security > Local intranet > Custom Level >

    Initialize and script ActiveX controls not marked s safe for scripting > Enable

  • 8/9/2019 MI07 (Factory talk historian)

    18/90

    18 of 89

    1. The module has been placed in the chassis and typically needs a DHCP server to serve it an IP

    address. Instead, we manually set a static IP address previously using the Add on Profile (AOP) in

    RSLogix5000.

    2. From the desktop of your image, launch the Internet Explorershortcut.

    Note: The My Computer icon on the desktop has been renamed to MYFTH2012.

    3. Type in the IP address of your FTHME module, it should be scrolling across the LENs display of

    the module. http://Your ME IP Address (Example: http://192.168.1.115) and pressGo. This will

    display the FTHME web browser login page.

    4. For the User ID, type inpiadminand leave the password blank, press theLoginbutton to complete

    the login process.

  • 8/9/2019 MI07 (Factory talk historian)

    19/90

    19 of 89

    5. You will be at the Home > Statusoverview screen. For navigation through the web browser, there

    are 5 tabs across the top (Home, View Data, Manage Points, Configure Historian,Advanced ) to

    select from. As you select a different tab, the menu options in the left hand vertical pane change to

    provide menu specific options to select from. The statistics on the left hand pane update every 30

    seconds, the information on the main portion (white background in below picture) only update once

    when displayed.

    6. We will now begin to configure the module. Navigate to theAdvanced >System Settings page.

    You do this by clicking on theAdvanced Tab on the horizontal and clicking the System Settings

    option that appears on the left vertical pane.

    7. The first step is to assign a name to your FTHME module. By default, the module name is unique. It

    uses the serial number of the module as the prefix to -FTHME. (Example: A00059D1-FTHME).

    This module name will be used when data from FTHME is transferred to FTHSE/PI Server. The

    module name will be appended as a prefix to the name of the FTHME data point and that will be itsname in FTHSE/PI. This module name will add context at the FTHSE/PI Server in case you have

    multiple FTHME modules transferring to the same Historian Server. For this l ab, we will leave the

    Module Name as is.

  • 8/9/2019 MI07 (Factory talk historian)

    20/90

    20 of 89

    9. On the same page under the Network Settings, is the configuration for the Ethernet port and DNS

    settings. For this lab, we are not going to change the network settings.

    10. To configure the time options for the module, navigate to theAdvanced >Time Management page.

    There are several options available for setting the modules time source. For this lab we will

    synchronize the FTHME time with the controller time. Select Controller Timein the TimeSynchronization section, verify you have selected FTHDemo_1_1and then press theSavebutton to

    commit this change. The module will reboot for this change to take effect (it will take approx 5 minutes

    for the module to synchronize and reboot).

  • 8/9/2019 MI07 (Factory talk historian)

    21/90

    21 of 89

    While the module is rebooting, lets review the importance of Time Management within your Historian

    System. Ideally, you should implement your Time Management strategy prior to configuring the

    FTHME for data collection. The Historian system is made up of the Controllers, the FTHME modules,

    the FTHSE/PI Server and FT Historian client PCs. All of these devices should have their clocks

    synchronized by your master time source.

    A typical approach is the Domain Controller has its clock synchronized by an NTP Server. The

    Domain Controller synchronizes the PCs (FTHSE and FTHistorian client PCs) that are a part of the

    Domain. The RSLogix Clock Sync Tool is then run from one of these PCs and configured to

    synchronize the Controllers clock at some periodic rate. The FTHME module can then synchronize

    its clock to a controller in the local chassis.

    Several other solutions exist that could include using CIPSync devices or GPS Time modules.

    Bottom line is, for your Historian data to be useful for analysis, the clocks with in the system

    must be synchronized from one master time source.

    11. Once the module has completed rebooting, the Web Browser will reset and return you back to the

    login page. You will know that the module is fully initialized when the middle STS LEDis either

    flashing green or solid green. This typically takes several minutes (approx 5 minutes). Type the User

    ID ofpiadminwith no password then press theLoginbutton.

  • 8/9/2019 MI07 (Factory talk historian)

    22/90

    22 of 89

    12. The next step is to configure the security mode for the module, navigate to theConfigure Historian >

    System Securitypage. There are two types of security for the FTHME, Native Security and

    FTSecurity. Native Security is a self contained security system that requires all security configuration

    to be done through this Web Browser for each individual FTHME module. FTSecurity allows

    centralized security administration through the FactoryTalk Administration Console (FTAC), we will

    look at this later in the lab. In addition to the security mode, you can also configure whether you want

    the data to be encrypted (HTTPS) for added security. For this portion of the lab, we will leave the

    configu ration at the Native setting and use the HTTP (unsecured) protocol.

  • 8/9/2019 MI07 (Factory talk historian)

    23/90

    23 of 89

    13. It is a best practice to change the default password on the module. This is done by navigating to the

    Configure Historian > User Management page. Highlight the userpiadminand select theChange

    Password button. Leave the Old Password blank, type inpiadminfor theNew Password,

    Confirm Passwordand press theSavebutton. You are then required to login to the module, this

    time using the new password.

    14. To login again, for the User IDfield, type inpiadminand for thePassword, type inpiadmin.

    Press theLoginbutton to complete the login process.

    15. At this point we are ready to add points to the Historian module to log. Select theManage Points >

    Add Points Wizard page. For this portion of the lab, we will use the Default Rule file (ADDefault.xml)and the Default Tag File (FTHMETagDefault.xml) to find tag matches from the Controller and

    configure the tags. You can view the contents of these default files by selecting the expand button to

    the right of the drop down option.

  • 8/9/2019 MI07 (Factory talk historian)

    24/90

    24 of 89

    16. The FTHME reads data from controllers in the local chassis. If the chassis contains multiple

    controllers, you could read data from all of them (maximum of 4 controllers) or just the ones you have

    selected. In this lab, we have just one controller in the chassis. The detected controllers from the

    local chassis are listed under the Start Search In section of the page, the controller is named

    FTHDemo_1_1. Select the boxto the left of FTHDemo_1_1 and Click theShow Tags button.

  • 8/9/2019 MI07 (Factory talk historian)

    25/90

    25 of 89

    17. The FTHME module communicates to the controller across the backplane and lists any tags that

    match the Default Rule File from the selected controller. By default, all the matching tags are

    selected in the table. The user could unselect all tags by clicking theAl l/Nonecheckbox, select only

    a subset of tags or modify the scan rate from the default 1 second. Leave all items selected and click

    theCreatebutton to auto create the data points. Press the OKbutton on the popup dialog to

    continue.

    It will take approximately 30 seconds to create these 1361 points.

  • 8/9/2019 MI07 (Factory talk historian)

    26/90

    26 of 89

    18. The attributes for these newly created data points come from the Default Tag File. The third step

    (Review Results) of the wizard gives an overview of the results. Notice that these points begin

    immediately logging data as shown from Data Collection Status is Running.

    There were 1361 points created. The module comes with 4 system tags which are automatically

    created. These system tags should never be edited or deleted.

    You will notice the information at the top of the screen that recommends stopping and restarting Data

    Collection after adding points to the system. Doing this will ensure that the communications are

    optimized fully between the FTHME and CLX. It is not necessary in this case, since all these points

    were added at one time. It becomes more important if you are adding points to your module at

    multiple different times.

  • 8/9/2019 MI07 (Factory talk historian)

    27/90

    27 of 89

    19. We now want to verify that the points were created. Click theManage Points > Edit Poin ts, and

    click theSearchbutton. Click on one tag to highlight it then press theEditbutton. These are a

    subset of the Point Properties of the point you just created. It used the Default Tag file to set these

    point attributes like the Exception Filtering, Compression Filtering, Scan Rate and Scan Type.

    20. To verify that these newly created points are logging data, click onView Data > Current Data. For

    the Point Name, type in*demo_temp*then press theSearchbutton. In the bottom menu line, it

    states there was 18 items. Click on Nameto sort the column alphabetically. This table lists the

    current value and timestamp for the matching points.

  • 8/9/2019 MI07 (Factory talk historian)

    28/90

    28 of 89

    In the bottom left corner of the screen are statistics that update every 30 seconds. You will notice

    that the collection rate and archive rate are now updating because of the newly configured points.

    The archive rate is less than the collection rate due to the exception and compression algorithm that

    discards non essential data. The collection rate is the rate the Interface is receiving data. The

    Archive rate is after the exception and compression algorithm is applied, this is the rate the data is

    being written to the archive files. It is the data from the archive files that the client applications

    visualize.

  • 8/9/2019 MI07 (Factory talk historian)

    29/90

    29 of 89

    21. In the previous step we looked at the current value of the points, now we will look at the archived

    (historical) values in columnar format. Click theView Data > Archive Data. For the Point Name,

    type in*temp.pv*, then press theSearchbutton. Select the tag to highlight (make sure the line stays

    highlighted in blue) the line and press theView button. By default the last 2 minutes (*-2m) of data

    are displayed.

  • 8/9/2019 MI07 (Factory talk historian)

    30/90

    30 of 89

    22. We can look at the same data by using a trend. Click theView Data > Trends. Type in*temp.pv*

    and pressSearch. Check theSelectbox for the point FTHDemo_1_1.T100_Demo_Temp.PV.

    Press the green triangle(Start) within the Trend Chart. Press the ^ button in the upper right

    corner in the Pointslist to minimize the display to allow more viewing of the trend.By default, the

    trend displays the past 2 minutes of data and refreshes every second.

    You can stop the trend by clicking on the Red square(Stop Button).

    23.Weve installed and configured the FTHME module, configured data collection and viewed the logged

    data through the Web Browser. This was all accomplished using only the Microsoft Internet Explorer

    Web Browser, there was no additional software needed. The Web Browser allows you to do all the

    configuration of the FTHME module. It also allows you to perform some basic visualization, yet in

    depth analysis of the data would require other clients like FactoryTalk VantagePoint, FactoryTalk

    Historian DataLink or FactoryTalk ProcessBook.

  • 8/9/2019 MI07 (Factory talk historian)

    31/90

    31 of 89

    Section 3: Integrating the FTHME into an existing FT

    Directory (FTD)

    We are now going to integrate the stand alone FTHME module into an existing FactoryTalk System. Thiswill allow you to perform centralized security administration and allow existing FactoryTalk clients toconnect to the FTHME module to visualize data.

    In order to register the FTHME, you must install FTSP (FactoryTalk Services Platform) with web services.These are found on the FactoryTalk Historian ME Client Tools DVD. To visualize the logged data, youneed to have Excel and FactoryTalk Historian DataLink installed. All of the necessary software has beenpreinstalled for you.

  • 8/9/2019 MI07 (Factory talk historian)

    32/90

    32 of 89

    1. From the Web Browser, navigate toConfigure Historian > System Security. Under the Security

    Modesection, select theFTSecuri tyoption. Type in theIP address of the FTDirectory

    (192.168.1.112). Press theSave button. For the security mode change to take effect, the module

    needs to reboot. Minimize the Web Browser window, it will take approx 5 minutes to reboot and fully

    initialize.

    Once the Savebutton is pressed, the entered IP address is verified to determine that it is a valid

    FTDirectory computer. The FTDirectory computer must have both FactoryTalk Services Platform

    (CPR9 SR2 or newer) installed and IIS installed and configured. FTSP has an optional installation

    component (under custom install) called Web Services that is necessary to authenticate the security

    calls from the FTHME module. Also, when the FTD is installed on an x64 OS, IIS needs to have the

    defaultAppPool enabled for 32-bit applications (explained in FactoryTalk Help).

    2 While the module is rebooting, we will create a FactoryTalk user and will then register the FTHME

    module within the FTAdministration Console.

    3. Launch the FactoryTalk Administration Console (FTAC). Navigate to Start > All Programs

    >Rockwell Software > FactoryTalk Admin istration Console. Select OKto use the Network

    directory.

    Both the FTHSE and FTHME only support the Network scoped Directory, not the Local Scope.

  • 8/9/2019 MI07 (Factory talk historian)

    33/90

    33 of 89

    4. Under System > Users and Groups, take a look at the preconfigured User Groups specific to

    FactoryTalk Historian. These User Groups are automatically created when installing the FactoryTalk

    Historian Management Tools. There are four groups (FTHAdministrators, FTHEngineers ,

    FTHOperators , FTHSupervisors). Each group represents a different level of security to restrict

    access as required for a given user.

    5. To be able to log into the FTHME module using FactoryTalk Security, we need to create a new FT

    User. To create a new User, right-click onUsers > New > User

  • 8/9/2019 MI07 (Factory talk historian)

    34/90

    34 of 89

    6. ForUser name:, Password: andConfirm:type inftadmin.

  • 8/9/2019 MI07 (Factory talk historian)

    35/90

    35 of 89

    7. Select the Group Membershiptab and press theAdd Button. Select FTHAdministratorsfrom the

    list then presstheOK button twice.

  • 8/9/2019 MI07 (Factory talk historian)

    36/90

    36 of 89

    8. You can now view your newly created FactoryTalk User in FTHAdministrators User Group by double-

    clicking on theFTHAdministrators node underUser Groups.

    9. We will now register the module within the FactoryTalk Directory, you must create a Server

    Connection first.

    10. Navigate on the Start menu to Start > All Programs > Rockwell Software > FactoryTalk Historian

    SE > System Management Tools

  • 8/9/2019 MI07 (Factory talk historian)

    37/90

    37 of 89

    11. Click on the File > Connectionsto open the PI Connection Manager.

    12. From the menu, select Server > Add Server. In the Network Nodefield type in the IP address of the

    FTHME module, then press theOK button.

    NOTE:If a connection was successfully established, the IP address will appear on the left side. If an

    error occurs, it is probably due to the module still rebooting. Wait a little bit then try again. When the

    STS LED on the module goes to solid green or flashing green, it is fully initialized and a connection

    can be established.

  • 8/9/2019 MI07 (Factory talk historian)

    38/90

    38 of 89

    13. You should now have two Server connections defined, one for the FTHME connection you just

    created and one for the FactoryTalk Historian SE server.

    14. Close theAbout PI-SDKdialog.

  • 8/9/2019 MI07 (Factory talk historian)

    39/90

    39 of 89

    15. Within the FTAdministration Console, navigate to System > Connections. Under the Historical

    Datanode you will see the FactoryTalk Historian SE server (Production Historian) registered. In a

    similar fashion, the FactoryTalk Historian ME modules will also be registered. To register a

    FactoryTalk Historian ME server, right-click onthe node Histor ical Data MEand selectNew

    Historian ME Server Connectionfrom the menu.

  • 8/9/2019 MI07 (Factory talk historian)

    40/90

  • 8/9/2019 MI07 (Factory talk historian)

    41/90

    41 of 89

    18. Maximize the Web Browser window (or re-open Internet Explorer and type in http ://. First attempt to login with your previous Native security credentials with User ID: piadmin

    andPassword: piadmin. Notice the following error when you press the Login button:

    Only one security mode can be active at one time. Since we previously modified the security mode

    from Native to FTSecurity, the Native security will not authenticate the user credentials and only

    FactoryTalk User accounts can be used with FTSecurity.

    19. Using the newly created FactoryTalk User credentials (ftadmin, ftadmin) , log into the Web Browser.

    Notice in the upper right hand corner of the web browser the current user and their highest privileged

    group is displayed.

    20. In addition to using the Web Browser to visualize the logged data from the FTHME module, you can

    also use all the other FactoryTalk Historian Clients (FTVantagePoint, Historian Process Book and

    Historian DataLink) to visualize the data.

  • 8/9/2019 MI07 (Factory talk historian)

    42/90

    42 of 89

    Using DataLink

    In this section, you will explore many of the features available in DataLink.

    1. We will now use Historian DataLink to retrieve data from FTHME in both tabular format and in a trend.We will be looking at the tag T100_Demo_Temp.PV for a particular time span to do this.

    2. Minimize the web browser. From the Windows Startmenu, select Start>All Programs>Microsof tOffice>Microsoft Excel 2010. This will launch EXCEL 2010 where Historian DataLink is registeredas an Add-In.

    3. Select the PI ribbon and observe the various functions available for use with the Historian data. Withthis menu it is possible to extract data points to Excel for calculations, displaying trends, etc:

    4. In order for the PI ribbon to display in EXCEL, you must first install the DataLink Client from theFactoryTalk Historian CD. In this lab, these steps have been performed for you in the interest ofsaving time.

    5. Select the File > Recentto open the existing Excel report template we want to start working with.Select the Tank Temperatures.xls file.

  • 8/9/2019 MI07 (Factory talk historian)

    43/90

    43 of 89

    6. We will create a Summary Report for the Tank Temperatures. The report template is pre-populated

    with logo and text, but does not have any data yet. We will add a data point and a trend.

    7. Select cellB5 in the worksheet then select Compressed Data > Values for todayfor the PI ribbon:

  • 8/9/2019 MI07 (Factory talk historian)

    44/90

    44 of 89

    8. In the Compressed Data dialog, enter/select the following (as shown below):

    Time Range

    PI Server

    Start Time to *-1m

    End Time to *

    Select hide count

    Select show timestamps

  • 8/9/2019 MI07 (Factory talk historian)

    45/90

    45 of 89

    9. Make sure the PI Server selected is the FTHME (IP address). Next, click the Tagnames(s) buttontoopen the Tag Searchdialog.

    10. In the Tag Search dialog, in the Tag Mask field, type *temp.pv* and click the Searchbutton. Select

    the FTHDemo_1_1.T100_Demo_Temp.PV tag (as shown below) and click the OKbutton:

  • 8/9/2019 MI07 (Factory talk historian)

    46/90

    46 of 89

    11. Click the Compressed Data dialog OKbutton, to export the data into Excel.

    The data for Tank 100 is always changing in the controller, however, DataLink only shows you a

    point-in-time snapshot of the data that was stored in the FTHME. To refresh the Tank 100 data,

    select the toolbar Updatebutton (the default is every 5 seconds).

    12. Select cell K5in the worksheets open space to the right and select Insert Trendfrom the PI ribbon

    within the Tools section:

    13. In the Trend Wizard, select Data from PI, Verify the IP address(FTHME) is selected for the Server

    name and click the button to select the tags.

  • 8/9/2019 MI07 (Factory talk historian)

    47/90

    47 of 89

    14. In the Tag Search dialog, select Favorites > Last Search:

    15. Select the FTHDemo_1_1.T100_Demo_Temp.PV point and Click OK.

  • 8/9/2019 MI07 (Factory talk historian)

    48/90

    48 of 89

    16. Select the Markersbox for the point as shown below and click the Nextbutton:

    When the Marker field is checked, a data event is indicated with a Marker on the trend.

    17. Set the StartTime to *-2m, the End Time to *, and check Enable Updates(as shown below)

    then click Next

  • 8/9/2019 MI07 (Factory talk historian)

    49/90

    49 of 89

    18 Change the Trend Title to Temperature Trend (as shown below) and click Finishto add the trend

    to the report.

    19. The report is now finished with actual data and a trend:

  • 8/9/2019 MI07 (Factory talk historian)

    50/90

    50 of 89

    This data is from the FT Historian ME archive. Each data event in the archive is indicated with a

    marker on the trace. For more information, right-click on the trend, select Define Trend and click

    Help.

    This concludes this section on integrating the FTHME into an existing FactoryTalk Directory using

    FTSecurity and FT DataLink to analyze data from the module. Close out of excel without saving

    the changes.

  • 8/9/2019 MI07 (Factory talk historian)

    51/90

    51 of 89

    Section 4: Aggregating data (Data Transfer) from

    FTHME to FTHSE

    The FTHME module uses a Compaq Flash card to hold its logged data. The FTHME has two sizes

    available, either a 1GB or 2GB module. Once the memory of the module becomes full of logged

    data, it will automatically begin overwriting the oldest data (circular set of archive files). For data that

    needs to be preserved for long term storage, you would need to upload the data to a FactoryTalk

    Historian SE /PI Server. In this lab, the FTHME module will transfer its logged data to the Historian

    SE Server running on your VMWare Image.

    In order for the FactoryTalk Historian SE Server to be able to receive data from FTHME modules, the

    necessary license must be installed and assigned on the server computer. This FTActivation

    configuration has been completed for you. Also, two trusts were configured to allow data transfer and

    webs (web browser application) access to the FTHSE Server.

    Note: The 1GB module has approximately 500MB for the Operating System, configuration data and

    log files. It also has approximately 500MB for the archived data.

    The 2GB module can store approximately 3 times more archived data than the 1GB module. This is

    because the additional 1GB is used all for archived data.

  • 8/9/2019 MI07 (Factory talk historian)

    52/90

    52 of 89

    1. Within the Web Browser, you are logged in using your FTSecurity user with administrator privileges.

    Click onConfigure Historian > Data Transfer. For the Host Servername, enter the IP address of

    the FTHSE Server computer (192.168.1.100). Press theTest Connectionbutton to validate the

    address and if correct press the Savebutton.

    After the Save has completed, a value appears in the Licensed Points and FTMS Points Available

    fields. The Licensed Points value is being read from the FTHSE Server. This is the maximum

    number of points that have been assigned within that FTHSE Server for FTHME points. The

    assigning of the license was completed for you. The FTMS Points Available, is the remainder of the

    Licensed Points that can still be configured for data transfer. In the example above, a 5000 tag

    license has been assigned within the FTHSE Server for FTHME points. We will use 1361 points

    against that license. Therefore, another 3649 points could be configured to be transferred from

    FTHMEs to that one FTHSE Server.

  • 8/9/2019 MI07 (Factory talk historian)

    53/90

    53 of 89

    2. By default, the Enable Auto Transferoption was checked in FTHME 2.1 (the first release). That

    means that any data point configured for data collection in the FTHME server will automatically get

    transferred to the centralized FTHSE/PI Server. The new default for FTHME 2.2 is not checkedand

    the user can either select a subset of configured points (Configure Historian>Data Transfer Points) or

    check the Enable Auto Transferto automatically transfer all configured points.

    3. To start the transfer of data to the FTHSE/PI Server, Check the Enable Auto Transferand press

    the Startbutton located under the Data Transfer Parameter section on the Configure Historian >

    Data Transferpage. You will see the Status change to Running. Behind the scenes, the FTHME

    server is checking the license in FTHSE, auto-creating the points in FTHSE and then transferring the

    logged data. It takes about 3 minutes to create the 1352 points on the FTHSE Server.

    For this lab, we configured data collection approximately 45 minutes ago. For the points configured

    to be transferred, all of their previously logged data will also be transferred. If the FTHSE/PI Server

    becomes unavailable, the data will continue to be stored on the FTHME module and once the

    FTHSE/PI Server becomes available again, will be automatically reconnected and the data transfers

    will continue. The data transfer process is making a copy of the data, it still exists on the FTHME

    module and also now exists on the FTHSE, for centrally accessed data and long term storage.

  • 8/9/2019 MI07 (Factory talk historian)

    54/90

    54 of 89

    4. Minimize the Web Browser.

    5. In this portion of the lab, we will use another FactoryTalk Client called FactoryTalk VantagePoint to

    visualize data from the FTHME module.

    FactoryTalk VantagePoint provides unified access to virtually all manufacturing/plant data sources,

    and produces web-based reports, such as dashboards, trends, X-Y plots, Microsoft Excel reports and

    more that can be used by manufacturing operators, engineers, supervisors, management and

    executives throughout the plant -- to manage cost, quality, production, assets and resources more

    effectively. FactoryTalk VantagePoint is configured to connect to Logix and FactoryTalk Historian

    (both ME and SE) so users can begin producing meaningful, pre-configured reports almost

    immediately.

    6. We will first create an instance of the production line and Tank. Launch VantagePoint Manager

    (Start > All Programs > Rockwell Software > FactoryTalk VantagePoint > Manager).

    7. The left hand pane displays the VantagePoint model (tree-like structure). Select MyEnterprise.

    8. Right-click on MyEnterpriseand select New > Folder. Name the folder InstaCorp

  • 8/9/2019 MI07 (Factory talk historian)

    55/90

    55 of 89

    9. Right-click on InstaCorpand select New > Folder. Name the folder Reports.

    Later in the lab, well place the newly created reports within this folder.

    10. Next we will create a FactoryTalk connector for our Historian data. In the VantagePoint model,

    navigate to System.Sources.FactoryTalk.

    Under the Sources folder, there are two connectors that could be used with FTHistorians, the

    FactoryTalk Integrated connector or the FactoryTalkHistorian standalone connector.

    The FactoryTalk connector is used when both the VantagePoint Server and Historian Server are part

    of the same FactoryTalk Directory (as in this lab).

    The FactoryTalk Historian connector is used when the Historian is in a different FactoryTalk Directory

    than the VantagePoint Server. This is considered a Standalone FactoryTalk Historian connector. We

    will be creating a FactoryTalk connector, not a FactoryTalkHistorian Connector.

  • 8/9/2019 MI07 (Factory talk historian)

    56/90

    56 of 89

    11. Right-click on the FactoryTalknode and select New>Item.

    12. In the User name field, enter ftadmin. In the Password field, enter ftadmin. Check the checkbox

    that states This is an existing account. Use it as the FactoryTalk user instead as shown below:

    13. Click Next.

    14. Select the option Yes, pleaseand click the Finishbutton.

  • 8/9/2019 MI07 (Factory talk historian)

    57/90

    57 of 89

    In the background, the VantagePoint Server is querying the FactoryTalk Directory to find all

    FactoryTalk LiveData Servers and all FactoryTalk Historians (both SE and ME) registered within the

    Directory.

    15. Select the option I would like to impor t FactoryTalk Historian tagsand click the Nextbutton.

  • 8/9/2019 MI07 (Factory talk historian)

    58/90

    58 of 89

    16. It has found both FTHistorians that were registered within the FactoryTalk Directory. (These were

    manually registered within the FactoryTalk Administration Console earlier in the lab). Check both

    boxesto import all the points from both the FTHME module and the FTHSE Server and press the

    Next button.

    17. To allow VantagePoint to create correlations between Live Data tags and Historian ME tags, select

    the configuration data as shown below. Click the Finishbutton.

  • 8/9/2019 MI07 (Factory talk historian)

    59/90

    59 of 89

    18. After about 2 minutes, you will see a dialog box when the import is completed, click the OKbutton.

    That represents the completion of the first Historian import, it then begins importing the points from the

    other Historian. Upon completion of the second Historian, click the OKbutton.

    19. Expand the localhost item and Historiansitem and notice that both Historians are displayed as part

    of the model.

  • 8/9/2019 MI07 (Factory talk historian)

    60/90

    60 of 89

    20. Continue to navigate to Systems.Sources.FactoryTalk.localhost.Historians.Production Historian

    ME.Tags, and you will see all of the imported Historian tags in lower left hand pane.

  • 8/9/2019 MI07 (Factory talk historian)

    61/90

    61 of 89

    Using Trend

    In this section, you will explore some of the features available in VantagePoint Trend to visualize datafrom the FTHME module

    Start Trend

    1. Launch VantagePoint Trend (Start > All Programs > Rockwell Software> FactoryTalkVantagePoint > Trend)

    2. Navigate to System.Sources.FactoryTalk.localhost.Historians.Production Historian ME.Tagsasshown below:

    3. Select the Filter Item icon:

    4. Expand the Filter by clicking the down arrow:

  • 8/9/2019 MI07 (Factory talk historian)

    62/90

    62 of 89

    5. Enter Demo_Temp.pvin the Namefield as shown below and clickApply.

    6. The list of tags is filtered to only show tags that contain Demo_Temp.pv in the tag name. Drag-and-drop the FTHDemo_1_1.T100_Demo_Temp.PVtag and theFTHDemo_1_1.T200_Demo_Temp.PVtag to the trend.

    FTHDemo_1_1.T100_Demo_Temp.PV

    FTHDemo_1_1.T200_Demo_Temp.PV

    FTHDemo_1_1.T300_Demo_Temp.PV

    The screen should look similar to the one below:

  • 8/9/2019 MI07 (Factory talk historian)

    63/90

    63 of 89

    By default, the trend displays the Last 5 minutes, this can be modified through the pull down.

    7. On the Trend tool bar, select Live Mode to get the live/refreshing trend data. By default, thelive mode will update every 1 second.

    8. On the Trend tool bar, enable the X/Ycursors to perform trace analysis.

    9. On the Trend tool bar, enable the stacking option to display the trend

    10. On the Trend tool bar, zoom in and out.

    11. On the Trend tool bar, de-select Live Mode

  • 8/9/2019 MI07 (Factory talk historian)

    64/90

    64 of 89

    Publish a Trend

    Publishing is used to make your trend report visible to any licensed FT VantagePoint user through abrowser. It facilitates process analysis by allowing users to share trends.

    13. Using the trace from the previous section, selectFile > Publish.

    14. Select the MyEnterprise.InstaCorp.Reports folder.

    15. In the Name field, enter Mixing Tank Temperatures Trend and then click the Publishbutton (asshown below):

  • 8/9/2019 MI07 (Factory talk historian)

    65/90

    65 of 89

    16. Launch VantagePoint Portal (Start > All Programs > Rockwell Software> FactoryTalk

    VantagePoint > Portal).

    The VantagePoint Portal works with Internet Explorer and is used on client computers where onlyviewing of reports is required.

    17. On the Portal menu, select Reports > MyEnterprise.

  • 8/9/2019 MI07 (Factory talk historian)

    66/90

    66 of 89

    18. Browse the tree to MyEnterprise.InstaCorp.Reports and select Mixing Tank Temperatures Trend.

    19. The Trend is generated and displayed in the pane on the right.

    ,

    20. When finished, Close VantagePoint Portal(Internet Explorer). Close VantagePoint Trend(if still

    open).

  • 8/9/2019 MI07 (Factory talk historian)

    67/90

    67 of 89

    Creating a Basic Excel Report

    In this section, you will use the VantagePoint Excel Add-in wizard to create a simple report. The wizardwill guide you through the steps necessary to bring VantagePoints rich data into Excel where it can beformatted to create powerful reports.

    1. Return to VantagePoint Manager.

    2. Navigate to System.Sources.FactoryTalk.localhost.Historians.Production Historian ME.Tagsas

    show below:

    As done previously, select the filter iconand filter on the points that contains temp.pv .

    3. Drag and drop FTHDemo_1_1.T100_Demo_Temp.PV into the recently created Reports folder. Click

    on Tank100 and ensure that the tag appears in the Item Name area as shown below:

  • 8/9/2019 MI07 (Factory talk historian)

    68/90

    68 of 89

    4. Navigate again to System.Sources.FactoryTalk.localhost.Historians.Production HistorianME.Tags

    5. Drag and drop FTHDemo_1_1.T200_Demo_Temp.PV into the recently created Reports folder.

    6. Navigate again to System.Sources.FactoryTalk.localhost.Historians.Production HistorianME.Tags

    7. Drag and drop FTHDemo_1_1.T300_Demo_Temp.PV into the recently created Reports folder.

    8. Close VantagePoint Manager.

    Create a Tank Temperature Report

    1. Launch Excel.

    2. Select VantagePointon the ribbon menu.

    3. Select Insert Functionas shown below:

  • 8/9/2019 MI07 (Factory talk historian)

    69/90

    69 of 89

    4. Select the Historyoption and click Next.

    5. Navigate to MyEnterprise.InstaCorp.Reports folder.

    6. Select the FTHDemo_1_1.T100_Demo_Temp.PV tag and move it to the right pane using the >button as shown below:

    7. Repeat Step 6 for FTHDemo_1_1.T200_Demo_Temp.PV tag andFTHDemo_1_1.T300_Demo_Temp.PV.

    8. Click Next.

  • 8/9/2019 MI07 (Factory talk historian)

    70/90

  • 8/9/2019 MI07 (Factory talk historian)

    71/90

    71 of 89

    13. Your Excel work sheet should look very similar to the one below:

    Format the Report

    1. Right-click on the tab Sheet2and select Delete. Repeat for tab Sheet3.

    2. Right-click on the sheet named Parametersand select Hide.

    3. Right-click on Sheet1, select Renameand enter Mixing Tank Temperatures.

    4. Save the Excel file with the name Mixing Tank Temperatures Report.xlsxin your My Documentsfolder.

  • 8/9/2019 MI07 (Factory talk historian)

    72/90

    72 of 89

    Publish the Report

    1. From theAdd-Instab in the ribbon, select VantagePoint > Publish.

    2. In the Report Type Selection dialog, accept the default A report wi th parametersand click Next:

    3. In the External Parameters dialog, select Tagsand click Next:

  • 8/9/2019 MI07 (Factory talk historian)

    73/90

    73 of 89

    4. In the Report Folder Selection dialog, select MyEnterprise.InstaCorp.Reports as the location to

    publish and accept Mixing Tank Temperatures Report as the name and click Next:

    5. In the Summary dialog, select Browse to published reportand click Finish. Your published report

    should be displayed in the VantagePoint Portal. Click Generate Repor t to refresh the report.

    This report is now available to any licensed VantagePoint client with a browser. Excel is not needed

    on the client computer to view the report.

    6. On the Portal menu, Reports > MyEnterprise.

    7. Navigate to MyEnterprise.InstaCorp.Reports . Your published Mixing Tank Temperatures Report

    should be located there (in addition to the Mixing Tank Temperatures Trend created earlier).

  • 8/9/2019 MI07 (Factory talk historian)

    74/90

    74 of 89

    8. That concludes this portion of the lab. We successfully integrated the FTHME module to our

    centralized FTHSE Server, transferred data to it and viewed data from the FTHME module using

    FactoryTalk Vantage Point.

  • 8/9/2019 MI07 (Factory talk historian)

    75/90

    75 of 89

    Section 5: FactoryTalk Historian Discovery Rule

    Editor Utility

    In the previous section, we used theAdd Points Wizardto auto-discover all tags that matched thedefault rule file (ADDefault.xml) and those tags were automatically created using the default tag file(FTHMETagDefault.xml). This was done from Manage Points > Add Points Wizard.

    There is an application called FactoryTalk Historian Rule Editorthat allows you to create your owncustom rule files and attribute files to auto-discover tags that are specific to your application. You use thisutility to create the .xml files you want to use, then upload those .xml files to the FTHME module. In the

    Add Points Wizard, you select your custom files to perform the auto-discovery and creation of datapoints.

  • 8/9/2019 MI07 (Factory talk historian)

    76/90

    76 of 89

    1. This application has been installed for you on the image. Launch the Rule Editor by navigating to

    Start>All Programs > Rockwell Software >FactoryTalk Historian ME > Rule Editor > Launch

    Rule Editor:

    2. Press theRule File Managementbutton to create and manage your rule files. A rule file can contain

    one or more rule files.

    3. To create a rule file, press theNewbutton and name the rule fileMyExampleRuleFilePress the OK

    button. Highlight the row and press theOpenbutton.

  • 8/9/2019 MI07 (Factory talk historian)

    77/90

    77 of 89

    4. In the middle of the dialog under Current Rule Filesection you will notice that the field

    Rule_MyExampleRuleFilehas been created and is opened. Press theNewbutton to create a

    custom rule. This Rule Editor application is used with both FTHSE and FTHME, so it contains some

    configuration information that doesnt apply directly to FTHME (like LinxEnterprise, AB-PLC).

  • 8/9/2019 MI07 (Factory talk historian)

    78/90

    78 of 89

    5. We will create a rule that finds all tags whose Name contains highspeed. Change the filtering criteria

    by selecting the drop down button and changing the value from starts withto contains then in the

    next field enter the value highspeed(see picture below).

    6. We also want to create a customized Tag Attribute file. To do this, select the drop down button under

    the Use this conf igurationheading and select .

    6. The Tag Attribute file allows you to create custom attributes for the tags that match your custom rule

    set. Example attributes for a tag are the scan rate, the data collection mode, engineering units,

    exception and compression deviations. A pressure tag would have different attributes than a flow

    type tag. This file can then be associated with one or many different custom rules.

  • 8/9/2019 MI07 (Factory talk historian)

    79/90

    79 of 89

    7. For the File Namefield, type inMyHighSpeedAttrib. Change theScan Classto(3) 0.1 seconds

    and the Data Collection mode fromAdvisedtoHigh Speed. We will leave the other values at their

    default values (Settings on the Archive Tab allow you to customize the other exposed attributes).

    ClickOKto save the file.

    NOTE: A rule of thumb for data collection is to use theAdvised and Polledoptions when the scanrate is 500 msec or greater. Use the High Speeddata collection when the scan rate is between 10msec and 500 msec.

    8. PressOKto save the custom rule then press theSavebutton to save the rule file. We created onesimple rule file that searches based on tag name. You could also create rule files that search basedon data type and members (for identifying UDTs). Press theClosebutton to exit the Discovery RuleEditor.

    9. Weve created our custom rule and attribute file and now need to upload these xml files to the

    FTHME module. Open the FTHME web interface and log in again if previous session timed out.(ftadmin/ftadmin)

    10. Navigate to theAdvanced > Upload Managementpage. Click theBrowsebutton and browse toc:\Program Files (x86)\Rockwell Software\FactoryTalk Historian ME\ME Rule Editor\. Select thefileRule_MyExampleRuleFile.xml. Press theUpload To Modulebutton. This will copy the rule fileto the FTHME module.

    11. Press theBrowsebutton and select the file TCFG_MyHighSpeedAttrib.Change the File Typeselection fromAutoDiscoveryRuleFiletoTagAttributeFilethen press the Upload To Modulebutton.

  • 8/9/2019 MI07 (Factory talk historian)

    80/90

    80 of 89

    12. Navigate in the web browser to Manage Points > Add Points Wizard. From the drop down list forthe Rule File, selectRule_MyExampleRuleFile.xml. It will then auto-populate the Tag File with theattribute file that was configured with the rule file. Change theScan Ratefrom1todefaultso thatthe scan rate in the attribute file will be used for this point discovery selection. Select the processorthat you want to autodiscover against (FTHDemo_1_1) and press theShow Tags button.

    13. It should find one matching tag. Press theCreatebutton.

    14. You can go to Manage Points > Edit Pointsand query for this newly created data point and view itsattributes. You will notice that the attributes that we defined in our custom attribute file (Scan Type=High Speed, Scan Rate= 0.1) were used to create this tag.

    We have reviewed how to create custom Rule Files and attribute files to be used for auto-discovery oftags that are meaningful to your specific application and tag naming conventions. Minimize the FTHMEweb browser.

  • 8/9/2019 MI07 (Factory talk historian)

    81/90

  • 8/9/2019 MI07 (Factory talk historian)

    82/90

    82 of 89

    1. Open the file FTHDemo.acdlocated on the desktop. This will launch RSLogix 5000. Make sure you

    are in offline mode if the window was previously minimized.

    2. In the project browser window, navigate to the I/O Configurationfolder. Expand the folder and right-

    click on the [2] 1756-HIST1Gmodule and select Delete. Select Yesto confirm the deletion.

    Now we will have you configure the Add On Profile from scratch.

    3. In the project browser window, navigate to the I/O Configurationfolder. Right click and selectNew

    Modulefrom the menu. In the Select Module Typedialog, select the Specialtyoption and select

    the Allen-Bradley option, lastly select 1756-HIST1G. Check the Close on Create option. Press the

    Createbutton to configure the module.

  • 8/9/2019 MI07 (Factory talk historian)

    83/90

    83 of 89

    4. On the General Tab, fill in theNamefield. This name does not have to be the same as the module

    name configured previously in the Web Interface. For this example, use the name MyFTHME.

    5. For the Ethernet Addressfield, enter the IP (192.168.1.115)address for your FTHME module. The

    entry is strictly for display purposes only, it does not actually set the IP address. Setting the IP

    address is done on the Internet Protocol tab.

    6. Use the drop down selection next to Slotto specify which chassis slot the FTHME module is in (forour lab, the FTHME module is located in slot 2).

  • 8/9/2019 MI07 (Factory talk historian)

    84/90

    84 of 89

    7. Click the OKbutton to save the changes you made to the offline file. Next we need to download the

    program to the controller.

    8. From the RSLogix5000 menu select Communications > Who Active. Expand the nodeAB_ETHIP-

    1and let it auto populate with devices it finds on the network. Find the IP address that corresponds to

    the Ethernet module that is in the chassis (you can confirm this by reading the IP address of the

    module as it scrolls across the LENS display).

    9. Expand the node that corresponds to your Ethernet module and keep drilling in until you can select

    the controller (controller should be in slot 1). Press the Downloadbutton.

    9. After the download is complete, place the controller in Remote Runmode.

  • 8/9/2019 MI07 (Factory talk historian)

    85/90

    85 of 89

    10. Under the Controller FTHDemofolder, double click on theController Tagsto display the controller

    scoped tags. Scroll down to find the tags Local:2:Iand Local:2:O.

    11. For this lab the FTHME is in slot 2 so its Input/Output tags appear under the folders Local:2:Iand

    Local:2:O.

  • 8/9/2019 MI07 (Factory talk historian)

    86/90

    86 of 89

    12. Review the list of Input tags and their status. As an example, we will use the AOP output tags to stop

    and restart Data Collection. Set the value for StopDataCollection to 1 and press Enter. Notice that the

    DataCollectionActive Inputstatus tag will change from 1 to 0 and the TagsActivetag will change from

    1362 to 0, since all points are taken off of scan.

    Note:The output tags are edge triggered. So once a tag is set to a one it will not be recognized again

    until it is reset to zero then set to one again.

  • 8/9/2019 MI07 (Factory talk historian)

    87/90

    87 of 89

    12. Set the StartDataCollectionvalue to 1 and press ENTER. After a couple of seconds, the

    TagsActivewill be up to 1362, theDataCollectionActivevalue will be 1 and the

    DataCollectionRate, DataTransferRateandArch iveRatetags will begin to update.

    13. Ladder can be written to monitor these statistics and programmatically start/stop data collection

    and/or datatransfer, and/or stop and start batches depending on the status of the FTHME module.

    You must write ladder logic (or manually set to 0) to reset the Output tags back to 0.

  • 8/9/2019 MI07 (Factory talk historian)

    88/90

    88 of 89

    14. In the left hand pane, select the 1756-HISTmodule under the I/O Configuration folder, right mouse

    click and select Properties from the menu.

    15. Select the Configurationtab and view the 4 built in functions that can be invoked.

    15. The functions from this page require user intervention to initiate the function.

    Restore Defaultswill completely reset the module back to the factory defaults. All configuration

    data, archives and logs are deleted and reset.

    Reset Securityis used to reset the security back to Native mode and set the PiAdmin user password

    to blank (default setting).

    Addi tional Notes speci fic to the new ME fi rmware:

    With FTHME2.2, the Restore Defaultsand Reset Securitybuttons have been enhanced to only

    execute if the user has physical access to the Module. Once either of the buttons are clicked, the

    user has 5 minutes to cycle power (remove/reinsert module or cycle power) to the module, otherwise

    those commands will be discarded. Therefore, if resetting through the AOP, the user must have

    physical access to the module.

    With FTHME2.2, two additional outputs have been added to the Modules output tags, there are

    StartDataTransfer and StopDataTransfer. Due to this change, the Module Definition revision has

    been increased from 2.1 to 3.1:

  • 8/9/2019 MI07 (Factory talk historian)

    89/90

    89 of 89

    16. Last step of the lab, resetting your FTHME module back to factory defaults without needing physical

    access to the module. In the Web Interface, click the button inAdvanced>Restore

    Defaults>Restore Defaults. This will remove all archived data, logs and configuration data to be

    ready for the next class, thanks.

  • 8/9/2019 MI07 (Factory talk historian)

    90/90