gfk1216d - cimplicity hmi tracker

of 324 /324
GE Fanuc Automation CIMPLICITY ® Monitoring and Control Products CIMPLICITY HMI Tracker Production Tracking Operation Manual GFK-1216D December 1998

Author: eduardo-nascimento

Post on 06-Dec-2015

46 views

Category:

Documents


7 download

Embed Size (px)

DESCRIPTION

Cimplicity tracker

TRANSCRIPT

  • GE Fanuc Automation

    CIMPLICITY Monitoring and Control Products

    CIMPLICITY HMI

    TrackerProduction Tracking Operation Manual

    GFK-1216D December 1998

  • GFL-002

    Warning notices are used in this publication to emphasize that hazardous voltages, currents, temperatures, or otherconditions that could cause personal injury exist in the equipment or may be associated with its use.In situations where inattention could cause either personal injury or damage to equipment, a Warning notice is used.

    Caution notices are used where equipment might be damaged if care is not taken.

    NoteNotes merely call attention to information that is especially significant to understanding and operating the equipment.

    This document is based on information available at the time of publication. While efforts have been made to be accurate,the information contained herein does not purport to cover all details or variations in hardware or software, not to providefor every possible contingency in connection with installation, operation, or maintenance. Features may be describedherein which are not present in all hardware and software systems. GE Fanuc Automation assumes no obligation ofnotice to holders of this document with respect to changes subsequently made.

    GE Fanuc Automation makes no representation of warranty, expressed, implied, or statutory with respect to, and assumesno responsibility for the accuracy, completeness, sufficiency, or usefulness of the information contained herein. Nowarranties of merchantability or fitness for purpose shall apply.

    CIMPLICITY is a registered trademark of GE Fanuc Automation North America, Inc.Windows, Windows NT, and Windows 95 are registered trademarks of Microsoft Corporation

    This manual was produced using Doc-To-Help, by WexTech Systems, Inc.

    Copyright 1996-1997 GE Fanuc Automation North America, Inc.All rights reserved

  • GFK-1216D iii

    Preface

    Contents of this ManualChapter 1. Introduction: Introduces you to CIMPLICITY HMI ProductionTracking.

    Chapter 2. Production Tracking Overview: Gives you an overview of ProductionTracking capabilities and interface requirements.

    Chapter 3. Using the Production Tracing User Interface: Discusses the optionsavailable in the Production Tracking user interface..

    Chapter 4. Configuration Requirements: Documents the configuration filesneeded for Production Tracing

    Chapter 5. Production Tracking Application Interface: Gives you informationon the application subroutine interface for Production Tracking.

    Chapter 6. PRT API Macros: Documents the macros available for ProductionTracking.

    Appendix A. PRT API Error Codes: Lists the error codes returned by ProductionTracking.

    Appendix B. Event Codes for Interested Process Updates: Documents the eventcodes available for interested process updates.

    Appendix C. Rules and Assumptions: Documents the general rules, and combinedand dispersed items tracking region rules.

    Appendix D. Using the Global Verifier: Shows you how to use the global verifierto validate and repair global sections used by Production Tracking.

    Appendix E. Basic Control Engine Extensions for Production Tracking:Discusses the Basic language extensions available for Production Tracking in theBasic Control Engine.

    Appendix F. Configurable Tracking Interface: Gives you the informationnecessary to configure and use the Configurable Tracking Interface (CTI).Appendix G. PRT Logging Configuration: Documents the configuration forODBC data logging of PRT information.

  • iv CIMPLICITY HMI Tracking Operation ManualDecember 1998 GFK-1216D

    Related PublicationsFor more information, refer to these publications:

    CIMPLICITY HMI for Windows NT and Windows 95 Tracker ProductionDecision Control Operation Manual (GFK-1218)CIMPLICITY HMI for Windows NT and Windows 95 Base System User Manual(GFK-1180)CIMPLICITY HMI for Windows NT and Windows 95 Basic Control EngineLanguage Reference Manual (GFK-1283)CIMPLICITY HMI for Windows NT and Windows 95 Basic Control EngineProgram Editor Operation Manual (GFK-1305)CIMPLICITY HMI for Windows NT and Windows 95 Basic Control Engine EventEditor and BCEUI Operation Manual (GFK-1282)

  • GFK-1216D v

    ContentsIntroduction 1-1

    About Production Tracking.................................................................................................... 1-1Production Tracking Concepts ............................................................................................... 1-2

    Production Tracking Overview 2-1What Production Tracking Does ............................................................................................ 2-1

    About the Tracking Model....................................................................................... 2-1Tracking Regions ..................................................................................................... 2-1Item Associations..................................................................................................... 2-2Item Status ............................................................................................................... 2-3Sequence Monitoring ............................................................................................... 2-4Alarms...................................................................................................................... 2-5Setpoints .................................................................................................................. 2-5Configuration Data................................................................................................... 2-5User Interface........................................................................................................... 2-5Item Tracking........................................................................................................... 2-6Reports..................................................................................................................... 2-7Interface to External Software ................................................................................. 2-7

    CIMPLICITY Software Component Interface Requirements ................................................ 2-8Point Management Process To Production Tracking Process.................................. 2-8Production Tracking Process To Alarm Management Process ................................ 2-8Application Process To Production Tracking Process ............................................. 2-8User Interface........................................................................................................... 2-8

    Using the Production Tracking User Interface 3-1Setting User Interface Parameters .......................................................................................... 3-1Starting the User Interface...................................................................................................... 3-2Add Item to Region ................................................................................................................ 3-3

    General Information................................................................................................. 3-3Attributes ................................................................................................................. 3-4Item Status ............................................................................................................... 3-6

    Insert an Item.......................................................................................................................... 3-7Delete an Item ........................................................................................................................ 3-7Modify an Item....................................................................................................................... 3-8Fetch an Item.......................................................................................................................... 3-9Move an Item ....................................................................................................................... 3-10Locate an Item...................................................................................................................... 3-11Reorder Items....................................................................................................................... 3-12Region Status ....................................................................................................................... 3-13

    Configuration Requirements 4-1Configuration Requirements................................................................................................... 4-1

  • vi CIMPLICITY HMI Tracking Operation ManualDecember 1998 GFK-1216D

    Using ASCII Text Files .......................................................................................................... 4-1Locating the Configuration Files.............................................................................. 4-2Updating the ASCII Text Version of the Configuration File ................................... 4-2

    PRT Configuration Files......................................................................................................... 4-5Production Tracking Service Record - PRT_SERVICE .......................................... 4-5Tracking Region Record - PRT_REGION............................................................... 4-8Item Type Translation - PRT_TYPE_TRN ........................................................... 4-17Tracking Route - PRT_ROUTE............................................................................. 4-18Tracking Route Invalid Type - PRT_INV_TYPE.................................................. 4-21Item Type - PRT_ITEM_TYP ............................................................................... 4-22Tracking Region Item Association - PRT_ASSOC................................................ 4-23Tracking Group - PRT_GROUP............................................................................ 4-24Tracking Group Tracking Region - PRT_GRP_REG............................................ 4-25Status Code - PRT_STATUS................................................................................. 4-26Tracking Region Item Type Display Point - PRT_DISP_PT................................. 4-28Region Item Attribute Display Point - PRT_ATT_PT........................................... 4-29Interested Process/Data provider mapping - PRT_INTPROC ............................... 4-32Production Tracking System Definitions - PRT_SYSDEF .................................... 4-33Region Attribute Counter Definitions - PRT_REG_AT ........................................ 4-35Production Tracking Standby Process - PRT_STND.CFG.................................... 4-37Production Tracking Field Labels - PRT_WINDOW.CFG............................. 4-38Production Tracking Attribute Labels - PRT_ATTRIBUTES.CFG................ 4-40

    Automated Region Validation .............................................................................................. 4-41Sequence of Events for Region Validation ............................................................ 4-42Different Scenarios for Flow of Control ................................................................ 4-44Configuration files ................................................................................................. 4-47prt_svc_val.cfg....................................................................................................... 4-49Run Time Data ....................................................................................................... 4-50PRT Region Status Bits.......................................................................................... 4-51

    The Configuration Validation Program................................................................................ 4-53The Production Tracking Import Program (PRT_IMPORT) ............................................... 4-55

    Program Elements .................................................................................................. 4-55File Naming Conventions....................................................................................... 4-55Import File Format ................................................................................................. 4-56Running the Import Program.................................................................................. 4-67

    The Production Tracking Export Program (PRT_EXPORT)............................................... 4-69Input File Format ................................................................................................... 4-69Output File Format................................................................................................. 4-71Running the Export Program.................................................................................. 4-71

    Production Tracking Processes ............................................................................................ 4-72Production Tracking Global Section Usage ......................................................................... 4-72Customizing PRT ................................................................................................................. 4-73

    Synchronization Capability .................................................................................... 4-73Alarm Move Exceptions......................................................................................... 4-73

    Production Tracking Application Interface 5-1About the Production Tracking Application Interface............................................................ 5-1Contents of the Application Subroutine Interface .................................................................. 5-1Include Files ........................................................................................................................... 5-2Run-Time Notes ..................................................................................................................... 5-2Application Subroutines ......................................................................................................... 5-3

    prt_api_init - Initialize The PRT_API Interface....................................................... 5-3prt_api_term - Terminate PRT_API Interface.......................................................... 5-5prt_api_get_req - Get Request From External Process ............................................ 5-6

  • GFK-1216D Contents vii

    prt_api_load_item - Load Serialized Item Tracking Data........................................ 5-8prt_api_load_item_hold - Load Serialized Item Hold Data ................................... 5-10prt_api_send_resp - Send Response To Production Tracking................................ 5-12prt_api_modify_item - Modify Item Tracking Data............................................... 5-13prt_api_modify_item_att - Modify Item Tracking Data Attributes........................ 5-16prt_api_modify_item_all - Modify Item Tracking Data (All) ................................ 5-18prt_api_group_hold - Activate/Deactivate Hold Specification for a Tracking Group5-22prt_api_delete_item - Delete/Scrap Item From Tracking Region Queue ............... 5-23prt_api_delete_items_at_loc - Delete/Scrap Items From Tracking Region Queue

    Location ........................................................................................................... 5-26prt_api_locate_item - Locate Serialized Item ........................................................ 5-28prt_api_req_groupitemlist - Request List Of Serialized Item IDs in a Tracking Group5-31prt_api_unload_groupitemlist - Unload List Of Serialized Item IDs in a Tracking

    Group ............................................................................................................... 5-33prt_api_req_class_itemlist - Request List Of Item Tracking Data ......................... 5-34prt_api_req_itemlist - Request List Of Item Tracking Data................................... 5-37prt_api_unload_itemlist - Unload List Of Items .................................................... 5-39prt_api_req_regionlist - Request List Of Tracking Region Data............................ 5-41prt_api_unload_regionlist - Unload List Of Tracking Region Data....................... 5-43prt_api_req_grouplist - Request List Of Tracking Group Data.............................. 5-45prt_api_unload_grouplist - Unload List Of Tracking Groups ................................ 5-47prt_api_register_intproc - Register As An Interested Process................................ 5-48prt_api_dyn_register_intproc - Register As A Dynamically Interested Process .... 5-50prt_api_intproc_region - Receive updates only from specific regions ................... 5-52prt_api_intproc_retry_connect - Send INIT Segment to all data servers ............... 5-53prt_api_get_intproc_updates - Get Interested Process Item/Region Tracking Data

    Updates ............................................................................................................ 5-54prt_api_term_intproc - Terminate PRT_API Interested Process Interface ............ 5-57prt_api_static_region_data - Copy Static Region Information Into Region Structure5-58prt_api_prod_start - Initiate Production Start For An Item.................................... 5-59prt_api_prod_stop - Enable Production Stop For An Item .................................... 5-62prt_api_add_item - Add Item To Tracking Region Queue .................................... 5-64prt_api_insert_item - Insert Item Into Tracking Region Queue ............................. 5-68prt_api_modify_region - Modify Tracking Region Data ....................................... 5-72prt_api_move_item - Move Item To Location In Tracking Region ....................... 5-73prt_api_move_item_to_detain - Move Item To Detainment Region...................... 5-76prt_api_check_route - Validate Tracking Route .................................................... 5-78prt_api_advance_model - Advance Tracking Model ............................................. 5-80prt_api_region_setpoints - Enable/Disable Tracking Region Setpoints................. 5-81prt_api_reorder_region - Reorder locations within Tracking Region .................... 5-82prt_api_next_svc - Return each successive configured PRT Service..................... 5-84prt_api_get_item_types - Return a list of all configured item types....................... 5-85prt_api_get_item_tracking_type - Return the tracking type for a specific item ..... 5-86prti_get_RCMconnection - Connect to Remote Connection Manager................... 5-87prti_term_RCMconnection - Disconnect from Remote Connection Manager ....... 5-88

    Process Resynchronization................................................................................................... 5-89

    PRT API Macros 6-1About PRT Macros ............................................................................................................... . 6-1

    Appendix A - PRT API Error Codes A-1Error codes Returned by Production Tracking...................................................................... A-1

  • viii CIMPLICITY HMI Tracking Operation ManualDecember 1998 GFK-1216D

    Appendix B - Event Codes for Interested Process Updates B-1About Event Codes.............................................................................................................. .. B-1

    Item-Related Event Codes....................................................................................... B-1Region-related Interested Process Updates ............................................................. B-4

    Appendix C - PRT Rules and Assumptions C-1General Rules .........................................................................................................................C-1Combine Items Tracking Region Rules..................................................................................C-3Disperse Items Tracking Region Rules ..................................................................................C-4Shifting Region Tracking .......................................................................................................C-6

    Configuration ...........................................................................................................C-6Operations ..............................................................................................................................C-6

    Add an item into shifting region...............................................................................C-6Insert an item into shifting region ............................................................................C-6Move an item into shifting region ............................................................................C-7Delete or Move of an item from shifting region.......................................................C-8Modify an item from shifting region ......................................................................C-10Routing...................................................................................................................C-10Process Behavior....................................................................................................C-11PRT ........................................................................................................................C-11GLB_VERIFY .......................................................................................................C-11PRT_UI..................................................................................................................C-11PRT_EXPORT/ PRT_IMPORT ............................................................................C-11PRT_GRD..............................................................................................................C-11

    Appendix D - Using the Global Verifier D-1About the Global Verifier...................................................................................................... D-1Validations and Repairs......................................................................................................... D-1

    Appendix E - Basic Control Engine Extensions for Production Tracking E-1

    PRT Object Model ............................................................................................................... ..E-1PRT Object Attributes.......................................................................................................... ..E-2

    Prt E-3PrtService.................................................................................................................E-3PrtGroup...................................................................................................................E-3PrtRegion .................................................................................................................E-3PrtItem .....................................................................................................................E-3PrtAttribute ..............................................................................................................E-3

    Prt.GetGroupList (Method) ....................................................................................................E-4Prt.GetItemList (Method) .......................................................................................................E-4Prt.GetRegionList (Method)...................................................................................................E-5Prt.GetServiceList (Method) ..................................................................................................E-5Prt.Group (Function) ..............................................................................................................E-6Prt.GroupCount (Property Read)............................................................................................E-6Prt.Item (Function) .................................................................................................................E-7Prt.ItemClassId (Property Read/Write) ..................................................................................E-7Prt.ItemCount (Property Read)...............................................................................................E-8Prt.LocateItem (Method) ........................................................................................................E-8Prt.ProjectId (Property Read/Write).......................................................................................E-9Prt.Region (Function) .............................................................................................................E-9Prt.RegionCount (Property Read) ........................................................................................E-10

  • GFK-1216D Contents ix

    Prt.Service (Function) ......................................................................................................... .E-10Prt.ServiceCount (Property Read)........................................................................................E-11PrtAttribute.Id (Property Read/Write)..................................................................................E-11PrtAttribute.Value (Property Read)......................................................................................E-11PrtCheckRoute (Method) .....................................................................................................E-12PrtGroup.ClearExtHold (Method)........................................................................................E-12PrtGroup.ExtHold (Property Read)......................................................................................E-13PrtGroup.ExtHoldReason (Property Read) ..........................................................................E-13PrtGroup.GetItemList (Method)...........................................................................................E-14PrtGroup.GetRegionList (Method) ......................................................................................E-14PrtGroup.Id (Property Read/Write)......................................................................................E-15PrtGroup.Item (Function).....................................................................................................E-15PrtGroup.ItemClassId (Property Read/Write) ......................................................................E-16PrtGroup.ItemCount (Property Read) ..................................................................................E-16PrtGroup.LocateItem (Method)............................................................................................E-17PrtGroup.Modify (Method)..................................................................................................E-17PrtGroup.ProjectId (Property Read/Write) ..........................................................................E-18PrtGroup.Region (Function).................................................................................................E-18PrtGroup.RegionCount (Property Read) ..............................................................................E-18PrtGroup.SetExtHold (Method) ...........................................................................................E-19PrtItem.Add (Method)..........................................................................................................E-20PrtItem.Attr (Function).........................................................................................................E-21PrtItem.AttrCount (Property Read) ......................................................................................E-21PrtItem.ClearModifyTime (Method) ....................................................................................E-22PrtItem.ClearStatusBit (Property Read/Write) .....................................................................E-22PrtItem.Comment (Property Read/Write).............................................................................E-23PrtItem.Delete (Property Read/Write)..................................................................................E-23PrtItem.EntryTime (Property Read) .....................................................................................E-24PrtItem.ExtHold (Property Read/Write)...............................................................................E-24PrtItem.ExtHoldGroupId(Property Read/Write) ..................................................................E-25PrtItem.ItemClassId (Property Read/Write) .........................................................................E-25PrtItem.ItemId (Property Read/Write) .................................................................................E-26PrtItem.Insert (Method)........................................................................................................E-26PrtItem.IntHold (Property Read/Write)................................................................................E-27PrtItem.IntHoldReason (Property Read/Write) ....................................................................E-27PrtItem.ItemTypeId (Property Read/Write) .........................................................................E-28PrtItem.Modify (Method).....................................................................................................E-28PrtItem.ModifyTime (Property Read) ..................................................................................E-29PrtItem.MoveTo (Method) ...................................................................................................E-29PrtItem.ParentId (Property Read/Write)...............................................................................E-30PrtItem.ProdStart (Method)..................................................................................................E-31PrtItem.ProdStop (Method)..................................................................................................E-31PrtItem.ProjectId (Property Read/Write) .............................................................................E-32PrtItem.RefId (Property Read/Write) ...................................................................................E-32PrtItem.RegionId (Property Read/Write) .............................................................................E-33PrtItem.RegionLoc (Property Read/Write) ..........................................................................E-33PrtItem.RemoveAttr(Method) ..............................................................................................E-34PrtItem.ServiceId (Property Read/Write).............................................................................E-34PrtItem.SetAttr (Method) .....................................................................................................E-35PrtItem.SetStatusBit (Method) .............................................................................................E-35PrtItem.Status (Property Read/Write) ..................................................................................E-36PrtItem.StatusBit (Function) ................................................................................................E-36PrtItem.UserId (Property Read/Write) .................................................................................E-37PrtRegion.AdvanceModel (Method) ....................................................................................E-37PrtRegion.Capacity (Property Read) ....................................................................................E-38

  • x CIMPLICITY HMI Tracking Operation ManualDecember 1998 GFK-1216D

    PrtRegion.ClearStatusBit (Method)......................................................................................E-38PrtRegion.DeleteItem (Method) ...........................................................................................E-39PrtRegion.GetData (Method) ...............................................................................................E-40PrtRegion.GetItemList (Method)..........................................................................................E-40PrtRegion.Id (Property Read/Write).....................................................................................E-41PrtRegion.Item (Function)....................................................................................................E-41PrtRegion.ItemClassId (Property Read/Write) .....................................................................E-42PrtRegion.ItemCount (Property Read) .................................................................................E-42PrtRegion.ItemType (Function)............................................................................................E-43PrtRegion.ItemTypeCount (Property Read) .........................................................................E-43PrtRegion.LocateItem (Method)...........................................................................................E-44PrtRegion.Loc (Property Read/Write)..................................................................................E-44PrtRegion.MaxLocation (Property Read).............................................................................E-45PrtRegion.Modify (Method).................................................................................................E-45PrtRegion.ProjectId (Property Read/Write) .........................................................................E-46PrtRegion.Reorder (Method)................................................................................................E-46PrtRegion.SetPoints (Method)..............................................................................................E-47PrtRegion.SetStatusBit (Method) .........................................................................................E-48PrtRegion.Status (Property Read/Write) ..............................................................................E-49PrtRegion.StatusBit (Method) ..............................................................................................E-49PrtRegion.StatusPointId (Property Read).............................................................................E-50PrtRegion.TotalItems (Property Read) .................................................................................E-50PrtRegion.TotalItemsPointId (Property Read/Write) ...........................................................E-51PrtService.GetGroupList (Method) ......................................................................................E-51PrtService.GetItemList (Method) .........................................................................................E-52PrtService.GetRegionList (Method) .....................................................................................E-52PrtService.Group (Function) ................................................................................................E-53PrtService.GroupCount (Property Read)..............................................................................E-53PrtService.Id (Property Read/Write) ....................................................................................E-54PrtService.Item (Function) ...................................................................................................E-54PrtService.ItemClassId (Property Read/Write) ....................................................................E-55PrtService.ItemCount (Property Read).................................................................................E-55PrtService.LocateItem (Method) ..........................................................................................E-56PrtService.Region (Function) ...............................................................................................E-56PrtService.RegionCount (Property Read).............................................................................E-57

    Appendix F - Configurable Tracking Interface F-1About the Configurable Tracking Interface............................................................................F-1CIMPLICITY Environment ...................................................................................................F-1CIMPLICITY Base System Configuration.............................................................................F-2Site Configuration ..................................................................................................................F-2

    SERVICE.IDT .........................................................................................................F-2LOGPROC.IDT .......................................................................................................F-3NODE_LOGPROC.IDT ..........................................................................................F-3PHYSPROC.IDT .....................................................................................................F-3MASTER.MCP........................................................................................................F-4

    Configurable Tracking Interface-Specific Configuration Files ..............................................F-5CTI / PRT Mapping File (CTI_RP.CFG) ................................................................F-6Field Layout File (CTI_RP_LAYOUT.CFG) ..........................................................F-6Field Translation File (CTI_XLATE.CFG) .............................................................F-7Point Definition File (CTI_PT_DEF.CFG)..............................................................F-8Attribute Template File (PRT_SRV_ATTR.CFG) ................................................F-11

    CTI Disable Logical .............................................................................................................F-12Layout of Data Points...........................................................................................................F-13

  • GFK-1216D Contents xi

    Application Startup .............................................................................................................. F-14System Startup ....................................................................................................... F-14

    CIMPLICITY for NT Startup .............................................................................................. F-14Point Updates ....................................................................................................................... F-15Transitions Between Regions ............................................................................................... F-15Stale Records........................................................................................................................ F-15Run-Time Diagnostics.......................................................................................................... F-16

    Debugging Logicals ............................................................................................... F-16COR_STATUS Messages...................................................................................... F-17

    Appendix G - PRT Logging Configuration G-1About PRT Data Logging...................................................................................................... G-1PRT Logging Format ............................................................................................................ G-1

    Tables...................................................................................................................... G-1Table Fields ............................................................................................................ G-2PRT_GRP ............................................................................................................... G-2PRT_ITEM ............................................................................................................. G-2PRT_REG............................................................................................................... G-4

    Configuration Files................................................................................................................ G-5Datalog.idt .............................................................................................................. G-5Data_field.idt .......................................................................................................... G-6

    Appendix H Attribute Counts by Region H-1About Attribute Counts by Region........................................................................................ H-1Configuration Files................................................................................................................ H-3Setting Up ............................................................................................................................. H-5

    Logproc................................................................................................................... H-5Node_Logproc ........................................................................................................ H-5Physproc ................................................................................................................. H-6Prt_Intproc .............................................................................................................. H-6Service .................................................................................................................... H-6master.mcp .............................................................................................................. H-6

    Related Publications..................................................................................................................vi

    Index i

  • GFK-1216D 1-1

    Introduction

    About Production TrackingProduction Tracking (PRT) is part of GE Fanucs CIMPLICITY HMI Trackerproduct option. This application module is fully integrated with CIMPLICITY HMIsoftwares Base System functionality to enhance its already powerful monitoringcapability in a full range of computer-integrated manufacturing environments.

    The Base System functionality - Point Management, Alarm Management, andDatabase Logging facilities, as well as a full-functioned User Interface - enablesCIMPLICITY HMI software users to collect data for reporting and to view data vialists, graphic status displays, and alarms. Standard data communications capabilitymakes CIMPLICITY HMI software a factory floor tool that can provide servicessuch as those listed below.

    Downtime reporting

    Production reporting

    Records of production counts at work stations

    Graphical monitoring of factory status

    Fault reporting via direct point values and alarms

    CIMPLICITY HMI softwares flexible system architecture and modular designallows for easy add-on of functionality. The Production Tracking module allows youto track items as they move through a production facility. The module will alsogenerate alarms to notify you of tracking exception conditions.

    Production Tracking has three points of operator interaction. They are:

    The PRT User Interface from which you can monitor and control yourapplication

    Configuration files that you use to define your application

    Optional application subroutines that you can use to customize yourapplication

  • 1-2 CIMPLICITY HMI Tracking Operation ManualDecember 1998 GFK-1216D

    You can use Production Tracking to:

    Receive information on Items as they move through the productionfacility;

    Request information on the contents of Regions through whichItems are being tracked;

    Add new Items to be tracked; Delete or modify Items currently being tracked; Locate specific Items being tracked;

    Place or remove external holds on tracked Items;

    Move Items between Regions.

    Production Tracking ConceptsProduction Tracking (PRT) is a specialized database designed for the purpose oftracking products as they progress through a factory.

    Each product is assigned a tracking item that represents its location andassociated attributes (for example, Color, Part number, Entry time, etc.)within the PRT database.

    Physical areas of the factory are assigned Regions in the PRT database.

    A products physical location corresponds to its tracking itemslocation, defined within PRT by its PRT Region and PRT RegionLocation.

    Products and areas are often associated in some physical or logical fashion on thefactory floor, a concept represented within PRT by a hierarchical grouping scheme.Within PRT, one or more items can exist in a single Region Location. These itemscan be associated with one another to represent the progress of a group of productsthrough the factory.

    In turn, each Region can contain one or more of these locations, representing, forexample, bins, conveyors and workstations on the factory floor that are in physical orlogical proximity to one another. One or more Regions can be placed into a PRTGroup to represent higher level associations.

    At the highest level of the hierarchy, it is possible to have multiple copies of the PRTprocess running simultaneously, each with a unique object name, called PRTServices. Each Service can support an independent list of one or more Groups. Thisgrouping scheme allows the user to search for items, or groups of items, based onseveral criteria.

  • GFK-1216D Introduction 1-3

    Items can be Added, Deleted, Moved, or Modified within the PRT database viaseveral subsystems:

    1. Transition Points - CIMPLICITY HMI points that can move items fromregion to region based upon location or identification.

    2. Basic Control Engine (BCE) - can perform all functions available inPRT.

    3. Application Programming Interface (API) - can perform all functionsavailable in PRT.

    4. Graphical User Interface (UI) - can perform all functions available inPRT.

    5. Production Decision Control (PDC) - an API based system whichallows complex routing strategies to be developed and used to controlfunctions of the physical factory.

    6. Configurable Tracking Interface (CTI) - allows items to be added,modified, and moved within the PRT Database using onlyCIMPLICITY HMI points.

  • GFK-1216D 2-1

    Production Tracking Overview

    What Production Tracking DoesProduction Tracking (PRT), tracks Items as they move through a factory productionprocess. Information about an Items location and status derives from automaticItem-identifiers, automatic Item-type detectors, user transactions, and applicationprocesses that interface with PRT. This tracking data is collected as Items enter andexit Tracking Regions. Production Tracking analyzes and updates this information,maintains a log of each Items tracking data, and generates CIMPLICITY HMIsoftware alarms to notify users of tracking exception conditions.

    About the Tracking ModelThe Production Tracking module uses a tracking model configured by users tosupport its tracking functions. The PRT Tracking Model is configured usingstandard text editors and CIMPLICITY HMI software utilities to convert the textfiles to a format compatible with the Production Tracking process. The configurationfiles are read and validated and a configuration log file is produced documenting thetracking model.

    The PRT tracking model defines the Tracking Regions, Tracking Region entry/exittransition indicators, Item types, tracking events to log (and/or generate alarms for),and information required to support the graphic display of Tracking Region and ItemAttribute data.

    The tracking model may be configured to track individual Items, Items combining toreside at a single location (Combine Items Tracking Region), combined Itemsdispersing to then reside at individual physical locations (Disperse Items TrackingRegion) and associated Items which may or may not reside at the same physicallocation in the factory.

    Tracking RegionsA Tracking Region is uniquely identified by a tracking entry transition indicatorand a tracking exit transition indicator. The Regions entry and exit indicators areresponsible for providing an Items location data. Except for "production start" and"production stop" Tracking Regions, the exit transition indicator for one Region mustalways be configured to be the entry transition indicator for a succeeding Region inthe production line.

  • 2-2 CIMPLICITY HMI Tracking Operation ManualDecember 1998 GFK-1216D

    Three types of Item tracking are supported:

    pool tracking

    sequential tracking

    shifting trackingAn Item tracked by PRT must always reside in a Tracking Region.

    Pool TrackingThere is no relative sequencing of Items within a pool Tracking Region. An Itemmust have positive Item identification in order to be tracked through the Region (firstItem in is not necessarily first Item out).Regions of tracking type DETAINMENT are treated as pool regions.

    Configured Tracking Regions may or may not map directly to physical locations onthe factory floor. If a void exists between two configured Regions in the factory, apool Tracking Region must be configured to exist between those two Regions.

    Sequential TrackingA sequential tracking Region maintains the relative sequence of the Items within theRegion (first Item in should be first Item out; otherwise an alarm is generated).

    Shifting Region TrackingShifting regions support empty locations intermixed with occupied locations. Asitems are transitioned into a shifting region, all items currently in the region areshifted by one location, and the item at the head location is transitioned to theShifting Transition Region. Items are always transitioned to the end location of theregion, not the last occupied location.

    See Shifting Regions in Appendix C.

    Item AssociationsProduction Tracking permits Item associations to be formed in two ways:

    Automatically, in a Combine Items Tracking Region

    By request; either through a user interface transaction or an applicationinterface message.

    An Item association requires two Items. The first Item must be a serialized Item; thisItem is the "parent" Item in the relationship. The second Item must be a non-serialized Item; this Item is the "child" Item in the relationship. The parent Item mayhave multiple children associated with it.

    Automatic Item associations occur in Combine Items Tracking Regions whereconfiguration data specifies the Item types which will participate in an Itemassociation and the role each Item will play in the relationship. Each time an Itementers a Combine Items Tracking Region where automatic Item associations occur,the Item type is checked to determine if this Item participates in an Item associationin this Combine Items Tracking Region. An automatic Item association takes placewhen each of the Items in the association have arrived in the Combine ItemsTracking Region.

  • GFK-1216D Production Tracking Overview 2-3

    It is also possible to associate two Items by requesting a child Item be associated witha parent Item residing in the same Tracking Region or in a separate Tracking Region.The request must specify the sequential tracking Region where the child Item resides,the non-serialized Item type of the child Item and the sequence location of the Item inthe Tracking Region.

    Item StatusA Tracking Region can be configured to affect an Items status due to Item-holdspecifications. For example, a shortage of an Item attribute occurs if a physical Itemattribute (for example, A/C or seat style) required for this Item is designated as beingin short supply in a Tracking Region in the production line.

    It is desirable for an external process to be able to modify an Items status to HOLD ifthe Item has shortage attributes. Production Tracking accepts an applicationinterface message to activate Item-hold specifications for all Items with Item attributeshortages for all Tracking Regions in a designated Tracking Group.

    Production Tracking also accepts a request to modify Item statuss for Items residingin a specified Tracking Group. Production Tracking then requests Item statusmodification information on each Item in each Tracking Region in the TrackingGroup from an external process. Thereafter, when a new Item enters a TrackingRegion where Item hold specifications have been configured, the external process isrequested for Item status information for that Item.

    Configuration data defines the external process which will provide Item-holdspecification information for Serialized Items. The external process will determine ifthe Item's status is changed to HOLD. Configuration data determines if aCIMPLICITY HMI alarm is generated when an Item's status is changed for Regionsin the Tracking Group where Item-hold specifications have been activated.

    Production Tracking also accepts a request to deactivate Item-hold specifications fora Tracking Group. If Item-hold statuss are to be modified due to the Item-holdspecification being deactivated, the external process must request all the serializedItems in the Group and modify the Item statuss for the affected Items.

    Production Tracking allows a user to modify an Item's status to HOLD. The userplaces a HOLD on an Item through a user transaction and may enter a comment toexplain the reason for the hold. Production Tracking maintains this HOLD statusseparately from the Item-hold specification HOLD placed on an Item through theapplication interface. The user may disable the internal Item-hold status through auser transaction and it will not affect the Item-hold specification HOLD. Also,deactivation of the Item-hold specification will not affect the internal hold placed onan Item by a user.

    When Production Tracking changes the status of an Item to HOLD, ProductionTracking does not actually hold the Item at that location. The Item's status isavailable to external processes through the Production Tracking application interface.The external process may then monitor the Item's status and if it has the capability,hold the Item at some location down the production line.

  • 2-4 CIMPLICITY HMI Tracking Operation ManualDecember 1998 GFK-1216D

    Sequence MonitoringA sequence error may be detected at the exit transition indicator of a sequentialTracking Region when an Item does not arrive at the transition indicator in the orderexpected. Configuration data specifies how a Tracking Region should managedetected Item sequence errors. There are five configuration options:

    1. The Item is immediately placed in this Regions detainment Region;

    2. The Items status is changed to DELAYED and after a configurednumber of Items have exited the Region, the missing Item is placed inthis Regions detainment Region;

    3. The missing Item is scrapped;

    4. The Items status is changed to DELAYED and, after a configurednumber of Items have exited the Region, the missing Item is scrapped;

    5. Do nothing - sequence monitoring disabled.

    Production Tracking allows resynchronization of the tracking environment in theevent a sequence error is detected. Production Tracking may be resynchronizedmanually or automatically.

    If Automated Region Validation is configured, sequence processing also occurswhen items in the region are reordered.

    Manual ResynchronizationManual resynchronization involves the user manually reconciling the TrackingRegion queues through the use of the Production TrackingADD/DELETE/MOVE/FETCH Item(s) functions and the REORDER Regionfunction.

    Automatic ResynchronizationAutomatic resynchronization occurs at Tracking Regions where the entry transitionindicator provides positive identification of the Item entering the destinationTracking Region and exiting the out of sequence sequential source Tracking Region.The Item exiting the sequential Tracking Region is processed by Production Trackingas configured for detected sequence errors in that Region. The positively identifiedItem entering the succeeding Tracking Region completes the automaticresynchronization of Production Tracking by insuring the correct Item information inthe tracking queue of the succeeding Region. It is assumed the sequence of the Itemsin the source Tracking Region will be incorrect until the missing Item is scrapped orthe delayed Item is removed from source Region. If the missing Item was moved tothe detainment Region assigned to the source Tracking Region, the Item is removedfrom the detainment Region and placed in the destination Region where the Item waspositively detected.

    If a region is configured with automated validation, then it will potentially,resynchronize every time an item enters the head location. See Automated RegionValidation.

  • GFK-1216D Production Tracking Overview 2-5

    Scrapping ItemsProduction Tracking allows Items to be scrapped through a user interface transactionand through an application interface message. Configuration data determines if thescrap event is to be logged. The Item ID and Type is included in the informationlogged for serialized Items and the Item Type is included in the information loggedfor non-serialized Items. Production Tracking also permits the entry of a usercomment to be logged with the Item scrapped.

    AlarmsProduction Tracking generates CIMPLICITY HMI alarms to notify users ofexception conditions detected during Item tracking. Configuration data determineswhen each alarm is to be generated on a Tracking Region basis. An alarm isgenerated if a job transitions and does not follow a pre-defined route.

    SetpointsCIMPLICITY HMI setpoints may be configured for each Tracking Region to containthe Regions status, the quantity of Items in the Region and the quantity of Items inthe Region by Item Type. A CIMPLICITY HMI setpoint can be configured to be setwhen an item moves into a tracking region due to a "point based" automatic move. ACIMPLICITY HMI setpoint can also be configured for each Region transitionindicator to be set when an Item passes that transition indicator. The point containsthe Item identifier for serialized Items and the Item type identifier for non-serializedItems. These Tracking Region points are maintained to provide information toexternal application programs.

    Configuration DataConfiguration data allows the user to specify each Tracking Region to display datagraphically and the Tracking Region attributes to be graphically displayed.Configuration data also specifies the Tracking Regions to display Item attribute dataand the Item attributes to be displayed.

    User InterfaceProduction Tracking provides user interface functions to display and manage trackingdata for Regions and tracking data for Items. The user has the capability to view allthe Tracking Regions for a tracking group, view the Items within a Tracking Region,display the detail information for an individual Item, scrap Items in a Region, movean Item to another Region, add/delete Items in a Region, reorder the Item carriers in aRegion and advance the tracking model.

  • 2-6 CIMPLICITY HMI Tracking Operation ManualDecember 1998 GFK-1216D

    Item TrackingProduction Tracking begins tracking an Item when a production start message isreceived and stops tracking an Item when the Item exits the last Tracking Region inthe production line. Production Tracking receives a request to begin tracking an Itemthrough a user transaction, the Production Tracking application interface (viamessages) or a CIMPLICITY HMI point. Production Tracking requires an Itemidentifier for serialized Items and an Item type identifier for non-serialized Items asproduction start information.

    Non-Serialized ItemsA production start request can be issued for a non-serialized Item if the Item type forthat Item will be identified later in the production process.

    Production Tracking allows production start requests for non-serialized Items tospecify an Item type as unknown. Production Tracking provides the reserved Itemtype $UNKNOWN. Production Tracking provides the capability to associate an Itemtype to an unknown Item. the association of an Item type to an unknown Item canonly take place as an Item passes a transition indicator configured as an Item typedetector. Configuration data specifies that the transition indicator is a CIMPLICITYHMI point whose value contains information providing identification of the Itemtype. This function is also available through an application interface message.

    Serialized ItemsProduction Tracking requests additional information for serialized Items to obtain theItem type, Item status and attribute data. Once Production Tracking receives andprocesses the production start information, Tracking data is then collected for theItem as it proceeds through the production process.

    If production start for a serialized Item is conveyed via a CIMPLICITYHMI point, configuration data determines if Production Tracking willrequest an external process for additional production start information.

    If the production start message is received via a user transaction or anapplication interface message, additional tracking data may be includedin the message or an external process may be queried for additionalproduction start information for serialized Items.

    Each serialized Item is uniquely identified by an Item identifier. Serialized Items canalso be identified and tracked by a reference identifier which acts as an alternate keyto locate an Item and its Item identifier. Production Tracking provides a method ofautomatically associating a reference identifier to an Item identifier throughconfiguration data. The association of the reference can only take place as an Itempasses a transition indicator configured as an automatic Item identifier. Configurationdata also specifies that the transition indicator is a CIMPLICITY HMI point whosevalue contains a character string comprising the reference identifier. This function isalso available through an application interface message.

  • GFK-1216D Production Tracking Overview 2-7

    ReportsProduction Tracking provides the capability to generate reports using logged data.The data can be logged using ODBC SQL Server software provided by Microsoft.Any reports can then be generated through the use of a report writer that can accessthat data.

    Interface to External SoftwareThe Production Tracking process provides Tracking Region data and Item trackingdata to external application programs through the Production Tracking ApplicationInterface. The Production Tracking process also accepts requests through theapplication interface to dynamically provide interested external application programswith Item tracking data modifications. The external process must send ProductionTracking a message to indicate it is requesting to become an interested process inorder to receive dynamic serialized Item updates.

    Production Tracking provides two functions, one to export tracking data to a file andone to import tracking data from a file back into the Production Tracking process.

    Export Tracking DataThe EXPORT TRACKING DATA function provides a mechanism to export thecurrent tracking data for a single Production Tracking process to a file. This functioncan be used if static configuration data must be modified (for example, ProductionTracking is shutdown to add or delete a tracking Region). The current TrackingRegion and Item tracking data is exported to create a file that can be edited to matchthe modified static configuration data.

    Import Tracking DataUsing the IMPORT TRACKING DATA function, the edited files can be reloadedinto the tracking queues without manual entry of the data for each queue.

    The IMPORT TRACKING DATA function copies exported Tracking Region andItem tracking data from the export file to the tracking queues configured for thecurrent Production Tracking process. The import and export tracking data functionscan be used to modify the tracking queues for a Production Tracking process withoutshutting down the Production Tracking process as long as Production Tracking staticconfiguration data is not modified between the export of the file and the import of theedited file.

  • 2-8 CIMPLICITY HMI Tracking Operation ManualDecember 1998 GFK-1216D

    CIMPLICITY Software Component InterfaceRequirements

    Production Tracking interfaces with the CIMPLICITY HMI base system PointManagement and Alarm Management processes, application processes, and theProduction Tracking user interface.

    Point Management Process To ProductionTracking ProcessProduction Tracking interfaces with CIMPLICITY HMI softwares PointManagement module in order to receive CIMPLICITY HMI software point datavalues. Production Tracking is capable of receiving point data from multiple PointManagement processes.

    The interface with Point Management also transfers information on Items enteringand exiting Tracking Regions, provides Point Management with information onTracking Region status, the quantity of Items in a Tracking Region and the quantityof Items by type in a Tracking Region. Configuration data specifies the informationProduction Tracking will provide to Point Management.

    Production Tracking Process To AlarmManagement ProcessProduction Tracking interfaces with Alarm Management in order to notify AlarmManagement of alarm conditions. Production Tracking can be configured togenerate alarms when exception conditions are encountered as Items are tracked.Users are notified of CIMPLICITY HMI software alarms based on their assignedrole and their view of configured Resources.

    Application Process To Production TrackingProcessProduction Tracking accepts unsolicited messages from application processesrequesting Item and Tracking Region data. Messages are also accepted requestingItem tracking data and Tracking Region data modifications. Application processescan send messages to Production Tracking to initiate production start for serializedand non-serialized Items. Application processes will communicate to ProductionTracking through a limited set of Production Tracking application functions used tosend the requests.

    User InterfaceProduction Tracking interfaces with users connected to the system through a graphicuser interface. Graphic display of Region tracking data and Item attribute data isprovided through the CIMPLICITY HMIs CIMVIEW module. The User Interfaceprovides users with a view of all regions and the data contained within those regions.

  • GFK-1216D 3-1

    Using the Production TrackingUser Interface

    Setting User Interface ParametersBy default, the Production Tracking user interface displays all regions in anyProduction Tracking system in your current project.You can pre-select the information to be displayed by a Production Tracking userinterface. To do this:

    1. Click once on the PRT User Interface icon.2. From the Program Manager File menu, select Properties....3. In the Program Item Properties dialog box Command Line input

    field, after the executable file name, specify the command linearguments you want to tailor your user interface.

    The command line arguments available to you are:-R where is a valid region name.

    Use this option if you want to display information for aparticular region.

    -S where is the PRT server to connect to inthe project.Use this option if you want to use a particular PRT server.If none is specified, all regions on any PRT system in theproject are displayed.

    -N where specifies the node or projectname that you wish to connect to.Use this option if you want to connect to a particular nodeor project.If none is specified, the connections made to the localproject.

    -P where is the path name where the configurationfiles are loaded.You must use this option if you are accessing a remoteproject.

  • 3-2 CIMPLICITY HMI Tracking Operation ManualDecember 1998 GFK-1216D

    Starting the User InterfaceTo start the CIMPLICITY HMI Production Tracking User Interface double-click thePRT User Interface icon in the CIMPLICITY HMI program group.The main Production Tracking window opens.

    The column names you see in this window are configurable and are explained in theConfiguration Requirements chapter.The current region is displayed in the Region ID field, and the number of items inthe region is displayed in the Item Count field. To display another region,

    1. Click the drop-down list button to the right of the Region ID field.The list of all configured Region IDs will be displayed.

    2. Select the region you want to display.

    The window is updated with the item count and list of items for the region youselected.

    You may use the pull-down menus at the top of the window, the toolbar buttons, andthe window pop-up menu to perform the following operations:

    Add items to a region Modify an item in a region Delete items in a region Move an item from one region to another Fetch an item from one region to another Locate a specific item in all regions Reorder the items in a region View and update a region status

  • GFK-1216D Using the Production Tracking User Interface 3-3

    Add Item to RegionTo add an item to a region, you must be currently viewing the region you want to addto. Then select Add Item from the toolbar or the Operation pull down menu. TheAdd Item dialog box box opens.

    You may enter general, attribute, and item status properties for the new item.

    General InformationThe General Information properties displays the current Region ID and lets youenter the following information for the new item.

    LocationThis field is used to place the item in a specific location in the region. A value of 0will place the new item after the item that has been highlighted.If you need to insert an item before the first item, use the Insert Before Itemtoolbar button.

    Item IDSpecify the item ID that the new item will have.

    Item TypeSelect an item type from the list of configured types.

    Item ClassSelect an item class from the list of configured classes.

    Reference IDSpecify the reference ID for this item ID.

  • 3-4 CIMPLICITY HMI Tracking Operation ManualDecember 1998 GFK-1216D

    Internal HoldAn internal hold is a hold placed by a user directly on an item. If a hold is to beplaced on the item you are adding or inserting, select the box and give the reason forthat hold in this field.

    External HoldAn external hold is a hold placed by an external process on the region, and whichaffects the item only indirectly. If a hold is to be placed on the item you are addingor inserting, select the box and give the reason for that hold in this field.

    AttributesThe Attributes properties let you select the attributes to be associated for the item,and enter a value for each attribute.

    The names of the attributes in this window are configurable. This window is adisplay only window to show you any attributes that are set.

    To add a new attribute to the end of the list, select Add. The AddAttribute dialog box opens.

    To insert a new attribute into the list, highlight the attribute where youwant the insertion to occur, then select Insert. The Insert Attributedialog box opens. The new attribute will be inserted before thehighlighted attribute.

    To delete an attribute, highlight it in the list, then select Delete. TheDelete Attribute dialog box opens.

    To modify the value of an attribute, highlight it in the list, then selectModify. The Modify Attribute dialog box opens.

  • GFK-1216D Using the Production Tracking User Interface 3-5

    Adding An AttributeWhen you select Add, the Add Attribute dialog box opens.

    Enter the name and value of the attribute you want to add. Select OK when you havecompleted, or Cancel if you do not want to add this attribute.

    Inserting An AttributeWhen you select Insert, the Insert Attribute dialog box opens.

    Enter the name and value of the attribute you want to insert. Select OK when youhave completed, or Cancel if you do not want to insert this attribute.

    Deleting An AttributeWhen you highlight an attribute, then select Delete, the Delete Attribute dialog boxopens.

    Select OK to delete the attribute, or select Cancel if you do not want to delete thisattribute.

  • 3-6 CIMPLICITY HMI Tracking Operation ManualDecember 1998 GFK-1216D

    Modifying An Attribute ValueWhen you highlight an attribute, then select Modify, the Modify Attribute dialog boxopens.

    Enter the new value for this attribute and select OK to have the value replaced forthis attribute, or select Cancel if you do not want to modify the value.

    Item StatusThe Item Status properties let you modify the status of an item.

    If you need to change the status of an item, highlight the appropriate status and selectSet or Clear Active to set accordingly. The status list in this window isconfigurable. See the Configuration Requirements chapter for further details.

  • GFK-1216D Using the Production Tracking User Interface 3-7

    Insert an ItemTo insert an item into a region, you must be currently viewing the region into whichyou want to insert the item data. Select Insert Before Location from the toolbaror the Operation pull down menu. The Insert Item dialog box opens.

    This dialog box is exactly the same as the Add Item dialog box above except thatwhen you enter -1 in the Location field, the item is inserted before the first item inthe region. Please refer to the above description of the Add Item dialog box for moreinformation on the fields and the other options available.

    Delete an ItemTo delete an item, you must first highlight the item to be deleted, then select DeleteItem from the toolbar or the Operation pull down menu. The Delete Item dialogbox opens.

    Select OK to delete the highlighted item, or select Cancel to quit the functionwithout deleting the item.

  • 3-8 CIMPLICITY HMI Tracking Operation ManualDecember 1998 GFK-1216D

    Modify an ItemTo modify an item, you must first highlight the item to be modified, then selectModify Item from the toolbar or the Operation pull down menu. The Modify Itemdialog box opens.

    This dialog box is similar to the Add Item dialog box. Please refer to the Add Itemdialog box description above for all field and option information.

  • GFK-1216D Using the Production Tracking User Interface 3-9

    Fetch an ItemTo move a user specified item from another region into the region you are currentlyusing, then select Fetch Item from the toolbar or the Operation pull down menu.The Fetch Item dialog box opens.

    In the Item Information area, specify the ID and Reference of the item you wantto fetch. You do not need to know what region that item currently resides. The UserInterface will find it for you.

    The other field you may change is the Location of where to do the insertion. If youhighlighted a field in the item list, the location field will have the highlighted fieldlocation filled in automatically. You may keep this value or change it to any othervalid value in the region you are currently displaying.

    Optionally, you may fill in a Comment as to why you are fetching the item.After you enter your information, select OK to have the item fetched. If you do notwish to fetch the item, select Cancel to return to the main window.

  • 3-10 CIMPLICITY HMI Tracking Operation ManualDecember 1998 GFK-1216D

    Move an ItemTo move an item out of the region you are currently displaying to another region,highlight the item, then select Move Item from the toolbar or the Operation pulldown menu. The Destination dialog box opens.

    Information about the item you are moving is automatically filled in for you.

    Enter the Region where you want to move the item to, and specify the Locationwhere you want the item placed in the new region.

    You may optionally enter a Comment with the description of the move or any otherpertinent information you want to enter.

    To complete the move, select OK, or select Cancel to cancel the move and return tothe main window.

  • GFK-1216D Using the Production Tracking User Interface 3-11

    Locate an ItemWhen you know the Item ID or the Reference ID of an item but you do not knowwhere that item is located, select the Locate Item option from the toolbar or fromthe Operation pull down menu. The Find Item dialog box opens.

    Enter the information that you know and select OK to find the item or select Cancelto return to the main window.

    If the item cannot be found, a pop-up window displays with the error message.

    If the item is found, the Item Location dialog box opens.

    This is a display only dialog box containing the Item ID, Reference ID, Region ID,and Location of the item..

    Select OK to close the dialog box and return to the main window.Select Go To to change your view to that of the found Region ID. This is a quickway to move to the item wherever it may reside in the PRT system.

  • 3-12 CIMPLICITY HMI Tracking Operation ManualDecember 1998 GFK-1216D

    Reorder ItemsReorder items lets you change the ordering of all items in a selected region. Choosethe region that you would like to reorder, then select Reorder Items from thetoolbar or the Operation pull down menu. The Reorder Region dialog box opens.

    This dialog box displays the region you had been viewing, the total number of itemsin the regions and a list of the items for that region. Additionally, a new column,named Orig Loc is also displayed. This column shows you what location the itemwas in when this screen was entered.

    To move an item, highlight it, then use the three push buttons located on the rightside of the window.

    To move the item up one place in the list, select Move Up. To move the item down one place in the list, select Move Down.

    To move an item over greater distances, select Edit Loc or doubleclick on the item. When you are presented with the dialog box, enterthe destination location and select OK.

    For example, to move the item in location 1 to location 10, first highlight location 1,then select Edit Loc. When you are presented with a small dialog box in which totype the destination location, enter 10 and select OK. The item in location 1 willmove to location 10, and the items that were in locations 2-10 will move to locations1-9

    When you have finished reordering the region select OK. The main window will beredisplayed with your changes.

  • GFK-1216D Using the Production Tracking User Interface 3-13

    If you do not want to reorder the region or made an error in reordering, then selectCancel. You will be returned to the main window and no changes will have beenmade.

    Region StatusUse this option to set the status bits for an entire region. When you select RegionStatus from the toolbar or the Operation pull down menu, the Region Statusdialog box opens.

    This dialog box displays a breakdown of the item types in this region and the currentsettings of the region status bits. You may also use the list box for the Region ID tochoose another region to display.

    If you need to change a region status, highlight the status you want to change andselect Set or Clear Active to set accordingly.To have these new settings take effect, select OK. The region status fields can beconfigured in the prt_status.dat file. See the Configuration Requirementschapter for more details.

    If you want to return to the main window without making any changes, selectCancel.

  • GFK-1216D 4-1

    Configuration Requirements

    Configuration RequirementsThis chapter gives System Managers the information needed to perform thefollowing:

    Configure a PRT system;

    Start up the PRT process;

    Get data into PRT (the IMPORT program); Get data out of PRT (the EXPORT program).

    Using ASCII Text FilesProduction Tracking is configured by editing ASCII versions of the ISAMconfiguration files detailed below. System configuration runtime routines access theISAM versions of these files to obtain configuration information. These files havethe extension, .DAT. ISAM files are created from ASCII text versions (which havethe extension, .IDT) which you can edit using any ASCII text editor. When configuration data is added or changed, records are added to the appropriateASCII text version of the configuration file or existing records are modified in thatfile. An ISAM version is then created from the text version by the SystemConfiguration Population Utility (SCPOP).PRT is shipped with both the .IDT and .DAT versions of each of these files. Inaddition, CIMPLICITY HMI software contains the IDTPOP utility, which producesthe .IDT version of the file from the .DAT version. The procedure for updating theconfiguration files, including an explanation of SCPOP and IDTPOP, is given below.

  • 4-2 CIMPLICITY HMI Tracking Operation ManualDecember 1998 GFK-1216D

    Locating the Configuration FilesConfiguration files are supplied with the system in the %BSM_ROOT%\datadirectory. The ISAM files are referenced by their name and the extension .DAT.The ASCII text versions of the configuration files are referenced by their name andthe extension .IDT. This section discusses updating the .IDT version of the file andconverting it to a new .DAT version using SCPOP.

    When accessing configuration data, the system follows a predetermined path tosearch for the necessary files. The path points first to the %SITE_ROOT%\datadirectory and then to the %BSM_ROOT%\data directory. Consequently, you shouldmaintain copies of site-specific configuration files in the%SITE_ROOT%\datadirectory.

    Therefore, when configuring or updating a sites configuration data, you should beworking with files in the %SITE_ROOT%\data directory. Look in this directory forthe .IDT version of the configuration file you want to edit. If present, continue yourediting session. If the .IDT version is not present, look for the .DAT version. If the.DAT ISAM version of the file is present, run IDTPOP on it to obtain the .IDTversion. If, for some reason, neither the .DAT nor the .IDT version(s) of theconfiguration file in question exists in this directory, it (they) must be copied therefrom %BSM_ROOT%\data.

    Updating the ASCII Text Version of theConfiguration FileUsing any ASCII text editor, display the .IDT version of the file.

    Since the .IDT files will be converted via SCPOP, you must heed the followingrequirements for the files format.

    1. The first line of the .IDT file must define reserved characters asfollows:

    The first character of the first line contains the delimiter which willbe used to separate data fields.

    Select a delimiter that will not occur in the data for any field.

    The second character of the first line contains the continuationcharacter. When this character is encountered at the end of a line,the next physical line is appended to create a "logical line" (thecontinuation character is removed).Select a character that will not occur in the data for any field.

    The third character of the first line contains the comment character.When this character is encountered at the beginning of a logicalline, the line is treated as a comment and ignored.

    Select a character that will not occur in the data for any field.

    All other characters on the first line are ignored.

    2. The remainder of the text file should contain a line for each recordinstance to be added to the file.

    The format is as follows: delimiter delimiter ...

  • GFK-1216D Configuration Requirements 4-3

    The following restrictions apply:

    The length of each field must be less than or equal to its configuredmaximum (but in no case greater than 250 characters).

    The length of each physical line must be less than or equal to 250characters.

    The length of each logical line after concatenating anycontinuations must be less than or equal to 2000 characters.

    The line must contain a value for each field in the record.

    The field values specified must be separated by the delimitercharacter defined in the first character of the first line.

    The order of the fields in the input file must be in the same order asthey appear in the record.

    Enter the field values according to the field type specified for the specific file you areediting (see the rest of this chapter for the specific file formats). Blank padding ofcharacter fields and leading zeros in numeric fields are done automatically. (Forexample, for a PIC 9(5) value, enter 1; This is interpreted by SCPOP as 00001.)The field values specified cannot exceed the size of the field or the file will not beupdated properly.

    Example:The following example illustrates the USER record, which contains the following sixfields:user_id 32 characters maxrole_id 16 characters maxpassword 16 characters maxuser_name 32 characters maxuser_dir 80 characters max and left blank in this examplepassword_needed 1 character

    The sample file looks like this:|-** the vertical bar is the delimiter* the hyphen is the continuation character* the asterisk is the comment character*

    *Record format:*

    *user_id|role_id|password|user_name|user_dir|password needed*

    WASHINGTON|SUPERVISOR|PRESIDENT|GEORGE WASHINGTON||Y*

    Note that if it was necessary to continue the data line, it might have been entered asfollows:WASHINGTON|SUPERVISOR|PRESIDENT|GEORGE WASHINGTON| -FLOOR1::DEV1:[WASHINGTON_G.FILES]|YWhen you are finished editing a configuration file, be sure to save it. Then you areready to create the ISAM (.DAT) version.

  • 4-4 CIMPLICITY HMI Tracking Operation ManualDecember 1998 GFK-1216D

    Executing SCPOPTo ensure that logicals such as %BSM_ROOT% are set to where your CIMPLICITYHMI software resides, do the following:

    1. Open your projects configuration cabinet.2. From the Tools menu, select Command Prompt....This will open an

    MSDOS window and set your logical names correctly.

    3. Enter cd .\master at the command prompt. This ensures that you arein the proper directory for converting and editing configuration files.

    To convert a file to its ISAM format, enter the following command at the DOSprompt.$ SCPOP The first part of the command executes SCPOP. The specifies therecord to be populated. You do not enter the extension. If execution is successful,SCPOP produces one file, as follows:%SITE_ROOT%\master\.DAT

    Using IDTPOPIf, for any reason, the .IDT version of the ISAM file is lost, you can generate anotherone using the IDTPOP ("IDT Population") utility. To do this, you must be in thedata directory of the project whose configuration you are modifying.To ensure that logicals such as %BSM_ROOT% are set to where your CIMPLICITYHMI software resides, do the following:

    1. Open your projects configuration cabinet.2. From the Tools menu, select Command Prompt....This will open an

    MSDOS window and set your logical names correctly.

    3. Enter cd .\master at the command prompt. This ensures that you arein the proper directory for converting and editing configuration files.

    To convert a file to its ASCII format, enter the following command at the DOSprompt.IDTPOP

    If execution is successful, IDTPOP produces the following file:%SITE_ROOT%\master\.IDT

    Handling ErrorsIf SCPOP encounters an error while processing the text file, it generates a self-explanatory message.

    You should correct the cause of the error and rerun SCPOP.

  • GFK-1216D Configuration Requirements 4-5

    PRT Configuration FilesThe following record layouts represent the static information requirements for a PRTsystem. Each record layout consists of the record name, a description of the recordand a list of the fields in the record.

    Note

    Unless otherwise specified, Production Tracking supports monitoring and setting ofpoints on remote projects. When configuring, create the point with the remoteproject name (for example, \\myproject\mypoint).

    Production Tracking Service Record - PRT_SERVICEThe PRT_SERVICE configuration file identifies each Production Tracking service.This file MUST be configured for Production Tracking to function.

    Record Type PRT_SERVICE

    Filenames prt_service.idt

    Edit Locations %SITE_ROOT%\master

    Production Tracking contains alarms that are not currently configurable. Thesealarms must added to the alarm configuration files. See the alarm managementdocumentation on how to add these alarms:

    PRT_DET_REG_FULL A