Cimplicity HMI 1
Cimplicity HMI 1
Warning notices are used in this publication to emphasize that hazardous voltages, currents, temperatures, or other conditions 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 provides information when careful attention must be taken in order to avoid damaging results.
Note calls attention to information that is especially significant to understanding and operating the equipment. Tip provides a suggestion. Guide provides additional directions for selected topics. 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, nor to provide for every possible contingency in connection with installation, operation, or maintenance. Features may be described herein which are not present in all hardware and software systems. GE Fanuc Automation assumes no obligation of notice 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 assumes no responsibility for the accuracy, completeness, sufficiency, or usefulness of the information contained herein. No warranties of merchantability or fitness for purpose shall apply.
CIMPLICITY is a registered trademark of GE Fanuc Automation North America, Inc. Windows NT, Windows 98 and Windows 2000 are registered trademarks of Microsoft Corporation This manual was produced using Doc-To-Help, by WexTech Systems, Inc.
Copyright 1997-2001 GE Fanuc Automation North America, Inc.
ii
GFK-1180K
Preface
GFK-1180K
iii
Chapter 19. Configuring Alarm Strings: Explains how to configure alarm strings. Chapter 20. Configuing Alarms: Explains how to configure alarms. Chapter 21. Using Alarm Audio Support: Shows you how to configure audible alarms. Chapter 22. Alarm Blocking Configuration: Shows you how to implement hierarchical alarm blocking. Chapter 23. Configuring the Alarm Printer: Shows you how to configure a printer to record alarm messages. Chapter 24. Configuring Roles: Explains how to configure roles. Chapter 25. Configuring Users: Explains how to configure users. Chapter 26. Configuring the Database Logger: Describes the Database Logger features and how to configure tables and reports. Chapter 27. Managing Database Logging: Provides ODBC and SQL configuration and management. Chapter 28. Client Configuration: Shows you how to configure default logins for CIMPLICITY HMI Viewers on client computers. Chapter 29. Using CimView: Explains the features of the graphic screen viewer. Chapter 30. Using the Point Control Panel: Shows you how to use the Point Control Panel to display point information. Chapter 31. Using Measurement Units: Explains measurement units and how to configure them. Chapter 32. System Utilities: Describes the Show Users and Program Control features of the System Utilities option. Chapter 33. System Management: Discusses system management functions such as Logical Names: Changing them CIMPLICITY HMI Software: Removing the software from a computer. Security Features: Setting a Login Password, Role Privileges, Setpoint Security, Setpoint Password and Security Audit Trail. OEM Key: Using the OEM key to temporarily convert a Runtime license to a Development license Remote Projects, Point Bridge and Enterprise Server: Configuring remote projects, point bridges to remote projects and enterprise server projects. Site Wide Installation: Using the Microsoft Systems Management Server (SMS) for sitewide installations of CIMPLICITY HMI software. Appendix A. Using Global Parameters: Describes how to use the Global Parameters application and lists and defines the global parameters for CIMPLICITY. Appendix B. Using the CIMPLICITY to Windows Server (DDE): Discusses how to use CWSERV with third-party software such as Microsoft Excel spreadsheets. Appendix C: Using CIMPLICITY HMI with CIMPLICITY Control: Shows you how to import variables from a Control folder into points in an HMI project. Appendix D: Viewing CIMPLICITY Machine Edition Point Data: Describes how CIMPLICITY HMI displays data collected from CIMPLICITY Machine Edition. Appendix E. Import/Export Configuration: Documents the Import/Export utility.
iv
GFK-1180K
Appendix F. Using CIMPLICITY HMI with Remote Access: Shows you how to use the Remote Access features of Windows NT and Windows 95 to let users with CIMPLICITY HMI Viewer software access project data through modems. Appendix G. CIMPLICITY HMI Web Gateway: Shows you how to use this feature to let users access your CIMPLICITY HMI data over the Internet. Appendix H. Registering and Licensing CIMPLICITY Software: Provides the steps to register CIMPLICITY software. Appendix I. Removing CIMPLICITY Software: Describes how to remove CIMPLICITY software from the Windows Registry. Appendix J. Resolving Problems: Discusses how to use the Status Log Viewer and system log files to find an resolve problems.
GFK-1180K
Contents
Welcome to CIMPLICITY HMI Plant Edition 1-1
Welcome ................................................................................................................................ 1-1 Distributor Telephone Numbers............................................................................................. 1-1 Customer Support................................................................................................................... 1-2
2-1
About the CIMPLICITY Workbench..................................................................................... 2-1 Opening the Workbench .......................................................................................... 2-2 Workbench at a Glance .......................................................................................................... 2-3 Multiple Workbench Windows .............................................................................................. 2-5 Opening Additional Workbench Windows on the Same Computer ......................... 2-5 Refreshing a Project Display in an open Workbench............................................... 2-6 Workbench Display Options .................................................................................................. 2-7 Expanding / Collapsing the Left Pane View ............................................................ 2-7 Changing the Right Pane View ................................................................................ 2-8 Selecting Records or Files to Display in the Right Pane.......................................... 2-9 Selecting Fields to Display in the Right Pane ........................................................ 2-15 Workbench Procedures for CIMPLICITY Projects ............................................................. 2-17 Starting a CIMPLICITY Project............................................................................ 2-17 Switching from One Project to another using the same Workbench ...................... 2-18 Copying an Existing Project to Create a New Project............................................ 2-19 Renaming a CIMPLICITY HMI Project................................................................ 2-20 Inserting a Project Shortcut in the Windows Start Menu ....................................... 2-21 Stopping a CIMPLICITY Project .......................................................................... 2-22 Dragging Items from One CIMPLICITY Project into Another ............................. 2-23 Updating a CIMPLICITY Project.......................................................................... 2-25 Record and File Configuration ............................................................................................. 2-28 Creating a New Record or File............................................................................... 2-29 Opening a Record or File for Modification............................................................ 2-30 Runtime Access.................................................................................................................... 2-32 Opening the CimView Screen................................................................................ 2-33 Opening Runtime Windows other than CimView.................................................. 2-33 Monitoring a Selected Point's Runtime Values ...................................................... 2-35 Dragging Points into the Point Control Panel ........................................................ 2-36
GFK-1180K
Contents-vii
3-1
Project Opened ....................................................................................................................... 3-1 Project Properties ................................................................................................................... 3-3 Opening the Project Properties Dialog Box ............................................................. 3-3 Configuring Project Properties................................................................................. 3-4 Using the Project Properties Settings Tab................................................................ 3-7 CIMPLICITY Project Wizard................................................................................................ 3-9 Enabling the Project Wizard through the New Project Dialog Box ......................... 3-9 Enabling the Project Wizard Though the Workbench............................................ 3-10 Project Shortcut in the Windows Start Menu ....................................................................... 3-11 CIMPLICITY Options ......................................................................................................... 3-12 Opening the CIMPLICITY Options Dialog Box ................................................... 3-12 Setting CIMPLICITY Projects Options ................................................................. 3-12 Setting Startup Options .......................................................................................... 3-15 Starting CimView Screens Automatically on a Windows 98 Viewer..................... 3-18 CIMPLICITY Program Layers............................................................................................. 3-23 About Configuration Updates............................................................................................... 3-24 CIMPLICITY Login............................................................................................................. 3-25 CIMPLICITY Project to Diskette ........................................................................................ 3-27 CIMPLICITY Command Line Options................................................................................ 3-28
Understanding Points
4-1
About Points........................................................................................................................... 4-1 Categorizing Points .................................................................................................. 4-2 Naming Points.......................................................................................................... 4-2 Setpoint Security .................................................................................................................... 4-5 Opening the Point Setup Dialog Box ....................................................................... 4-5 Specifying Security for Points.................................................................................. 4-6
5-1
About Quick Device Setup ..................................................................................................... 5-1 Step 1. Enable a Protocol in a CIMPLICITY Project .............................................. 5-2 Step 2. Add a Device to your CIMPLICITY Project ............................................... 5-3
6-1
About Device Point Configuration ......................................................................................... 6-1 New Device Points ................................................................................................................. 6-2 Device Point Basic Configuration .......................................................................................... 6-3 Selecting the Device Points Data Type................................................................... 6-3 Using Arrays ............................................................................................................ 6-6 Entering Addressing Specifications for a Device Point ........................................... 6-8 Advanced Device Point Configuration ................................................................................. 6-15 Entering Advanced General Specifications for Device Points ............................... 6-15 Entering Advanced Device Point Specifications.................................................... 6-20 Reviewing the Trigger Function............................................................................. 6-24 Reviewing the Delay Load Function ...................................................................... 6-28
Contents-viii
GFK-1180K
Point Conversions and Enumeration .................................................................................... 6-29 Displaying the Point Properties Conversion Tab ................................................... 6-30 Configuring Base Point Engineering Units ............................................................ 6-31 Configuring the Conversion Type for a Device Point............................................ 6-34 Configuring a Point as an Enumeration Point ........................................................ 6-37 Device Point Quality Support at Runtime ............................................................................ 6-44
7-1
About Virtual Point Configuration ......................................................................................... 7-1 New Virtual Points ................................................................................................................. 7-2 Virtual Point Basic Configuration .......................................................................................... 7-3 Selecting the Virtual Point's Data Type ................................................................... 7-3 Using Arrays ............................................................................................................ 7-5 Entering Initialization Specifications for a Virtual Point ......................................... 7-6 Specifying how Virtual Point Values are Stored...................................................... 7-9 Advanced Virtual Point Configuration................................................................................. 7-12 Entering Advanced General Specifications for Virtual Points ............................... 7-12 Configuring Advanced Virtual Calculations .......................................................... 7-19 Understanding the Trigger Function for Virtual Points.......................................... 7-45 Specifying Point Measurement Units or Point Enumeration.................................. 7-46 About the Expression Editor ................................................................................................ 7-47 Alarm Functions..................................................................................................... 7-49 Arithmetic Operations............................................................................................ 7-50 Bitwise Operations................................................................................................. 7-51 Conversion Operation ............................................................................................ 7-52 Logical Operations................................................................................................. 7-52 Relational Operations............................................................................................. 7-53 Scientific Operations.............................................................................................. 7-54 Runtime Notes for Virtual Points ......................................................................................... 7-55
8-1
About Point View, Limits and Alarms ................................................................................... 8-1 Point View.............................................................................................................................. 8-2 Associating a CimView Screen with a Point............................................................ 8-2 Configuring Analog Point Display Characteristics .................................................. 8-3 Point Limits............................................................................................................................ 8-7 Displaying the Limits Tab........................................................................................ 8-7 Configuring Range Limits........................................................................................ 8-7 Configuring Setpoint Limits for a Point................................................................... 8-9 Alarms in Point Configuration ............................................................................................. 8-10 Configuring the Basic Alarm Tab .......................................................................... 8-10 Displaying the Advanced Alarm Tabs ................................................................... 8-13 Configuring the Advanced Alarm Tab ................................................................... 8-14 Routing Alarms ...................................................................................................... 8-30 Setting Alarm Options............................................................................................ 8-33
9-1
About the Workbench Point Display...................................................................................... 9-1 Customizing the Point List in the Workbench.......................................................... 9-1 Selecting Fields to Display in the Workbench ......................................................... 9-6 Reviewing Point Field Definitions in the Workbench.............................................. 9-8
GFK-1180K
Contents
Contents-ix
10-1
About Point Attributes.......................................................................................................... 10-1 User Defined Point Attributes .............................................................................................. 10-2 Viewing a Project's Existing Point Attribute Sets .................................................. 10-3 Creating a New Point Attribute Set ........................................................................ 10-3 Editing an Existing Attribute Set............................................................................ 10-9 Attributes Applied .............................................................................................................. 10-11 Quality Attributes ............................................................................................................... 10-17 Runtime Attributes ............................................................................................................. 10-21 Configuration Attributes..................................................................................................... 10-22 Point Attribute Security...................................................................................................... 10-41
Configuring Classes
11-1
Classes and Class Objects Overview.................................................................................... 11-1 Class-Object Evolution and Construction Overview ............................................................ 11-2 Class Configuration .............................................................................................................. 11-7 Step 1. Plan a Class .............................................................................................................. 11-8 Task 1. Determine the Class Application ............................................................... 11-9 Task 2. Determine the Data to be Collected........................................................... 11-9 Task 3. Map a Layout of how Memory is Stored in Class Devices...................... 11-10 Task 4. Determine the Calculations needed for the Data ..................................... 11-11 Task 5. Define Class Scripts, Actions and Events................................................ 11-12 Step 2. Create a Class ......................................................................................................... 11-13 Step 3. Configure Class Attributes ..................................................................................... 11-15 Step 3. Configure Class Attributes Task 1. Review CIMPLICITY Class Attributes........................................................................................................ 11-16 Step 3. Configure Class Attributes Task 2. Create a Custom Attribute................ 11-17 Step 3. Configure Class Attributes Task 3. Configure a Class Attribute Definition ....................................................................................................... 11-18 Step 3. Configure Class Attributes Task 4. Configure the Attribute's Field that displays in the Object Dialog Box.................................................................. 11-21 Step 4. Configure Data Items ............................................................................................. 11-24 Step 4. Configure Data Items Task 1. Create a Data Item.................................... 11-26 Step 4. Configure Data Items Task 2. Begin Data Item Configuration ................ 11-27 Step 4. Configure Data Items Task 3A. Use CIMPLICITY Class Attributes for Configuration.................................................................................................. 11-29 Step 4. Configure Data Items Task 2B. Use String Expressions in Data Item Fields...................................................................................................... 11-32 Step 4. Configure Data Items Task 3C. Use Numeric Expressions in Data Item Fields...................................................................................................... 11-36 Step 4. Configure Data Items Task 3D. Use Address Adjustment Expressions ... 11-41 Understanding Data Item Options........................................................................ 11-44 Step 5. Write Class Scripts ................................................................................................. 11-46 Step 5. Write Class Scripts Task 1. Create a Class Script.................................... 11-48 Step 5. Write Class Scripts Task 2. Write a Class Script through the Scripts Tab ..................................................................................................... 11-49 Step 6. Configure Class Actions......................................................................................... 11-50 Step 6. Configure Class Actions Task 1. Create a Class Action........................... 11-52 Step 6. Configure Class Actions Task 2. Define a Class Action .......................... 11-53 Step 7. Configure Class Events .......................................................................................... 11-57 Step 7. Configure Class Events Task 2. Create a Class Event.............................. 11-59 Step 7. Configure Class Events Task 2. Configure a Class Event ........................ 11-60
Contents-x
GFK-1180K
Step 8. Configure a Class CimEdit Screen ......................................................................... 11-64 Step 8. Configure a Class CimEdit Screen Task 1. Place the required objects on a screen. ............................................................................................................ 11-65 Step 8. Configure a Class CimEdit Screen Task 2. Group the Objects. ............... 11-66 Step 8. Configure a Class CimEdit Screen Task 3. Configure the Top-level Group Object.................................................................................................. 11-68 Step 8. Configure a Class CimEdit Screen Task 4. Assign Properties to Objects within the Group............................................................................................. 11-71 Step 8. Configure a Class CimEdit Screen Task 5. Associate the Screen with its Class .................................................................................................. 11-74 Step 9. Create a Class Help File ......................................................................................... 11-77 Step 10. Export or Import a Class ...................................................................................... 11-78 Step 10. Export or Import a Class Task 1. Export a Class ................................... 11-78 Step 10. Export or Import a Class Task 2. Import a Class ................................... 11-79 Definitions for Classes Terminology.................................................................................. 11-81
12-1
About Class Objects ............................................................................................................. 12-1 Reviewing a Class to Object Evolution (Overview)............................................... 12-3 Class Object Configuration .................................................................................................. 12-5 Step 1. Import a Class into your Project ................................................................ 12-5 Step 2. Create a Class Object................................................................................. 12-7 Step 3. Assign Values to the Class Object ............................................................. 12-8 Step 4. Add a Class Object to a Project ............................................................... 12-10 Step 5. Display Class Object Graphics in CimEdit/CimView.............................. 12-13
13-1
14-1
About Point Cross Reference ............................................................................................... 14-1 Opening the Point Cross Reference Window......................................................... 14-2 Building a Points Cross Reference Database ......................................................... 14-3 Viewing Points in the Point Cross Reference Window.......................................... 14-4 Focusing on One Point........................................................................................... 14-9 Maintaining a Current Point Cross Reference Database ...................................... 14-11 Opening a Different CIMPLICITY HMI Project................................................. 14-13
Device Configuration
15-1
About Devices...................................................................................................................... 15-1 Device Configuration ........................................................................................................... 15-1 Viewing a Device's Details in the Workbench. ...................................................... 15-2 Creating a New Device .......................................................................................... 15-3 Modifying an Existing Device ............................................................................... 15-4 Configuring Device General Properties ................................................................. 15-5 Configuring Device-Specific Properties ................................................................ 15-6
GFK-1180K
Contents
Contents-xi
Configuring Resources
16-1
About Resources................................................................................................................... 16-1 Resource Configuration........................................................................................................ 16-2 Creating A New Resource...................................................................................... 16-2 Configuring a Resource Definition ........................................................................ 16-3
Configuring Ports
17-1
About Ports........................................................................................................................... 17-1 Port Configuration................................................................................................................ 17-2 Creating A New Port.............................................................................................. 17-3 Modifying an Existing Port .................................................................................... 17-4 Configuring Port General Properties...................................................................... 17-5 Configuring Port-Specific Properties ..................................................................... 17-7 Procedure to Change a Port's Protocol ................................................................................. 17-8
18-1
About Alarm Classes ............................................................................................................ 18-1 Alarm Class Configuration ................................................................................................... 18-1 Step 1. Open the Alarm Class Configuration Dialog Box...................................... 18-1 Step 2. Enter Alarm Class Specifications............................................................... 18-4 Step 3. Select Sound for an Alarm Class................................................................ 18-6 Alarm Class Color Assignments........................................................................................... 18-9
19-1
About Alarm Strings............................................................................................................. 19-1 Alarm String Configuration.................................................................................................. 19-3 Step 1. View Existing Alarm Strings...................................................................... 19-3 Step 2A. Create an Alarm String............................................................................ 19-4 Step 2B. Open an Existing Alarm String Index Dialog Box .................................. 19-5 Step 3. Configure an Alarm String Index ............................................................... 19-6
Configuring Alarms
20-1
About Alarms ....................................................................................................................... 20-1 Viewing Alarms in the Alarms Folder.................................................................... 20-1 Reviewing CIMPLICITY Event Alarms ................................................................ 20-2 Alarm Configuration............................................................................................................. 20-4 Step 1. Create an Event Alarm ............................................................................... 20-4 Step 2A. Configure an Event Alarm Definition ..................................................... 20-5 Step 2B. Configure a Point Alarm Definition ........................................................ 20-7 Step 3. Configure Alarm Routing........................................................................... 20-9 Step 4. Configure Alarm Options......................................................................... 20-10 Step 5. Select whether or not to Store Alarm Comments ..................................... 20-11
Contents-xii
GFK-1180K
21-1
About Alarm Audio Support ................................................................................................ 21-1 Alarm Audio Support Configuration .................................................................................... 21-2 Step 1. Configure Sound for Relevant Alarm Classes .......................................................... 21-2 Step 2. Open the Alarm Sound Manager Dialog Box........................................................... 21-3 Step 3. Add Projects to a Sound Manager Profile ................................................................ 21-4 Step 3. Add Projects to a Sound Manager Profile Task 1. Configure Projects to add to the List ......................................................................................................... 21-4 Step 3. Add Projects to a Sound Manager Profile Task 2. Save an Alarm Sound Profile............................................................................................................... 21-6 Step 4. Configure Runtime Sound Options .......................................................................... 21-7 Step 4. Configure Runtime Sound Options Task 1. Select Alarm Sound Priorities21-7 Step 4. Configure Runtime Sound Options Task 2. Specify Sound Conditions ..... 21-9 Step 4. Configure Runtime Sound Options Task 3. Save the Alarm Sound Profile21-10 Step 5. Auto-start the Alarm Sound Manager..................................................................... 21-11 Step 5. Auto-start the Alarm Sound Manager Task 1. Make Auto-start Specifications21-11 Step 5. Auto-start the Alarm Sound Manager Task 2. Save the Sound Manager Profile............................................................................................................. 21-12 Step 6. Use Alarm Sound Manager Tools .......................................................................... 21-13
22-1
About Alarm Blocking ......................................................................................................... 22-1 Assigning Alarms................................................................................................... 22-2 Choosing Blocking Modes..................................................................................... 22-2 Assigning Alarm Priorities..................................................................................... 22-2 Alarm Blocking Rules............................................................................................ 22-3 Alarm Blocking Configuration............................................................................................. 22-4 Creating A New Alarm Blocking Group................................................................ 22-4 Modifying an Existing Alarm Blocking Dialog Box.............................................. 22-5 Configuring an Alarm Blocking Group.................................................................. 22-6 Adding an Alarm.................................................................................................... 22-7 Removing an Alarm ............................................................................................... 22-7 Modifying an Alarm............................................................................................... 22-8
23-1
About Alarm Printer Configuration...................................................................................... 23-1 Alarm Printer Selection ........................................................................................................ 23-1 Adding an Alarm Printer........................................................................................ 23-2 Modifying an Existing Alarm Printer..................................................................... 23-3 Alarm Printer Configuration................................................................................................. 23-4 Configuring General Alarm Printer Properties....................................................... 23-4 Configuring Alarm Printer Layout Properties ........................................................ 23-7 Configuring Alarm Printer Date/Time Format....................................................... 23-8 Redundant Alarm Printers .................................................................................................. 23-10 Additional Steps for Serial Printers.................................................................................... 23-11 Additional Steps for Network Printers ............................................................................... 23-12 About Alarm Printer Global Parameters ............................................................................ 23-13
GFK-1180K
Contents
Contents-xiii
Configuring Roles
24-1
About Roles.......................................................................................................................... 24-1 Role Configuration ............................................................................................................... 24-2 Beginning Role Configuration ............................................................................... 24-2 Assigning Role Application Privileges................................................................... 24-4 Assigning Role Calendar Privileges....................................................................... 24-6 Assigning Role Configuration Privileges ............................................................... 24-7
Configuring Users
25-1
About Users.......................................................................................................................... 25-1 User Configuration ............................................................................................................... 25-2 Step 1. Begin User Configuration .......................................................................... 25-2 Step 2. Configure User General Properties ............................................................ 25-5 Step 3. Configure User Resource Properties .......................................................... 25-7 Runtime User Properties....................................................................................................... 25-8 Configuring Runtime User Properties .................................................................... 25-8
26-1
About the Database Logger .................................................................................................. 26-1 Database Logger Configuration Overview ........................................................................... 26-2 Understanding Hardware and Database Logger Performance................................ 26-3 Opening the Database Logger Window ................................................................. 26-4 Understanding the Database Logger Configuration Hierarchy............................... 26-5 Database Logger File Management Functions.................................................................... 26-10 Creating a New CIMPLICITY Logging Table..................................................... 26-10 Opening an Existing Logging Table..................................................................... 26-11 Copying an Existing CIMPLICITY Logging Table to a New Logging Table ..... 26-12 Renaming a CIMPLICITY Logging Table .......................................................... 26-13 Deleting a CIMPLICITY Logging Table............................................................. 26-14 Filtering CIMPLICITY Table Lists ..................................................................... 26-15 Activating Dynamic Configuration ...................................................................... 26-16 Reconciling a CIMPLICITY table with a Logging Database............................... 26-17 Closing a CIMPLICITY Logging Table .............................................................. 26-19 Exiting the Database Logger Configuration Window .......................................... 26-20 Database Logger Default Logging Properties .................................................................... 26-21 Opening the Logging Properties Dialog Box ....................................................... 26-21 Entering Database Logger Default Parameters .................................................... 26-22 Entering Database Logger Defaults for Alarm, Event and Application Logs ...... 26-25 Entering Database Logger Defaults for Point and Group Point Logs .................. 26-28 Point Data Logging ............................................................................................................ 26-29 Step 1. Choose a CIMPLICITY Data Table ........................................................ 26-30 Step 2. Add Points to a CIMPLICITY Data Log Table ....................................... 26-32 Step 3. Configure CIMPLICITY Point Data Logging Properties ........................ 26-35 Step 4. Configure Logging Conditions for a Single Point.................................... 26-50 Group Point Logging.......................................................................................................... 26-55 Step 1. Choose a Group Log Table ...................................................................... 26-56 Step 2. Add Points to a CIMPLICITY Group Table............................................ 26-59 Step 3. Configure Group Logging Properties....................................................... 26-60 Step 4. Configure Logging Attributes for a Single Point ..................................... 26-68
Contents-xiv
GFK-1180K
Alarm Logging ................................................................................................................... 26-69 Step 1. Review System Alarms in the ALARM_LOG ......................................... 26-71 Step 2. Add Point Alarms and Alarms to the ALARM_LOG Table .................... 26-73 Step 3. Configure Alarm Logging Properties....................................................... 26-75 Step 4. Configure Logging Conditions for a Single Alarm .................................. 26-83 Event Alarm Logging ......................................................................................................... 26-85 Step 1. Review System Alarms in the EVENT_LOG .......................................... 26-87 Step 2. Add Point Alarms and Alarms to the EVENT_LOG ............................... 26-89 Step 3. Configure Event Alarm Logging Properties............................................. 26-91 Step 4. Configure Logging Conditions for a Single Event Alarm........................ 26-98 Event Management Logging ............................................................................................ 26-100 Step 1. Add Event Actions to the EM_LOG ...................................................... 26-101 Step 2. Configure EM_LOG Properties ............................................................. 26-103 Application Logging......................................................................................................... 26-109 CIMPLICITY Log Reports .............................................................................................. 26-110 Using Excel Reports .......................................................................................... 26-110 Installing MS Query to Use with Database Logging.......................................... 26-111 Reporting Individual Point Logged Data ........................................................... 26-115 Reporting Group Logged Data in a Trend Report.............................................. 26-118 Reporting Alarm or Event Alarms Logged Data................................................ 26-121 Automatic Report Printing Configuration ........................................................................ 26-124 Step 1. Configure the CIMPLICITY Service to Access a Printer ...................... 26-124 Step 2. Create a Script........................................................................................ 26-126 Step 3. Create an Event to Trigger an Automatic Report................................... 26-128
27-1
About Database Logging Management ................................................................................ 27-1 ODBC Configuration ........................................................................................................... 27-1 Using ODBC Drivers and Data Sources for Database Logging Overview ............ 27-2 Configuring SQL Server Data Sources .................................................................. 27-4 Using CIMPLICITY SQL...................................................................................... 27-6 Configuring Microsoft Access Data Sources ......................................................... 27-6 Configuring Oracle ................................................................................................ 27-6 Configuring Oracle for CIMPLICITY HMI .......................................................... 27-7 Database Management for SQL Server ................................................................................ 27-9 Configuring Additional Locks ............................................................................... 27-9 Checking if Microsoft SQL Server Service is Running ....................................... 27-10 Handling Default Database Server Limitations.................................................... 27-10 Handling the Transaction Log.............................................................................. 27-11 About Creating Tables ....................................................................................................... 27-13 Table Characteristics.......................................................................................................... 27-13 Column Definitions.............................................................................................. 27-13 Key Definitions .................................................................................................... 27-14 Database-Disconnect-Recovery.......................................................................................... 27-15 Using Reconnect Wait Period .............................................................................. 27-15 Using Store and Forward ..................................................................................... 27-15
Client Configuration
28-1
About Client Configuration.................................................................................................. 28-1 Creating a New Client............................................................................................ 28-1 Configuring Client Properties ................................................................................ 28-3
GFK-1180K
Contents
Contents-xv
Using CimView
29-1
About CimView.................................................................................................................... 29-1 CimView Opened ................................................................................................................. 29-2 Opening CimView on a Configuration Server or Viewer....................................... 29-2 Opening Alarm Viewer on a Runtime Server or Viewer........................................ 29-3 Typical Windows Application Tasks Available in CimView............................................... 29-4 Opening Other CimView Screens .......................................................................... 29-4 Flushing Cached Screens ....................................................................................... 29-5 Distributing Copies of CimView Screens and Files ............................................... 29-5 Displaying the Toolbar, Menu and/or Status Bar ................................................... 29-7 Going Back to Other CimView Screens................................................................. 29-8 Zooming the CimView Size ................................................................................... 29-9 CIMPLICITY Runtime Features ........................................................................................ 29-11 Opening the Point Control Panel through CimView ............................................ 29-11 Opening Quick Trends through CimView............................................................ 29-12 Setpoint Actions ................................................................................................................. 29-13 Executing Slider Setpoints ................................................................................... 29-13 Entering a Value for a Setpoint ............................................................................ 29-15 Help for a Selected Object ................................................................................................. 29-16 CimView Configuration Issues........................................................................................... 29-16
30-1
About the Point Control Panel.............................................................................................. 30-1 Procedure to Open the Point Control Panel.......................................................................... 30-2 Point Control Panel Files...................................................................................................... 30-4 Displaying a New Point Control Panel File............................................................ 30-4 Opening an Existing Point Control Panel File........................................................ 30-5 Saving a Point Control Panel File .......................................................................... 30-7 Installing a Shortcut of a Point Control Panel File................................................. 30-8 Printing a Point Control Panel Document .............................................................. 30-9 Exiting the Point Control Panel............................................................................ 30-11 Procedures for any Point in the Point Control Panel .......................................................... 30-12 Adding Points to the Point Control Panel ............................................................ 30-12 Changing Font Colors in the Point Control Panel ................................................ 30-17 Deleting a Point from the Point Control Panel..................................................... 30-18 Manual Points in the Point Control Panel........................................................................... 30-19 Adding Manual Points to the Point Control Panel ............................................... 30-19 Enabling and Disabling Manual Mode Points...................................................... 30-20 Basic Point Properties in the Point Control Panel .............................................................. 30-22 Using the Detail Tab in the (PCP) Point Properties Dialog Box.......................... 30-22 Opening a Point's Detailed Point Properties Dialog Box ..................................... 30-23 Alarms in the Point Control Panel ...................................................................................... 30-25 Adding Points with Disabled or Modified Alarms to the Point Control Panel..... 30-25 Changing and Restoring Alarm Limits through the Point Control Panel.............. 30-26 Disabling an Alarm through the Point Control Panel ........................................... 30-28 Enabling an Alarm through the Point Control Panel ............................................ 30-29 Arrays in the Point Control Panel....................................................................................... 30-30
Contents-xvi
GFK-1180K
31-1
About Measurement Units.................................................................................................... 31-1 Measurement Systems and Units Configuration................................................................... 31-2 Starting Measurement Units................................................................................... 31-3 Adding a New Measurement System ..................................................................... 31-4 Copying a Measurement System ............................................................................ 31-5 Renaming a Measurement System ......................................................................... 31-5 Creating a Base Measurement Unit........................................................................ 31-6 Editing Base Measurement Unit Properties ........................................................... 31-7 Defining an Equivalent Unit .................................................................................. 31-7 Copying a Measurement Unit .............................................................................. 31-10 Renaming a Measurement Unit............................................................................ 31-10 Deleting a Measurement Unit .............................................................................. 31-11 Active Measurement System Specifications....................................................................... 31-12 Specifying the Active Measurement System From the Measurement Units Configuration Window................................................................................... 31-12 Specifying the Active Measurement System From the Project Properties Dialog box...................................................................................................... 31-13 Some Guidelines for Measurement Units........................................................................... 31-14 Floating Point Numbers vs. Integers .................................................................... 31-14 Derived Points...................................................................................................... 31-16 CimEdit Management of Animated Objects ........................................................ 31-17 CimView Scripts .................................................................................................. 31-18 Event Manager and Basic Control Engine ........................................................... 31-19
System Utilities
32-1
About System Utilities ......................................................................................................... 32-1 About Show Users................................................................................................................ 32-2 Using Show Users.................................................................................................. 32-2 Using Show Users Window Menu and Tools ........................................................ 32-8 About the Login Panel........................................................................................................ 32-12 Steps for Using the Login Panel......................................................................................... 32-13 Step 1. Start the Login Panel................................................................................ 32-13 Step 2. Administer the Login Panel ..................................................................... 32-14 Step 3. Log out of a Project through the Login Panel .......................................... 32-18 Step 4. Log Back into a Project through the Login Panel .................................... 32-19 Login Panel Menu and Tools ............................................................................................. 32-20 Reviewing Login Panel Menu Options ................................................................ 32-20 Using Login Panel Toolbar Buttons..................................................................... 32-21 Using Login Panel Shortcut Keys ........................................................................ 32-21 About Process Control ....................................................................................................... 32-22 Step 1. Start Process Control ............................................................................... 32-22 Step 2. Connect to a Project in CIMPLICITY Process Control........................... 32-24 Step 3. Determine CIMPLICITY Process Status ................................................. 32-26 Step 4. Determine the Correct Startup and Shutdown Order ............................... 32-27 Step 5. Start Processes ......................................................................................... 32-27 Step 6. Stop Processes ......................................................................................... 32-28 Step 7. Refresh the Process List........................................................................... 32-29 Step 8. Connect to a Different Project ................................................................. 32-29 Step 9. Exit Process Control ................................................................................ 32-30
GFK-1180K
Contents
Contents-xvii
System Management
33-1
About System Management.................................................................................................. 33-1 Logical Names...................................................................................................................... 33-2 Modifying Base System Logical Names ................................................................ 33-2 Modifying Device Communications Logical Names.............................................. 33-4 Editing the Log_names.cfg File ............................................................................. 33-5 Login Information Deleted ................................................................................................... 33-6 Registry Information Removed ............................................................................................ 33-7 Removing Windows 95 Registry Information........................................................ 33-7 Removing Windows NT Registry Information ...................................................... 33-8 Site Wide Installation ........................................................................................................... 33-9 About Microsoft System Management Server (SMS) ........................................................ 33-10 How Client Package Distribution Works ............................................................. 33-11 CIMPLICITY HMI Site Wide Installation Procedure........................................................ 33-13 Creating the Application Source Directory .......................................................... 33-13 Creating SMS Package for CIMPLICITY HMI installation ................................ 33-15 Creating Job for CIMPLICITY HMI Installation ................................................ 33-16 CIMPLICITY Security Features ........................................................................................ 33-18 Choosing to Use Login Passwords ....................................................................... 33-18 Reviewing Role Privilege Options ....................................................................... 33-18 Dealing with Setpoint Security............................................................................. 33-19 Dealing with Setpoint Password........................................................................... 33-19 Reviewing Security Audit Trail Options .............................................................. 33-19 OEM Key ........................................................................................................................... 33-22 Activating the OEM Key...................................................................................... 33-22 Terminating the OEM Key................................................................................... 33-24 Remote Projects.................................................................................................................. 33-25 Viewing Existing Remote Projects....................................................................... 33-25 Creating A New Remote Project .......................................................................... 33-26 Configuring Point Bridge Points ........................................................................................ 33-29 Configuring Point Bridge Point Details ............................................................... 33-30
A-1
About Global Parameters ...................................................................................................... A-1 Finding the Global Parameters Application ............................................................ A-2 Global Parameter Configuration............................................................................................ A-3 Editing a Global Parameter Value............................................................................ 1-4 Adding a Global Parameter to the Workbench List ................................................. 1-7 Deleting a Global Parameter from the List............................................................... 1-9 Global Parameters ................................................................................................................ 1-11 Device Communications Parameters .................................................................................... 1-58 Global Parameter Files ......................................................................................................... 1-60 Locating a Global Parameter File........................................................................... 1-60 Reviewing a Sample GLB_PARMS.IDT File........................................................ 1-62
Contents-xviii
GFK-1180K
B-1
About The CIMPLICITY To Windows Server......................................................................B-1 Command Syntax for CWSERV ............................................................................................B-1 Microsoft Excel Example.........................................................................................B-2 Point Topic Attributes ............................................................................................................B-3 Using CWSERV with Microsoft Excel ..................................................................................B-6 Displaying Point Data ..............................................................................................B-6 Starting CWSERV ...................................................................................................B-7 Modifying Point Data...............................................................................................B-8 Sample Spreadsheets and Macros ..........................................................................B-10 Command Syntax for System Topic.....................................................................................B-13 Formats ..................................................................................................................B-13 System Items ..........................................................................................................B-13 Topics ....................................................................................................................B-13 Help .......................................................................................................................B-14 Error Messages.....................................................................................................................B-15 Remote Access of CWSERV on Windows NT ....................................................................B-15 Creating a DDE Share............................................................................................B-15 Referencing CWSERV from a Networked NT Client............................................B-16
C-1
About CIMPLICITY HMI and CIMPLICITY Control..........................................................C-1 Supported Device Protocols...................................................................................................C-2 Device Properties.....................................................................................................C-2 Associating Folders with Devices ............................................................................C-5 Import Process........................................................................................................................C-7 Import Rules...........................................................................................................................C-7 Resolving Point Conflicts.......................................................................................................C-8 New Point Conflicts .................................................................................................C-9 Incorrect Information Conflict ...............................................................................C-10 Remote Configuration ..........................................................................................................C-11 Example .................................................................................................................C-11
D-1
About CIMPLICITY HMI Plant Edition Integration of Machine Edition Point Data .......... D-1 Machine Integration Architecture.......................................................................................... D-2 Reviewing Enterprise Server Connectivity ............................................................. D-2 Reviewing Viewer Connectivity ............................................................................. D-3 Integrated Functionality ........................................................................................................ D-3 Reviewing how Point Data Integration Handles Product Variations....................... D-3 Setting up Machine Edition for Data Point Integration........................................... D-5
E-1
About Import/Export Configuration.......................................................................................E-1 Import/Export Data File Format.............................................................................................E-2 Editing CSV Files in Notepad..................................................................................E-3 Editing CSV Files in Excel ......................................................................................E-3 Import/Export Configuration Files .........................................................................................E-4 Import Field Defaults (ie_deflds.cfg).......................................................................E-4 Export Field Formats (ie_formats.cfg).....................................................................E-5 Import/Export Log File ..........................................................................................................E-7
GFK-1180K
Contents
Contents-xix
Configuration Data Imported..................................................................................................E-8 Configuration Data Exported ...............................................................................................E-11 Exporting Configuration Data ................................................................................E-11 Configuration Data Deleted..................................................................................................E-14 Import/Export Field Names..................................................................................................E-15 Including Required Fields ......................................................................................E-15 Using Optional Fields ............................................................................................E-15 Logicmaster 90 Support .......................................................................................................E-37
F-1
About Remote Access ............................................................................................................ F-1 About the Examples in this Document ..................................................................... F-2 Before You Start..................................................................................................................... F-3 Server Setup (Windows NT) .................................................................................................. F-4 Installing the Remote Access Service ...................................................................... F-4 Further Configuration for the Server........................................................................ F-7 Client Setup (Windows NT) ................................................................................................... F-9 Installing the Remote Access Service ...................................................................... F-9 Further Configuration for the Viewer..................................................................... F-11 Client Setup (Windows 98) .................................................................................................. F-11 Configuring the CIMHOSTS.TXT File................................................................................ F-13 Testing the Connection......................................................................................................... F-13 Ping ........................................................................................................................ F-13 Configuring CIMPLICITY Options on the Server ............................................................... F-14 Networking Considerations .................................................................................................. F-14 RAS Client has a network card configured ............................................................ F-14 Limitations on RAS Support ................................................................................................ F-15
G-1
About the CIMPLICITY HMI WebGateway ........................................................................ G-1 Installing the CIMPLICITY HMI WebGateway ................................................................... G-2 Web Server Requirements....................................................................................... G-2 Installation Procedure ............................................................................................. G-2 More about CIMPLICITY HMI WebGateway Components .................................. G-3 Project Setup ......................................................................................................................... G-4 Testing the Connections ........................................................................................................ G-5 Validating Project Connections............................................................................... G-5 Validating Web Connections .................................................................................. G-6 Troubleshooting and Error Messages .................................................................................... G-7 Troubleshooting Custom HTML Pages .................................................................. G-7 Error Messages........................................................................................................ G-7 CIMPLICITY HMI Web Data Applet .................................................................................. G-9 setCaption (Method) ............................................................................................... G-9 getCaption (Method) ............................................................................................... G-9 appendCaption (Method) ........................................................................................ G-9 pointGet (Method) ................................................................................................ G-10 pointSet (Method) ................................................................................................. G-11 clearPoints (Method)............................................................................................. G-11 setPointID (Method) ............................................................................................. G-11 getPointValue (Method)........................................................................................ G-12 getPointStatus (Method)........................................................................................ G-12
Contents-xx
GFK-1180K
H-1
About CIMPLICITY Registration......................................................................................... H-1 CIMPLICITY First Time Registration.................................................................................. H-2 Step 1. Prepare for CIMPLICITY Registration ...................................................... H-2 Step 2. Complete First Time Registration ............................................................... H-7 CIMPLICITY New Option Registration ............................................................................... H-9 CIMPLICITY Upgrade Registration................................................................................... H-11 Registering a CIMPLICITY Functional Upgrade ................................................. H-11 Registering a CIMPLICITY Version Upgrade ..................................................... H-13 CIMPLICITY License Transfer via the Network................................................................ H-18 CIMPLICITY License Transfer by Floppy Diskette........................................................... H-21 Step 1. Begin License Transfer on the Target Computer ...................................... H-21 Step 2. Continue License Transfer from the Source Computer............................. H-25 Step 3. Complete License Transfer on the Target Computer ................................ H-29 CIMPLICITY with No License........................................................................................... H-32 CIMPLICITY Registration Removal .................................................................................. H-32
I-1
About CIMPLICITY Software Removal................................................................................. I-1 Removing CIMPLICITY from Windows 98 ............................................................ I-1 Removing CIMPLICITY from Windows NT and Windows 2000 ........................... I-2
J-1
About CIMPLICITY Log Files...............................................................................................J-1 System Log Files.......................................................................................................J-1 Project Log Files.......................................................................................................J-1 Viewing Log Files.....................................................................................................J-1 Using the Status Log Viewer...................................................................................................J-2 Which Status Log File Gets Displayed .....................................................................J-3 Status Log Viewer Menu Options .............................................................................J-4 Status Log Viewer Toolbar Buttons..........................................................................J-6 Status Log Viewer Shortcut Keys .............................................................................J-6 Selecting a Status Log to View................................................................................................J-7 Displaying Status Log Message Details ..................................................................................J-8 Saving the Status Log as a Text File .......................................................................................J-9 Printing the Status Log File...................................................................................................J-10 Selecting a Status Log Printer ...............................................................................................J-11 Filtering the Status Log Messages.........................................................................................J-12 Finding Status Log Messages ................................................................................................J-13 Finding the Next Status Log Message.....................................................................J-14 Process Names in Status Log ..................................................................................J-14 Checking System Output and Error Files ..............................................................................J-15 Checking Process Output and Error Files..............................................................................J-16 Backup Process Log Files .......................................................................................J-16
Index
GFK-1180K
Contents
Contents-xxi
GFK-1180K
1-1
Customer Support
GE Fanuc takes pride in the high quality of CIMPLICITY HMI software. Great emphasis has been placed on ensuring the quality of this system throughout development and testing. However, the tremendous power that the software offers may cause you to encounter problems or questions for your specific configuration. If your CIMPLICITY software system is under warranty or is covered by a valid support contract, you may obtain assistance and report problems to the CIMPLICITY Technical Support Hotline at one of the following numbers: USA and Canada All others (800) GE-FANUC or (800) 433-2682 (804) 978-6036
The CIMPLICITY HMI Hotline is available from 8 A.M. to 8 P.M. Eastern Time, Monday through Friday, except for regularly scheduled USA holidays.
1-2
GFK-1180K
GFK-1180K
2-1
Note: You can open a blank Workbench by selecting Workbench on the CIMPLICITY\HMI start menu.
2-2
GFK-1180K
Workbench at a Glance
Within the Windows 98, 2000 and NT familiar environment, the CIMPLICITY Workbench provides you with all the unique CIMPLICITY Power Tools you need to create and manage your project with maximum efficiency. Also, you will recognize some of the Workbenchs tools from your Windows 98, 2000 and NT toolbars and file menus.
Quick Overview of the CIMPLICITY Workbench Features Left to right: Dynamic update Stop project Start project Left to right: Left to right: Book Reader Configuration update Workbench Help Status log Right pane Project properties views Project wizard
Screens
Status bar Fields chosen for display Files or records associated with object
When you glance at the Workbench you will see that: CIMPLICITY applications appear as folders in the left pane. You can open or close the folders, to view or hide their contents. When you open the folder you will see the icon for an application. You can expand any icon with subordinate icons to display them also. When you select an icon in the left pane, one or more of its records or files display in the right pane. You control what the list displays including the:
You can access many of the Workbenchs Power Tools on its tool bar. In addition, you will find them in its menus, both on the menu bar, and popup menus.
Tip: Place the cursor over any object in the Workbench to display a brief description of what it does.
GFK-1180K
2-3
The status bar provides you with information that includes how many records are retrieved, if the project is running, and if a specified task has been completed. You can also use various combinations of keystrokes in the Workbench to perform commonly used functions: Ctrl+N Ctrl+O Ctrl+C Ctrl+R Ctrl+W Ctrl+L Alt+Spacebar Alt+F4 Ctrl+Esc Creates a new project. Opens another project in this window. Copies the current project to a new project. Runs the stopped project. Runs the Project Wizard. Displays the Status Log for the project. Displays the Control Menu. Closes the project window. Displays the system Task List window.
2-4
GFK-1180K
Result: A new Workbench opens with the same project that displayed in the first Workbench. You can easily open another project. See page 2-Error! Bookmark not defined. for the procedures to open a CIMPLICITY project.
GFK-1180K
2-5
Result: The Workbench window displays the most current version of the displayed CIMPLICITY project.
2-6
GFK-1180K
Select what objects to view in the right pane. Choose the fields you want to view in the right pane.
1. 2.
GFK-1180K
2-7
To change the right pane view: Method 1 1. 2. Click Edit on the Workbench menu bar. Select the View from the following options: List Details Large Icons Tree
Method 2 Click the standard Windows 98, 2000 and NT button on the Workbench toolbar. From left to right: List, Detail, Large Icons and Tree view. Result: The right pane view changes to reflect your choice.
Different Views in Right Pane Large icon List
Tree
Detail
2-8
GFK-1180K
In addition, you will find several tools to help you specify the required records or files.
Note: Whether you view a list of records or of files depends on the icon you select in the left pane. For example, if you select Points in the left pane, you will view a list of records in the right. If you select Screens in the left, you will view a list of files in the right.
To view all the records (or files) for a selected icon: 1. 2. Select an icon in the left pane. Tell CIMPLICITY to automatically display all the records by either of the following methods: Method 1 A. Click View on the Workbench menu bar. B. Select Autofill if there is no check mark on its left side.
GFK-1180K
2-9
Method 2 A. Place the cursor in the right pane. B. Click the right mouse button. C. Select Autofill from the popup menu if there is no check mark on its left side.
CIMPLICITY displays a list of all the existing records or files for the selected icon when you use either method.
Note: Whether you select a list of records or of files depends on the icon you select in the left pane. For example, if you select Points in the left pane, you will select a list of records in the right. If you select Screens in the left, you will select a list of files in the right. To view selected records (or files) for a selected icon: 1. 2. Select an icon in the left pane. Display a Search dialog box using any of the following methods.
2-10
GFK-1180K
Method 2 A. Place the cursor in the right pane. B. Click the right mouse button. C. Select Search on the popup menu.
GFK-1180K
2-11
The Search dialog box associated with the selected icon appears.
Search Dialog Box Example This dialog box is for points.
3.
Enter the name or associated information for the record(s) or file that you want to display. What format the information (records, files) is in depends on what you select in the left pane.
Result: The records or files you specify will display in the right pane until you change your specifications.
Workbenchs Explore tool for all search windows that request a file name.
2-12
GFK-1180K
CIMPLICITY Browsers Throughout CIMPLICITY HMI you will find different buttons to open browsers that help you find names or categories of records associated with a selected icon. They all appear in the Workbench and are pointed out in the documentation when you need them. Example Button Opens a Browser for: Points Ports Devices Roles Misc. To open a browser and find a selected object and/or category: Click a Browse button browser will open. when it appears at the right of a field. The appropriate
GFK-1180K
2-13
Workbench Explore Tool To find a file by using the Workbenchs Explore tool: 1. Close the Search dialog box, if it is open. 2. Click Project on the Workbench menu bar. 3. Select Explore.
Project Drop Down Menu
A Windows 98, 2000 and NT Explorer window opens and displays the open projects directory. 4. Use the Windows 98, 2000 and NT Explorer to find the type of files you are looking for. A. Open the folder with the file you are looking for. For example, open the Screens folder for CimEdit files. B. Select the file to include in the Workbenchs list. 5. Place the Windows 98, 2000 and NT Explorer window next to the Workbench. 6. Open the Search dialog box. 7. Type the name of the file in the Filename field. Result: The appropriate entry appears in the Workbench right pane.
2-14
GFK-1180K
Method 2 A. Click the right mouse button in the right pane. C. Select Field Chooser from the popup menu.
Popup for Points
GFK-1180K
2-15
The appropriate Field Chooser dialog box opens when you use any of these methods.
Click OK. The fields display from left to right in the order you specified.
Example: A Points Field Chooser Dialog Box
Moves field further left in the pane Moves field further right in the pane
Note: The Remove button is disabled if the field is required. The Move Down or Move Up button is disabled if a field that will be affected by the move has to appear in the furthest left position.
2-16
GFK-1180K
Method 3 Press Ctrl+R on the keyboard. Method 4 1. 2. Press Alt+P on the keyboard. Press R.
A CIMPLICITY Configuration dialog box opens asking you if it is ok to run the project, when you use any method. Continue 3. Click OK.
Result: The project starts running when you use any of these methods.
GFK-1180K
2-17
Note: Only projects that are running appear on this list. If no project is running, the running Projects List option does not appear on the File menu.
File Drop Down Menu
Select a project
2-18
GFK-1180K
7.
Click Create.
Result: The Workbench copies the existing project's entire configuration to the new project. You can now open the new project and work with it.
GFK-1180K
2-19
Result: The project's name is changed. The new name appears on the Workbench title bar.
Rename Project: Example
Project name on Workbench title bar. 1 Display the General tab in the Project Properties dialog box.
3 Click OK.
2-20
GFK-1180K
4.
Click OK.
Result: The project will appear on the Start menu in the folder you selected.
GFK-1180K
2-21
Method 3
2-22
GFK-1180K
The configured device appears in the second project's Workbench. Retrieved records include associated points.
To drag selected items from one project into another: 1. 2. Open two projects in two Workbench windows. Select the item(s) you want in the first project's Workbench right pane. Note: Press Shift to select adjacent multiple items. Press Ctrl to select any multiple items.
GFK-1180K
2-23
3.
Drag the items to the correct location in the second project's Workbench.
Result: CIMPLICITY copies the configured items to the second project. CIMPLICITY has several built-in safeguards to insure that the dragged items will operate correctly in the second project. Safeguards include: If other points are associated with a dragged device, a message will ask if you want to copy those items over also. Example
If you accidentally drag the items to the wrong location, the items will not be copied and you will see an error message. Example (Message displayed when copying a screen to an incorrect location)
If you drag an item that has associated items that you have not configured in the second project, the items will not be copied and a message will explain why. Example
If points you are dragging already exist in the second project, a message will ask you if you want to overwrite them. Example
2-24
GFK-1180K
Guidelines for dragging items from one project to another: 1. Before dragging devices: A. Make sure the device communication (devcom) is available in the second project. B. Create a port in the second project with the same name (and devcom) as exist in the originating project. 2. When dragging points: A. Create any associated items; e.g. Point Attribute sets, resources and alarms, in the second project before dragging. B. Drag associated devices into the second project before dragging points. C. Make sure you drag associated points, e.g. safety points and trigger points, along with or before the selected points.
Method 1Update Warning Message If a project needs to be updated when you start it, a CIMPLICITY Configuration message will warn you that the project is out of date. When you click OK, CIMPLICITY HMI will update the configuration.
GFK-1180K
2-25
Method 2Display the Need Updatefield on the point list 1. 2. 3. 4. Select Points in the Workbench left pane. Open the Field Chooser dialog box. See page 2-15 for details about opening the Field Chooser dialog box. Add Need Update to the list of fields that will be displayed. Scan the list. If you see a: 1Do a Configuration Update. 0Configuration for your points is up to date. To do a configuration update: Method 1 1. Click Project on the Workbench menu bar.
Project Menu
2. 1. 2.
Method 2
2-26
GFK-1180K
Dynamic Configuration
If your user role has been assigned the option, dynamic update option is an efficient way to make certain changes in project and have the project automatically updated. The Workbench provides you with: Some restrictions in dynamic configuration functionality, which you should be aware of. Easy procedures for dynamic configuration.
Important: There are some configuration procedures that have restricted functionality in Dynamic Update mode. They are: Application Point Configuration In Dynamic Update Mode, You Cannot change: Point Class Configuration Port Configuration Remote Projects Classes To do dynamic configuration: Method 1 Click the Dynamic button Method 2 1. 2. 1. 2. Click Tools on the Workbench menu bar. Select Dynamic. Press Alt+T on the keyboard. Press D. on the Workbench toolbar. The calculation type for a Virtual point. The service for a Virtual point.
Cannot make adjustments to a point class in dynamic mode. May only modify: Base scan rate. Enable/Disable state of the port. Retry count.
Cannot create or modify remote projects in Dynamic Update mode. Cannot modify a class.
Method 3
If a password is required a password dialog box will open when you use any of these methods. If a password is not required or if you enter the correct password, you will be able to dynamically configure the project. When you activate Dynamic Configuration, CIMPLICITY HMI updates your projects configuration automatically. You dont have to return to the Workbench and do a project update in order for your changes to take affect.
GFK-1180K
2-27
2-28
GFK-1180K
2.
Do any of the following: Method 1 Double click the icon. Method 2 A. Click File on the Workbench menu bar. B. Select New. C. Select Object on the extended menu.
GFK-1180K
2-29
Method 3 A. Press ALT+F. The drop down File menu opens. B. Press N. C. Press O. Method 3 Press Ctrl+N on the keyboard. Result: A new screen or appropriate new dialog box opens when you use any of these methods. Tip: If you want to use only the keyboard, you can also click the Arrow Up and/or Arrow Down key to select the icon in the left pane of the Workbench.
2-30
GFK-1180K
Method 4 A. Click the right mouse button. A popup menu displays with menu items that reflect the selected object. B. Select one of the following menu items: Choose the menu item Edit Properties Points Devices Ports Users Roles Resources Measurement Units Event Editor Alarm Sound Manager Script Open Project status log System status log Database Logger Action Calendar
Popups
For Screens
To Display CimEdit screen Properties Point dialog box Device dialog box Port Properties dialog box User properties dialog box Roles dialog box Resource Definition dialog box Measurement Unit Configuration window Event Editor window Alarm Sound Manager dialog box Script window Notepad Microsoft Excel Microsoft Access Action Calendar
GFK-1180K
2-31
Runtime Access
The Workbench provides you with access to all of CIMPLICITY HMI runtime monitoring tools. This includes letting you: Open any CimView screen Monitor a point's runtime values in several ways, including using a:
Point Control Panel. When it is opened you can deal with it the same way you would any open Point Control Panel when it is opened. Quick Trend chart to view its trend information CimView screen on which the point appears Alarm ViewerAlarm Viewer window Point Control PanelPoint Control Panel window Login PanelLogin Panel window Show UsersShow Users window
Take advantage of its drag and drop capability by opening a Point Control Panel and dragging and dropping selected points from the Workbench to monitor in the panel.
2-32
GFK-1180K
3. 4.
Select a screen in the right pane. Do one of the following: Method 1 Double click your selection. Method 2 A. Click the right mouse button. B. Select Open from the popup menu.
Result: The CimView screen you selected opens when you use either method.
GFK-1180K
2-33
To open runtime windows: 1. Select the runtime icon in the left pane that you want to monitor.
Project is running.
2.
Double click it or use any of the other methods available to open a runtime window. See page 2-33 for details about opening a CimView screen.
Result: If the project is running, the runtime window opens. If the project is not running, a Select a CIMPLICITY Project dialog box opens. When you select the project that should run, CIMPLICITY starts the project and activates the runtime window.
2-34
GFK-1180K
Quick Trend
GFK-1180K
2-35
To view a points runtime values through the Workbench: 1. 2. 3. 4. Select Points in the Workbenchs left pane. Select the point in the right pane that you want to track. Click the right mouse button. Select one o the following: To open a: Point Control Panel Point Control panel displaying the selected point If allowed, you can set the point through the panel. Quick Trends Quick Trend chart that trends the selected point You can then manipulate the chart, including changing the axis limits, line color and add other lines. *.cim screens Open any CimView screen that includes the point in its configuration.
The object you select opens displaying at least the selected points values.
Note: CIMPLICITY HMI does not duplicate any of the dragged points that already exist in the open Point Control Panel
2-36
GFK-1180K
Dragging Points from the Workbench into an Open Control Panel: Example
GFK-1180K
2-37
Project Opened
You can open a CIMPLICITY project through: The CIMPLICITY\HMI Start Menu on the Windows Taskbar or An open Workbench.
GFK-1180K
3-1
Method 3 Press Ctrl+O on the keyboard. Result: The Open dialog box opens for you to select the project you want to open.
Select CIMPLICITY Project to Open
3-2
GFK-1180K
Project Properties
You can configure properties for a project in the Project Properties dialog box. There are several methods to open the Project Properties dialog box.
Method 3 Press Alt+P+P on the keyboard. Result: The Project Properties dialog box opens when you use any method.
Use the Project Properties dialog box to choose or change General properties and Options for a project.
GFK-1180K
3-3
The General properties you can change are: Project Name If you want to change the project name, enter the new name in this field.
Important: The project name should be different from the node name. Options Select the options you want for this project from the list of available options. Set the check box to select an option. Otherwise, clear the check box. Protocols Select the device communication protocols you want to use for this project from the list of available protocols. Set the check box to select an option. Otherwise, clear the check box.
3-4
GFK-1180K
The Options properties you can change are: Enable project broadcast Check Enable project broadcast if you want to broadcast the project name to all computers on the network. When you broadcast the project name, users on other nodes that request point data can use the project name in fully qualified points. Otherwise, they can only use the node name in fully qualified points. Enable project multicast Check Enable project multicast if you want traffic sent once and to be received and processed by multiple interested IP hosts, regardless of their location on an IP Internetwork. A host listens for a specific IP multicast address and receives all packets sent to that IP address. IP multicast is more efficient than IP unicast or broadcast for one-to-many delivery of data. Unlike unicast, only one copy of the data is sent. Unlike broadcast, traffic:
Is only received and processed by computers that are listening for it. Can potentially go through routers, bridges, bridge routers across the LAN to some other network.
CIMPLICITY viewers will listen for both the project Broadcast and Multicast. The default Multicast address is 224.0.0.29.
GFK-1180K
3-5
Caution: When multicasting is checked to operate across a LAN, several network factors that are outside of CIMPLICITY must be configured correctly e.g. the network router needs to be capable of and configured to allow multicast. Therefore, it is strongly recommended that you consult the network administrator before selecting this option.
Note: If this is a redundant project then the Broadcast option will be selected and the user will not be able to select the Multicast option. See the "Using Global Parameters" chapter in this manual for global parameters that can be used for multicasting. Computer name Select the Computer name from the drop down menu that the project is to run on when the project is started. For all installations, you may run the project on your computer. Startup timeout Enter the number of minutes in the Startup timeout field that CIMPLICITY HMI should wait for the project to start before it times out. The default is 10 minutes. Configuration Security Check Configuration security to restrict user configuration access to any or all of CIMPLICITY's applications. Result: CIMPLICITY activates its configuration security feature, as follows. A Configuration tab appears in the Roles dialog box. This tab enables a user with Roles configuration privileges to specify what applications users assigned to each role can configure. See "Assigning Role Configuration Privileges" in the "Role Configuration" chapter in this manual for more information.
3-6
GFK-1180K
A Configuration Login dialog box appears when a user attempts to open the Workbench. If the user's role was not granted Workbench privileges, the user is denied access.
Configuration Security is Enabled: Example 1 A Configuration Login dialog box appears when a user opens the Workbench. 1
2 2 An error message appears if the user's role does not have Workbench privileges.
The Settings tab of the Project Properties dialog box enables you to enter general settings for each application on the displayed list of applications.
GFK-1180K
3-7
To use the Settings tab: 1. 2. Select the application whose settings you want to modify. Click Settings. Opens the Dialog Box: Alarm Properties Logging Properties (Event Editor) Setup Activate Measurement System Point Setup User Setup
Result: A dialog box that applies to your selection opens. Selection Alarms Database Logger Event Editor Measurement Units Points Users
See the appropriate chapter for each of the applications for details about its dialog box.
3-8
GFK-1180K
Enabling the Project Wizard through the New Project Dialog Box
To enable the CIMPLICITY Project Wizard through the New Project dialog box: 1. Choose either: Method 1 Click the New Project button Method 2 A. Click File on the Workbench menu bar. B. Select New>Project. The New Project dialog box opens when you use either method. on the Workbench toolbar.
2.
Define the following: Project Name New Subdirectory Enter the project name in this field. The project name you enter will also be used as the default subdirectory name for the project. If you want to use another name for your subdirectory, enter it in this field. Select the options you want to be available in this project from the list of all installed options. Check each option you want to select. Select the protocols you want to be available in this project from the list of all installed protocols. Check each protocol you want to select.
Options
Protocols
GFK-1180K
3-9
Project Path
Use the Drives and Directory input fields to select a directory path for the project directory you are creating. If you want to create the project on another disk in your network, click Network to define the network path.
3.
Click Create
Method 3 Press Ctrl+W on the keyboard. Result: The CIMPLICITY Project Wizard opens when you use any method.
3-10
GFK-1180K
4.
Click OK.
Result: The project will appear on the Start menu in the folder you selected.
GFK-1180K
3-11
CIMPLICITY Options
CIMPLICITY software supports running multiple projects on a single computer. You can configure: Project options.
Halt a currently running project on your Server. Start a project on your Server. Start a project as a Viewer. Select a default project to be run on your Server.
Startup options. Display the currently running projects on Servers in your network. Halt a currently running project on a Server in your network. Start a project on a Server in your network (subject to restrictions).
You do this on the Projects tab in the CIMPLICITY Options dialog box.
3-12
GFK-1180K
1 Click Start
Viewer. The router starts. The local computer can now act as a Viewer. 2 Select a computer from the new list.
The local computer can view projects that are running on the selected computer.
GFK-1180K
3-13
Result: After the project is stopped, CIMPLICITY removes the name from the Running projects list.
Result: The project you select is started. When startup is complete, CIMPLICITY adds the project name to the Running projects list.
3-14
GFK-1180K
GFK-1180K
3-15
Network Options
To specify network options: 1. 2. Select the Startup Options tab in the CIMPLICITY Options dialog box. Do one of the following: Check Accept connections.
The local computer can connect to all other projects in the enterprise. Other computers can connect to running projects on the local computer. Check Accept connections and Use secure sockets.
The local computer can connect to only other secure projects in the enterprise. Only secure computers can connect to running projects on the local computer. Leave both Accept connections and Use secure sockets unchecked.
The local computer will not connect to other projects in the enterprise. Other computers in cannot connect to projects running on the local computer.
3-16
GFK-1180K
To configure boot up options for the local computer: 1. 2. Display the Startup Options tab in the CIMPLICITY Options dialog box. Check one of the following: When Checked None At boot Up CIMPLICITY does not start running on the local computer. Boot up configuration is done. Viewer The CIMPLICITY router starts running and the local computer can act as a Viewer. However, no local CIMPLICITY projects start running. Boot up configuration is done. Start projects Click Add. The CIMPLICITY Default Project dialog box opens. Selected projects start running. Go to 3 in this procedure. 3.
4.
Select a project from the project list. Note: Click Browse to find projects that are not in the drop down list. Click OK.
5.
GFK-1180K
3-17
6.
Add all the projects you want to start at boot up. Note: If there are no projects in the list, only the Router starts.
Result: CIMPLICITY follows your specifications when the local computer boots up.
Note: To delete a project from the list, select the project, and click Delete. The project is removed from the list.
3-18
GFK-1180K
3.
4.
Click Change Windows Password. The Change Windows Password dialog box opens.
5. 6. 7. 8.
Enter the old Password (or leave it blank if you never entered a password). Leave the New Password and Confirm New Password fields blank Click OK. The Change Windows Password dialog box closes. Click OK to close the Passwords Properties dialog box.
GFK-1180K
3-19
2. 3. 4.
The Network properties dialog box opens. Select Windows Logon in the Primary Network Logon field. Click OK.
Result: You are prompted to reboot your system so that changes will take effect. After you have rebooted, you will no longer be prompted to log on.
2. 3.
Check Start projects. Make sure the project(s) you want to start at system boot are listed.
3-20
GFK-1180K
4.
5.
Configure the CimView setup as follows: A. Enter the starting CimView screen in the Screen field. Note: You can also click Browse to the right of this field to search for the screen you want. B. Check Start at boot if you want the CimView screen to start automatically when the system boots. C. Check selected check boxes to define the screen's startup characteristics: Always Maximized This option always maximizes the initial window to fill the user's terminal screen. The user cannot resize the primary window, and the window will not rise to the top when a user clicks on it (this prevents it from obscuring other windows on the terminal screen). No Exit This option does not let the user exit the primary CimView window. The Exit menu item is removed from the File menu, and the Close menu item and Alt+F4 shortcut key are removed from the Control menu. In addition, the Close Screen action is ignored in the primary window. Keypad Opens the popup keypad whenever the user needs to enter data for Variable setpoints. This option is required for systems with no keyboard or keypad. Zoom to Best Fit No Menu/Title This option sizes the CimView screen to best fit the window in which it is displayed. This option removes the Menu and Title bars from the primary CimView window and all subsequent windows.
GFK-1180K
3-21
No Open
This option prevents users from opening CimView screens not explicitly identified in Open Screen or Overlay Screen procedures. Open and Open Window menu items are removed from the File menu and the File Open toolbar button is disabled.
This option prevents users from resizing CimView windows that are displayed. This option displays the primary CimView window in captive state. When the use opens this CimView screen, the Explorer shuts down. Other screens are displayed on top of the primary window and the user will not be able to go below the primary window. Keeps CimView screens currently being displayed swapped in. Without this flag, only documents in the cache are touched periodically to keep them swapped into memory. Keeps CimView screens with many dynamic objects swapped into memory. Keeps CimView screens with many static objects swapped into memory. Prevents the point target, e.g. point control panel and quick trends, from being available from point view or the right mouse menu See the CIMPLICITY CimEdit Operation Manual (GFK-1396) for more information about these options.
Touch Active
D. (Optional) Enter the name of cache files in the Cache File field, if you want to pre-load the screen cache with selected files. Note: You can also click Browse to the right of this field to search for the cache file you want. E. Click OK to save your changes and return to the CIMPLICITY Options dialog box. 6. Click OK. Result: The startup options are saved and the CIMPLICITY Options dialog box closes.
3-22
GFK-1180K
These programs are started by user request and remain running until the user exits them. The Resident Process layer consists of a set of programs that are started when you start your CIMPLICITY project, and that remain running until your CIMPLICITY project is shut down. If you are on a Server, the Resident Process layer includes such programs as the: Router, Device drivers, Point Management, Point Data Logger and, Alarm Management Resident Process.
If you are on a Viewer, the only process running in the Resident Process layer is the Router.
GFK-1180K
3-23
3-24
GFK-1180K
CIMPLICITY Login
Two levels of logins are available when you use CIMPLICITY software. 1. 2. The Microsoft Windows NT/2000 or Windows 98 login screen that is presented when you start your computer. The CIMPLICITY login dialog box that is presented when you select a CIMPLICITY user application, Alarm Viewer, CimEdit, CimView, or CWSERV.
You have a great deal of flexibility in determining when and how users will log in to CIMPLICITY software.
Note: The CIMPLICITY Configuration Security feature changes how the login behaves. Briefly, if configuration security is activated, users are presented with a CIMPLICITY User Login dialog box when they attempt to open a CIMPLICITY project.
In addition, they will only be allowed access to the CIMPLICITY applications for which their role is assigned privileges. See "Assigning Role Application Privileges" in the "Configuring Roles" chapter in this manual for details. Guidelines for CIMPLICITY login include: On a server, if you A. Define a CIMPLICITY username and password that match the username and password users enter when they log in to Microsoft Windows NT/2000 or Windows 98 or B. Define a CIMPLICITY username and password that are different from the username and password users enter when they log in to Microsoft Windows NT/2000 or Windows 98. Then Users Are automatically logged in to CIMPLICITY when they log in to Microsoft Windows NT/2000 or Windows 98. Are presented with a CIMPLICITY User Login dialog box when they attempt to open a CIMPLICITY project or select a CIMPLICITY application (Alarm Viewer, CimEdit, CimView, or CWSERV).
GFK-1180K
3-25
A. Define common usernames across all projects or B. Define different usernames across projects. A. Specify that remote projects are for resident processes only or B. Specify that remote projects are not for resident processes only.
Are automatically logged in to all projects when they display a CimView screen that has points from remote projects. Have to log in to each of those projects when they display a CimView screen that has points from remote projects. Have to log in at the application level. Are automatically be logged in and given the same privileges as the CIMPLICITY User ID for the remote login. See the "Remote Projects" section in the "System Management" chapter in this manual for details.
If a User Checks the Save Username + Password check box when selecting any applications in the project A. Opens a CIMPLICITY application while the login is active, (The login remains active for a period after the user exits all open CIMPLICITY applications. The length of time is specified by the system manager or B. Opens a CIMPLICITY application after the login period has expired. On a Viewer, if a User: Checks Reconnect at Startup.
Then the User Will automatically be logged in to the project with the saved username and password. Does not need to log in when an application is opened.
Then the: Viewer is automatically connected to the project used by the application whenever CIMPLICITY software is started on the viewer. User will be automatically logged into the project.
3-26
GFK-1180K
Hold Operator Help files for alarms (that you created and put them in this directory). Database Logger archive files. All the runtime configuration files. The project lock file. All status log files, and program error files. All the master copies of configuration files. All CimView screens (default directory). All Basic Control Engine scripts for a project.
To make a backup copy of your project on a diskette, do the following: 1. 2. 3. 4. Open the Windows Explorer. Locate the project directory for the project you want to back up. (To save space on your diskette) delete all log files from the project's \log directory before making the backup. Copy the project's directory to the diskette.
Note: If the project is running, some files in this directory may be locked and will not be deleted. This method works well for small projects. For large projects, consider zipping the project and saving the zipped file or backing up the project directories to tape rather than diskette. If you try to back up a running project, an error message appears telling you there is a sharing violation.
GFK-1180K
3-27
where the options to display help information for this command line option are:
/help or -help or /? or -?.
Important: The /rstart and /rstop options only work on Windows NT/2000.
/rstart <project> or -rstart <project> <computer> to start a project on a remote
computer. Example
startup.exe /rstart z:projects\cimpdemo\cimpdemo.gef alnt04
computer. Example
startup.exe /rstop z:projects\cimpdemo\cimpdemo.gef alnt04
3-28
GFK-1180K
Understanding Points
About Points
CIMPLICITY HMI collects or calculates point data that it distributes to: CimView screens Alarm Viewer screens Alarm printers Logging tables Other CIMPLICITY HMI software options
The collection and distribution of point data is handled by the Point Management subsystem. Point Management's primary functions are to: Update the point database as point values change. Generate point alarms when limits are exceeded. Make point data available to CIMPLICITY software applications. Synthesize new point values by arithmetically combining other points.
Note: You can limit a user's ability to set point to only those points whose resources are in the user's view and/or have assigned security levels equal to or below the role's security level. See "Setpoint Security" page 4-5 in this chapter for more information.
GFK-1180K
4-1
Categorizing Points
CIMPLICITY HMI provides you with the tools to configure any point to exactly your specifications. Even though there are several options during configuration, your starting choices for any given point are very simple. The point value: Comes from one of two Point (Source) Types. Is classified as one of three Point Classes.
Global points have values that are generated by an application such as CimView. These values are shared by multiple CIMPLICITY HMI software applications. Calculated points are generated from arithmetic or logical expressions that modify or combine one or more numeric points. These values may then be shared by multiple CIMPLICITY HMI software applications.
Point Class
Points can be one of three classifications. You select the class based on how the point will be used. The point classes are: Analog integer or floating points, Boolean, or Text.
Naming Points
Each point you create in your project has a unique Point ID. A Point ID may contain: up to 32 characters any combination of upper-case letters and numbers special characters, with some restrictions
There are some reserved words and reserved characters, which you are better off not using. If you decide to use reserved words or characters for a Point ID: You must enclose the Point ID in single quotes when you use it in an expression or equation. File names for Alarm Help files will be difficult to correlate to Point IDs. These file names are usually automatically generated by CIMPLICITY software and are based on the Point/Alarm ID.
4-2
GFK-1180K
ANA
GT
WARNING_LOW
If, however, you do use a reserved word for a Point ID and you include such a Point ID in a point expression or equation, you must enclose the Point ID in single quotes.
GFK-1180K
Understanding Points
4-3
Reserved Characters
Guidelines for reserved characters in Point IDs include: Do not use Avoid using | $ Brackets ( [ ] ) +- * ? \ / [ ] < > " : The Expression Editor and other software can misinterpret these Use carefully Any other special character (such as #, %, etc.) on the keyboard A Point ID that starts with a number (0-9). You must enclose the Point ID in single quotes when used in a point expression or equation The @ character is invalid if it is the first character in the Point ID. Use freely The underscore character ( _ ) The period (.)
4-4
GFK-1180K
Setpoint Security
You can limit a user's ability to set points to only those points whose resources are in the user's view. You do this in the Project Properties dialog box.
Method 2
Result: The Point Setup dialog box opens when you use either method.
GFK-1180K
Understanding Points
4-5
1 2 3
For all project users Limit setpoint capability to: 1 Resources for which a user is authorized. 2 Points with assigned levels equal to or below the user's role level. 3 Users who know the password.
To set security criteria in the Point Setup dialog box: 1. (Optional) Check Enable resource set point security to restrict set point privileges to only the resources for which a project user has access. Example POINT_A has been defined for RESOURCE_1 If: Then: If: RESOURCE_1 is an authorized resource for USER_X. Enable set point security is enabled. USER_X can perform setpoints on POINT_A. RESOURCE_1 is not an authorized resource for USER_X. Enable set point security is enabled. Then: USER_X cannot perform setpoints on POINT_A. Note: Resources are assigned to users in the User Properties dialog box. 2. (Optional) Check Enable level setpoint security to restrict a project user's point setpoint privilege to only points that are assigned levels equal to or lower than the project user's role level. Example A Discrete_Oper user is assigned the role Oper in the User Properties dialog box. Oper is assigned a Level 10 in the Role Properties dialog box. The Discrete_Oper user can set only device points that have been assigned a level that is smaller or equal to 10.
4-6
GFK-1180K
3.
(Optional) Configure Enable set point password to restrict access to the setpoint functions to users who know the password. The CIMPLICITY default is unrestricted access. A. Check Enable set point password. B. Enter the password that will be used to perform setpoint actions in the Password input field. C. Re-enter the password in the Confirm Password field to confirm it.
Result: Project users who fulfill the criteria will be able to set points for a selected resource or device point. See the following chapters in this manual: "Configuring Roles" for details about assigning security levels to roles "Configuring Device Points" or "Configuring Virtual Points" for details about assigning security levels to points.
Guidelines for an Enterprise server: If an Enterprise Server project contains the same resources as the provider of a point, then Setpoint Security for the point is enforced against the resource in the Enterprise Server project. If the resource is not configured on the Enterprise Server project, then Setpoint Security for the point is enforced against the remote project's resource. You can use the DONT_VERIFY_ESPOINT_FRID global parameter to change this behavior. If you set this global parameter to "Y", then setpoint security for all points from a given provider are enforced against the resource names configured on the provider. This means that a setpoint against any of these points with resources not configured on the Enterprise Server project will always fail (because a resource that is not configured cannot be in the user's view).
GFK-1180K
Understanding Points
4-7
Note: These procedures are meant to help you quickly set up a device. Other chapters in the CIMPLICITY HMI Base User's Manual provide depth descriptions of each part of the process.
Quick Install for a Device Point
F2
M SG .
F1
F2 v
SW1
S 2 W S 4 W
SW 6
S H RC
I
M O N SW3
O SW 5
C 8
R 9
SW 7
SW 8
A BC
4 JKL
DE F MN O 2
VWX 5
GH I P R Q
3 YZ6
SW 9
SW 10
SW 1 1
SW 12
1
STU 0
SW13 SW14 O N / O FF
+/
EN R TE
IBM Compatible
4. Configure a
device point.
GFK-1180J
5-1
This chapter provides you with a an overview of how to: 1. 2. Make sure the protocol you are using is enabled Add the device to your CIMPLICITY HMI project. If the appropriate port for the device has not been setup, you can set it up when you add the device to your project.
See the "Configuring Device Points" chapter, in this manual, when your device is included in the project and you are ready to configure a basic device point.
4. 5.
Scroll up and/or down in the Protocols box to find the protocol that will be used. Check the protocol's check box if it is not already checked.
Note: If the protocol does not appear in the Protocol box, use the CIMPLICITY installation CD to add the protocol.
5-2
GFK-1180J
3.
Open the New Device dialog box. Two of the several methods are: Method 1Using the mouse Double click the left mouse button. Method 2Using the keyboard Click Ctrl+N on the keyboard. The New Device dialog box opens.
GFK-1180J
5-3
4.
5.
Enter the port, if it is configured and go to Step 4. Go to Step 2 if you need to configure a port.
1. 2. 3.
(If you need to create a port protocol) Click the Popup menu button to the right of the Port field. Select New. The New Port dialog box appears. Select the Protocol you are using. A port associated with the protocol appears in the drop down Port field with any others, if there are any, available for selection.
4.
Select another port, if the one that appears is not the one you want.
5.
5-4
GFK-1180J
Task 3. Configure the device's port: 1. Select the General tab of the Port Properties dialog box.
Port Properties General Tab: S90 Ethernet Example
2.
Enter the interval length between scans in the Scan Rate field. The time type options are: Seconds Minutes Hours
3.
Enter the number of times CIMPLICITY HMI should retry scanning the device if a communications error is encountered in the Retry Count field. If communications cannot be established, devices on this port are considered to be down, and a $DEVICE_DOWN alarm is generated for each device. Once a device is down, periodic attempts are made to resume communications to the device.
4. 5.
Check the Enable checkbox to enable communications on this port. Click OK.
GFK-1180J
5-5
1.
Click OK when the New Device dialog box has the device and port filled in. The Device dialog box appears.
Device Proeprties Dialog Box: S90 Ethernet Example
2. 3.
(Optional) Enter a description of the device in the Description field, using up to 40 characters. Choose a Resource. Note: Three resources that come with CIMPLICITY are A. $SYSTEMSystem Resource B. $MAC_FRSystem Events C. $PTM_FRPoint Management Info
4. 5.
Select the type of device from the Model Type drop-down list. The list of available model types depends on the protocol. Select the device's Protocol tab.
5-6
GFK-1180J
6.
Either: Check the Enabled checkbox or Check the Yes radio button for the Enabled option. The method depends on the protocol.
7.
Enter the required information on the device's Protocol tab. Required entries depend on the protocol you are using. See the CIMPLICITY HMI Device Communications Manual (GFK-1181) for details on the addressing supported for your particular device and protocol.
Result: Now you can configure device points that collect data from and/or send data to the device that is now enabled in your CIMPLICITY HMI project. See the "Configuring Device Points" chapter in this manual.
GFK-1180J
5-7
3. (Optional) Begin advanced configuration in order to take advantage of CIMPLICITY HMI software capabilities and refine the point communication. Specify safety and availability triggers Enter criteria to create a trend history Configure advanced CIMPLICITY HMI device settings Specify measurement unit and conversion criteria
4. (Optional) Continue advanced configuration to unleash the spectrum of CIMPLICITY HMI monitoring powers. Specify range and setpoint limits (Analog points) Configure View formats Configure alarms
This chapter provides information for 1-3. See the Configuring Point Limits, Views and Alarms chapter in this manual to do the configuration listed in 4.
Note: CIMPLICITY HMI provides you with a Manual Mode feature that enables a user to disconnect a point's values from a device and set them manually. See the "Device Point Quality Support at Runtime" section in this chapter for details about this feature.
GFK-1180K
6-1
To create a new device point: Method 1 1. 2. 1. 2. 3. 4. 1. 2. 1. 2. 3. Select Points in the left pane of the Workbench. Double click the left mouse button. Select Points in the left pane of the Workbench. Select File. Select New. Select Object. Select Points in the left pane of the Workbench. Press Ctrl+N on the keyboard. Select a point in the right pane. Click the right mouse button. Select New from the popup menu. The New Point dialog box opens when you use any method.
New Device point Device name
Method 2
Method 3
Method 4
4. 5. 6.
Enter a unique Point ID. Check Device as the point type. Specify the Device associated with the point.
6-2
GFK-1180K
7.
Check a point Class(ification). Your device point can be one of three classifications: Analog Boolean Text
8.
Click OK.
Note: Values read from or written to a device point will be forced into the specified type. Example Reading an SINT point value, which is 8-bits, from a 16-bit register will truncate the high order byte, and the sign will not be maintained. Writing an INT point, which is 16-bits, to an 8-bit register will do the same. To enter general basic information for a device point: 1. 2. Select the General tab of the Point Properties dialog box. (Optional) Enter a description up to 40 characters. This description: 3. Displays when you position the cursor over the point in the Workbench Can be entered in the Point browser when you want to find and display or use the point
Select one Data Type from the drop down list that appears for the point type you selected:
GFK-1180K
6-3
Analog Points
General TabBasic ViewAnalog Point
4 byte (32 bit) ranging from -2,147,483,648 to + 2,147,483,647. Integers ranging from -32,768 to +32,767. Floating-point numbers. Integers ranging from -128 to +127. Unsigned integers ranging from 0 to 4,294,967,295. Unsigned integers ranging from 0 to 65,535. Unsigned integers ranging from 0 to 255. 3-digit binary coded, 2 byte (16 bit) unsigned integer ranging from 0 to 999 4-digit binary coded, 2 byte (16 bit) unsigned integer ranging from 0 to 9999
Important: Configure a 3D_BCD or 4D_BCD Point Bridge type point as a UINT point. The BCD data types are used by the devcom to convert binary data coming from a PLC. When the Point Bridge receives data from the source system, BCD conversion has already occurred. Performing BCD conversion again on data will cause it to be converted twice, and, as a result, give incorrect values.
6-4
GFK-1180K
Boolean Points
General TabBasic ViewBoolean Point
A one digit Boolean point with a value of 0 or 1. 8-bits of data 16 bits of data 32 bits of data
A one-character alphanumeric A 20-character alphanumeric string An 8-character alphanumeric string An 80-character alphanumeric string
See "Using Arrays" in this section. Check the Read Only check box to prohibit the ability to use the point as a setpoint.
GFK-1180K
6-5
Using Arrays
CIMPLICITY software lets you define single points and array points. Using array points is one way to provide more efficient data collection. An array point can represent one instance of several process variables, or several instances of one process variable. A point contains one (1) element. An array contains more than one element.
Note: You specify an array in the Point Properties dialog box, General tab, Element field.
Important: Array points are not supported by all CIMPLICITY software functions. Support for array points is as follows: CimEdit CimView Alarm Viewer Database Logger You can configure objects to display array elements and use them for movement or animation Array elements can be displayed, and can control movement or animation. Alarms cannot be generated for array points. You can log individual array elements.
6-6
GFK-1180K
Smarteye Electronic Assembly 250 bytes The Smarteye and DDE Client protocols do not support array points. Values read from or written to a device point are forced into the correct type of the point. This may affect the array size. For example, if you have defined an analog point with type INT for a point on a CCM2 device in Register memory, the maximum array size will be 125 elements because each point in the array is put into a separate 16-bit register. Check the appropriate Device Communications documentation for further information.
GFK-1180K
6-7
Note: Addressing is used for most GE Fanuc device communications options, and for devices created via the Device Communications Toolkit API that use custom addressing. This section describes criteria for customized addressing. There is another type of addressing, standard addressing. However, it is rarely used. For further information on addressing for the protocol and device, see the CIMPLICITY HMI Device Communications Manual (GFK-1181).
6-8
GFK-1180K
2.
Enter the Address that is consistent with the selected protocol. For further information on addressing for the protocol and device, see the CIMPLICITY HMI Device Communications Manual (GFK-1181).
Device TabBasic ViewUpdate Criteria Entry depends on protocol Boolean points only
Availability depends on protocol: On Change On Scan On Demand On Scan On Demand On Change Unsolicited Poll Once
3.
(For Boolean points only) Enter an Address Offset (bit offset) if the first bit of the point's data is not the first bit of the address. Address offsets start at 0, which is the least significant bit. Example A digital point is located in the third (3rd) bit of Register 5 on a Series 90-70 The Address is %R5 The Address Offset is 2.
4.
Choose one of the following (The Addressing box displays one or all choices depending on the device you select): A. Device Dataif the address you enter is for a device point. B. Diagnostic Dataif the address you enter is for a diagnostic point See "Entries for Diagnostic Points Used with Devices". C. Ethernet Global Dataif the address you enter is for Ethernet global data.
GFK-1180K
6-9
5.
Specify the Update Criteria when data for the point is passed from the device communications processor to the point database. Available selections depend on the protocol you are using. Point is updated when On Change (Default) Data Collected: At a regular interval. The interval equals the base scan rate for the port on which the device is located multiplied by the scan rate for the point. Value Updated: On Scan Data Collected: At a regular interval. The interval equals the base scan rate for the port on which the device is located multiplied by the scan rate for the point. Value Updated: The point's value is updated at the point's scan interval, whether or not the value changes. Because this can increase system load, it is recommended that you use On Scan sparingly or not at all. On Demand On Scan Data Collected: Value Updated: On Demand On Change Data Collected: Value Updated: Unsolicited Value Updated: Whenever the device communications receives data from the PLC, it immediately sends it to CIMPLICITY Point Management whether or not the point's value has changed. This mode is only valid if the device is capable of sending unsolicited updates of point values and the device communications protocol supports it. See the CIMPLICITY HMI Device Communication Manual (GFK-1181) for more information. Whenever the point's value is needed by an application. Only when the value changes. Whenever the point's value is needed by an application. At the point's scan interval, whether or not the value changes. Only when the value changes. This is an efficient criterion.
6-10
GFK-1180K
Unsolicited On Change Value Updated: Whenever the device communications receives data from the PLC, it evaluates the point and sends it to CIMPLICITY Point Management only it the point's value has changed. This mode is only valid if the device is capable of sending unsolicited updates of point values and the device communications protocol supports it. See the CIMPLICITY HMI Device Communication Manual (GFK-1181) for more information. Poll Once Data Collected: Polled once when the device communications enabler starts up. Thereafter, it may be updated by unsolicited data from the device. If you select Poll After Set, it will also be updated after a user performs a Setpoint on the point. Once the updated data is in the point database, it is available to all that need it
GFK-1180K
6-11
Note: Diagnostic points are not available for the Point Bridge. To view diagnostic data, configure device points that correspond to the diagnostic locations in the enabler. These diagnostic points are like device data points in all ways, except that they are always available when the enabler is running (points containing device data are unavailable if communication with the device fails). Diagnostic points may be scanned at any appropriate multiple of the port's base scan rate, displayed in CimView screens, trended, logged, alarmed, etc.
Important: You cannot write to diagnostic points. Always configure them for Read access.
6-12
GFK-1180K
To create a diagnostic point when the enabler uses custom addressing: 1. 2. Check the Diagnostic data check box. Enter one of the following values as the text address of the diagnostic data in the Address field. Address
$TRANSMISSIONS $RESPONSES $FAILURES $RETRIES $DEVICE_DOWN $DEVICE_UP
Data Type
UDINT UDINT UDINT UDINT BOOL BOOL
Description Number of messages Number of messages received Number of communication failures Number of retries Device down status Device up status
Entry Choices For UDINT $TRANSMISSIONS $RESPONSES $FAILURES $RETRIES For BOOL $DEVICE_DOWN $DEVICE_UP
GFK-1180K
6-13
4.
Note: Use the following values to configure diagnostic data for devices with standard addressing: Data Type UDINT UDINT UDINT UDINT BOOL BOOL Domain Offset 0 1 2 3 0 1
Description Number of messages sent Number of messages received Number of communication failures Number of retries Device up status Device down status
Domain Type Standard Diag. Double Words Standard Diag. Double Words Standard Diag. Double Words Standard Diag. Double Words Standard Diagnostic Bits Standard Diagnostic Bits
6-14
GFK-1180K
This section describes what to enter for these advanced device point specifications. See "Setting Point Limits and Alarms" in this manual for information on how to enter the advanced specifications that unleash the spectrum of CIMPLICITY HMI monitoring powers. Specify View formats (Analog points) Specify range and setpoint limits (Analog points) Configure alarms
GFK-1180K
6-15
Trend history and Alarm tabs display for Analog and Boolean points only.
The available selections on the General tab depend on what point type you are configuring. The following procedure begins with entries for any point type and continues through entries for the analog/Boolean point types only.
Enables the point at runtime Enables the points alarm Allows data to be exported to the Enterprise server so it will be available to other projects
Enter the Resource ID associated with the point. Users who have this Resource ID assigned to their Role ID will be able to see any alarms generated for this point on their Alarm Viewer screens.
6-16
GFK-1180K
Safety Points
The status of a safety point controls whether or not a setpoint is permitted. You can select a safety point on the advanced General tab of the Point Properties dialog box. At runtime if the: Safety Point is Available and evaluates to a non-zero value Available and evaluates to zero Unavailable To specify a safety point: Select a point for the Safety Point field. The point can be: A. Digital or analog (but not REAL) B. Device or virtual Setpoint on the Point is Permitted Not permitted not permitted
Availability Triggers
An Availability Trigger determines the validity of the point you are configuring and provides a "device healthy" signal for points that are tied to intermediate devices during runtime. You can select an Availability Trigger on the General tab of the Point Properties dialog box At runtime if the: Availability Trigger Evaluates to a non-zero value Evaluates to zero To specify an Availability Trigger: . Select a point for the Availability Trigger field. The point can be digital or analog. Configured Point is Available Unavailable
GFK-1180K
6-17
Trend History
For Analog and Boolean points on the General tab of the Point Properties dialog box CIMPLICITY HMI can compile a trend history for analog and Boolean points. All you have to do is specify the amount of time that data should be retained and the maximum number of samples that should be included. To make specifications for trending data: Enter the Trend History specifications for checked Max Duration and/or Max Count check boxes to have CIMPLICITY HMI save information as follows.
Max Duration
The amount of most recent time to be saved. Select one of the following: Seconds Minutes Hours Days
Max Count
You may select either option, or both. If you select both, the Max Count takes precedence over Max Duration in determining the number of values saved in the buffer.. Point buffering lets you allocate a buffer for a point and save a number of the most recent values. This feature is currently being supported only for the Trending option. Example: Point ABC is scanned every 5 seconds If you define a: Max Duration of 1 minute, the buffer contains the 12 most recent values for ABC at any given time. Max Count of 10, the buffer contains the 10 most recent values (that is, the values for the last 50 seconds). Max Duration and Max Count, the buffer contains the 10 most recent values.
6-18
GFK-1180K
The Attribute Set browser opens. 2. Select an attribute set for the point.
Note: You can conveniently create new attribute sets or edit the selected attribute by clicking the Popup button and selecting New or Edit from the menu. See the "User Defined Point Attributes" section of the "Using Point Attributes" chapter in this manual for details about creating and editing point attribute sets.
2.
Click OK or Apply.
Result: CIMPLICITY adds the point to its default DATA_LOG. You can apply more specifications in the Database Logger. See the "Database Logger" chapter in this manual for information about configuring log tables.
GFK-1180K
6-19
2.
Click Ok or Apply.
Result: When point level setpoint security is enabled a project user can set the point only if the user's assigned role has a corresponding level that is equal to or higher than the point level. Tip: Enable point level setpoint security in the Point Setup dialog box. To open the Point Setup dialog box: 1. 2. 3. 4. Click the Project Properties button Select the Settings tab. Select Points. Click Settings. on the Workbench menu bar.
Important: Domains for programmable controllers in CIMPLICITY HMI software are sized when the project starts. If you dynamically reconfigure domain sizes on the programmable controller, you must restart the project to access points at the new domain offsets.
6-20
GFK-1180K
GFK-1180K
6-21
Example You are configuring a point that requires an update for logging purposes. If the update needs to be hourly, but the device is being scanned every quarter hour for other purposes: Use a device Trigger Point that is configured with a one-hour scan rate. See "Update Criteria for a Device Point" in this chapter. If the update needs to occur when a particular condition changes: Use a Device point that represents the condition and is configured to be updated On Change To configure trigger settings for a device point: 1. Enter the Point ID, in the Trigger Point field, of the device point that serves as the trigger for this point. The Trigger Point must be on the same device as the point you are defining.
Select a Point Point popup browser
None Equal Greater Than Greater Than Equal Less Than Equal Less Than On Change
2.
Select, in the Relation field, how the trigger point will be evaluated. Your choices are: Choice None Equal Greater Than Greater Than Equal Less Than Equal Less Than On Change Trigger is active when the trigger points value: Triggering will not occur. Equals Value. Is greater than Value. Is greater than or equal to Value. Is less than or equal to Value. Is less than Value. Whenever the Trigger Point is changed.
3.
Enter the Value the Trigger Point will be compared with to determine if the trigger condition has been met.
The trigger condition is evaluated each time the trigger point is polled, so effectively, this point is polled at the trigger point's scan rate while the trigger condition is true.
6-22
GFK-1180K
Scan Rate
Enter the frequency at which the CIMPLICITY device communications option will read this point's data, based on the port's Base Rate. The Base Rate is the minimum rate at which device points can be polled on the port. The Scan Rate is a multiple of the Base Rate. Example The Base Rate is 5 seconds The Scan Rate is set to 3. The point is scanned every 15 seconds. When you define Trigger Settings for a point, enter 0 in the Scan Rate field.
Analog Deadband
An Analog Deadband filters out changes in the raw value of this point. A point value change less than OR EQUAL TO the deadband value will be ignored. The raw value must change more than this value before the point value is updated in the CIMPLICITY point database. Therefore, the Analog Deadband can make CIMPLICITY software ignore small fluctuations in the value of a point. For example, if you have a point ranging from 0 to 10,000, and you enter 5 in this field, any point fluctuations of less than 5 are ignored.
Important: The Point Bridge does not support Poll After Set. If you are defining a Point Bridge point, clear this check box.
Delay Load
Delay Load is checked when the point will write to the point database, but will not reside in memory until called into use by an application.
GFK-1180K
6-23
The Update Criteria for the trigger point determines when triggered reads take place. The criteria can either be when the trigger point value changes or when it is scanned.
Device point that represents the condition and is configured to be updated On Change Virtual point that represents the condition
6-24
GFK-1180K
CIMPLICITY reads A1 values during each scan. Over a period of 30 seconds, A1 values are read as follows:
A1: 110 105 100
103
100
104
105
105
107
110
105
102
104
106
D1:
1 6
0 9
0 12
1 15
1 18
0 21
1 24
0 27
0 30
Option 2. Update Criteria for A1 is set to On Scan, and Trigger point D1 is set to On Change.
CIMPLICITY reads A1 values when D1 has changed from 0 to 1 or from 1 to 0 between A1 scans. Over a period of 30 seconds, A1 values are read as follows:
A1: 110 105 100
100
105
107
105
102
104
D1:
1 6
0 9
0 12
1 15
1 18
0 21
1 24
0 27
0 30
In other words, CIMPLICITY reads A1 at the 3, 9, 15, 21, 24 and 27 second marks because the value of D1 changed at those times. Note that any transitions that occur between scans (such as those between the 15 and 18 second marks) do not count.
GFK-1180K
6-25
Option 3. Update Criteria for A1 is set for On Scan and Trigger D1 is set for Greater than 0.
CIMPLICITY reads A1 when D1 is greater than 0 (1) during an A1 scan. Over a period of 30 seconds, A1 values are read as follows:
A1: 110 105 100
100
104
107
110
102
D1:
1 6
0 9
0 12
1 15
1 18
0 21
1 24
0 27
0 30
In other words, CIMPLICITY reads A1 at the 3, 15, and 24 second marks, because they are the only places where the scanned value of D1 transitions from LOW to HIGH.
Note: Because the trigger point in this example is Boolean, Greater than 0 behaves the same as specifying Equal to 1.
At run-time, PLC1 will only be updated while the point PLC1_READY is equal to 1.
6-26
GFK-1180K
The trigger settings and scan rate for each of the digital points should be configured as follows:
If the trigger point (ANA_INP_20) does not change frequently, this gives a performance benefit, because the digital points will only be updated when the analog point changes.
GFK-1180K
6-27
6-28
GFK-1180K
Or
You do this on the Conversion tab that appears in the Point Properties Advanced General tab group. An enumeration point provides the text replacement for the value of a point. You can configure one or more Point Enumeration sets in the Point Enumeration application and then associate an analog or digital point with a set on the Conversion tab. See page 6-37 for details. 1. 2. 3. Or 4. Configure the point as an enumeration point. Display the Conversion tab. Configure base base engineering units for a point. (For device points) Configure the conversion type. Either
GFK-1180K
6-29
6-30
GFK-1180K
Note: If you select a unit of measurement on the Conversion tab, and the project has an active measurement system at runtime, the base engineering units for the point are automatically converted to the corresponding units in the active measurement system. However, configured deadbands and analog deadbands will not be converted via measurement units or otherwise. If there is no active measurement system, the base engineering units are used. If the project has an active measurement system at runtime, no further point conversion takes place.
Select a Measurement Unit browser Measurement popup
Choose any of the following methods to configure engineering units for a point: Method 1. Use the Popup Menu. Method 2. Use the Select a Measurement dialog box. Method 3. Use the New Measurement dialog box. Method 4. Leave the Base Units field blank.
GFK-1180K
6-31
To configure the base engineering units for a point Method 1 1. Click the Popup Menu button to the right of the Unit field.
2.
Select the name of the base engineering unit from the list of available measurement units. Result: The unit appears in the Unit field and the label for the unit automatically displays in the Label field.
Method 2 1. Click the Browser button to the right of the Unit field.
2. 3.
Select the measurement unit. Click OK. Result: The unit appears in the Unit field and the label for the unit automatically displays in the Label field.
6-32
GFK-1180K
Method 3 1. 2. Click the Pop-up Menu button Select New. The New Measurement dialog box opens. to the right of the Unit field.
3. 4.
Enter a new measurement label in the Unit ID field. Click OK. The Measurement Unit Properties dialog box appears.
5. 6. 7.
(Optional) Enter a Description. Enter the Display label that will appear when the measurement unit is selected. Click Apply. Result: The new unit is added to the list of available units.
Method 4 Leave the base units for the point blank and enter your own label in the Label field. Result: You can configure point enumeration for either a virtual or device point.
GFK-1180K
6-33
When you specify Linear or Custom conversion, you must enter the values for the Raw and Converted Limits. Example A point's value represents degrees F. You leave the Unit field blank. The active measurement system uses metric units. No conversion from degrees F to degrees C takes place at runtime.
Linear Conversion
When you use linear conversion, you specify base and converted values that CIMPLICITY HMI uses to calculate runtime conversions.. To configure linear conversion: 1. 2. 3. Select the Conversion tab in the Point Properties dialog box Check Linear. Enter two valid Raw values in the First and Second fields.
4.
Enter two Converted values in the First and Second fields. These are engineering unit values that correspond to the first and second raw values you entered.
6-34
GFK-1180K
CIMPLICITY HMI uses these four values to calculate the linear conversion for the point. The conversion formula is:
where:
EU value = the Engineering Units value R1 = First raw value R2 = Second raw value C1 = First converted value C2 = Second converted value Raw value = the value read from the device.
CIMPLICITY HMI uses the inverse of this expression to convert Setpoint values entered by users to raw values for downloading to the device.
Custom Conversion
Custom conversion provides you with the ability to specify specific forward and backward conversion expressions. To configure custom conversion for a device points: 1. 2. 3. Select the Conversion tab in the Point Properties dialog box. Check Custom. Enter a Forward expression that CIMPLICITY HMI will use to convert the raw data to engineering units Use the placeholder %P to indicate the point value in the expression. %P is the raw value of the point.
GFK-1180K
6-35
4.
Enter a Reverse expression that CIMPLICITY HMI will use to convert setpoint values from engineering units to raw data Use the placeholder %P to indicate the point value in the expression. %P is the engineering units value of the point.
Valid operators are: Arithmetic operators Logical operators Bitwise operators Relational operators Example A conversion calls for the raw data to be divided by 10.0 then multiplied by 2.5. The Forward expressions is: (%P/10.0)*2.5 The Reverse expression is: (%P/2.5)*10.0 + - / * ( AND, NOT, OR, XOR BAND, BNOT, BOR, BXOR LT, GT, EQ, LE, GE, NE
Important: Note when creating a custom conversion: The numeric operands you use in the Forward expression are assumed to be integers unless you include decimal points in them. Once the expression processor sees an operand with a decimal point, it will process the rest of the expression using floatingpoint arithmetic. A conversion that inverts the sign, (e.g. a FWD Conversion = %P(-1) and REV Conversion = %P(-1)) will not work correctly if you configure setpoint, range or alarm limits
Example A conversion that calls for the raw data to be divided by 2, then multiplied by 10. The raw value for the point is 3. You could enter any one of the following expressions. However, the Expression Processor interprets each expression differently, as follows: Expression Result Because integer arithmetic was used throughout, the result is an integer.
(%P/2)*10 (3/2)*10 = (1)*10 = 10
Because integer arithmetic was used in the first operation of these two expressions, the operation (3/2) gives the result 1 instead of 1.5.
6-36
GFK-1180K
(%P/2)*10.0
Because (3/2.0) is processed using floating point arithmetic, the rest of the expression will be processed using floating point arithmetic, even thought 10 is entered as an integer.
(%P/2.0)*10 (3/2.0)*10 = (1.5)*10 = 15.0
Because (3/2.0) is processed using floating-point arithmetic, the rest of the expression will be processed using floatingpoint arithmetic.
(%P/2.0)*10.0 (3/2.0)*10.0 = (1.5)*10.0 = 15.0
Point enumeration is particularly useful for points where a value that is translated into text is more easily understandable than the numeric value, e.g. ON/OFF vs. 0/1. If the value of the point does not correspond to a configured enumeration, the point will be treated as being out of range and will be displayed as unavailable. Guidelines for enumerated points include: 1. Analog points of the following base data types may use enumeration sets: 2.
SINT, USINT, INT, UINT, DINT, UDINT and BOOL.
These data types will be referenced as discrete data types. Points that are not supported include: 3. 4. Array points. Points with EU conversion. The result of their evaluation is a REAL data type, which does not have discrete values.
Discrete points with 1 element only can use enumeration sets. A point can be configured so that the value can be set to any of the case-sensitive enumerated text values. If the point is set to a value that is not part of the case-sensitive enumeration, CIMPLICITY generates an error.
GFK-1180K
6-37
Steps to create an enumeration point include: Step 1. Step 2. Create an enumeration set (if the set does not already exist). Select the enumeration set that will be associated with the point.
Method 2Work through the Point Properties dialog box A. Click the Popup menu button field. B. Select New in the popup menu. to the right of the Point enumeration
A New Point Enumeration dialog box opens when you use either method.
6-38
GFK-1180K
2.
3.
4.
5. 6.
Click New. The New Value dialog box opens. Enter a value in the Value field. If the Enumeration set is associated with a point, its accompanying text will display in applications, e.g. Point Control Panel, when this value is reached. If the point is a setpoint, the value you enter will be set when its accompanying text is selected.
7. 8.
Click OK. The Value properties dialog box opens. Enter text that will be associated with the value.
GFK-1180K
6-39
9.
Check Setpoint Allowed to allow a point that is associated with the Enumeration set to be set to the selected value.
10. Click OK The Point Enumeration dialog box appears displaying the information you just entered. 11. Continue adding values until the Enumeration set is complete.
12. Click OK. Result: the Point Enumeration set is now available to be associated with one or more points.
Important: The values that you enter in the text field are case sensitive. Anyone working with those values must enter them exactly as configured.
6-40
GFK-1180K
5. 6.
Select a Point enumeration set. Click OK. The selected enumeration set displays in the Point field.
7.
Click OK.
GFK-1180K
6-41
See page 6-37 for details about configuring an Enumeration Set and enumerated point. Point Control Panel During runtime in the Point Control Panel, if the point value: Equals one of the defined numeric values, the associated text displays in the Value column. Can be set, the case-sensitive text value is entered in the Point Control Panel Point Properties dialog box.
Enumeration Point in Point Control Panel
Note: Enter the case sensitive enumerated value to set the point if setpoint capability is enabled.
See "Using the Point Control Panel" in this manual for details about the Point Control Panel.
6-42
GFK-1180K
CimEdit/CimView You can use the enumerated values in: CimEdit, to configure the enumerated point CimView, to set the point's value.
To use the example enumerated values: 1. Configure a text object on the CimEdit screen. A. Place the text object. B. Open the object's Properties dialog box. C. Enter VALVE POSITION in the String field on the Text tab. D. Enter the point, S90_VALVE_POSITION, in the Expression field. E. Check Setpoint Action. 2. Place a valve on the CimEdit screen: A. Click the Object Explorer button on the CimEdit toolbar.
B. Find Valves Symbols Factory folder in the left pane. C. Double-click a valve to place it on the screen. 3. Open the Expression List Attribute Animation dialog box for the valve as follows: A. Open the valve's Properties dialog box. B. Select the Color Animation tab. C. Click Enter. 4. 5. Enter the case sensitive enumerated values to display each valve position. Test the animation in CimView. A. Open the runtime screen. B. Enter a case sensitive enumerated value (e.g. CLOSED) in the text field. Result: The valve screen changes to reflect changes in enumerated values.
CimEdit/CimView Point Enumeration Example
See the CimEdit Operation Manual GFK-1396 for details about configuring color animation.
GFK-1180K
6-43
Set in manual mode That came from the PLC and was not reset in manual mode That is unavailable, if it was unavailable when the project stopped
CIMPLICITY HMI allows access to manual mode wherever you can reference an attribute for a device point. Access includes:
Turning manual mode on and off in the CIMPLICITY HMI Point Control Panel See "Using the Point Control Panel" chapter in this manual for a description. Using available point quality attributes in:
See the "Monitoring Point Attributes" chapter in the "CIMPLICITY HMI CimEdit Operation Manual" GFK-1396 for details about the manual mode point attributes.
Note: A point with manual mode enabled can be changed, regardless of the current value or state of an associated availability trigger or safety point.
6-44
GFK-1180K
(Optional) Begin advanced configuration in order to take advantage of CIMPLICITY HMI software capabilities and refine the point communication. Specify safety and availability triggers Enter criteria to create a trend history Configure advanced CIMPLICITY HMI virtual calculations Specify measurement units
4.
(Optional) Continue advanced configuration to unleash the spectrum of CIMPLICITY HMI monitoring powers. Specify range and setpoint limits (Analog points) Configure View formats Configure alarms
This chapter provides information for 1-3. See the Configuring Point Limits, Views and Alarms chapter in this manual to do the configuration listed in 4.
GFK-1180K
7-1
To create a new virtual point: Method 1 1. 2. 1. 2. 3. 4. 1. 2. 1. 2. 3. Select Points in the left pane of the Workbench. Double click the left mouse button. Select Points in the left pane of the Workbench. Select File. Select New. Select Object. Select Points in the left pane of the Workbench. Press Ctrl+N on the keyboard. Select a point in the right pane. Click the right mouse button. Select New from the popup menu. The New Point dialog box opens when you use any method.
New Virtual Point
Method 2
Method 3
Method 4
4. 5.
Enter a unique Point ID. Select a point Class(ification). Your virtual point can be one of three classifications: Analog Boolean Text
6.
Click OK.
7-2
GFK-1180K
Select one Data Type from the drop down list that appears for the point type you selected: Analog Points
General TabBasic ViewAnalog Point
M DINT M INT M REAL M SINT M UDINT M UINT M USINT M DINT M INT M REAL M SINT M UDINT
4 byte (32 bit) ranging from -2,147,483,648 to + 2,147,483,647 Integers ranging from -32,768 to +32,767. Floating-point numbers. Integers ranging from -128 to +127. Unsigned integers ranging from 0 to 4,294,967,295. Unsigned integers ranging from 0 to 65,535. Unsigned integers ranging from 0 to 255.
GFK-1180K
7-3
Boolean Points
General TabBasic ViewBoolean Point
A one digit Boolean point with a value of 0 or 1. 8-bits of data 16 bits of data 32 bits of data
A one-character alphanumeric A 20-character alphanumeric string An 8-character alphanumeric string An 80-character alphanumeric string
The number of array elements, if the point is an array One (1) if the point is not an array
See "Using Arrays" in this section. Check the Read Only check box to prohibit the ability to use the point as a setpoint.
7-4
GFK-1180K
Using Arrays
CIMPLICITY software lets you define single points and array points. Using array points is one way to provide more efficient data collection. An array point can represent one instance of several process variables, or several instances of one process variable. A point contains one (1) element. An array contains more than one element.
Note: You specify an array in the Point Properties dialog box, General tab, Element field.
Point Properties Dialog Box General Tab 1 = Single Point
Important: Array points are not supported by all CIMPLICITY software functions. Support for array points is as follows: CimEdit You can configure objects to display array elements and use them for movement or animation Array elements can be displayed, and can control movement or animation. Alarms cannot be generated for array points. Individual array elements can be logged.
GFK-1180K
7-5
The last saved value of the point if there is one; otherwise the constant entered in the Initial Value field.
See "Specifying How Virtual Points are Stored", in this chapter, if you choose Saved as the initialization value. 3. (Displays if Initialized is selected in the Initialization field) Enter the Initial Value for the point at initialization, before any data is generated by its component point(s). The Calculation TypeNone is the basic configuration default. See "Configuring Points: Advanced" in this manual for information about other calculations.
4.
7-6
GFK-1180K
Boolean point
Analog point
2.
Specify the source for the initial value of this point when the software is started up or reset. Choices include: None Initialized Saved No reset/startup condition is defined. A constant value entered in the Initial Value field (C) is initialized. The last saved value of the point when the project starts. The type of value is specified in the Project Properties dialog box, Settings tab. Choices are: Saved or Initialized every time a point changes. when the project shuts down normally.
The last saved value of the point if there is one; otherwise the constant entered in the Initial Value field.
See "Specifying How Virtual Points are Stored", in this chapter, if you choose Saved as the initialization value.
GFK-1180K
7-7
3.
(Displays if Initialized is selected in the Initialization field) Enter the Initial Value for the point at initialization, before any data is generated by its component point(s). For multi-character strings, Each element in the array is initialized to the Initial Value.
Note: When working with initialization values for string arrays, if: Too many elements are given in Initial Value, the string truncates at the number of elements. The Initial Value does not specify enough elements, the remaining elements of the string are initialize to the Null character. Example A String array:
is an array of 4. has an Initial Value of ABCDEFGH. each element in the array is initialized to ABCDEFGH.
For single character string arrays, Each element in the array is initialized with the corresponding character in the Initial Value field. Example A String array:
Is an array of 8. Has an Initial Value of ABCDEFGH. Sets STRING[0] to A Sets STRING[1] to B, etc.
Guidelines: When working with initialization values for string arrays, if: Too many elements are given in Initial Value, the string truncates at the number of elements. The Initial Value does not specify enough elements, the remaining elements of the string are initialize to the Null character.
7-8
GFK-1180K
Step 1. Open the Point Setup dialog box: Method 1 1. 2. 3. 4. 5. 1. 2. 3. 4. 5. Click Project on the Workbench menu bar. Select Properties. The Project Properties dialog box opens. Select the Settings tab. Select Points. Click Settings. Press Alt+P on the keyboard. Press P. The Project Properties dialog box opens. Select the Settings tab. Select Points. Click Settings.
Method 2
Result: The Point Setup dialog box opens when you use either method.
GFK-1180K
7-9
Step 2. Select how CIMPLICITY HMI should store values: 1. (Optional) Select one of the following : Check On point update To Save the last know good value of: Each saved virtual point in your project whenever its value updates. When the saved virtual points in your project change at a rapid pace, this option causes the Point Manager to consume more computer resources. This is because each point change is written to disk as it occurs. On project shutdown The saved virtual points in your project to disk when you shut down the project normally. This option improves disk performance since the Point Manager no longer needs to access the disk every time a saved point changes. However, if your project terminates abnormally, the last known good values will not be saved. 2. (Optional) Check Compact on project startup to compact the saved virtual point storage when the project starts up. If you select this option, the Point Manager removes all points in the saved point storage that no longer exist in the project's run-time configuration, and then compresses the storage to make optimum use of disk space.
7-10
GFK-1180K
It is recommended that you use this option only while you are developing your project. Once you have a stable point configuration, it is no longer necessary to compact the saved virtual point storage.
GFK-1180K
7-11
This section describes what to enter for these advanced virtual point specifications. See "Setting Point Limits and Alarms" in this manual for information on how to enter the advanced specifications that unleash the spectrum of CIMPLICITY HMI monitoring powers. Configure View formats Specify range and setpoint limits (Analog points) Configure alarms
7-12
GFK-1180K
Trend history and Alarm tabs display for Analog and Boolean points only.
The available selections on the General tab depend on what point type you are configuring. The following procedure begins with entries for any point type and continues through entries for the analog/Boolean point types only.
GFK-1180K
7-13
Enables the point at runtime Enables the points alarm Allows data to be exported to the Enterprise server so it will be available to other projects
Enter the Resource ID associated with the point. Users who have this Resource ID assigned to their Role ID will be able to see any alarms generated for this point on their Alarm Viewer screens.
Safety Points
The status of a safety point controls whether or not a setpoint is permitted. You can select a safety point on the advanced General tab of the Point Properties dialog box. To specify a safety point: Select a point for the Safety Point field. The point can be: A. Digital or analog B. Device or virtual
At runtime if the: Safety Point is Available and evaluates to a non-zero value Available and evaluates to zero Unavailable Setpoint on the Point is Permitted Not permitted Not permitted
7-14
GFK-1180K
The Attribute Set browser opens. 2. Select an attribute set for the point.
Note: You can conveniently create new attribute sets or edit the selected attribute by clicking the Popup button and selecting New or Edit from the menu. See the "User Defined Point Attributes" section of the "Using Point Attributes" chapter in this manual for details about creating and editing point attribute sets.
Availability Triggers
An Availability Trigger determines the validity of the point you are configuring and provides a "device healthy" signal for points that are tied to intermediate devices during runtime. To specify an availability trigger: Select a point for the Availability Trigger field. The point can be digital or analog.
At runtime if the: Availability Trigger Evaluates to a non-zero value Or Unavailable Evaluates to zero Configured Point is Available or derived Unavailable
Important: Availability triggers only apply to virtual points that have no calculation expression.
GFK-1180K
7-15
Trend History
CIMPLICITY HMI can compile a trend history for analog and Boolean points. All you have to do is specify the amount of time that data should be retained and the maximum number of samples that should be included. To make specifications for trending data: Enter the Trend History specifications for checked Max Duration and/or Max Count check boxes to have CIMPLICITY HMI save information as follows.
Max Duration
The amount of most recent time to be saved. Select one of the following: Seconds Minutes Hours Days
Max Count
You may select either option, or both. If you select both, the Max Count takes precedence over Max Duration in determining the number of values saved in the buffer. Point buffering lets you allocate a buffer for a point and save a number of the most recent values. This feature is currently being supported only for the Trending option Example: Point ABC is scanned every 5 seconds If you define a: Max Duration of 1 minute, the buffer contains the 12 most recent values for ABC at any given time. Max Count of 10, the buffer contains the 10 most recent values (that is, the values for the last 50 seconds). Max Duration and Max Count, the buffer contains the 10 most recent values.
7-16
GFK-1180K
2.
Click OK or Apply.
Result: CIMPLICITY adds the point to its default DATA_LOG. You can apply more specifications in the Database Logger. See the "Database Logger" chapter in this manual for information about configuring log tables.
2.
Click Ok or Apply.
Result: When point level setpoint security is enabled a project user can set the point only if the user's assigned role has a corresponding level that is equal to or higher than the point level.
GFK-1180K
7-17
Tip: Enable point level setpoint security in the Point Setup dialog box. To open the Point Setup dialog box: 1. 2. 3. 4. Click the Project Properties button Select the Settings tab. Select Points. Click Settings. on the Workbench menu bar.
See the following chapters in this manual: "Understanding Points" for more details about enabling setpoint security. "Configuring Roles" for details about specifying the role security level.
7-18
GFK-1180K
Note: Virtual points are updated on project start based on the results of entries in the Initialization and Calculation fields that are on the Virtual tab of the Point Properties dialog box.
Advanced Virtual Tab Initial Value SpecificationAnalog Point: Example
Selections (and associated entries) provide criteria for virtual point updates.
The calculation types are: Equation Analog and Boolean. See page 7-20. Delta Accum. See page 7 -22. Value Accum. See page 7-27. Average. See page 7-29. Max Capture. See page 7-31. Min Capture. See page 7-33. Trans-High Accum. See page 7-35. Equation w/Override. See page 7-37. Timer/Counter. See page 7-39. Histogram. See page 7-42.
Tip: A Local checkbox displays on the advanced Virtual tab for every calculation choice except none. Check the Local check box to tell CIMPLICITY HMI not to report the value of the point to the Point Management process. This is useful for points that are only used to hold intermediate values in calculations. For such points, setting the Local flag eliminates the overhead of reporting to the Point Management process. Local points cannot be shared with other applications.
Note: Almost all of the calculations allow you to enter a trigger point.
GFK-1180K
7-19
For calculation points, you only need Saved and Initial values for Delta Accum, Timer/Counter and Value Accum points. This is because all other calculation points are validated at startup and any saved or initial value is immediately overwritten.
Trigger Points
A trigger point minimizes the system resources that are required for calculating virtual points when it is not necessary to keep virtual points current with the points used to calculate their values. Example You are configuring a point that requires an update for logging purposes. If the update needs to be hourly: Use a device trigger point that is configured with a one-hour scan rate. See "On Scan" in the "Configuring Device Points" chapter in this manual. If the update needs to occur when a particular condition changes: Use either a:
Device point that represents the condition and is configured to be updated On Change. Virtual point that represents the condition.
Equation Points
Equation points are available for both analog and Boolean virtual points. CIMPLICITY HMI uses the expression you specify in the Expression field to update the point's value. Steps to define equation points include: Step 1. Step 2. Step 3. Step 4. Select Equation in the Calculation field. Enter an expression for the Equation point. (Optional) Define a trigger point. (Optional) Define a reset point.
Step 1. Select Equation in the Calculation field. Select Equation in the Calculation field on the Virtual tab of the Point Properties dialog box.
Expression dialog Point menu
7-20
GFK-1180K
Step 2. Enter an expression for the Equation point: Enter an expression in the Expression field on the Virtual tab of the Point Properties dialog box. Result: The expression calculates the value of the Equation point. The expression may contain: One or more Point IDs along with Constant values, operations, and functions. Rules for defining an expression are: 1. Avoid introducing loops (circular references between points) in your expressions. Example of what to AVOID:
VIRTUAL_PT1 = DEVICE_PT + VIRTUAL_PT2 VIRTUAL_PT2 = DEVICE_PT + VIRTUAL_PT1
Although this will not cause CIMPLICITY software to fail, it will cause the Virtual Point Processor to always have work to do. This causes all available computer time to be consumed, which adversely impacts system performance. 2. Use proper formatting for array points. Example of the correct format
VIRTUAL_PT1 = DEVICE_PT[0] / 2.0
3.
Use proper formatting for Point IDs with reserved words. Point IDs that are reserved words, or contain spaces, arithmetic operators, parentheses, or that begin with a non-alphabetic character must be placed in single quotes when used in an expression. Example
VIRTUAL_PT2 = 'DEVICE_PT:0' * 'WARNING_LOW'
Step 3. (Optional) Define a trigger point for the Equation point: (Optional) Enter a Point ID in the Trigger Point field. Result: When the value of the equation updates depends on whether or not you defined the trigger point as follows: If a trigger point is: Defined Not defined The value of the Equation point is updated whenever Value of the: Trigger point is updated. One of the source points in the Expression field is updated.
GFK-1180K
7-21
Step 4. (Optional) Define a reset point for the Equation point: Enter a Point ID in the Reset Point field. Result: Based on whether there is an entry in the Reset Point field, at runtime the Equation point is reset as follows: If : An Initial Equation Point value is 1 2 3 4 1 2 Not defined Not defined Defined Defined Not defined Defined And: The Current value of the Expression is Available Unavailable Unavailable Available Then: The Equation point value is reset to the: Current value Zero Initial value Current value Zero Initial value
Note: You can also use a Delta Accum point with a global virtual point. However, in most cases, the virtual point should be configured so that when it reaches the rollover level it emulates a PLC and rolls over to the initial value. Steps to define a Delta Accum point are: Step 1. Step 2. Step 3. Step 4. Step 5. Step 6. Select Delta Accum in the Calculation field. Enter an expression for the Delta Accum point. Enter a maximum acceptable delta value. (Optional) Enter a rollover value. (Optional) Define a trigger point. (Optional) Define a reset point.
7-22
GFK-1180K
Guidelines: For a Delta Accum point: A Delta Accum point: Adds the difference between the current and previous values of the expression that you specify in the Expression field to the current value of the Delta Accum point. Is first updated after the first two expression updates are received. Continues to have Delta values added until a Reset Condition is reached. Is writeable. Is always calculated as follows: 1. If the old source is less than the new source,
New Delta Accum = Old Delta Accum + (New source - old source)
2.
If the source has rolled over so the new source is less than the old source,
New Delta Accum = Old Delta Accum + (Source rollover value + 1) - old source value + new source value
Example Note: A rollover value, which is used in this example, is the maximum acceptable value for a source point. When the maximum value is incremented by 1 unit, the source point rolls over to 0. A Delta Accum point has a value of 100 and a Rollover value of 1000. 1. The source changes from 100 to 999. The new Delta Accum value=999.
999=100+(999-100)
2.
The source next changes from 999 to 20. (The source point has rolled over.) The new Delta Accum changes to 1022 based on the formulas calculation:
999+(1000 + 1) - 999 + 20 = 1022
Step 1. Select Delta Accum in the Calculation field: 1. Select Delta Accum in the Calculation field on the Virtual tab of the Point Properties dialog box.
Expression dialog Point menu
GFK-1180K
7-23
The previous source expression has a value of 97. If a new value of 3 is received, the new delta accum is calculated as:
98+(100 - 97)+ 3= 104
If you do not specify a Rollover value, the size of the data type for the Delta Accum point determines the default Rollover value.
7-24
GFK-1180K
Example If the source point has an INT point type, the maximum acceptable value for the Delta Accum point is 32767. When the maximum value is exceeded the following message is logged to the Status Log with Success status:
Rollover occurred for accumulator point : <point_id>
Note: If the source expression is a floating or Boolean point, rollover is not applied.
GFK-1180K
7-25
A selector point, which is defined in the Safety Point field, determines which subgroup element of the array is updated. The selector point must have a value from 1 to N-1, where N is the number of elements in the array. Example An array Delta Accum point tacks production counts for the total number of parts produced in a shift. number of parts produced in each hour of the eight-hour shift.
The Delta Accum array point is called COUNTS with 9 Elements (one for the total shift count, and one for each hour of the shift). The elements are defined as follows: Element
COUNTS[0] COUNTS[1] COUNTS[2] COUNTS[3] COUNTS[4] COUNTS[5] COUNTS[6] COUNTS[7] COUNTS[8]
Description Shift total production count First hour production count Second hour production count Third hour production count Fourth hour production count Fifth hour production count Sixth hour production count Seventh hour production count Eighth hour production count
A Safety Point called HOUR: Varies from 1 to 8, depending on the hour of the shift. Determines which subgroup element gets updated along with COUNTS[0]. For example, if HOUR=4, COUNTS[0] and COUNTS[4] are updated.
If HOUR is less than 1 or greater than 8, no elements in the array are updated.
7-26
GFK-1180K
GFK-1180K
7-27
Step 3. (Optional) Define a Trigger Point for the Value Accum Point
Step 3. Define a trigger point for the Value Accum point: (Optional) Enter a Point ID in the Trigger Point field. Result: When the value of the Value Accum point updates depends on whether or not you defined the trigger point as follows: If a trigger point is: Defined Not defined The value of the Value Accum point is updated whenever the Value of the: Trigger point is updated. Source point in the Expression field is updated.
Step 4. (Optional) Define a Reset Point for the Value Accum Point
Step 4. Define a reset point for the Value Accum point: (Optional) Enter a Point Id in the Reset Point field. Result: Based on whether there is an entry in the Reset Point field, at runtime the Value Accum point is reset as follows: If: An Initial Value Accum Point Value is And: The Current value of the Expression is Then: The Value Accum point value is reset to the: Zero Zero Initial value Initial value Zero Initial value
When the trigger point is not defined 1 2 3 4 1 2 Not defined Not defined Defined Defined Not defined Defined Unavailable Available Unavailable Available
7-28
GFK-1180K
Average Points
An Average point maintains the average value for the source Point ID that you specify in the Expression field. This virtual point can be a signed or unsigned integer, or a floatingpoint number. The average is calculated as the accumulation of the deviation from the average point data, divided by the number of samples taken. The calculation is:
average = average + (source - average) / sample_count
or simply as
average + (source - average) / sample_count
The average is calculated as an eight-byte floating-point data type, then the result is converted into the data type you specify for the average point. Steps to define an Average point are: Step 1. Step 2. Step 3. Step 4. Select Average in the Calculation field. Enter an expression for the Average point. (Optional) Define a trigger point. (Optional) Define a reset point.
Note: For integer type points, the resulting data is rounded. This may result in a loss of accuracy. It is suggested that you use the Real point type for your Average point.
GFK-1180K
7-29
When the trigger point is defined, the result will either be the source value or the average of the source and initialized value.
7-30
GFK-1180K
GFK-1180K
7-31
Step 3. (Optional) Define a Trigger Point for the Max Capture Point
Step 3. Define a trigger point for the Max Capture point: (Optional) Enter a Point ID in the Trigger Point field. Result: When the value of the Max Capture point updates depends on whether or not you defined the trigger point as follows: Trigger point Defined Not defined The Value of the Max Capture Point is Updated When the Value of the: Trigger point is updated. Source point in the Expression field is updated.
Step 4. (Optional) Define a Reset Point for the Max Capture Point
Step 4. Define a reset point for the Max Capture point: Enter a Point Id in the Reset Point field. Result: Based on whether there is an entry in the Reset Point field, at runtime the Max Capture point is reset as follows: If; An Initial Max Capture Point Value is 1 Not defined And: The Current value of the Expression is Unavailable Then: The Max Capture point value is reset to the: Smallest possible value for the point type. e.g. for INT the value is -32768 Current value Initial value Whichever has the Max value Smallest possible value for the point type. e.g. for INT the value is -32768 Initial value
2 3 4
Defined
Note: When a Startup condition is Saved, Reset point is defined, Trigger point is defined,
then the Max Capture point will only reset to the equation value after the reset point is activated, followed by the trigger point being activated.
7-32
GFK-1180K
GFK-1180K
7-33
Step 3. (Optional) Define a Trigger Point for the Min Capture Point
Step 3. Define a trigger point for the Min Capture point: (Optional) Enter a Point ID in the Trigger Point field. Result: When the value of the Min Capture point updates depends on whether or not you defined the trigger point as follows: Trigger point Defined Not defined The Value of the Min Capture Point is Updated When the Value of the: Trigger point is updated. Source point in the Expression field is updated.
Step 4. (Optional) Define a Reset Point for the Min Capture Point
Step 4. Define a reset point for the Min Capture point: Enter a Point Id in the Reset Point field. Result: Based on whether there is an entry in the Reset Point field, at runtime the Min Capture point is reset as follows: If: An Initial Min Capture Value is And: The Current value of the Expression is Unavailable Available Unavailable Then: The Min Capture point value is reset to the: Initial value Current value Max possible value for the point type. E.g. for INT the value is +32767 Whichever has the Min value Max possible value for the point type. E.g. for INT the value is +32767 for INT the value Initial value
When the trigger point is not defined 1 2 3 Not defined Not defined Defined
4 1
Available
Defined
7-34
GFK-1180K
Steps to define a Trans High Accum point are: Step 1. Step 2. Step 3. Step 4. Select Trans-High Accum in the Calculation field. Enter an expression for the Trans-High Accum point. (Optional) Define a trigger point. (Optional) Define a reset point.
GFK-1180K
7-35
Step 3. (Optional) Define a Trigger Point for the Trans-High Accum Point
Step 3. Define a trigger point for the Trans-High Accum point: (Optional) Enter a Point ID in the Trigger Point field. Result: When the value of the Trans-High Accum point updates depends on whether or not you defined the trigger point as follows: Trigger point Defined Not defined The Value of the Min Capture Point is Updated When the Value of the: Trigger point is updated. Source point in the Expression field is updated.
Step 4. (Optional) Define a Reset Point for the Trans-High Accum Point
Step 4. Define a reset point for the Trans-High Accum point: Enter a Point ID in the Reset Point field. Result: Based on whether there is an entry in the Reset Point field, at runtime the Trans-High Accum point is reset as follows: If: An Initial Trans High Accum Value is 1 2 3 4 1 2 Not defined Not defined Defined Defined Not defined Defined And: The Current value of the Expression is Unavailable Available Unavailable Available Then: The Trans High Accum point value is reset to the: Zero Zero Initial value Initial value Zero Initial value
7-36
GFK-1180K
Step 1. Select Equation w/Override in the Calculation field. Select Equation w/Override in the Calculation field on the Virtual tab of the Point Properties dialog box.
Virtual TabPoint Properties Dialog Box Expression dialog Point menu
Step 2. Enter an expression for the Equation w/Override point: Enter an expression in the Expression field on the Virtual tab of the Point Properties dialog box. Result: The expression calculates the value of the Equation w/Override point. The expression may contain: One or more Point IDs along with Constant values, operations, and functions. Rules for defining an expression are: 1. Avoid introducing loops (circular references between points) in your expressions. Example of what to AVOID:
VIRTUAL_PT1 = DEVICE_PT + VIRTUAL_PT2 VIRTUAL_PT2 = DEVICE_PT + VIRTUAL_PT1
GFK-1180K
7-37
Although this will not cause CIMPLICITY software to fail, it will cause the Virtual Point Processor to always have work to do. This causes all available computer time to be consumed, which adversely impacts system performance. 2. Use proper formatting for array points. Example of the correct format
VIRTUAL_PT1 = DEVICE_PT[0] / 2.0
3.
Use proper formatting for Point IDs with reserved words. Point IDs that are reserved words, or contain spaces, arithmetic operators, parentheses, or that begin with a non-alphabetic character must be placed in single quotes when used in an expression. Example
VIRTUAL_PT2 = 'DEVICE_PT:0' * 'WARNING_LOW'
Step 3. (Optional) Define a trigger point for the Equation w/Override point: (Optional) Enter a Point ID in the Trigger Point field. Result: When the value of the equation w/override updates depends on whether or not you defined the trigger point as follows: Trigger point Defined Not defined The Value of the Equation w/Override is Updated When the Value of the: Trigger point is updated. Value of the source point in the Expression field is updated.
Step 4. (Optional) Define a reset point for the Equation w/Override point: Result: Based on whether there is an entry in the Reset Point field, at runtime the Equation /Override point is reset as follows: If: An Initial Equation w/Override Point Value is 1 2 3 4 1 2 Not defined Not defined Defined Defined Not defined Defined And: The Current value of the Expression is Unavailable Available Unavailable Available Then: The Equation w/Override point value is reset to the: Zero Current value Current value Current value Zero Initial value
7-38
GFK-1180K
Timer/Counter Points
A Timer/Counter point records the following data in three array elements: A count of the number of times the Expression has transitioned from the LOW state to the HIGH state since the project started or since the Timer/Counter point was reset. The Expression is in its:
LOW state if its value is less than or equal to zero HIGH state if its value is greater than zero
The accumulated duration of all HIGH states, stored in seconds. 0 or the time of the last transition to HIGH. While the Expression is in the:
LOW state, this field contains zero HIGH state, this field contains the time the Expression transitioned to the HIGH state.
Time is stored in the number of seconds since 00:00:00 on January 1, 1970 GMT (Greenwich Mean Time). If you computer's clock is set for another time zone, this value is translated accordingly. For example, if your computer's clock is set for Eastern Standard Time, the base time is 19:00:00 31 December 1969. Steps to define a Timer/Counter point are: Step 1. Step 2. Step 3. Step 4. Step 5. Define the point type. Select Timer/Counter in the Calculation field. Enter an expression for the Timer/Counter point. Define the Timing for the Timer/Counter point. (Optional) Define a reset point.
GFK-1180K
7-39
At run-time, the value of the Expression determines how information is stored in the array. When the Expression transitions from its LOW state to its HIGH state: The first element of the array is incremented. The third element of the array is set to the current system time The Interval timer starts. While the Expression remains in its HIGH state, the duration time in its second element is increased at every Interval. When the Expression transitions from its HIGH state to its LOW state, the third array element is set to zero. While the Expression remains in its LOW state, no elements of the array are updated.
7-40
GFK-1180K
You want to update the Timer/Counter point every ten minutes while the expression is in the HIGH State.
GFK-1180K
7-41
Enter 00:10:00 in the Interval field to update each Timer/Counter every ten minutes from the time it started. Point ID While the expression remains high, will update every 10 minutes in the hour beginning at: 00:00:05 00:00:10 00:00:15
When the Expression value goes HIGH, the values in the Timer/Counter point are updated. After that, the updates are done every ten minutes.
Histogram Points
A Histogram point records the frequency at which the value of the source point, identified in the Expression field, updates within specified range intervals. This information is typically displayed graphically as a histogram. Each time the source point is updated, the counter whose range encompasses the source point value is incremented. You must configure a Histogram point as an array point. The number of elements in the array will be:
the number of range intervals you desire + 6
The extra six elements are used to maintain the: Minimum of the point values received Maximum of the point values received Total number of samples received Sum of the values of all samples received Number of sample values that were less than the lower limit of the point range (underflow bucket) Number of sample values that were greater than the upper limit of the point range (overflow bucket)
Steps to define a Histogram point are: Step 1. Step 2. Step 3. Step 4. Select Histogram in the Calculation field. Enter an expression for the Histogram point. (Optional) Define a Trigger point. (Optional) Define a Reset point.
Use the Display Limits fields to specify the lower and upper range values within which the point values are expected to occur. The range intervals are automatically calculated based on the Display High and Display Low limits and the number of Elements you specify.
7-42
GFK-1180K
GFK-1180K
7-43
A point called CYCLE_TIME is expected to have a value between 50 and 100, and you want to track the frequency at which values occur within five intervals. Create a Histogram point called HIST_CYCLE_TIME with: Display Low Display High Elements Expression 50 100 11 CYCLE_TIME
The eleven elements of this point contain the following information, where X is the number of point value samples: Element
HIST_CYCLE_TIME[0] HIST_CYCLE_TIME[1] HIST_CYCLE_TIME[2] HIST_CYCLE_TIME[3] HIST_CYCLE_TIME[4] HIST_CYCLE_TIME[5] HIST_CYCLE_TIME[6] HIST_CYCLE_TIME[7] HIST_CYCLE_TIME[8] HIST_CYCLE_TIME[9]
Contents X<50 (underflow bucket) 60<X50 70<X60 80<X70 90<X80 100X90 100<X (overflow bucket) Number of samples Sum of all sample values Minimum of the point values received
7-44
GFK-1180K
Virtual point
Device point that represents the condition and is configured to be updated On Change. Virtual point that represents the condition
GFK-1180K
7-45
On the Virtual property page for SHIFT_NUMBER, select Global for the Calculation Type. The value in SHIFT_NUMBER changes whenever a shift ends. The Virtual properties for WIDGET_COUNT are:
Or
See "Point Conversions and Enumeration" in the "Configuring Device Points" chapter in this manual for detailed information about available options and configuration.
7-46
GFK-1180K
2.
Tip: When you use a device Point ID in the Expression Editor for virtual points, the raw value of the point is used by default. If you want to use the engineering units value, enter EU_CONV(<point_id>) in the expression.
GFK-1180K
7-47
Tip: Use the Point IDs..., Edit Point and New Point buttons to browse through existing points, edit a selected point or create a new point. Operations are divided into the following areas: Alarm functions. Arithmetic. Bitwise. Conversion. Logical. Relational. Scientific.
7-48
GFK-1180K
Alarm Functions
Alarm functions supported by the Expression Editor are: AL Returns TRUE if the point is in any Alarm or Warning state. Format is AL(<point id>) A1 or WARNING Returns True if the point is in a Warning High or Warning Low state. Format is A1(<point id>) A2 or ALARM Returns True if the point is in an Alarm High or Alarm Low state. Format is A2(<point id>) AH1 or WARNING_HIGH Returns True if the point is in a Warning High state. Format is AH1(<point id>) AH2 or ALARM_HIGH Returns True if the point is in an Alarm High state. Format is AH2(<point id>) AL1 or WARNING_LOW Returns True if the point is in a Warning Low state. Format is AL1(<point id>) AL2 or ALARM_LOW Returns True if the point is in an Alarm Low state. Format is AL2(<point id>) ANA or ALARM_NOT_ACKED Returns True if the point is in alarm and the alarm has not been acknowledged. Format is ANA(<point id>) Important: ANA is not supported for Enterprise points.
GFK-1180K
7-49
Arithmetic Operations
Arithmetic operations supported by the Expression Editor are:
+ * /
Addition Subtraction Multiplication Division The result of dividing two integers in an expression will be an integer. If you want a floating point result, multiply the numerator by 1.0 before dividing. For example, POINTA is set to 6 and POINTB is set to 4. The result of the expression POINTA/POINTB is 1, while the result of the expression (POINTA*1.0)/POINTB is 1.5.
SQR
Takes the square root of an expression. The format for this operation is SQR expr.
ABS
Takes the absolute value of an expression. The format for this operation is ABS (expr). For example, ABS (-2.6) return 2.6.
MIN
Returns the minimum value of two expressions. Format is (expr1) MIN (expr2). For example, 3 MIN 4 returns 3.
MAX
Returns the maximum value of two expressions. Format is (expr1) MAX (expr2). For example, 3 MAX 4 returns 4.
MOD
Returns the modulus value of an expression. Format is (expr1) MOD (expr2). For example, 9 MOD 8 returns a value of 1.
RND
Rounds a floating-point expression to the nearest integer. Format is RND (expr). For example, RND (2.6) returns a value of 3 and RND (-2.6) returns a value of -3.
TRUNC
Truncates a floating-point expression to its integer value. Format is TRUNC (expr). For example, TRUNC (2.6) returns a value of 2, and TRUNC (-2.6) returns a value of -2.
7-50
GFK-1180K
FLR
Rounds a floating-point expression to the nearest integer that is smaller than the expression. Format is FLR (expr). For example, FLR (2.6) returns a value of 2, and FLR (-2.6) returns a value of -3.
CEIL
Rounds a floating-point expression to the nearest integer that is larger than the expression. Format is CEIL (expr). For example, CEIL (2.3) returns a value of 3 and CEIL (-2.3) returns a value of -2.
Bitwise Operations
You can use Boolean, integer or floating point number for bitwise operations. If a number/expression is in floating point, it is rounded off to the nearest integer for these operations. Bitwise operations supported by the Expression Editor are:
BAND
BOR
BNOT
BXOR
IFELSE
Or
(expr1) ? (expr2) : (expr3) SHL
Performs a binary left shift on an expression. Format is (expr1) SHL (expr2). For example, 2 SHL 1 returns a value of 4. Note: When SHL goes out of range the: Point becomes unavailable. Point Control Pane is starred. Core status log notes that it is unavailable.
GFK-1180K
7-51
SHR
Performs a binary right shift on an expression. Format is (expr1) SHR (expr2). For example, 2 SHR 1 returns a value of 1. Note: When SHR goes out of range the: Point becomes unavailable. Point Control Pane is starred. Core status log notes that it is unavailable.
Note: The IFELSE statement is not available from the operation keys. However, you can enter it manually.
Conversion Operation
VAL
Convert a variable that consists of numbers in text string format to a numeric format that can be included in calculations.
Logical Operations
You can use Boolean, integer or floating point numbers for logical operations. If an expression has a non-zero value, it is TRUE; if the value is zero, it is FALSE. Logical operations supported by the Expression Editor are:
AND
OR
NOT
XOR
7-52
GFK-1180K
Relational Operations
Relational operations supported by the Expression Editor are:
LT
GT
EQ
LE
GE
NE
GFK-1180K
7-53
Scientific Operations
The scientific operations supported by the Expression Editor are:
SIN
COS
Returns the cosine (angle in radians) value of an expression. Format is COS (expr)
TAN
ASIN
Returns the arc sine (angle in radians) value of an expression. Format is ASIN (expr)
ACOS
Returns the arc cosine (angle in radians) value of an expression. Format is ACOS (expr)
ATAN
Returns the arc tangent (angle in radians) value of an expression. Format is ATAN (expr)
X^Y
EXP
Returns the exponential (ex) value of an expression where x is the expression. Format is EXP (expr)
LOG
LOG10
7-54
GFK-1180K
Out of range means that the result is not within the range values specified by the Point Type for the virtual point. For example, an INT point has a range between -32768 and +32767.
GFK-1180K
7-55
2. Point Limits.
A detailed alarm definition An alarm class that prioritizes the point's alarm Criteria for evaluating the alarm values Alarm limit values An alarm delay A deadband that defines the tolerance for alarm conditions A help file
GFK-1180K
8-1
Point View
For any point that you configure, you can Select a CimView screen name that will appear on that point's popup menu in the Workbench. Configure analog point display characteristics for CIMPLICITY HMI application such as CimView.
You do this on the View tab of the Point Properties dialog box.
Screen CIMPLICITY associates with the point., e.g. the name displays on the point's popup menu in the Workbench .
8-2
GFK-1180K
You do this on the View tab of the Point Properties dialog box.
Justification when point value displays in standard CIMPLICITY applications, e.g. CimView.
GFK-1180K
8-3
Minimum width when point value displays in standard CIMPLICITY applications, e.g. CimView.
The width specification never causes a value to be truncated. If the number of characters in the output value is greater than the specified width, or if a width is not given, all characters of the value are printed (subject to the precision specification). If the number of characters in the output value is less than the specified width, blanks are added to the left or right of the values, depending on whether the flag (for left alignment) is specified, until the minimum width is reached. If the width is prefixed with 0, zeros are added until the minimum width is reached. For analog real points and points with Engineering Units conversion 1. 2. Enter the precision number of digits to be displayed to the right of the decimal point in field. Select Fixed, Scientific or Compact for the format TYPE. The result of your choice is as follows: Format Type Fixed Point's Value displays in CimView in: Fixed format using the Width and Precision information you specify. The default is 6 if precision is not specified. Example Width = 7 Precision =3 The point display uses 7 places with 3 of the places after the decimal point. 10 displays as 10.000. Scientific Scientific format using the Width and Precision information you specify. The default is 6 if precision is not specified.
8-4
GFK-1180K
Compact
Fixed or Scientific format based on Precision information Precision information determines the exponent to start displaying in Scientific format. Example Precision = 5. The value 100,000 displays as 1e+005. 10,000 displays as 10000. The Compact type also truncates trailing zeros to the right of the decimal point. For example, 10.0 displays as 10 and 10.10 displays as 10.1.
Note: For integer point types, Decimal is the only format type.
Guide for enabling analog display configuration: When you configure an object that uses the point in CimView, you have to enable the Justification and Width configuration in CimEdit. You do this on the Text tab of the Object Properties dialog box in CimEdit, in the Display Format field. See "CIMPLICITY HMI CimEdit Manual" GFK-1396 for more information.
Example of Analog Point Display A point's point type is UDINT
1 Point Properties dialog box View tab 2 CimEdit Object Properties dialog boxText Tab
A. Select the point's justification. B. Enter the minimum width. Select "Configured" when configuring a text object that uses the point.
1254387
GFK-1180K
8-5
Low and high limits display when the point value is used in CimView and Trending.
CimView uses graphics limits as maximum/minimum limits for: Horizontal/Vertical movement Rotation/Fill Horizontal/Vertical scaling
If you have a single point expression in any of the above expressions and you do not specify a minimum or maximum limit for the expression, the point's display limits are used instead. If these limits are not specified either, default values of 0 (minimum) and 100 (maximum) are used. Trending uses the graphics limits to determine the Y-axis limits for the point. The display limits must be within the range limits you specify on the Limits properties page. Limit Display High Display Low Enter the: Upper bound for the display. If the point value is greater than this value, this Display High value displays. Lower bound for the display. If the point value is less than this value, this Display Low value displays
Important: Make sure the display limits are within range limits that you set. See "Configuring Range Limits" in this chapter.
8-6
GFK-1180K
Point Limits
You can specify range and setpoint limits for both device and virtual analog points on the Limits tab that appears in the Advanced General tab group. For device and virtual analog points, you can specify: Range limits and setpoint limits.
You do this on the Limits tab of the Point Properties dialog box.
Values below the low range limit and above the high range limit will display as the point unavailable value.
GFK-1180K
8-7
Note: Range limits apply to only the first element of n array point. Example A PLC gives raw data in counts from 0 to 1000. The raw data represents temperatures between -500 C and +500 C. Values above 200 C or below -200 C are considered to be out of range.
If the point's value is: Below -200 C, the points unavailable value displays Above 200C, the points unavailable value displays Between -200 C and +200 C, its current value displays.
Guidelines for Unavailable Values during Runtime When the project is running, values exceeding the range limits are handled as follows: If a range limit is exceeded at runtime:
The point value on CimView screens displays the default text until the point comes back within raw limits. Point Control Panel displays asterisks (******) for the point value until the point comes back within raw limits. The point value on CimView screens displays the default text until the point comes back within raw limits Point Control Panel displays asterisks (******) for the point value until the point comes back within raw limits. An alarm is generated when a point's value first exceeds its range limits. When the point value returns to within its range limits, the Alarm State will be set to Normal. No alarm will be generated.
NO
8-8
GFK-1180K
If a user enters a value below the low setpoint limit or above the high setpoint limit, the value will not be accepted.
GFK-1180K
8-9
8-10
GFK-1180K
2.
Click Basic to display only the Alarm message and Alarm limits fields.
Result: The Alarm tab converts to basic view, including the Alarm Message and basic Alarm Limits fields. The associated tab Alarm tabs disappear.
GFK-1180K
8-11
Note: You can type in variables for the alarm message or select them from the field's popup menu. See "Alarm Definition" in this chapter. However, using several of the available alarm message variables can involve advanced configuration.
Boolean point
8-12
GFK-1180K
To display the advanced group of alarm tabs: 1. Make an entry in the Alarm Message field, if the field is blank. The Advanced button appears. 2. Click Advanced. The Advanced Alarm tab appears.
A detailed alarm definition can be entered or changed and be given an assigned Alarm Class and string index.
GFK-1180K
8-13
Note: You create an event alarm in the Alarms folder. See the "Alarm Configuration" chapter in this manual for details. You can modify point alarms in both the Point Properties dialog box and the Alarm Definition dialog box in the Alarms folder.
Alarm Definition
You can configure a basic I/O alarm message in the Alarm tabs basic view. It is in the advanced view that you enter a definition that CIMPLICITY HMI uses to trigger exactly the alarm message you want based on calculated criteria. The Definition box includes specifying an alarm: Message with optional variables. Class. String.
Point Properties Dialog Box Advanced Alarm Tab
8-14
GFK-1180K
To define an advanced alarm message: 1. Enter a message in the Alarm Message field that will be displayed with the alarm in Alarm Viewer. This message may contain text plus the following variable information that is determined when the alarm is generated. The total display length for all fixed text and variables is 80 characters.
Alarm TabBasic ViewMessage with Variables
You can type in the variables or select them from the field's popup menu. Type them all as capital letters (CAPS). Variable %ID % LIMIT %VAL %EU %STATE %DEV_ID %DEV_VAL %DEV_AMT %% Displays the: Point ID Alarm limit that was exceeded Point value (converted to engineering units if applicable.) Engineering Units label Alarm string for the String Index Point ID of the deviation point Value of the deviation point Difference between the current point value and the deviation point value Actual percent sign in the message.
GFK-1180K
8-15
Example An alarm string is configured so that the string for Warning High is WARNING and Alarm High is EMERGENCY.
The Alarm High and Warning High limits are 400 and 350 degrees. The alarm message is:
CONDITION: %STATE - TEMP IS AT %VAL DEGREES
If the temperature is 353 degrees, an alarm will be generated with the message: CONDITION: WARNING - TEMP IS AT 353 DEGREES If the temperature goes to 402 degrees, the alarm will be updated and the message will read: CONDITION: EMERGENCY - TEMP IS AT 402 DEGREES 2. Enter an Alarm Class to group alarms with similar characteristics. An alarm's class determines the order in which it appears relative to other alarms in Alarm Viewer. You can prioritize classes in the Alarm Class Configuration dialog box.
Important: If you specify an Alarm Class, you must specify an Alarm Message. 3. Enter a String Index number to identify the alarm text, if you are using %STATE in your alarm message.
Select an Alarm String browser Alarm String popup
2 The associated
text appears as the Alarm Limits
8-16
GFK-1180K
Example of an Alarm Message An alarm is configured: String for Warning High is "WARNING" Alarm High Limit = 350 String for Alarm High is "EMERGENCY" Warning High limit = 400 The alarm message is:
CONDITION: %STATE - TEMP IS AT %VAL DEGREES
If the temperature reads 353 degrees, an alarm will be generated with the message:
CONDITION: WARNING - TEMP IS AT 353 DEGREES
If the temperature goes to 402 degrees, the alarm will be updated and the message will read:
CONDITION: EMERGENCY - TEMP IS AT 402 DEGREES
GFK-1180K
8-17
New
Previously created.
5. 6. 7.
Name the new class in the Class ID field. Note: If you are modifying an existing class the Class ID field is read-only. (Optional) Describe the class. Select a priority number in the Order field. CIMPLICITY gives alarms with a 1order number the highest priority. Note: CIMPLICITY uses these priorities internally and to prioritize occurrences, such as alarm sound. If you assign the same order to more than one class, the classes are alphabetized within the order.
8-18
GFK-1180K
Example You assign order 0 to High, Medium and Low alarm classes. The alphabetized class order is High, Low, Medium. Alarms in these classes will display in the High, Low, Medium order, when sorted by class in the Alarm Viewer. Step 2. Select colors for the Alarm Class: 1. Select, for each alarm state, a : Foreground (font) color for each alarm state and Different color for the Background for alarms to which the class is assigned. Normal State Alarm State Acknowledged State
Note: Default colors are White for the text and Black for the background. Enter a Blink rate for each alarm state in which you want the alarm to blink. Value 0 1 2 20 N 3. Rate/Second Blinking does not occur. 1/10th or 10 times per second 2/10th or 5 times per second 20/10th or 1/2 time per second (1 per 2 seconds) 1/10th*N per second.
Enter a foreground and background color that will alternate with the other foreground and background colors selected for that state. Display per your alarm state specifications. Alternate with the blink colors at the specified rate to create a blink.
GFK-1180K
8-19
3
Blink colors
1 2
Step 3. Select sound for the alarm: 1. (Optional) Select the Audio tab.
Wave path and file
Beep specifications
2. 3.
8-20
GFK-1180K
Wave files
A. Click the Browser button to the right of the File field on the Audio tab of the Alarm Class Configuration dialog box.. B. Find the .WAV file you want to use in the Windows Open dialog box. Beep
A. Enter a Frequency between 37 and 32767 on the Audio tab of the Alarm Class Configuration dialog box. The higher the number the higher the pitch. B. Enter the Duration of the beeps. C. Enter the No of beeps that will beep in the duration time. Test either type of sound with the Test button. You can edit your class by simply selecting Edit on the popup menu.
Alarm Criteria
You can select one of the following methods for evaluating the alarm values: Alarm Criteria Absolute Deviation On Update Rate of Change Absolute Alarming Absolute alarms are used to detect when the value of a point is too high or too low. To configure absolute alarming: 1. Select Absolute in the Alarm Type field on the advanced Alarm tab. Used to Detect when the value of a point is too high or too low. Detect when the value of a point deviates too far from that of a second point. Generate an alarm whenever the point's value is updated. Detect either a faster or slower than expected change in the value of a point.
GFK-1180K
8-21
2.
Enter at least one and up to four values in the Alarm Limits fields.
Each time the point's value is updated, its current value is compared with the alarm values. An alarm is generated when the point's value transitions from one Alarm State to another. The transitions are: State Alarm High Warning High Normal Warning Low Alarm Low Description Point value Alarm High value. Alarm High value > Point value Warning High value Warning High value > Point value > Warning Low value Warning Low value Point value > Alarm Low value Point value Alarm Low value
If the point is in normal state, the Point Manager resets alarms for the point. Deviation Alarming Deviation alarming is used to detect when the value of a point deviates too far from that of a second point. To configure deviation alarming: 1. Select Deviation in the Alarm Type field on the advanced Alarm tab.
8-22
GFK-1180K
2.
Define the values in the Alarm Limits fields based on the deviation from the norm: The text definition depends on the string you select in the String Index field on the same tab. Make sure that: High (Full) is larger than Warning High (Almost Full) Low (Empty) is larger than .Warning Low (Almost)
The point is scanned at its normal Scan Rate, but is evaluated for alarming at the Alarm Delay rate (also known as the sample interval). An alarm is generated when the difference between the current value of the point and the current value of the Deviation Point exceeds an alarm limit. This difference is calculated whenever the value of the point or the Deviation Point changes.
Note: If the point has: Engineering units (EU) and Deviation alarming, Current converted value of the point and Converted value of the deviation point (if the deviation point also has EU)
exceeds an alarm limit. On Update Alarming On Update alarming is used to generate an alarm whenever the point's value is updated.
If you choose the On Update alarm criteria, you cannot define Alarm Values. Each time the point's value is updated, an alarm is generated.
GFK-1180K
8-23
Important: Unsigned analogs (UDINT, UINT, USINT, 3D_BCD and 4D_BCD) cannot have rate of change alarms. If you try to configure a rate of change alarm you will see an "Invalid point type for rate of change alarm" error message. Rate of Change alarming detects either a faster or slower than expected change in the value of a point. To configure rate of change alarming: 1. Make sure Delay alarm has not been checked. The Delay alarm checkbox disappears when Rate of Change is selected as the alarm criteria.
2.
Select Rate of Change in the Alarm Type field on the advanced Limits tab.
3.
4.
Enter the length of the interval between sampling the point for Rate of Change alarming. If the difference between the current value of the point and the value at the last sample time exceeds alarm limits, an alarm message will be generated. Important: The minimum Rate of Change interval is 5 seconds.
5.
8-24
GFK-1180K
An alarm is generated when the difference between the current value of the point and its value at the last sample interval exceeds an alarm limit. The current point is not evaluated for an alarm condition each time the value changes. An alarm is generated under these conditions: Alarm Alarm High Warning High Alarm Low Warning Low In the Alarm Limits, you can specify: Values that are Positive Negative Use the following table as a guide: Rate of Change value is ... Alarm High Alarm High Warning High Warning High Warning Low Warning Low Alarm Low Alarm Low To check for: Increasing values Decreasing values. Generates alarms for: Faster than expected changes Faster than expected changes Slower than expected changes Slower than expected changes
Alarm Limit Alarm High Alarm High Warning High Warning High Warning Low Warning Low Alarm Low Alarm Low
Limit Value Positive Negative Positive Negative Positive Negative Positive Negative
Point value is .... Increasing too fast Decreasing too fast Increasing too fast Decreasing too fast Increasing too slowly Decreasing too slowly Increasing too slowly Decreasing too slowly
GFK-1180K
8-25
Deviation
Specify the deviation from the norm, Where The High limit Is larger than the Warning High limit. Low limit is larger than the Warning Low limit.
Alarm Delay
Alarm Delay delays the display of the alarm on Alarm Viewers and other Alarm Management Interested Processes unless the point remains in an alarm state for the configured interval. The Alarm Delay feature is only available when you select Absolute or Deviation alarms. If you select the Delay Alarms check box, the Interval fields represent the length of the delay before the alarm is reported. When an alarm condition is detected for a point and if: No Alarm delay is configured The Point Manager sends the information Immediately to the Alarm Manager and all other Point Management Interested Processes such as CimView and the Event Manager. After the delay time generates the Alarm Delay. This means that Alarm Delay applies to all the Point Management Interested Processes such as CimView, Point Control Panel and the Event Manager, the Alarm Viewer and other Alarm Management Interested Processes, such as the Alarm Printer, that are serviced by the Alarm Manager.
8-26
GFK-1180K
To specify the length of an alarm delay: 1. Check the Alarm delay checkbox on the Alarm tab.
2.
Select for the time interval one of the following: Seconds Minutes Hours
3.
When the alarm condition is detected for the point the: 1. Point Manager sends the information immediately to the Alarm Manager and all other Point Management Interested Processes such as CimView and the Event Manager. Alarm Manager generates the Alarm Delay.
2.
Note: Delay alarm is not available when Rate of Change criteria is selected.
GFK-1180K
8-27
The alarm will be logged when any of the checked actions occur.
2.
Click OK or Apply.
Result: CIMPLICITY adds the point to its default ALARM_LOG. You can apply these and more specifications in the Database Logger. See the "Database Logger" chapter in this manual for information about configuring log tables.
8-28
GFK-1180K
The point goes into the alarm state when its value reaches 100, and stays in the alarm state until its value drops below 95. When a point transitions from an alarm state into a warning state of the same type, the alarm status switches from Alarm to Warning only if the point value is more than the deadband away from the alarm limit. Example A point has a: High alarm limit of 100. Warning high limit of 90. Deadband of 2. Is 100, the point is in Alarm High state. Falls below 98, the state changes to Warning High (the alarm limit minus the deadband).
If the point has EU, the EU converted deadband is used for all calculations.
Files are located in the %SITE_ROOT%\alarm_help directory. Example You create a help file in Notepad that you save as AlrmHelp.txt. Rename the file AlrmHelp.hlp or Alrmhelp.txt.hlp (to distinguish it from compiled help files).
GFK-1180K
8-29
Routing Alarms
The Alarm Routing properties let you select the Roles that can view any alarms generated by this point. You can: Assign available roles to view alarms. Remove roles from viewing alarms. Create new roles to select.
Note: You can also configure alarm routing in the point alarm's Alarm Definition dialog box in the Alarms folder. The configuration displays in both dialog boxes. See the "Alarm Configuration" chapter in this manual for details about configuring alarms in the Alarms folder.
Result: Users assigned the selected role can now view alarms generated by the point.
8-30
GFK-1180K
Result: Users assigned the selected role can no longer view alarms generated by the point.
GFK-1180K
8-31
2. 3.
Enter the new Role ID. Click OK. The Role Properties dialog box opens if the Role ID you entered is valid.
4. 5.
Enter the properties you want for this role Click OK to create the new Role and return to the Alarm Routing properties.
8-32
GFK-1180K
You have the ability in CIMPLICITY HMI to enter your specifications for each stage in the sequence.
Note: You can also configure alarm options in the point alarm's Alarm Definition dialog box in the Alarms folder. The configuration displays in both dialog boxes. See the "Alarm Configuration" chapter in this manual for details about configuring alarms in the Alarms folder.
Automatic Actions
Automatic actions on the Alarm Options tab include: Alarm Repeats. Automatic acknowledgements. Automatic reset.
GFK-1180K
8-33
Alarm Repeats
Auto repeat, on the Alarm Options tab, is the time (in minutes) that the Alarm Manager waits before repeating the alarm to all Alarm Line Printer (AMLP) processes. Setting a repeat timeout will cause the point's alarm to be reprinted on the Alarm Line Printer until it is acknowledged, reset or deleted. To specify the auto repeat: Select None or Timed in the Auto Repeat field. None The alarm will not be repeated. Timed Select the number of minutes between alarms, in the minutes field that appears.
Note: The actual number of minutes that the Alarm Manager will wait before repeating the alarm may be greater than this number. The maximum time will be the number you enter in this field plus the number of minutes configured for the timer for processing automatic alarms in the Alarm Manager configuration file (alarm_mgr.dat). The default for this timer is 5 minutes.
Note: The actual number of minutes that the Alarm Manager will wait before acknowledging the alarm may be greater than this number. The maximum time will be the number you enter in this field plus the number of minutes configured for the timer for processing automatic alarms in the Alarm Manager configuration file (alarm_mgr.dat). The default for this timer is 5 minutes.
8-34
GFK-1180K
Alarm reset configuration is done on the Alarm Options tab of the point's Properties dialog box. To allow the alarm to be reset manually: Check the Manual Reset Allowed checkbox.
To configure automatic alarm reset: Select None, Immediate or Timed in the Auto Reset field. None The alarm can be: Immediate The Alarm Manager immediately resets the alarm. If you select this option, the alarm will not repeat. Timed Enter the number of minutes, in the minutes field that appears, that the Alarm Manager should wait before automatically resetting the alarm . Manually reset (if manual reset is allowed) or Reset by the process that detected the condition that generated the alarm.
GFK-1180K
8-35
Alarm Deletion
The Deletion Requirements are the conditions that must exist in order for an alarm to be deleted (removed from the system). If you select both check boxes on the Alarm Options tab of the point's Properties dialog box, the alarm will not be deleted until it is acknowledged and reset (these actions may occur in any order).
An entry of 0 means that the alarm will not be stacked. At run-time, as occurrences are generated for the alarm, occurrences fill the stack. When the Maximum Stacked value is reached, the oldest alarm occurrence is deleted from the stack as each new occurrence is generated.
8-36
GFK-1180K
Note: You can also use the Workbench to monitor runtime behavior, to include: Opening the Point Control Panel to monitor and control runtime point behavior. Displaying a Quick Trend chart for a selected point.
GFK-1180K
9-1
Method 2 A. Place the cursor in the right pane. B. Click the right mouse button. C. Select AutoFill from the popup menu if there is no check mark on its left side. CIMPLICITY HMI displays a list of all the existing points when you use either method.
Note: Points with a $ as the first character in the name are system points and cannot be changed or removed.
9-2
GFK-1180K
Method 2 A. Place the cursor in the Workbench right pane. B. Click the right mouse button. C. Select Search.
The Point search dialog box appears when you use any method. 3. Enter one of the following A. An existing Point ID B. Device ID, Resource and/or Point Type C. Description that appears in a points Properties dialog box, General tab, description field.
Point Search Dialog Box Entry Examples Point to list. Use wild cards for any entry: ?one character. *multiple characters.
Description that appears in a Point Properties dialog box, General tab, Description field.
GFK-1180K
9-3
Tip: Using wild card characters Wild cards can help you filter your display even if you do not know the exact name for the criteria you are using. Use either a * or a ?. Enter a * in the following positions: when you enter any search criteria: *Position Relative to Entered Characters After Before Between To Display Any Points that: Begin with the entered characters, e.g. F_ Tank* End with the entered characters, e.g. *Tank Begin and end with the entered characters, e.g. F*1 Enter a ? to display any points that contain the characters you enter, in addition to one character per ?, in the position that the ? is entered, e.g. ?_Tank? The point or points you specify will display in the right pane until you change your specifications.
9-4
GFK-1180K
Display filters.
Double-click to select.
2. 3.
Enter criteria in the filter fields to reduce the display list. Double click the item you want to use as a filter. The item appears in the appropriate Point search dialog box field.
GFK-1180K
9-5
Note: Two useful fields that display the point status are: Needs Update Modified Displays a one (1) if a point configuration has changed and the project needs a configuration update. Displays the date when the point was last modified
Field Selection
Use the Field Chooser dialog box to select the point fields that will display in the right pane of the Workbench. To select the point fields to display in the right pane: 1. 2. Select Points in the left pane. Use any of the following methods to open the Field Chooser dialog box. Method 1 A. Click the right mouse button in the right pane. B. Select Field Chooser from the popup menu.
Popup
9-6
GFK-1180K
Method 2 A. Click View on the Workbench menu bar. B. Select Field Chooser.
View Drop Down Menu
The Field Chooser dialog box for points opens when you use any of these methods.
Example: Field Chooser Dialog Box for Points Indicates if point has changed and project needs configuration update
Shows when point was last modified Moves field further left in the pane
3. 4. 5. 6. 7.
Select a field in the Available field column that you want to add to your display. Click Add. The field will move over to the Display Fields column. Select any field in the Display fields column that you do not want to display. Click Remove. The field will move over to the Available field column. Use the Move Up and Move Down buttons change a selected fields place in the list. Move on the list Up Down Moves the fields column to the: Left of the fields beneath it Right of the fields above it
8.
Click OK. The fields display from left to right in the order you specified.
GFK-1180K
9-7
point.
$DERIVEDIndicates that the point is a Calculated
derived point.
9-8
GFK-1180K
Display Format
Format used for the point in CimView. Display Limits Options If no limits are set for an expression when there is horizontal/vertical movement, rotation/fill or horizontal/vertical scaling in CimView and a point is the single point used in the expression: Display LimitsUpper and lower limits Display Limits HighUpper limit Display Limits LowLower limit
Elements Has EU
Number of elements that make up a point. A number greater than one (1) means the point is an array point. Identifies whether or not Engineering Units (EU) conversion is being done for the point Displaying either: 0No EU conversion 1Linear or custom conversion is enabled
Displays the date when the point was last modified Displays either: 1the point has been modified and the project needs a configuration update. 0the project is up to date.
Point Class
Class selected for the point; displays one of the following: 0Analog class 1Digital class 3Text class 4Application class
Point Origin
Origin of the point, displays one of the following: 0Calculated derived point 1Device point 2Global derived point
Type of point (e.g. UINT, INT) Resource associated with the point High warning value for the point. Low warning value for the point
Note: The Remove button will be disabled if the field is required. The Move Down or Move Up button will be disabled if a field that will be affected by the move has to appear in the furthest left position.
GFK-1180K
9-9
CIMPLICITY lists the attributes that are available to each point in the Select a Point Browser. You can open the Select a Point Browser from any expression field. See page 10-11 for details.
GFK-1180K
10-1
Example The processes for a machine point called MACH_TEMP are different depending on whether or not a man is online. You: 1. 2. 3. 4. Create an attribute set call PROC. Include an attribute field called MOL (man-on-line). Associate the attribute set PROC with the machine's MACH_TEMP point. Create a CimView screen object that displays the value of the MOL field.
During runtime, the CimView screen will alert users whether or not a man is online for the point MACH_TEMP provided your application has set the attribute.
USER_FLAGS (Attribute)
A CIMPLICITY HMI provided attribute, USER_FLAGS, enables any point to access its entire 16-bit user set at once. This capability does not require additional configuration. Associated Point Type Access Value Type Expression Syntax Device or Virtual Read only UINT
PointID.USER_FLAGS
The value of USER_FLAGS can be logged. See the "Configuring the Database Logger" chapter in this manual for details about logging point attributes.
10-2
GFK-1180K
Result: The Workbench right pane displays the list of Point attribute sets in the right pane.
GFK-1180K
10-3
Method 5 A. Right-click an attribute set in the Workbench right pane. A Popup menu appears. B. Select New.
Open a New Attribute Set Dialog Box Drop down menu
Popup menu
Keyboard Ctrl+N
In the advanced General tab of a Point Properties dialog box CIMPLICITY HMI provides you with an easy way to create a new attribute set through the Point Properties dialog box while you are configuring a point. 1. 2. 3. Select the General tab in the Point Properties dialog box for the point you are configuring. Click Advanced to put the General tab in advanced mode. Click the Popup button to the right of the Attribute Set field.
4.
Result: The New Attribute Set dialog box opens when you use any method.
10-4
GFK-1180K
Alphabetic characters can be in any position. Digits can be in any position other than the first position. Underscores can be in any position.
2.
Click OK
Result: The system verifies that the attribute set name does not already exist, and that no invalid characters have been used. If the attribute set name you entered is valid, an Attribute Set dialog box for the new attribute set opens.
Alphabetic characters can be in any position. Digits can be in any position other than the first position. Underscores can be in any position.
GFK-1180K
10-5
3. 4.
Enter the bit position at which the attribute should start in the Start field. You can choose from 0 through 15. Enter the size of the attribute field in the Size field. The allowable size depends on the position at which you started the field. Example If you enter 7 in the Start field, the maximum field size is 9.
5.
Check any of the following checkboxes to define the field characteristics. Checkbox Save on shutdown Writeable device flag Read only Restrict write by role When checked Attribute values will be preserved across project restarts. Data will be sent to the associated devcom when the attribute field is set. Restricts the field to read-only when it is displayed on a CimView screen. Allows only the roles that have been granted Modify attribute privileges in the Roles Properties dialog box to perform a setpoint on this attribute field. See the "Role Configuration" chapter in the CIMPLICITY HMI User's Manual (GFK-1180) for information about granting Modify attribute privileges.
6.
Click OK . The Attribute Field dialog box closes and the Attribute Sets dialog box displays the Field Name with its Field Start and Size information.
10-6
GFK-1180K
7.
Continue to add attributes until you have listed all the attributes that should be associated with a selected point.
Note: Step 4 (next) assumes that you know how to configure points. For in depth information about configuring points, see the points chapters in the CIMPLICITY HMI Base System User's Manual (GFK-1180).
Note: Step 5 (next) assumes that you know how to configure CimEdit screens. For in depth information about configuring CimEdit, see the CIMPLICITY HMI CimEdit Manual (GFK-1396).
GFK-1180K
10-7
10-8
GFK-1180K
Popup menu
Properties button
Keyboard Alt+Enter
In the advanced General tab of a Point Properties dialog box CIMPLICITY provides you with an easy way to edit an existing attribute set through the Point Properties dialog box while you are configuring a point. 1. 2. 3. 4. Select the General tab in the Point Properties dialog box for the point you are configuring.. Click Advanced to put the General tab in advanced mode. to the right of the Attribute Set field to select the Click the Browse button attribute set you want to use. Click the Popup button to the right of the Attribute Set field.
GFK-1180K
10-9
5.
The Attribute Set dialog box associated with the selected attribute set opens. Continue in the open Attribute Set dialog box
1.
Double-click a Field Name. The Attribute Field dialog box for the selected field opens.
2. 3.
Edit any of the fields, except the Field Name. Click OK.
Result: The Attribute Field dialog box closes and the field is changed.
10-10
GFK-1180K
Attributes Applied
CIMPLICITY provides four categories of point attributes: User Quality Runtime Configuration
These attributes can be referenced in many CIMPLICITY applications in the same fashion as a configured point ID. See page 10-1. The general syntax for referencing a point attribute is:
<point ID>.<point attribute>
Where
<point ID> is a normally configured point ID <point attribute> is one of the point attributes described in this chapter
You can also use the CIMPLICITY Point browser to simply select an attribute that is available for a selected point and apply it to the application in which you are working. Example You have a device point called, for example, S90_550. You want to review the point's values and the time that the values are read on a CimView screen. See page 10-21 for details about the TIMESTAMP attribute. The following steps enable you to easily configure the point attribute. Step 1. Step 2. Step 3. Configure the point value display for CimView. Configure the timestamp display for CimView. View the point's values and timestamps in CimView.
GFK-1180K
10-11
B. Select Browse Point ID from the popup menu. The Select a Point browser opens. 6. Select S90_550 from the list of points.
7.
10-12
GFK-1180K
GFK-1180K
10-13
B. Select Browse Point ID from the popup menu. The Select a Point browser opens. 6. Select S90_550.TIMESTAMP as follows: A. Expand S90_550 in the list of points. B. Select TIMESTAMP in the list that appears.
10-14
GFK-1180K
7.
Result: The text Point Time appears under Point Value on the CimEdit screen.
GFK-1180K
10-15
Result: The Point value displays; the time the value was read displays below.
10-16
GFK-1180K
Quality Attributes
CIMPLICITY provides attributes that enable a user to assess the quality of a point in order to evaluate the quality of the data it sends or receives. The quality attributes are:
QUALITY QUALITY.MANUAL_MODE QUALITY.ALARMED QUALITY.ALARMS_ENABLED QUALITY.DISABLE_WRITE QUALITY.IS_IN_RANGE QUALITY.LAST_UPD_MAN QUALITY.STALE_DATA
QUALITY (Attribute)
QUALITY is not configuration data, as with value attributes, but is used to dynamically change the behavior of a point, or dynamically reflect runtime information about the point. QUALITY is the sum of all its current binary values in decimal format. Associated Point Type Access Value Type Expression Syntax Device Read Only UINT
PointID.QUALITY
QUALITY can also be configured to display the state of each of its individual indicators.
Following are the CIMPLICITY HMI read-only indicators located at each of the 16 bit positions. Indicator
MANUAL_MODE LAST_UPD_MAN IS_AVAILABLE IS_IN_RANGE STALE_DATA ALARMS_ENABLED DISABLE_WRITE ALARMED
GFK-1180K
10-17
QUALITY.MANUAL_MODE (Attribute)
QUALITY.MANUAL_MODE can be used as an attribute that references the QUALITY indicator called MANUAL_MODE. QUALITY.MANUAL_MODE enables a user to take a device point that may or may not be
currently available and put it in manual mode. The user can then set the point's value. This is particularly useful if a point is attached to equipment that is known to be malfunctioning and, as a result, creates a problem in other areas of the system. This indicator enables a user to separate the point from that equipment and set the point to a known good value that preserves the system's integrity. Example A temperature sensor that reports temperatures, which are acted upon by CIMPLICITY HMI applications to initiate temperature control actions, fails. To continue the high temperature setting, a user with Modify attributes privilege places the point that reflects the errant sensor in manual override mode. The user then sets a value that causes the application to cease the unnecessary temperature control procedures. This allows users who are knowledgeable of their CIMPLICITY HMI application implementation to make emergency, temporary adjustments to their systems operation. Consequently the application does not have to anticipate and provide for handling of all possible failures in its implementation. Associated Point Type Access Device Writefor users who have Modify attributes privileges. These privileges are enabled in the Roles Properties dialog box. See the "Role Configuration" chapter in this manual. Boolean
PointID.QUALITY.MANUAL_MODE
Enables a user to place a point in manual mode. The user can then manually set the point's value. 1The point is in manual mode. 0The point is actively connected to a device.
QUALITY.ALARMED (Attribute)
Associated Point Type Access Value Type Expression Syntax Description Device or Virtual for system wide use Read only Boolean
PointID.QUALITY.ALARMED
Reflects whether a point is currently in an alarm state including exceeding range limits 1The point is in an alarm state. 0The point is not in an alarm state
10-18
GFK-1180K
QUALITY.ALARMS_ENABLED (Attribute)
Associated Point Type Access Value Type Expression Syntax Description Device or Virtual. Write Boolean
PointID.QUALITY.ALARMS_ENABLED
Enables a user to control the generation of alarms other than range limit alarms and to see if someone else disabled them. 1The alarm is enabled. 0The alarm is disabled. Example If someone disabled an alarm in the Point Control Panel, QUALITY.ALARMS_ENABLED should reflect that by becoming 0. See the "Using the Point Control Panel" chapter in this manual for details about enabling and disabling alarms in the Point Control Panel.
QUALITY.DISABLE_WRITE (Attribute)
Associated Point Type Access Device or Virtual Writefor users who have Modify attributes privileges. These privileges are enabled in the Roles Properties dialog box. See the "Role Configuration" chapter in this manual. Boolean
PointID.QUALITY.DISABLE_WRITE
Enables a user to inhibit writes via Point Management to a point. 1Writing is disabled. 0Writing is enabled.
QUALITY.IS_AVAILABLE (Attribute)
Associated Point Type Access Value Type Expression Syntax Description Device or Virtual Read only Boolean
PointID.QUALITY.IS_AVAILABLE
Displays whether or not the point is available. 1The point is available. 0The point is not available.
GFK-1180K
10-19
QUALITY.IS_IN_RANGE (Attribute)
Associated Point Type Access Value Type Expression Syntax Description Device or Virtual Read only Boolean
PointID.QUALITY.IS_AVAILABLE
Reflects if a point exceeds the range limits that are defined for it. 1The point is in range. 0The point exceeds the range limits. See the "Configuring Point View, Limits and Alarms" chapter in this manual for more information about setting range limits for a point.
QUALITY.LAST_UPD_MAN (Attribute))
Associated Point Type Access Value Type Expression Syntax Description Returned Values Device or Virtual Read Only Boolean
PointID.LAST_UPD_MAN
Displays whether or not a value came from a manual override. 1 = The value came from a manual override 0 = The value came from a device
QUALITY.STALE_DATA (Attribute)
Associated Point Type Access Device or Virtual Read only Configured on the General tab of the Port Properties dialog box. Value Type Expression Syntax Description Boolean
PointID.STALE_DATA
When Enable stale data is checked in the Port Properties dialog box, the point will remain available in most circumstances that would have made it unavailable. However, this attribute will report that the point value is stale. It is the last known good value and may or may not have changed. Note: Some devices may report some points as stale even without enabling this attribute.
Returned Values
1 = The point value is stale. 0 = The point is not known to be stale. See "Enable Stale Data" in the "Configuring Ports" chapter to see a table that displays a point's availability when events occur and Enable stale data is configured as on or off.
10-20
GFK-1180K
Runtime Attributes
CIMPLICITY provides you with an attribute that enables you to view the date and time a point's value is updated.
TIMESTAMP
Associated Point Type Access Value Type Expression Syntax Description Default Display Device Read only System generated
PointID.TIMESTAMP
Displays the date and time that the point's value is updated. MM/DD/YY HHHH:MM:SS:TTT A Note: TTT = milliseconds; A = AM or PM
GFK-1180K
10-21
Configuration Attributes
Following is a list of configuration attributes.
$RAW_VALUE ACCESS_FLAG ACK_TOUT ADDR ADDR_OFFSET ALARM_CIRTERIA ALARM_DELAY ALARM_HIGH ALARM_HIGH_N ALARM_LOW ALARM_LOW_N ALARM_STATE ANALOG_DEADBAND ANALOG_DEADBAND_N CALCULATION_TYPE CLR_TOUT CONV_TYPE DEADBAND DEADBAND_N DEL_OPT DESCRIPTION DEVIATION_PTID DEVICE_ID DISPLAY_LIM_HIGH DISPLAY_LIM_HIGH_N DISPLAY_LIM_LOW DISPLAY_LIM_LOW_N DP_FLAG EU_LABEL EU_EXPRESSION EU_REV_EXP EXTRA FLAGS FORMAT_WID FORMAT_PREC FR_ID INIT_VALUE LEVEL LOCAL MEASUREMENT_UNIT_ID PROCESS_ID PTMGMT_PROCESS_ID POINT_SET_TIME POINT_SET_INTERVAL POINT_STATE RATE_TIME_INTERVAL RANGE_HIGH RANGE_HIGH_N RANGE_LOW RANGE_LOW_N REP_TOUT RESET_POINT_ID ROLLOVER_VALUE SCAN_POINT SCAN_RATE SETPOINT_HIGH SETPOINT_HIGH_N SETPOINT_LOW SETPOINT_LOW_N SETPT_CHECK_PTID TRIGGER_POINT TRIGGER_TYPE TRIGGER_VALUE VARIANCE_VALUE WARNING_HIGH WARNING_HIGH_N WARNING_LOW WARNING_LOW_N
$RAW_VALUE
Associated Point Type Value Type Access CIMPLICITY Field Name Description All Length of normal point Same as associated point. Raw Value Provides the raw value of a point when using point enumeration or EU conversion (device points only).
10-22
GFK-1180K
ACCESS_FLAG
Associated Point Type Value Type Access CIMPLICITY Field Name Description Returned values All 1 character Read only Access Device read/write access. 0 = Read only 2 = Read/Write
ACK_TOUT
Associated Point Type Value Type Access CIMPLICITY Field Name Description Returned Values All Integer Read only Acknowledge Timeout Time in minutes before the point's alarm is automatically acknowledged. -1=Acknowledge immediately 0=No auto acknowledge >0=Minutes to wait for automatic acknowledge
ADDR
Associated Point Type Value Type Access CIMPLICITY Field Name Description Device 256 characters Read only Address Actual address of the point within the device.
ADDR_OFFSET
Associated Point Type Value Type Access CIMPLICITY Field Name Description Device Integer Read only Address Offset offset in memory from the first bit of the Point address.
GFK-1180K
10-23
ALARM_CRITERIA
Associated Point Type Value Type Access CIMPLICITY Field Name Description Returned Values All Integer Read only Alarm Criteria Method to be used for evaluating alarm conditions. 1=Absolute 2 = Deviation 4 = Rate of Change 16 = On Update
ALARM_DELAY
Associated Point Type Value Type Access CIMPLICITY Field Name Description Returned Values All Integer Read only Delay Alarms Determine if the generation of alarms by the point should be delayed. 0 = Alarms are not delayed 1 = Alarms are delayed by the length of time specified by the attribute RATE_TIME_INTERVAL.
ALARM_HIGH
Associated Point Type Value Type Access CIMPLICITY Field Name Description All 10 characters Read only Alarm High High alarm limit Note: If the value in the Hi-2 field is 0: ALARM_HIGH is 0. Empty: ALARM_HIGH is Empty.
10-24
GFK-1180K
ALARM_HIGH_N
Associated Point Type Value Type Access CIMPLICITY Field Name Description All REAL Read only Alarm High_N High alarm limit Note: If the value in the Hi-2 field is 0: ALARM_HIGH_N is 0. Empty: ALARM_HIGH_N is 0.
ALARM_LOW
Associated Point Type Value Type Access CIMPLICITY Field Name Description All 10 characters Read only Alarm Low Low alarm limit Note: If the value in the Low-2 field is 0: ALARM_LOW is 0. Empty: ALARM_LOW is Empty.
ALARM_LOW_N
Associated Point Type Value Type Access CIMPLICITY Field Name Description All REAL Read only Alarm Low Low alarm limit Note: If the value in the Low-2 field is 0: ALARM_LOW_N is 0. Empty: ALARM_LOW_N is 0.
GFK-1180K
10-25
ALARM_STATE
Associated Point Type Value Type Access CIMPLICITY Field Name Description Returned Values All 2 bytes Read only Enable Alarm Enable/Disable alarm. 0 = Disable 1 = Enable
ANALOG_DEADBAND
Associated Point Type Value Type Access CIMPLICITY Field Name Description Device 10 characters Read only Analog Deadband Used to filter changes in raw value of point. The raw value must change at least this much to update the value of the point. Note: If the value in the Analog Deadband field is 0: ANALOG_DEADBAND is 0. Empty: ANALOG_DEADBAND is Empty.
ANALOG_DEADBAND_N
Associated Point Type Value Type Access CIMPLICITY Field Name Description Device REAL Read only Analog Deadband Used to filter changes in raw value of point. The raw value must change at least this much to update the value of the point. Note: If the value in the Analog Deadband field is 0: ANALOG_DEADBAND_N is 0. Empty: ANALOG_DEABAND_N is 0.
10-26
GFK-1180K
CALCULATION_TYPE
Associated Point Type Value Type Access CIMPLICITY Field Name Description Returned Values Derived (Virtual) 1 character Read only Calc Types Method for determining the derived point value. 0 = Equation 1 = Delta Accumulator 2 = Value Accumulator 3 = Average 4 = Maximum 5 = Minimum 7 = Transition High Accumulator 8 = Equation with Override 9= Timer/Counter 10 = Histogram
CLR_TOUT
Associated Point Type Value Type Access CIMPLICITY Field Name Description Returned Values All Integer Read only Reset Timeout Time in minutes before this point's alarm is automatically reset. -1= Reset immediately 0= No automatic reset >0= Minutes before automatic reset
CONV_TYPE
Associated Point Type Value Type Access CIMPLICITY Field Name Description Returned Values Device 2 bytes Read only Conversion Type Point EU conversion type. 0 = None 1 = Linear conversion 2 = Custom conversion
GFK-1180K
10-27
DEADBAND
Associated Point Type Value Type Access CIMPLICITY Field Name Description All 10 characters Read only Alarm Deadband Tolerance around alarm limits. Note: If the value in the Alarm Deadband field is 0: DEADBAND is 0. Empty: DEADBAND is Empty.
DEADBAND_N
Associated Point Type Value Type Access CIMPLICITY Field Name Description All REAL Read only Alarm Deadband Tolerance around alarm limits. Note: If the value in the Alarm Deadband field is 0: DEADBAND_N is 0. Empty: DEADBAND_N is 0.
DEL_OPT
Associated Point Type Value Type Access CIMPLICITY Field Name Description Returned Values All 2 characters Read only Deletion Requirements Alarm delete options. AR = Acknowledge and Reset A R = Acknowledge = Reset
DESCRIPTION
Associated Point Type Value Type Access CIMPLICITY Field Name Description All 40 characters Read only Description Description of point
10-28
GFK-1180K
DEVIATION_PTID
Associated Point Type Value Type Access CIMPLICITY Field Name Description All 32 characters Read only Deviation Point Point that current point will be compared to when checking for deviation alarm. Must be a configured Point ID.
DEVICE_ID
Associated Point Type Value Type Access CIMPLICITY Field Name Description Device 32 characters Read only Device ID Device where the point data originates. Must be a configured Device ID.
DISPLAY_LIM_HIGH
Associated Point Type Value Type Access CIMPLICITY Field Name Description All 10 characters Read only Disp. Limit (hi) Largest value to display in CimView screens. Note: If the value in the Disp. Limit (hi) field is 0: DISPLAY_LIM_HIGH is 0. Empty: DISPLAY_LIM_HIGH is Empty.
DISPLAY_LIM_HIGH_N
Associated Point Type Value Type Access CIMPLICITY Field Name Description All REAL Read only Disp. Limit (hi) Largest value to display in CimView screens. Note: If the value in the Disp. Limit (hi) field is 0: DISPLAY_LIM_HIGH_N is 0. Empty: DISPLAY_LIM_HIGH_N is 0.
GFK-1180K
10-29
DISPLAY_LIM_LOW
Associated Point Type Value Type Access CIMPLICITY Field Name Description All 10 characters Read only Disp. Limit (low) Smallest value to display in CimView screens. Note: If the value in the Disp. Limit (low) field is 0: DISPLAY_LIM_LOW is 0. Empty: DISPLAY_LIM_LOW is Empty.
DISPLAY_LIM_LOW_N
Associated Point Type Value Type Access CIMPLICITY Field Name Description All REAL Read only Disp. Limit (low) Smallest value to display in CimView screens. Note: If the value in the Disp. Limit (low) field is 0: DISPLAY_LIM_LOW_N is 0. Empty: DISPLAY_LIM_LOW_N is 0.
DP_FLAG
Associated Point Type Value Type Access CIMPLICITY Field Name Description Returned Values Derived (Virtual)/Global (Virtual) 1 character Read only Startup Condition Source for the initial value of the point when the software is started or reset. 0 = Not Applicable 1 = Init 2 = Saved 3 = Saved or Init
EU_LABEL
Associated Point Type Value Type Access CIMPLICITY Field Name Description All 8 characters Read only Eng. Units Units that the data represents.
10-30
GFK-1180K
EU_EXPRESSION
Associated Point Type Value Type Access CIMPLICITY Field Name Description Device 300 characters Read only Eng. Conversion Expression Arithmetic expression used to convert raw data to engineering units value. See Equation Operations for the list of valid operators.
EU_REV_EXP
Associated Point Type Value Type Access CIMPLICITY Field Name Description Device 300 characters Read only Reverse Engineering Expression Arithmetic expression used to convert engineering units value to raw data for setpoints. See Equation Operations for the list of valid operators.
EXTRA
Associated Point Type Value Type Access CIMPLICITY Field Name Description All Unsigned double integer (UDINT) Read only Extra info Provides an extra field that can be used to return additional point information in a CIMPLICITY application.
FLAGS
Associated Point Type Value Type Access CIMPLICITY Field Name Device 1 character Read only Poll After Set/ Delay Load Bit 0 = Poll After Set Bit 1 = Delay Load Description Returned Values Determines if polling should be done after a setpoint. 0 = Do not poll (default) 1 = Scan Immediately 2 = Delay Load 3 = Scan Immediately and Delay Load
GFK-1180K
10-31
FORMAT_WID
Associated Point Type Value Type Access CIMPLICITY Field Name Description All 2 Bytes Read only Display Width Number of spaces for display of point value in CimView.
FORMAT_PREC
Associated Point Type Value Type Access CIMPLICITY Field Name Description All 2 Bytes Read only Display Precision Precision of the display of point value in
FR_ID
Associated Point Type Value Type Access CIMPLICITY Field Name Description All 32 characters Read only Resource ID Resource ID for this point. Must be a configured Resource ID.
INIT_VALUE
Associated Point Type Value Type Access CIMPLICITY Field Name Description Derived (Virtual)/Global (Virtual) 32 characters Read only Initial Value Value for point at initialization before any data is generated by its component point(s). Use if PT_TYPE is G, or PT_TYPE is D and CALC_TYPE is ACC, MIN, or MAX.
LEVEL
Associated Point Type Value Type Access CIMPLICITY Field Name Description All point types Integer Read only Level Role security level value that was entered for the selected point in its Point Properties dialog box.
10-32
GFK-1180K
LOCAL
Associated Point Type Value Type Access CIMPLICITY Field Name Description Returned Values Derived (Virtual)/Global (Virtual) Boolean Read only Local Value Determines if value is reported to Point Manager. 0 = Report value 1 = Do not report value
MEASUREMENT_UNIT_ID
Associated Point Type Value Type Access CIMPLICITY Field Name Description All 32 characters Read only Measurement unit ID The base measurement unit ID configured for the point.
PROCESS_ID
Associated Point Type Value Type Access CIMPLICITY Field Name Description Derived (Virtual)/Global (Virtual) 32 characters Read only Virtual Proc ID The Derived Point process that will calculate the value of this point. Must be a valid PTDP_RP Process ID. Format is:
<node_id>_PTDP_RP
PTMGMT_PROCESS_ID
Associated Point Type Value Type Access CIMPLICITY Field Name Description Derived (Virtual)/Global (Virtual) 32 characters Read only Point Manager The Point Management process that will manage this point. Must be a valid PTM_RP Process ID. Format is:
<node_id>_PTM<n>_RP
GFK-1180K
10-33
POINT_SET_TIME
Associated Point Type Value Type Access CIMPLICITY Field Name Description Derived (Virtual)/Global (Virtual) 8 characters Read only Start Time For Timer/Counter points, start time used by Derived Point Processor to update the Point Manager with information on the number of events, cumulative duration and time of the last HIGH event occurrence.
POINT_SET_INTERVAL
Associated Point Type Value Type Access CIMPLICITY Field Name Description Derived (Virtual)/Global (Virtual) 8 characters Read only Interval The frequency at which the Derived Point Processor updates the Point Manager with information.
POINT_STATE
Associated Point Type Value Type Access CIMPLICITY Field Name Description Returned Values Device Boolean Read only Enabled Determines if the point is enabled or disabled. 0 = Disabled 1 = Enabled
RATE_TIME_INTERVAL
Associated Point Type Value Type Access CIMPLICITY Field Name Description All Integer Read only Interval The time interval for Rate of Change alarms or Delay Alarm.
10-34
GFK-1180K
RANGE_HIGH
Associated Point Type Value Type Access CIMPLICITY Field Name Description All 10 characters Read only Range high Maximum value allowed for the converted (or base) value of a point. Note: If the value in the Range high field is 0: RANGE_HIGH is 0. Empty: RANGE_HIGH is Empty.
RANGE_HIGH_N
Associated Point Type Value Type Access CIMPLICITY Field Name Description All REAL Read only Range high Maximum value allowed for the converted (or base) value of a point. Note: If the value in the Range high field is 0: RANGE_HIGH_N is 0. Empty: RANGE_HIGH_N is 0.
RANGE_LOW
Associated Point Type Value Type Access CIMPLICITY Field Name Description All 10 characters Read only Range low Minimum value allowed for the converted (or base) value of a point. Note: If the value in the Range low field is 0: RANGE_LOW is 0. Empty: RANGE_LOW is Empty.
GFK-1180K
10-35
RANGE_LOW_N
Associated Point Type Value Type Access CIMPLICITY Field Name Description All REAL Read only Range low Minimum value allowed for the converted (or base) value of a point. Note: If the value in the Range low field is 0: RANGE_LOW_N is 0. Empty: RANGE_LOW_N is 0.
REP_TOUT
Associated Point Type Value Type Access CIMPLICITY Field Name Description All Integer Read only Repeat Timeout Time in minutes before the point's alarm is automatically re-sent to alarm line printers. The alarm will be re-sent only if it is still active. 0= Never >0= Minutes before automatic re-send
Returned Values
RESET_POINT_ID
Associated Point Type Value Type Access CIMPLICITY Field Name Description Derived (Virtual)/Global (Virtual) 32 characters Read only Reset Point Point that will cause this derived point to reset. Must be a configured Point ID.
ROLLOVER_VALUE
Associated Point Type Value Type Access CIMPLICITY Field Name Description Derived (Virtual) Integer Read only Rollover For Delta Accumulator virtual points, the value of a point at which it rolls over to a zero value when incremented by one unit.
10-36
GFK-1180K
SCAN_POINT
Associated Point Type Value Type Access CIMPLICITY Field Name Description Device 2 bytes Read only Update Criteria Value determining when point data is passed to the CIMPLICITY point database after the device is read. 0 = Unsolicited 1 = On Change 2 = On Scan 4 = On Demand On Scan 5 = On Demand On Change 6 = Unsolicited On Change 7 = Poll Once On Change 8 = On Demand Unsolicited 9 = On Demand Poll Once 10 = On Demand Unsolicited On Change 11 = On Demand Poll Once On Change
Returned Values
SCAN_RATE
Associated Point Type Value Type Access CIMPLICITY Field Name Description Device 2 bytes Read only Scan Rate Frequency of point sampling. This is a multiple of the base scan rate set for the system.
SETPOINT_HIGH
Associated Point Type Value Type Access CIMPLICITY Field Name Description All 10 characters Read only Setpoint high Maximum value a point is allowed to be set. Note: If the value in the Setpoint high field is 0: SETPOINT_HIGH is 0. Empty: SETPOINT_HIGH is Empty.
GFK-1180K
10-37
SETPOINT_HIGH_N
Associated Point Type Value Type Access CIMPLICITY Field Name Description All REAL Read only Setpoint high Maximum value a point is allowed to be set. Note: If the value in the Setpoint high field is 0: SETPOINT_HIGH_N is 0. Empty: SETPOINT_HIGH_N is 0.
SETPOINT_LOW
Associated Point Type Value Type Access CIMPLICITY Field Name Description All 10 characters Read only Setpoint low Minimum value a point is allowed to be set. Note: If the value in the Setpoint low field is 0: SETPOINT_LOW is 0. Empty: SETPOINT_LOW is Empty.
SETPOINT_LOW_N
Associated Point Type Value Type Access CIMPLICITY Field Name Description All REAL Read only Setpoint low Minimum value a point is allowed to be set. Note: If the value in the Setpoint low field is 0: SETPOINT_LOW_N is 0. Empty: SETPOINT_LOW_N is 0.
10-38
GFK-1180K
SETPT_CHECK_PTID
Associated Point Type Value Type Access CIMPLICITY Field Name Description All 32 characters Read only Safety Point Point ID of an analog or digital point to be checked when a setpoint request is made for this point. If the point evaluates to zero (0), the setpoint is denied. Must be a configured Point ID. Also serves as an index for the Delta Accumulator array.
TRIGGER_POINT
Associated Point Type Value Type Access CIMPLICITY Field Name Description Device/Derived (Virtual) 32 characters Read only Trigger The point serving as the trigger for this point. Use differs if device or derived point. Must be a configured Point ID. For device points the trigger point must be on the same device as the points it triggers. For derived points, the trigger point must be on the same project as the points it triggers.
TRIGGER_TYPE
Associated Point Type Value Type Access CIMPLICITY Field Name Description Returned Values Device 2 bytes Read only Relation Determines how the trigger is evaluated. 0 = No Trigger 1 = On Change 2 = Equal 3 = Less Than 4 = Greater Than 5 = Less Than or Equal 6 = Greater Than or Equal
GFK-1180K
10-39
TRIGGER_VALUE
Associated Point Type Value Type Access CIMPLICITY Field Name Description Device 16 characters Read only Value Value the trigger is compared with to determine if the TRIGGER_TYPE condition is met.
VARIANCE_VALUE
Associated Point Type Value Type Access CIMPLICITY Field Name Description Derived (Virtual) Integer Read only Variance value Delta accumulator variance value.
WARNING_HIGH
Associated Point Type Value Type Access CIMPLICITY Field Name Description All 10 characters Read only Warning High High warning limit Note: If the value in the Warning High field is 0: WARNING_HIGH is 0. Empty: WARNING_HIGH is Empty.
WARNING_HIGH_N
Associated Point Type Value Type Access CIMPLICITY Field Name Description All Real Read only Warning High High warning limit Note: If the value in the Warning High field is 0: WARNING_HIGH_N is 0. Empty: WARNING_HIGH_N is 0.
10-40
GFK-1180K
WARNING_LOW
Associated Point Type Value Type Access CIMPLICITY Field Name Description All 10 characters Read only Warning Low High warning limit Note: If the value in the Warning Low field is 0: WARNING_LOW is 0. Empty: WARNING_LOW is Empty.
WARNING_LOW_N
Associated Point Type Value Type Access CIMPLICITY Field Name Description All REAL Read only Warning Low High warning limit Note: If the value in the Warning Low field is 0: WARNING_LOW_N is 0. Empty: WARNING_LOW_N is 0.
GFK-1180K
10-41
Configuring Classes
Classes and Class Objects Overview
Instead of repeating configuration, which may include creating complex CimEdit/CimView screens, for several objects that have similar requirements, you can now do the basic configuration once and use it over and over.
Important: It is extremely important for you to have mastered CIMPLICITY project configuration before you begin to configure classes and objects. If you have, you will find that class/object configuration is straightforward. If you have not, you will most likely run into problems. The CIMPLICITY tools that provide this capability are Classes and Objects. Classes A Class is a template that contains the definitions for points (data items), actions, events, scripts, CimEdit screens and help files. These definitions, along with class attribute, provide the flexibility to use as the basis for configuring and interacting with objects that have similar requirements. Note: A class can be exported in a single .soc file. See page 11-78 for details. Objects An Object is one instance that is created using a class as a template. An object can be whatever you define it to be. Object configuration takes advantage of the work that went into creating the class. This can greatly reduce repetition that would otherwise be required if configuration for each object was done independently. See the "Configuring Class Objects" chapter in this manual for details.
Components combined in a Class .soc file
Class
CimEdit Screen
2 One or more
objects can be created from the class.
Object 1
Object 2
Object N
Note: A custom help file can be created with third party tools and also associated with the class.
GFK-1180K
11-1
See page 11-79 for the procedure to import a class (.soc) file into a project.
Note: In the next chapter, "Configuring Class Objects," the sample class is used as a basis for a sample point object.
11-2
July 2001
GFK-1180K
GFK-1180K
Configuring Classes
11-3
Example: Summary of class configuration features. 1. A class includes the tools to create a template that incorporates a wide variety of CIMPLICITY features.
Class
Scripts Attributes Data Items
String Exp. CIMPLICITY Class Attributes Custom Attributes String Exp.
Actions
Events
String Expressions
2.
You have access to these tools through a Class dialog box and CimEdit.
Associate a CimEdit screen Access to Class configuration tools. Help file
Note: One exception, custom help, is created with third party documentation tools. End of example.
11-4
July 2001
GFK-1180K
End of example. When an object designer clicks OK in an Object Properties dialog CIMPLICITY creates an instance of the object. At this point, the features that have been configured for the class are attached to the object, with values the class designer entered in the Object dialog box and read-only values that were configured at the class level. CIMPLICITY displays the object's features, which you can access, in their respective application folders throughout the Workbench. If the object designer has associated the class CimEdit screen with the object, the object's values replace any class variables and can be viewed in CimView. Example: An object instantiated
GFK-1180K
Configuring Classes
11-5
When an object designer instantiates an object so it appears in the Objects application, its: A. Features display with normally configured features, e.g. points, throughout the Workbench. B. Values display on the object's CimView screen.
B
For an instantiated object (e.g. Tank_1) 1 Configuration features appear associated with the object in the Workbench. 2 Values display in CimView.
End of example.
11-6
July 2001
GFK-1180K
Class Configuration
You can configure a class and create objects from the class through two convenient dialog boxesthe Class dialog box and the Object dialog boxand through CimEdit. A key to insuring a smooth transition from class to objects is to anticipate the objects' requirements. Once you have determined the application for the class and the possible range of values that will be required by objects created from the class, the configuration is straightforward and similar to configuration you have done for other the CIMPLICITY applications.
Important: You can modify a class before and after it has been applied. However, you cannot change the class dynamically. What you configure for the class depends on the purpose for the class. In general, once you have mapped out a plan you can configure the options for the class in any order. The steps for a standard class configuration are as follows. The order of these steps is designed to take advantage of all the options for the class, e.g. scripts are used in actions; actions are used in events. Step 1. Step 2. Step 3. Step 4. Step 5. Step 6. Step 7. Step 8. Step 9. Step 10. Step 11. Plan a class. See page 11-8. Create a class. See page 11-13. Configure class attributes. See page 11-15. Configure data items. See page 11-24. Write class scripts. See page 11-46. Configure class actions. See page 11-50. Configure class events. See page 11-57. Create a class CimEdit screen. See page 11-64. Create a class help file. See page 11-77. Export or import a class. See page 11-78. Create an object. See the "Configuring Class Objects" chapter in this manual.
Before you configure a class, you should be familiar with how to configure each of the features in a CIMPLICITY application. Information appears throughout the CIMPLICITY documentation. Specific references include: Base System User's Manual, GFK-1180 "Configuring Device Points" "Configuring Virtual Points" "Configuring Point View, Limits and Alarms" CimEdit Operation Manual, GFK-1396 Basic Control Engine Event Editor Operation Manual, GFK-1282 Basic Control Engine Reference Manual, GFK-1283
GFK-1180K
Configuring Classes
11-7
Class
Scripts Actions
String Exp.
Events
String Exp.
Attributes
Data Items
Custom Attributes
String Expressions
Important: A class cannot be changed dynamically. The project must be stopped to make modifications. General planning includes: Task 1. Task 2. Task 3. Task 4. Task 5. Determine the application in the production facility. See page 11-9. Determine the specific data to be collected. See page 11-9. (Where applicable) Map out the layout of how memory is stored in the devices from which data is collected. See page 11-10. Determine the basic calculations needed for the data. See page 11-11. Determine the CIMPLICITY features, e.g. points, scripts, actions and events, required to collect and calculate data. See page 11-12.
11-8
July 2001
GFK-1180K
End of example.
4 1
1 2 3 4
Level. Average input flow rate. Average output flow rate. Average temperature.
End of example.
GFK-1180K
Configuring Classes
11-9
Information from each of the tanks is mapped in the same order. Because there is a standard convention for mapping information, address adjustment expressions can be used to offset data item addresses.
PLC Addresses Mapped in Two Contiguous Blocks 1. Level %R100 %R101 %R102 %R103 %R104 %R105 %R106 %R107 Block 1: PLC Addressing
2 9
3 10
8
9. Input valve %Q0 %Q1 %Q2 %Q3 Block 2: PLC Addressing 10. Output valve 11. Input valve 12. Output valve
6 11
7 12
End of example.
11-10
July 2001
GFK-1180K
1 2 3 4
Alarm High/Low. Average input flow rate. Average output flow rate. Average temperature.
Required for Alarm High limits Alarm low limits Input value Output value Temperature Tank level
Virtual Points
End of example.
GFK-1180K
Configuring Classes
11-11
Feature Events
Required for Trigger actions when alarms are: Generated, Acknowledged and Reset. Empty the tank. Fill the tank. Run a script.
Actions
Set an alarm message point to the value of the alarm message that triggered the event.
11-12
July 2001
GFK-1180K
Press Ctrl+N.
The New Class dialog box opens using any of the above methods.
GFK-1180K
Configuring Classes
11-13
2.
Enter a unique name for the class In the Class ID field. The Class ID
3.
Click OK.
11-14
July 2001
GFK-1180K
Note: CIMPLICITY also provides numeric data item attributes that can be used for numeric expressions. See page 11-36 for details. See the "Configuring Device Points," "Configuring Virtual Points" and "Configuring Point View, Limits and Alarms" chapters in the Base System User's Manual, GFK-1180 for information about configuring points, which will be created from data items.
Class
Scripts Actions
String Exp. CIMPLICITY Class Attributes Custom Attributes
Events
String Exp.
Attributes
Data Items
String Expressions
When you create an attribute, you can specify the: Instantiation Type for each attribute. Your specification controls a object designer's options when creating an object. If the attribute is: Required Optional A user must provide a value for this attribute. Failure to provide the value will cause object instantiation to fail. The attribute has a default value in the class, which the user can override for the object being created. The attribute does not have to be explicitly specified to create the object. The attribute has a default static value in the class. The value appears in a read-only field during object configuration. All objects in this class have the same value for this attribute.
Static
Tabs and layout for the Object dialog box in which a object designer enters the information. CIMPLICITY class attributes, which display in the Attributes tab of the Class dialog box. CIMPLICITY class attributes can be edited, duplicated, or deleted as needed to configure your class. Custom attributes that you configure to meet class requirements.
GFK-1180K
Configuring Classes
11-15
Tasks to configure class attributes include: Task 1. Task 2. Task 3. Task 4. Review standard CIMPLICITY class attributes. See page 11-16. Create a custom attribute. See page 11-17. Configure a class attribute. See page 11-18. Configure the attribute's field for the Object dialog box. See page 11-21.
When a class developer enters a value for the attribute, the value serves as the default for the corresponding data item(s) and/or in the Object dialog box in which a object designer enters values. CIMPLICITY class attributes are: Class Attribute $ADDRESS Provides the: Base address for data items. Note: $ADDRESS can also be used to support address adjustment expressions. See page 11-41. $ALARM_CLASS Default alarm class for data items with alarms. If not specified: Alarms will not be created for the data items (object points). Note: The class developer can change $ALARM_CLASS from Optional to Required to override this default behavior. $DESCRIPTION $DEVICE_ID $EU_LABEL Default description for all data items. Default Device ID for all data items. Default engineering units label for all data items.
11-16
July 2001
GFK-1180K
Default security level for all data items. Default Resource ID for all data items. Default Screen ID for all data items.
The New Attribute dialog box displays. 2. Enter a unique name in the Attribute ID field.
Uppercase Numeric and alphabetic required Underscores for first character. are allowed.
3.
Click OK.
GFK-1180K
Configuring Classes
11-17
CIMPLICITY attributes begin with $. Custom attributes. Open a New Attribute dialog box.
The top part of the dialog box provides fields for you to define the attribute. Your definition can provide default values and determines the options available to an object designer when creating an object from the class. Task 3. Configure a class attribute definition: 1. Open either a new or existing Attribute dialog box in which you will fill in or modify the top part.
Field Definition Part of the Attribute Dialog Box: GefTank Class Example
11-18
July 2001
GFK-1180K
2.
(Optional) Enter the default value for the attribute in the Value field. Acceptable values:
Must be within the range for the attribute type Are limited to 80 characters. Cannot contain the vertical bar '|' character.
3.
Select the data type of the value from the Data type drop-down list: Data types are: Analog Boolean String
4.
Select the option from the Instantiation type drop-down list that controls how a user will deal with the attribute when an object is being created: Option Required When an object is created, a user: Must provide a value for this attribute. Failure to provide a value when creating an object will generate an error. Optional Static Can override a class default value, if there is one. The attribute does not have to be specified to create the object. Cannot change the value. All objects of this class will have the same value for this attribute.
5.
Check Reference if you want to identify the value of this attribute as the value of another attribute. Important: The Value field in the Attribute dialog box must contain the attribute ID of the value to be referenced.
6.
Go to Task 4 to configure the attribute's field layout in the Object dialog box.
GFK-1180K
Configuring Classes
11-19
1 Class
Enter and define an attribute value in the Attribute dialog box.
Defines the field layout in the Object dialog box (next task).
2 Object
End of example.
11-20
July 2001
GFK-1180K
Step 3. Configure Class Attributes Task 4. Configure the Attribute's Field that displays in the Object Dialog Box
An object designer configures an object based on the class you are creating in an Object dialog box. The specifications you make in the Object Builder Group of the class attribute's Attribute dialog box determine where and how the attribute appears in the Object dialog box. Task 4. Configure the attribute's field that displays in the Object dialog box: 1. Open the appropriate Attribute dialog box (if it is not open), in which you will fill in or modify the fields in the Object Builder box. See page 11-18 for details.
2.
(Optional) Enter a meaningful description that is up to 20 characters in the Prompt field. Your entry appears as the field name for the class attribute in the Object dialog box. The class attribute ID appears as the field name if there is no entry. (Optional) Enter a tip up to 80 characters in the Help string field. Your entry appears as a tool tip in the Object dialog box when the user places the cursor over the field.
2.
3.
(Optional) Select a browser in the Browser type field if you want the user to have access to a browser in the Object dialog box. When a browser is selected, the appropriate Browser button will appear to the right of the field in the Object dialog box. Browser options include: Option Alarm Class Resource Device Role Point Button that will display
GFK-1180K
Configuring Classes
11-21
User Port 4. Specify the order in which the field will appear on the Object dialog box tab in the Order field. 5. Lower numbers appear before higher numbers. Class attributes with the same order number (for the same tab) are sorted alphabetically by Prompt (field name).
Use the Property page field to specify the tab on which the attribute will display in the Object dialog box as follows. Either Select General which is the default tab or Enter a new name. The name you enter will appear as a tab in the Object dialog box. The General tab has a limit of 8 attributes (fields). Additional tabs have a limit of 9 attributes each. Click OK or Cancel. A new class attribute is added to the list of attributes and existing attributes are modified. In addition: Existing objects based on this class are reevaluated to reflect the new class structure. You will be prompted to configure new required values for each existing object. Expressions that contain an existing attribute are re-evaluated. Points are modified when a configuration update is performed on the project.
6. Result: OK
Cancel
Note: CIMPLICITY attribute fields that cannot be modified display as read-only. However, when you duplicate a CIMPLICITY class attribute, all of the fields in the Attribute dialog box for the new attribute can be modified.
11-22
July 2001
GFK-1180K
1 Class
$DEVICE_ID (CIMPLICITY Attribute) Attribute definition (previous task).
Enter field name, position and other specifications in the Attribute dialog box.
2 Object
Field for $DEVICE_ID Attribute
End of example.
GFK-1180K
Configuring Classes
11-23
Class
4
Attributes Data Items
String Exp. CIMPLICITY Class Attributes Custom Attributes String Exp.
Scripts
Actions
Events
String Expressions
A data item: Can be used in any application that supports points, for example:
Database Logger Event Editor BCE Point Control Panel CimView Other CIMPLICITY Software Options
Can include a subset of expressions of type: string or numeric. Note that a limited number of string substitutions and numeric expressions are supported. Displays in the Workbench right pane as a point with its associated object. Create a data item. See page 11-26. Begin data item configuration. See page 11-27. Take advantage of data item class features including using: Class attributes for configuration. See page 11-29. String expressions in data item fields. See page 11-32. Numeric expressions in data item fields. See page 11-36. Address adjustment expressions. See page 11-41.
Tasks to configure data items include: Task 1. Task 2. Task 3. 3A. 3B. 3C. 3D.
11-24
July 2001
GFK-1180K
1 Class
AVERAGE_INFLOW Data item Configure the data item in the Class dialog box
2 Object
AVERAGE_INFLOW Point Appears as a point in the Workbench when an object is created. Workbench Tree view.
End of example.
Note: Usually you will configure a data item that creates one of the several point types available in CIMPLICITY. Two additional options are available that reduce memory usage: Just-in-Time device point type and Delay-Load device point type. See page 11-44 for details.
GFK-1180K
Configuring Classes
11-25
A New Data Item dialog box opens. 3. Enter a unique name for the Data Item.
Uppercase alphabetic required for first character.
New Data Item: Template that wil become a Point for an Object Numeric and Underscores are allowed.
11-26
July 2001
GFK-1180K
3. 4. 5.
Check Device or Virtual to create a data item definition that will become a device or virtual point. Check Analog, Boolean or Text to select the data item class. Your selection will be the point's class. Click OK.
Result: The Data Item dialog box opens. The available tabs and options in the dialog box depend on your Type and Class selections.
Note: You can also duplicate an existing data item and modify it.
A static value that applies to all objects or An expression that anticipates the requirements of the several objects.
The following values are omitted from data item configuration. This is because typically the class developer will not know the devices or resources that are configured for the objects in a project. Instead, the object designer enters the following in the Object dialog box: Value Device ID Resource ID Alarm Routing Comes from the $DEVICE_ID CIMPLICITY class attribute. $RESOURCE_ID CIMPLICITY class attribute. The strategy is specified when the object is created.
In addition, the object designer specifies: See page 11-18 for details about the Object dialog box. See "Configuring Device Points" and "Configuring Virtual Points" chapters in this manual for details about configuring device and virtual points.
GFK-1180K
Configuring Classes
11-27
Task 2. Begin data item configuration: Open the Data Item dialog box for a new or existing data item.
Data Item Dialog Box: Device Analog Point Example Unique for data items.
Note: The Data Item dialog box does not contain a Device ID field.
Result: You can continue configuration, taking advantage of CIMPLICITY class attributes, string and numeric expressions, where appropriate.
11-28
July 2001
GFK-1180K
Step 4. Configure Data Items Task 3A. Use CIMPLICITY Class Attributes for Configuration
CIMPLICITY class attributes can be used as default global values for data items. This simplifies data item configuration because you can leave the appropriate fields blank in the data item dialog box.
Class
4
Attributes Data Items
String Exp. CIMPLICITY Class Attributes Custom Attributes String Exp.
Scripts
Actions
Events
String Expressions
GFK-1180K
Configuring Classes
11-29
1 Class
A Create a class
attributte if it doesn't currently exist.. A
B Enter the
attribute in a Data Item field that allows string expressions.
11-30
July 2001
GFK-1180K
2 Object
A The attribute value displays in the Object dialog box.
End of example.
GFK-1180K
Configuring Classes
11-31
Step 4. Configure Data Items Task 2B. Use String Expressions in Data Item Fields
There are two types of expressions that you can use in selected data item fields. Expression Type String At the Object Level the Substitution strategy in a field that takes string entries is very similar to the use of variables in CimEdit expressions. You, the class developer, enter a string variable in a data item field. A string value is substituted at the object level. The type of string you use and where you use it determines whether it can be edited in the Point Properties dialog box at the object level. You enter string expressions in fields that accept non-numeric characters, e.g. the Description field or fields that require point ID's. See the next page for details. Numeric See page 11-36 for details for numeric expressions. You can configure data items to include a subset of expressions based on simple expression processing. Expressions can be used to set the value of a data item attribute.
Class
4
Attributes Data Items
String Exp. CIMPLICITY Class Attributes Custom Attributes String Exp.
Scripts
Actions
Events
String Expressions
CIMPLICITY Variables
11-32
July 2001
GFK-1180K
Use brackets {} to enclose variable values. (Brackets are also used for variables in CimEdit.) See the CimEdit Operation Manual, GFK1396, "Using Variables" chapter for detailed information about variables. Supported String Substitution for Data Items String substitution is supported for the following data item attributes, which you enter in the associated Data Item dialog box field. For All Data Items Attribute Supporting String Substitution Description Safety Point Screen Availability Trigger Measurement Units Label Derived Data Items Device Data Items Expression Reset Point Address Device ID
Point Alarm Data Items Alarm Message Alarm Class Deviation Point String Substitution Limitations Nested substitution is not supported. Example You have the created the following variables: VAR1="{VAR2}" VAR2=HELLO WORLD And the expression: {VAR1} The expression after substitution will be the string {VAR2}. The expression will not be reevaluated to yield the result HELLO WORLD.
GFK-1180K
Configuring Classes
11-33
1 Class
A Create a class
attributte if it doesn't currently exist.. A
B Enter the
attribute in a Data Item field that allows string expressions.
11-34
July 2001
GFK-1180K
2 Object
A The attribute value displays in the Object dialog box.
End of example.
GFK-1180K
Configuring Classes
11-35
Step 4. Configure Data Items Task 3C. Use Numeric Expressions in Data Item Fields
There are two types of expressions that you can use in selected data item fields. Expression Type String Numeric At the Object Level See page 11-32 for string expressions. Value in a field that takes numeric expressions is calculated at the object level. The calculation uses the values of class custom attributes that are used in the expression. You configure numeric expressions on the Expressions tab in the Data Item dialog box. This tab is unique for data items. It does not appear in the Point Properties dialog box. Numeric expressions are created with CIMPLICITY numeric data item attributes and can consist of one or two operands. Operands can be either a constant value or a custom attribute with a numeric data type.
Class
4
Attributes Data Items
String Exp. CIMPLICITY Class Attributes Custom Attributes String Exp.
Scripts
Actions
Events
String Expressions
11-36
July 2001
GFK-1180K
$ALARM_DELAY
Alarm delay. Alarm configuration; time in seconds Alarm high limit Alarm low limit Second conversion limit First conversion limit
Analog points Analog points Analog points Analog points See "Point Conversions in the "Configuring Device Points" chapter in this manual for details about point conversion. Analog points Analog points Analog points 0 = Zero filled 1 = Justify left (default) 2 = Justify right Floating point or Analog points with EU conversion Analog points All point types Analog points Analog points Point Conversion / Analog points Point Conversion / Analog points Analog points Analog points Analog points only; time in seconds Analog points Analog points
$FORMAT_PREC $FORMAT_WIDTH $LEVEL $RANGE_HIGH $RANGE_LOW $RAW_LIMIT_HIGH $RAW_LIMIT_LOW $SETPOINT_HIGH $SETPOINT_LOW $TREND_DURATION $TREND_SAMPLES $WARNING_HIGH $WARNING_LOW
Format precision Format width Security level Range high limit Range low limit Second raw limit First raw limit Setpoint high limit Setpoint low limit Trend duration Trend samples Warning high limit Warning low limit
GFK-1180K
Configuring Classes
11-37
2. 3.
Click New The New Expression box opens. Select an Attribute ID from the drop-down list. The list includes the supported CIMPLICITY numeric data item attributes. See the previous section.
4.
11-38
July 2001
GFK-1180K
5.
Specify the first operand by checking either: A. Attribute IDSelect the attribute from the dropdown list. Note: The analog attributes on the Attributes tab are operand B. NumberEnter a value in the field.
6.
7.
(Optional) Specify a second operand by checking either: A. Attribute IDSelect the attribute from the dropdown list B. NumberEnter a value in the field.
8.
Click OK.
Result: The expression is added to the data item's list of available numeric expressions. The numeric expressions provide rules for defining the point properties.
GFK-1180K
Configuring Classes
11-39
B Select a
CIMPLICITY numeric attribute to create a new expression.
B Expression
operands can be class attributes or numbers.
C The
CIMPLICITY numeric attribute appears in the point's configured expression list.
End of example.
11-40
July 2001
GFK-1180K
Step 4. Configure Data Items Task 3D. Use Address Adjustment Expressions
Address adjustment expressions provide a powerful tool that automates applying addresses to devices at the object level. Address adjustment expressions are based on the ADDRESS_ADJ expression target. This function is most useful when a final address is provided for the object by adding the offset number to the value in the object's Address attribute. Task 2D. Use address adjustment expressions: 1. Make sure your PLC stores data in contiguous blocks (or in blocks that are equally spaced apart). Example You have two tanks with data mapped in two contiguous blocks.
PLC Addresses Mapped in Two Contiguous Blocks 1. Level %R100 %R101 %R102 %R103 %R104 %R105 %R106 %R107 1 2 3 4 5 6 7 Block 1: PLC Addressing Address adjustment
2 9
3 10
8
9. Input valve %Q0 %Q1 %Q2 %Q3 1 2 3 Block 2: PLC Addressing 10. Output valve 11. Input valve 12. Output valve
6 11
7 12
2.
Use class attributes to enable the object designer to enter the base address for each block as follows: A. Use the CIMPLICITY $ADDRESS attribute for the first block. B. Create class attributes for the second and any additional blocks. Example An attribute that will be used in address adjustment is named OUTPUT_ADDR. C. (Optional) Enter a base address in the Attribute dialog box. Note: All address adjustment attributes appear as fields in the Object dialog box. When an object designer creates an object, base addresses can be entered for that object. If you enter a base address, that address appears as the default in the Object dialog box. See page 11-18 for details about the Object dialog box.
GFK-1180K
Configuring Classes
11-41
3.
Determine the offset for addresses that are above the base address using the formula.
Offset = PLC Address - Base Address.
Example 5=%R105-%R100 3. Create an address adjustment expression as follows: A. Select the Expressions tab in the Data item dialog box. B. Click New. The New Expression dialog box opens. C. Select $ADDRESS_ADJ from the drop-down list.
D. Click OK. The Expression dialog box displays. E. Check Number and enter the address-offset in the Number field, e.g. 1.
F.
Click OK.
11-42
July 2001
GFK-1180K
4.
Create an additional address adjustment expression as follows: A. Select the Device tab in the Data Item dialog box. B. Enter the name of the custom (address adjustment) attribute in brackets in the Address field, e.g. {OUTPUT_ADDR}.
Data Item Dialog Box Section: Address Adjustment Example
This is necessary to ensure that the custom attribute OUTPUT_ADDR is used for the base address instead of defaulting to the CIMPLICITY attribute, $ADDRESS. C. Select the Expressions tab. D. Click New. A New Expression dialog box opens. E. Select $ADDRESS_ADJ from the drop-down list. F. Click OK. The Expressions dialog box opens. G. Check Number and enter the address-offset in the Number field; e.g. 1. H. Click OK. Result: CIMPLICITY will automatically assign device points with addresses when an object designer enters the base address for the one or more configured blocks in the Object dialog box. The addresses will be calculated based on the adjustments you specified in the Expression dialog box.
GFK-1180K
Configuring Classes
11-43
Point is not be loaded into memory in the Point Manager or Devcom at project startup. Rather the point is loaded into memory only when it is demanded by an application. When the point ceases to be demanded it will be unloaded from memory in the Point Manager and Devcom.
11-44
July 2001
GFK-1180K
There are a number of benefits, disadvantages and non-supported functions as defined below: Data Item Benefits Configured Accessible any time Quick access Written to point database Available in point list Definition can be modified Just-in-Time Created on demand when needed No memory usage until point is created Project uses less disk space Point database is reduced Non-Supported Functions Noneall functions supported
Disadvantages Uses memory in point database Project uses more memory Configuration updates can be lengthy on larger systems
Not available in point lists Slowest access Device points only Does not reside in point database Definition cannot be modified Exclusive to classes Trigger settings and Alarm options are not available Note: Are not recommended for points that are accessed often.
Delay-Load Loaded when needed No memory usage until point is loaded Written to point database Available in point list Definition can be modified
Trend buffering Alarming Attribute set Analog deadband Cannot be used within another point's configuration, e.g. Safety point, Trigger, Availability Trigger point, etc. Cannot be used in a calculation point equation Cannot use another point within its configuration, e.g. Safety point, Trigger, Availability Trigger point, etc. Cannot be marked as an enterprise point. Trend buffering Alarming Cannot be used within another point's configuration, e.g. Safety point, Trigger, Availability Trigger point, etc. Cannot be used in a calculation point equation
Slower access Configuration updates can be lengthy on larger systems Trigger settings and Alarm options are not available
GFK-1180K
Configuring Classes
11-45
Class
5
Scripts Attributes Data Items
String Exp. CIMPLICITY Class Attributes Custom Attributes String Exp.
Actions
Events
String Expressions
The class$ script can also be modified in the CIMPLICITY Program Editor by opening it through the Workbench Scripts folder. As a result an object designer can use the script editor for editing and debugging of the scripts. Tasks to write class scripts include: Task 1. Task 2. Create a class script. See page 11-48. Write a class script through the Scripts tab. See page 1149.
11-46
July 2001
GFK-1180K
Example: Access a script for a class. A class named GefTank has a script named level.bcl. The script resides in the Scripts directory with the name GefTank$Level.bcl. The script, Level.bcl/GefTank$Level.bcl, can be modified in the CIMPLICITY Program Editor. You will see the modifications when you open the Program Editor through either the Class dialog box or the Scripts folder.
1 Class
Create a script in the CIMPLICITY Program Editor through the Class dialog box.
2 Class/Object
The script is associated with the class in the Scripts folder.
End of example.
GFK-1180K
Configuring Classes
11-47
The New Script Name dialog box opens. 2. Enter a unique name
A Script name is 3. Is up to 15 characters. Can have alphanumeric characters. Can have underscores. Cannot have spaces.
Click OK.
Note: You can also duplicate an existing script and modify it.
11-48
July 2001
GFK-1180K
Step 5. Write Class Scripts Task 2. Write a Class Script through the Scripts Tab
You can write a class script by: Creating a new class script Modifying an existing class script. Duplicating an existing class script and modifying the duplicated script.
Task 2. Write a class script through the Scripts tab: 1. 2. 3. 4. Open either a New Script name dialog box or display a selected script in the Program Editor. Write or modify the script as you would any CIMPLICITY script. Save the modifications. Close the CIMPLICITY Program Editor window.
Class$Scriptname.bcl
Result: The script immediately appears in the Workbench Scripts folder as: Where
Class$ is the name of the class to which the script belongs. Scriptname.bcl is the name entered in the New Script Name dialog box.
You can modify the script either through the Scripts folder or through the Class dialog box.
GFK-1180K
Configuring Classes
11-49
Class
6
Scripts Attributes Data Items
String Exp. CIMPLICITY Class Attributes Custom Attributes String Exp.
Actions
Events
String Expressions
Numeric Expressions
CIMPLICITY Numeric Attributes
CimEdit Screen
Are associated with an object. A object designer cannot change the association. Cannot be modified. All fields are read-only. Cannot be deleted. Can be associated with a non-object event. This enables an object to instantiate actions that can be called from other events.
Tasks to configure a class action are: Task 1. Task 2. Create a class action. See page 11-52. Define a class action. See page 11-53.
11-50
July 2001
GFK-1180K
2 Object
A The action is
associated with an object when the object is created. The associated action displays in the Event Editor. It cannot be modified.
A B
End of example.
GFK-1180K
Configuring Classes
11-51
2.
Enter a unique name for the Action ID. The Action ID:
Is limited to 16 characters. Can be composed of Uppercase alphabetic characters, Numeric characters and Underscores.
Numeric and Uppercase alphabetic required Underscores are allowed. for first character.
3.
11-52
July 2001
GFK-1180K
All CIMPLICITY action types (found in the Event Editor) are available except for: Alarm Lookup and Recipe Upload/Download.
The difference between configuring a class action and a standard action is that you: Select a data item instead of a point ID when you configure an action that requires a point ID. The CIMPLICITY $OBJECT variable is automatically entered when you select the data item.
Note: The user can associate a non-object event with an object action. This allows an object to instantiate actions that can be called from other events.
GFK-1180K
Configuring Classes
11-53
Task 2. Define a class action: 1. Open a new or existing Action dialog box. Example
2.
Select an action from the list of available actions. Actions available for classes include: Log Only Point Alarm Acknowledge Point Alarm Disable Point Alarm Enable Run Script Set Point Source Transition Set Transition Set
3.
Fill in the fields that display, based on the selected action. See page 11-56 for supported string substitution for action fields. Your entries are based on the class configuration Example A. If a Point ID field displays, e.g., for a Set Point action: i. Click the Browser button to the right of the Point ID field.
The Select a Data Item browser appears displaying the list of data items created for the class.
ii.
11-54
July 2001
GFK-1180K
The CIMPLICITY $OBJECT variable appears in the Point ID field before the data item as follows:
{$OBJECT).DataItem
Data Item
B. If a Run Script action is chosen: i. Click the Browser button to the right of the Script name field.
The Select a Script File browser displays the scripts that have been written for the class. ii. Select a script to associate with the action.
iii. Click OK. Result: The name of the class script appears in the Script name field.
GFK-1180K
Configuring Classes
11-55
4.
Click OK.
Result: The action, which is modified or created, displays on the Actions tab in the Class dialog box.
Supported String Substitution for Action Fields String substitution is supported for the following action fields, which you enter in the associated Action dialog box field. Point ID. Resource ID. Point value.
11-56
July 2001
GFK-1180K
Class
7
Scripts Attributes Data Items
String Exp. CIMPLICITY Class Attributes Custom Attributes String Exp.
Actions
Events
String Expressions
Numeric Expressions
CIMPLICITY Numeric Attributes
CimEdit Screen
Class events: Are created through the Class dialog box. Appear in the Event Editor window when an object is created. In the Event Editor, events:
Are associated with an object. A object designer cannot change the association. Cannot be modified. All fields are read-only. Cannot be deleted.
Creating class events is similar to creating events in the Event Editor. All existing event types that are supported in the event editor are available for class event configuration. Tasks to configure class events include: Task 1. Task 2. Create a class event. See page 11-59. Configure class events. See page 11-60.
GFK-1180K
Configuring Classes
11-57
A Open an Event
dialog box through the Class dialog box. Configure the event.
2 Object
A The event is
associated with an object when the object is created. The associated event displays in the Event Editor. It cannot be modified.
B
A
End of example.
11-58
July 2001
GFK-1180K
The New Event dialog box appears. 2. Enter a unique name for the Event ID.
Numeric and Uppercase alphabetic required Underscores are allowed. for first character.
Is limited to 16 characters. Can be composed of Uppercase alphabetic characters, Numeric characters and Underscores.
Must begin with an alphabetic character. Note: You can also duplicate an existing event and modify it.
GFK-1180K
Configuring Classes
11-59
See "CIMPLICITY Basic Control Engine Event Editor and BCEUI Operation Manual, GFK-1282, for a description of each of the event types. C. Fill in the fields that display, based on the selected event. See page 11-63 for supported string substitutions for event fields. Example The Alarm Acknowledged event type is selected. Configuration includes: i. Click the Browser button to the right of the Alarm ID field.
The Select a Data Item browser appears displaying the list of data items displayed for the class.
11-60
July 2001
GFK-1180K
D. The CIMPLICITY $OBJECT variable appears in the Point ID field before the data item as follows:
{$OBJECT).DataItem
Note: You can enter a string expression directly in the field. E. (Optional) Select or enter a Resource ID. F. 3. (Optional) Select or enter an alarm class in the Class ID field. Select actions that will be associated with the class event. A. Select the Actions tab in the Event dialog box.
B. Open an Action-Event dialog box by using any of the same methods you used to open the Event dialog box (1 in this procedure).
The Select an Action browser opens displaying the actions that have been created for the class. D. Select an action that will be associated with the event.
GFK-1180K
Configuring Classes
11-61
E. Click OK. The action appears in the Action ID field. F. Check Log Flag to have the action logged to a database table.
G. Click OK. The action appears in the list of actions associated with the event.
H. Specify the sequence in which the event's actions occur by using the Move up and Move down buttons to place the actions in the order you want them to occur. 4. 5. 5. Select the Advanced tab in the Event dialog box. Configure advanced specifications the same as you configure them for an event in the Events folder. Click OK.
Result: When an object is created from the class, the event appears in the CIMPLICITY Event Editor window as:
ObjectName.EventID
Where
ObjectName is the name of the object that has been created. EventID is the name entered in the New Event dialog box.
11-62
July 2001
GFK-1180K
Supported String Substitution for Event Fields String substitution is supported for the following event fields, which you enter in the associated Event dialog box field. Point ID. Alarm ID. Resource ID. Alarm Class. Point Value.
GFK-1180K
Configuring Classes
11-63
Class
Scripts Attributes Data Items
String Exp. CIMPLICITY Class Attributes Custom Attributes String Exp.
Actions
Events
String Expressions
Numeric Expressions
CIMPLICITY Numeric Attributes
8
CimEdit Screen
When you configure a class CimEdit screen an object designer can drag an existing object from the Workbench to a new CimEdit screen. The source object from the class CimEdit screen appears on the new screen. Object values are substituted for variables, e.g. $OBJECT, that were configured on the source screen. Tip: It is recommended that you configure the following in the order they are listed: 1. 2. 3. Other class components. One object that you can use to test the screen you are creating. The class CimEdit screen.
Important: This step provides an overview of how to configure a CimEdit screen for a class. It assumes that you are familiar with CimEdit configuration, which is essential for creating an effective class CimEdit screen. For details about CimEdit configuration, see the "CimEdit Operation Manual," GFK-1396. Tasks to create a class CimEdit screen for a class include: Task 1. Task 2. Task 3. Task 4. Task 5. Place the required objects on the screen. See page 11-65. Group the objects into a top-level group. See page 11-66. Enter class specifications for the top-level group. See page 11-68. Apply class attributes (variables) to CimEdit objects within the top-level group. See page 11-71. Associate the CimEdit screen with its class. See page 11-74.
11-64
July 2001
GFK-1180K
Step 8. Configure a Class CimEdit Screen Task 1. Place the required objects on a screen.
You can use any of the thousands of CimEdit objects on a class CimEdit screen. The type and number of objects you place on the screen depends on the class requirements.. Tip: Configure the other Before you configure a Class CimEdit screen, configure the Example: Objects placed on a Class CimEdit screen.
Objects Placed on a CimEdit Screen: Geftank Class Example
Text Trend ActiveX Tank group object from the Object Explorer Text
End of example.
GFK-1180K
Configuring Classes
11-65
Draw a box around all of the objects as follows. A. Hold the left mouse button down. B. Drag the cursor around all of the objects to be included in the group. A gray dotted line appears around the objects.
11-66
July 2001
GFK-1180K
3.
4.
Result: The individual objects are grouped together into a top-level group object.
Object group
See the "Creating a Preliminary Layout" chapter in the CimEdit Operation Manual, GFK-1396, for other methods to create groups.
GFK-1180K
Configuring Classes
11-67
Step 8. Configure a Class CimEdit Screen Task 3. Configure the Top-level Group Object
A CimEdit class group object requires a name. The class group object becomes the source for graphics that are created for CIMPLICITY class objects. In addition, a variable must be assigned to the class (group) object that CIMPLICITY will substitute with the appropriate (class) object name. Task 3. Configure the top-level group object: 1. Open the Object - Group Properties dialog box as follows: A. Right-click the group object. B. Select Properties from the popup menu.
2.
Name the top-level group object as follows. A. Select the General tab. B. Enter a name, e.g. object, in the Name Field. C. Click Apply. (Object) displays on the title bar of the Properties - Group dialog box.
1 Enter an
Object name.
2 Click Apply.
3.
Assign the CIMPLICITY $OBJECT variable to the top level group object as follows: A. Select the Variables tab in the Properties - Group dialog box. B. Enter $OBJECT in the Variable field. See page 11-32 for details about $OBJECT.
11-68
July 2001
GFK-1180K
C. Check Public.
D. Click OK. Result: When an object that is created from the class is dragged into CimEdit, a class object graphic is created. The name of the object is substituted for {$OBJECT} in expressions during runtime.
GFK-1180K
Configuring Classes
11-69
B Object
The name displays on the Class Object tab in the object's Properties dialog box.
B Object
The object name displays on the Variables tab in the object's Properties dialog box.
End of example.
11-70
July 2001
GFK-1180K
Step 8. Configure a Class CimEdit Screen Task 4. Assign Properties to Objects within the Group
You can assign expressions and variables to a group of objects and objects that are included in the top-level group the same way you assign them on any CimEdit screen. The values you enter are values from the Class configuration, e.g. data items that become point IDs when an object is created from the class. Task 4. Assign properties to objects within the group: 1. Put the top level group in Group Edit mode as follows: A. Select the top-level group. B. Click the Group Edit button on the CimEdit toolbar.
The Container toolbar appears. You can now select any object in the group. If the object is a nested group, you can configure or open that group. 2. 3. Right-click a group or object to which you want to attach an expression. Select Properties on the popup menu.
Container toolbar
4. 5.
Select the appropriate tab for configuration. Enter {$OBJECT}.data item Where {$OBJECT} references the object that is created from the class. Data item specifies the class data item that will become a point that is associated with the class object.
GFK-1180K
Configuring Classes
11-71
Example
{$OBJECT}.LEVEL
5. 6.
Click Apply or OK. Follow the same procedure to create as many objects as should be available to an object designer.
Result: When a class object is dragged into CimEdit the selected class object graphic will include, but not display, the configuration. During runtime CimView substitutes the class object name for {$OBJECT} in order to use the object's point ID.
11-72
July 2001
GFK-1180K
2 Object
Configuration is: B Not visible in the class object dialog box. C Controls the CimView display.
End of example.
GFK-1180K
Configuring Classes
11-73
Step 8. Configure a Class CimEdit Screen Task 5. Associate the Screen with its Class
You can associate the CimEdit screen with the class at any time during configuration. You simply enter the screen name on the General tab in the Class dialog box. Task 5. Associate the CimEdit screen with its class: 1. 2. 3. Open the Class dialog box for the class with which the screen will be associated. Select the General tab. Enter the CimEdit screen name in the Graphics file field that will be associated with the class The selected CimEdit screen contains the source objects that are available to object designers. 4. Enter the name, in the Default Graphic field, of the CimEdit object that appears as the default when a class object is dragged to a new CimEdit screen.
Graphic that gets placed when an object is dragged to a new CimEdit screen.
Result: When an object that is created from the class is dragged from the Workbench into a new CimEdit screen, a class object graphic, which is linked to the class source graphic appears. An object designer can select another object in the default object's Properties dialog box.
11-74
July 2001
GFK-1180K
Example: Use class CimEdit screens with more than one object.
1 Class
A Configure
objects on class CimEdit screen.
B Select Output
Valve as the default graphic.
GFK-1180K
Configuring Classes
11-75
2 Object
A The default
CimEdit object appears when a class object is dragged to a new screen.
B Object
designers can select a different graphic on the Class Object tab.
End of example.
11-76
July 2001
GFK-1180K
Note: Refer to the documentation from your help-based software for details about creating custom help files. Compatible software sources include, but are not limited to: RoboHELP. Doc-To-Help.
Step 9. Associate a custom help file with a class: 1. 2. Select the General tab in the Class dialog box. Enter the name of the help file in the Help file field.
Result: When an object designer presses F1 or clicks Help in the Object dialog box, the table of contents for the specified help file appears.
GFK-1180K
Configuring Classes
11-77
To export a point class: 1. 2. Right-click the Classes icon in the Workbench left pane.
3. 4.
Navigate to the location where you will save the point class file. Enter <ClassName>.soc Where <ClassName> is the name of the class.
.soc is the class file extension.
11-78
July 2001
GFK-1180K
4.
Result: CIMPLICITY includes the class components in the .soc file as follows: Component Class configuration Scripts (.bcl) files CimEdit (.cim) files
When a .soc file is exports, CIMPLICITY gathers the class components from the Workbench. Class Configuration Scripts Data Items Attributes .soc File Actions
Events
.bcl files
.cim file
A class developer can now modify the class to meet any different requirements for the project. An object designer can immediately create objects with associated CimEdit/CimView screens.
The Open dialog box opens. 3. Navigate to the location of the point class .soc file that will be imported.
GFK-1180K
Configuring Classes
11-79
4.
The Workbench displays. 5. Press F5 to refresh the screen. Folder Distributed to: Classes Scripts Screens Result: CIMPLICITY distributes the .soc file components as follows: Component Class configuration Scripts (.bcl) files CimEdit (.cim) files
When a .soc file is imported, CIMPLICITY distributes the class components in the Workbench. Class Configuration Scripts Data Items Attributes .soc File Actions
Events
.bcl files
.cim file
A class developer can now modify the class to meet any different requirements for the project. An object designer can immediately create objects with associated CimEdit/CimView screens.
11-80
July 2001
GFK-1180K
GFK-1180K
Configuring Classes
11-81
Operator Person who will use the data and view the graphics screens from the instantiated object as an integral part of monitoring and maintaining an application. Classes can contain two member types: Data Items
Configured data items Just-in-time (JIT) data items CIMPLICITY attributes. Custom attributes.
Attributes
11-82
July 2001
GFK-1180K
Class
CimEdit Screen
2 One or more
objects can be created from the class. Objects include "instantiated" parts that are included in the class.
CimEdit Screen
CimEdit Screen
CimEdit Screen
Object 1
Attributes Points Events Actions Scripts
Object 2
Attributes Points Events Actions Scripts
Object 3
Attributes Points Events Actions Scripts
Although class object features behave the same as their non-class counterparts, CIMPLICITY makes it easy for the object designer (or any project designer) to locate features for any class object. CIMPLICITY attaches the object name to the front of the feature name.
GFK-1180K
12-1
ExampleParts of a Class Object Point Name Two points that display in the Workbench Points folder are:
Tank_1.TANK_LEVEL Tank_2.TANK_LEVEL
Where
Tank_1 is a class object and TANK_LEVEL is a data item attached to Tank_1. Tank_2 is a class object and TANK_LEVEL is a data item attached to Tank_2.
Important: Before you can configure a class object, a class must be created. If the class exists, but is not in the current project, you simply need to import it into the project. Note: The exceptions to the rule are data items that have the Just-in-Time (JIT) option checked: JIT points are not created until requested by an application. See page 12-5 for details about importing a class into a project. See "Configuring Point Classes" for information and instructions about creating a class and about Just-in-Time points.
A data item is an item in the class template that contains a point definition. A data item becomes a CIMPLICITY point when the class is instantiated into an object. See the previous example, "Parts of a Class Object Point Name." Producing a particular object from its point class template. This involves allocation of a structure with the types specified by the template and initialization of attributes with either default values or those provided by the user.
Instantiation
Just-in-Time Data Item Just-in-Time (JIT) data items are not written to the point database when an object is instantiated; rather, the point configuration is created on demand. JIT data items are exclusive to classes.
12-2
July 2001
GFK-1180K
Events, Actions Attributes, Points, can be customized for each object if the class configuration allows it. Scripts apply to all objects in the class.
GFK-1180K
12-3
2.
An Object Designer creates and configures one or more objects based on the class. Configuration begins in the Object dialog box. How many and the content of fields that ask for specifications specific to the object being configured depend on the class configuration.
12-4
July 2001
GFK-1180K
The Open dialog box appears. 3. Browse for the .soc file for the class you want to import. Note: When the class developer exported the class, CIMPLICITY created a .soc file with the name specified by the class developer. The .soc file contains the class configuration including: Specifications made in the Class dialog box (e.g. attributes, data items (object points), events and actions). CimEdit graphic class objects. Scripts.
GFK-1180K
12-5
4.
Click Open in the Open dialog box when you find the file.
Result: The class appears in the Class folder. Scripts that have been written for the class appear in the Scripts folder.
1 An object's class displays in the Classes folder. 2 The class scripts display in the Scripts folder. 1
12-6
July 2001
GFK-1180K
Press Ctrl+N.
The New Object dialog box displays when you use any of the above methods.
2.
Type a unique name for the object in the Object ID field. The Object ID: Must be no more than 15 characters in length Can contain alphanumeric characters and underscores and Must begin with an alphabetic character.
GFK-1180K
12-7
3.
Click the Browse button to the right of the Class ID field to find the class that will be used as the template. Note: If a class must be created, click and select New from the popup menu.
See the "Configuring Classes" chapter in this manual for details about creating a class. 4. Click OK. Result: The Object properties dialog box displays.
12-8
July 2001
GFK-1180K
Step 3. Assign values to the class object: Enter values in the Object dialog box fields that define the specific criteria for the class object that is being configured.
When appropriate, the Browse buttons that appear throughout CIMPLICITY, display to aid you search for the correct entries. Option Alarm Class Resource Device Role Point User Port Browse Button that will display
GFK-1180K
12-9
Important: You will not be able to complete a tab's configuration until you fill in all of the required fields. If you try, an error message appears telling you that a value for an attribute is required. This message continues to appear when you attempt to exit the dialog box until all required fields are filled in.
12-10
July 2001
GFK-1180K
GFK-1180K
12-11
3 Tank_1 events display in the Event Editor. 4 Tank_1 actions display in the Event Editor.
Note: CIMPLICITY puts scripts in the Scripts folder when written during class configuration.
End of example.
12-12
July 2001
GFK-1180K
Class that contains the CimEdit graphic (read-only). Selected class object (read/write). Selected class object graphic (read/write).
7.
Configure the Class Object tab as follows: A. (Optional) Enter the ID for any object in the class in the Object ID field if you want to associate the graphic with a different object from the one dragged onto the CimEdit screen. to the right of the Object ID field to Tip: Click the Browser button display a list of all of the objects in the class. B. (Optional) Select any class graphic in the Graphic Name field if you want to use a class graphic that is different from the default. The Graphic Name field contains a list of all of the graphics that have been developed for the class. Any graphic can potentially be applied to any object in the class.
8.
Click OK. 1. 2. During runtime the graphic will represent the values of the selected class object. The graphic will change to the graphic you selected, if it is different from the default, as soon as you close the Properties - Class Object dialog box.
GFK-1180K
12-13
End of example.
12-14
July 2001
GFK-1180K
Each system point, which is Read only, is automatically updated by CIMPLICITY HMI. The default update time is every 60 seconds. To see the value of any one, all you have to do is select it for display. $ALARM.ACKED $ALARM.ACTIVE $ALARM.TOTAL $ALARM.UNACKED $CLASS_<Alarm class name>.ALARMS $CLASS_<Alarm class name>.UNACKED $LOCAL.COMPUTER $LOCAL.DATE.AMPM $LOCAL.DATE.DAY $LOCAL.DATE.DAYOFWEEK $LOCAL.DATE.DAYOFYEAR $LOCAL.DATE.HOUR $LOCAL.DATE.HOUR12 $LOCAL.DATE.MINUTE $LOCAL.DATE.MONTH $LOCAL.DATE.SECOND $LOCAL.DATE.SECONDOFDAY $LOCAL.DATE.WEEK $LOCAL.DATE.YEAR $LOCAL.DATETIME $LOCAL.WINUSER $PROJECT $PROJECT.AVAILABLE $PROJECT.COMPUTER $PROJECT.DATE.AMPM $PROJECT.DATE.DAY $PROJECT.DATE.DAYOFWEEK $PROJECT.DATE.DAYOFYEAR $PROJECT.DATE.HOUR $PROJECT.DATE.HOUR12 $PROJECT.DATE.MINUTE $PROJECT.DATE.MONTH $PROJECT.DATE.SECOND $PROJECT.DATE.SECONDOFDAY $PROJECT.DATE.WEEK $PROJECT.DATE.YEAR $PROJECT.DATETIME $PROJECT.DEVICES $PROJECT.LOGGEDIN $PROJECT.USERS $ROLE $ROLE.LEVEL $USER $USER.ALARMS
GFK-1180K
13-1
$ALARM.ACKED
Point Type Data Type Access Description Server Point UDINT Read only Total Alarms acknowledged
$ALARM.ACTIVE
Point Type Data Type Access Description Server Point UDINT Read only Total active alarm count
$ALARM.TOTAL
Point Type Data Type Access Description Server Point UDINT Read only Total alarm count
$ALARM.UNACKED
Point Type Data Type Access Description Server Point UDINT Read only Total alarms unacknowledged
$LOCAL.COMPUTER
Point Type Data Type Access Description Local Point STRING (15) Read only Local computer name
13-2
GFK-1180K
$LOCAL.DATE.AMPM
Point Type Data Type Access Description Local Point BOOL Read only 0=AM; 1=PM
$LOCAL.DATE.DAY
Point Type Data Type Access Description Local Point USINT Read only Current day in the month (1-31)
$LOCAL.DATE.DAYOFWEEK
Point Type Data Type Access Description Local Point USINT Read only Current day in the week (1-7); 1=Sunday
$LOCAL.DATE.DAYOFYEAR
Point Type Data Type Access Description Local Point UINT Read only Current day in the year (1-366)
$LOCAL.DATE.HOUR
Point Type Data Type Access Description Local Point USINT Read only Current hour in the day (0-23)
$LOCAL.DATE.HOUR12
Point Type Data Type Access Description Local Point USINT Read only Current hour in the day (1-12)
$LOCAL.DATE.MINUTE
Point Type Data Type Access Description Local Point USINT Read only Minutes past the hour (0-59)
GFK-1180K
13-3
$LOCAL.DATE.MONTH
Point Type Data Type Access Description Local Point USINT Read only Current month of the year (1-12); 1=January
$LOCAL.DATE.SECOND
Point Type Data Type Access Description Local Point USINT Read only Second past the minute (0-59)
$LOCAL.DATE.SECONDOFDAY
Point Type Data Type Access Description Local Point UDINT Read only Second past midnight (0-86399)
$LOCAL.DATE.WEEK
Point Type Data Type Access Description Local Point USINT Read only Current week in the year (1-52)
$LOCAL.DATE.YEAR
Point Type Data Type Access Description Local Point UINT Read only Current year (1970-2039)
$LOCAL.DATETIME
Point Type Data Type Access Description Local Point UDINT Read only Local date and time in seconds from 1/1/1970
$LOCAL.WINUSER
Point Type Data Type Access Description Local Point STRING (20) Read only Local Windows user name
13-4
GFK-1180K
$PROJECT
Point Type Data Type Access Description Server Point STRING (20) Read only Project name
$PROJECT.AVAILABLE
Point Type Data Type Access Description Local Point BOOL Read only Project availability 0=Not Available 1=Available
$PROJECT.COMPUTER
Point Type Data Type Access Description Server Point STRING (15) Read only Project computer name
$PROJECT.DATE.AMPM
Point Type Data Type Access Description Server Point BOOL Read only 0=AM; 1=PM
$PROJECT.DATE.DAY
Point Type Data Type Access Description Server Point USINT Read only Current day in the month (1-31)
$PROJECT.DATE.DAYOFWEEK
Point Type Data Type Access Description Server Point USINT Read only Current day in the week (1-7); 1=Sunday
GFK-1180K
13-5
$PROJECT.DATE.DAYOFYEAR
Point Type Data Type Access Description Server Point UIND Read only Current day in the year (1-366)
$PROJECT.DATE.HOUR
Point Type Data Type Access Description Server Point USINT Read only Current hour in the day (0-23)
$PROJECT.DATE.HOUR12
Point Type Data Type Access Description Server Point USINT Read only Current hour in the day (1-12)
$PROJECT.DATE.MINUTE
Point Type Data Type Access Description Server Point USINT Read only Minutes past the hour (0-59)
$PROJECT.DATE.MONTH
Point Type Data Type Access Description Server Point USINT Read only Current month (1-12); 1=January
$PROJECT.DATE.SECOND
Point Type Data Type Access Description Server Point USINT Read only Second past the minute (0-59)
$PROJECT.DATE.SECONDOFFDAY
Point Type Data Type Access Description Server Point UDINT Read only Second past midnight (0-86399)
13-6
GFK-1180K
$PROJECT.DATE.WEEK
Point Type Data Type Access Description Server Point USINT Read only Current week in the year (1-52)
$PROJECT.DATE.YEAR
Point Type Data Type Access Description Server Point UINT Read only Current year (1970-2039)
$PROJECT.DATETIME
Point Type Data Type Access Description Server Point UDINT Read only Server date and time in seconds from 1/1/1970
$PROJECT.DEVICES
Point Type Data Type Access Description Server Point UDINT Read only Number of devices online
$PROJECT.LOGGEDIN
Point Type Data Type Access Description Local Point BOOL Read/Write Login status 0=Logged out || !$PROJECT.AVAILABLE 1=Logged in && $PROJECT.AVAILABLE
$PROJECT.USERS
Point Type Data Type Access Description Server Point UDINT Read only Number of users
GFK-1180K
13-7
$ROLE
Point Type Data Type Access Description Server Point String (16) Read only User role identification
$ROLE.LEVEL
Point Type Data Type Access Description Server Point DINT Read only Role's security level.
$USER
Point Type Data Type Access Description Server Point String (32) Read only User identification.
$USER.ALARMS
Point Type Data Type Access Description Local Point UDINT Read only Alarm count by user
13-8
GFK-1180K
When you open the Point Cross Reference window for the first time you need to build a PtXRef database for the points in the project you are running When that is done, the three basic issues to address are how you: 1. 2. View a list of points using different view options. Focus on one point to: 3. Review where it is located and how it is used Make modifications
If you need to work with a different CIMPLICITY HMI project from the one that is currently open, you can easily open the other CIMPLICITY HMI project through the Point Cross Reference window.
GFK-1180K
14-1
14-2
GFK-1180K
To update the PtXRef Database before the PtXRef Point Explorer window opens: Simply click the Yes button.
To build a Points Cross Reference database: Method 1 1. 1. 2. Click the Build button on the Point Cross Reference tool bar.
Method 2 click PtXRef on the Point Cross Reference menu bar. Select Build.
Both Methods Continued A list of subsystems (areas) in you project appears, when you use either method. Selections in this list can be changed at any time. 1. 2. Select the subsystems to be included in the PtXRef database. Click OK.
GFK-1180K
14-3
CIMPLICITY HMI builds a PtXRef database of all the points in your project that appear in the subsystems you select.
Build PtXref Database Dialog Box
List of points
14-4
GFK-1180K
The left pane displays a list of points in the project. You can view: All points Only used points
The right pane can display both a tree and text view or each alone. When you select a point in the list of points and look at the: Tree View A tree displays: Where the point appears in the areas included in the PtXRef database In what context the point is used
From this display you can open a configuration window that is related to the instance you select Text View A full text description displays: Where the point appears in the areas included in the PtXRef database In what context the point is used
Note: A list of points displays in the left pane for all views.
GFK-1180K
14-5
Point ID
Point count
To re-sort the lists in the left pane of the Point Cross Reference window: Click the title bar on top of the list that you want as the primary sort. The list you select will be sorted in ascending order. Information on the other two lists will stay with the associated items in the primary sort.
14-6
GFK-1180K
In either case, the Views tab of the Options dialog box appears.
Views Tab in Options Dialog Box Tree view enabled
Select how you want the Point Cross Reference window to display information. The options are: Sort on When checked sorts by the checked option: Point TypeWhether the point is valid (included in the Points database) or invalid (appears in the system but is not included in the Points database that appears in the Point Configuration window). Ref CountNumeric order based on how many times the point appears in the PtXRef database Point IDAlphabetical order Show only used points Enable Tree /Text View When checked, the left pane displays only the points that are currently being used in your project CIMPLICITY HMI displays either or both views, whatever is checked.
GFK-1180K
14-7
Screen Refresh
If more than one location can make changes to points, these changes may be made when you are using the Point Cross Reference window. You can refresh the view periodically to keep it up to date. To refresh the view in the Point Cross Reference window: 1. 2. click PtXRef on the Point Cross Reference menu bar. Select Refresh.
Result: CIMPLICITY HMI scans the point table and displays the current information.
14-8
GFK-1180K
Point Review
Once you have selected which views (Tree and/or text) in which you want information displayed in the Point Cross Reference dialog box, you can easily review that information by simply selecting the appropriate Point ID.
Views Tab in Options Dialog Box Tree view Subsystem Point use
Selected point
Text view
Using Tree View to review information In Tree view, you expand or collapse the tree the same as you do in Windows Explorer. Information on the tree is listed by: Subsystem (for examplePoint Configuration) Use in the subsystem (For exampleDerived)
GFK-1180K
14-9
To review information about a point instance through tree view: 1. 2. 3. Select the point in the left pane of the Point Cross Reference window. Right click the object that represents the point instance you want to review in the right pane of the Point Cross Reference window. Select Properties from the popup menu.. A properties window that applies to the point instance you selected displays. Method 2 2. 3. Click View on the Point Cross Reference menu bar. Select Properties. Method 1
Note: If the object you select has no properties, that selection will not be available when you click the right mouse button. Using Text View to review information In Text view, scroll through the list in the right pane of the Point Cross Reference window to view the information. Depending on where the point is being used, you will see: Points Scripts Event Resource ID, Elements, Description What scripts are using the point What events are using the point
Point Modification
When you decide to modify a point or an instance where the point is being used, you can open the appropriate window to do this. To make modifications through the Point Cross Reference window: 1. 2. 3. 4. Select the point you want to modify in the left pane of the Point Cross Reference window. Go to the tree view pane. Right-click the instance you want to modify. Select Open from the popup menu.
14-10
GFK-1180K
The related window that contains the information you want to modify opens, as follows: Selected Instance Events Events as Actions Events as Events Scripts Specific Script Points PointsDerived Specific Derived Point Database Logger Related Window or Dialog Box that Opens Event Editor window Event Editor dialog box for that action Event Editor dialog box for that event Program EditorBasic1 empty window Program EditorBasic1 with the appropriate script Point - Configuration window Point - Configuration dialog box for that point Point Configuration dialog box for that point Database Logger Configuration window
To add more subsystems to and build the PtXRef database: Method 1 1. 2. 3. 1. 2. 3. 4. Click the Build button on the Point Cross Reference tool bar.
The Build PtXRef Database dialog box appears. Check the subsystems you want to include in the database. Click PtXRef on the Point Cross Reference menu bar. Select Build. The Build PtXRef Database dialog box appears. Check the subsystems you want to include in the database.
Method 2
CIMPLICITY HMI adds and displays the selected subsystems when you use either method.
GFK-1180K
14-11
To rebuild the PtXRef database: 1. 2. Click PtXRef on the Point Cross Reference menu bar. Select Rebuild All.
If the PtXRef database needs to be rebuilt, the following dialog box appears providing you with the rebuild status.
14-12
GFK-1180K
An Open dialog box appears. Select the project you want to open. Build the PtXRef database, if it does not exist. Click Project on the Point Cross Reference menu bar. Select Open. An Open dialog box appears. Select the CIMPLICITY HMI project you want to open. Build the PtXRef database, if it does not exist.
Method 2
Note: You can find and open a CIMPLICITY HMI project from the last databases you opened listed on the Project drop down menu.
GFK-1180K
14-13
Device Configuration
About Devices
A device is anything that can communicate point data to CIMPLICITY HMI software. CIMPLICITY HMI software can read data from and write data to devices. Examples of devices are programmable controllers such as the GE Fanuc Series 90. Use this function to configure devices and specify their characteristics. Configuration requirements for devices vary depending on the type of device and communications protocol being used. See the CIMPLICITY HMI Device Communications Manual (GFK1181) for detailed information on configuring a device for a particular protocol.
Device Configuration
The Workbench displays a project's existing devices in the right pane. To view a project's existing devices: 1. 2. Expand the Equipment folder in the left pane of the Workbench. Select Devices . The physical device identifier The port to which the device is connected A configured resource Only users that are assigned this resource can view alarms for this device. Note: Alarms for points on the device may or may not use the same resource as the device. Description Up to 40 characters of text that describes the device
The Workbench right pane displays the following fields for devices: Device ID Port Resource
Note: Use the Workbench Field Chooser to remove or redisplay any of the fields, except the Device ID. The Device ID is required. See the "Selecting Fields to Display in the Right Pane" in the "Using the Workbench" chapter in this manual for information about the Field Chooser" The Device list is initially sorted by Device ID. You can click on any of the other column titles at the top of the list to sort the list by that attribute.
GFK-1180K
15-1
Devices expanded
The Workbench right pane displays the following fields for devices: Point ID Device ID Resource Point Type Description All Point IDs that are associated with that device ID of the selected device (which is the source of the point data) Resource associated with the device Type of point (e.g. UINT, INT) A description that may have been entered for the point in its Point Properties dialog box
Note: Information in the displayed fields comes from the associated point configuration. Use the Workbench Field Chooser to remove or redisplay any of the fields, except the Point ID. The Point ID is required The Device list is initially sorted by Point ID. You can click on any of the other column titles at the top of the list to sort the list by that attribute.
15-2
GFK-1180K
The New Device dialog box opens when you use any method.
Enter the following information to define the new device: Device Port Enter the name of the new device in this field. Enter the name of the device's port in this field. to the right of the Port You can click the Browser button input field to open the Select A Port Browser and use it to select the port. You can also use the Window Pop-up menu or the Popup button to create a new port, edit the current port, or browse for another port. Click OK to continue configuring the new device. The Device Properties dialog box for the new device opens. You will need to enter information for the General and device-specific properties.
GFK-1180K
Device Configuration
15-3
A Device dialog box associated with the selected device opens when you use any method.
15-4
GFK-1180K
On the General tab on the Device dialog box, you define the following for a new device: Port The port you selected in the New Device dialog box is displayed in this field. You can click the Browser button to the right of this input field to open the Select a Port Browser and use it to select another port. You can also click the Pop-up button to display a popup menu that provides you with the options to create a new port, edit the current port, or browse for another port. Description Enter up to 40 characters of explanatory text about the device. Resource Enter the name of the device's resource in this field. Remember, only the users that are assigned this resource will be able to see device alarms. You can click the Browser button to the right of this input field to open the Select A Resource Browser and use it to select the resource. You can also click the Popup button to display a popup menu that provides you with the options to create a new resource, edit the current resource, or browse for another resource. Model Type Select the type of device from the drop-down list. The list of model types depends on the protocol.
GFK-1180K
Device Configuration
15-5
15-6
GFK-1180K
Configuring Resources
About Resources
Resources are the physical or conceptual units that comprise your facility. They can be devices, machines, or stations where work is performed, or areas where several tasks are carried out. Resource configuration plays an important role in your CIMPLICITY HMI project by routing alarms to specific users and filtering the data users receive. CIMPLICITY HMI software uses resources in the following ways: Each CIMPLICITY HMI device and point is associated with a resource. Each user has a view of the facility. The view is defined by the resources configured for that user. CIMPLICITY HMI software alarms are generated against resources and routed (displayed) to users who have those resources in their view. Many base system functions (such as Alarm Viewer) and product option functions filter data by resource. For example, a user can create an Alarm Viewer display that only contains alarm data for a specific resource.
GFK-1180K
16-1
Resource Configuration
The Workbench displays a project's existing resources in the right pane. To view a project's existing resources: 1. 2. Expand the Security folder in the left pane of the Workbench. Select Resources .
The Workbench right pane displays the following attributes for each Resource: Resource Description Resource Type A name that uniquely identifies each resource. Text that gives users more information about the resource. Identifies the type of resource. CIMPLICITY HMI software currently supports two resource types: SYSTEM, and RESOURCE. This is a display-only field and cannot be modified.
Any resources you create are automatically given a Resource Type of RESOURCE Alarm Mgr Identifies the Alarm Manager process that receives alarms for this resource. This is a display-only field and cannot be modified.
Note: Use the Workbench Field Chooser to remove or redisplay any of the fields, except the Resource. The Resource is required. See the "Selecting Fields to Display in the Right Pane" in the "Using the Workbench" chapter in this manual for information about the Field Chooser" The Resource list is initially sorted by Resource. You can click on any of the other column titles at the top of the list to sort the list by that attribute.
16-2
GFK-1180K
Method 4 A. Select Resources. B. Click the New icon on the Workbench menu bar.
The New Resource dialog box opens when you use any method.
Enter the name of the new resource in the Resource ID field and select OK. The system verifies that the Resource ID does not already exist, and that no invalid characters have been used. If the Resource ID you entered is valid, the Resource Definition dialog box for the new resource opens.
The Resource Definition dialog box lets you define the following for a new resource: Description Up to 40 characters of explanatory text describing the resource. Note that you cannot use the $ or | characters in a resource name. Users for this Resource The list of users that can view alarm or point information for this resource.
GFK-1180K
Configuring Resources
16-3
The users currently assigned this resource are displayed in the Users for this Resource box. Users currently not assigned this resource are displayed in the Available Users box. You can add users, delete users, view and modify user properties, or create new users.
The new user appears in the Users for this Resource box.
The User Properties dialog box for the selected user opens. You can view and modify the General and Resources properties for the selected user.
16-4
GFK-1180K
Configuring Ports
About Ports
A port is a communication "socket" that connects one or more factory devices such as PLCs to the computer. Use this function to configure ports and specify their characteristics. Configuration requirements for ports vary depending on the type of port and communications protocol being used. See the CIMPLICITY HMI Device Communications Manual (GFK-1181) for detailed information on configuring ports for your specific device.
GFK-1180K
17-1
Port Configuration
The Workbench displays a project's existing ports in the right pane. To view a project's existing ports: 1. 2. Port Protocol ID Description Expand the Equipment folder in the left pane of the Workbench. Select Ports .
The Workbench right pane displays the following fields for each Port: The physical port identifier. The protocol used for device communications. Text that gives users more information about the port.
Note: Use the Workbench Field Chooser to remove or redisplay any of the fields, except the Port. The Port is required. See the "Selecting Fields to Display in the Right Pane" in the "Using the Workbench" chapter in this manual for information about the Field Chooser" The Port list is initially sorted by Port. You can click on any of the other column titles at the top of the list to sort the list by that attribute. You can create a maximum of sixteen (16) ports per project. If you attempt to create more ports after that, an error message displays.
17-2
GFK-1180K
Result: The New Port dialog box opens when you use any method.
Enter the following information to define the port: Protocol The protocols available to you will depend on the node you select, and the device communication protocols available on that node. To select a protocol, click the drop-down list button to the right of the input field to display the list of available protocols, then click the protocol you want to use. Port The ports available to you will depend on the node and protocol you select. To select a port, click the drop-down list button to the right of the input field to display the list of available ports for the protocol, then click the port you want to use. Click OK to continue configuring the new port. The Port Properties dialog box for the new port opens. You will need to enter information for the General and port-specific properties.
GFK-1180K
Configuring Ports
17-3
A Port Properties dialog box associated with the selected port opens when you use any method.
17-4
GFK-1180K
The General properties let you define the following for a new port: Description A Description can be up to 40 characters of explanatory text about the port. Scan Rate The basic timer for points monitored from this port. The rate at which points are polled is a multiple of this Scan Rate. The scan rate includes configurable units that may be set in units of Ticks (hundredths of seconds), Seconds, Minutes or Hours. Retry Count Retry Count specifies the number of times to retry communications to devices on this port after a communications error is encountered If communications cannot be established, devices on this port are considered to be down, and a $DEVICE_DOWN alarm is generated for each device. Once a device is down, periodic attempts are made to resume communications to the device. Enable Check the Enable check box to enable communications on this port. Uncheck this check box to disable communications on this port. Guide: When a port is dynamically disabled, communication to all devices associated to that port will stop. By default, when the port is dynamically disabled: The associated devices will be marked Down and their associated points will be marked Unavailable. Setpoints and processing of unsolicited data will not be allowed for the associated devices.
GFK-1180K
Configuring Ports
17-5
Tip: As an alternative to this default action, you may configure a Global Parameter, ALLOW_UPDATE_WHEN_DISABLED, to keep the associated devices alive. If ALLOW_UPDATE_WHEN_DISABLED is configured, then when the port is dynamically disabled: The device is not marked Down. Polling stops. Setpoints and unsolicited messages will still be processed.
See the "System Management" chapter in this manual for a description of CIMPLICITY HMI's global parameters. Enable Stale Data Check Enable stale data to keep the point available in most circumstances that would have made it unavailable. However the point value will be stale, meaning it is the last known value and may or may not have changed in the device. The following table displays a point's availability when events occur and QUALITY.STALE_DATA is configured as on or off. Point Availability when Stale Data is Configured: On Off Available Unavailable Available Unavailable Not Applicable Unavailable Available Unavailable Range Bit / Available Unavailable Available Unavailable Unavailable
Event Poll Failure Process Shutdown System Shutdown Ind. Point Unavailable Out of PTMRP Range Limits DC Sends Device State DynCfg Disable Point/Device
17-6
GFK-1180K
Note: The following port types require no port-specific properties. APPLICOM DDE FloPro/FloNet Mitsubishi TCP/IP(MELSEC_A or MELSEC_B) OMRON TCP/IP Shart TCP/IP
GFK-1180K
Configuring Ports
17-7
17-8
GFK-1180K
GFK-1180K
18-1
18-2
GFK-1180K
GFK-1180K
18-3
Note: The Class ID field is read-only for previously created alarm classes.
3.
(Optional) Describe the class. The description Can be up to 64 characters in length Appears in the Class Description field in the Workbench right pane.
4.
Select a priority number in the Order field. CIMPLICITY gives alarms with a 0order number the highest priority. The higher the number, the lower the priority. Note: CIMPLICITY uses these priorities internally and to prioritize occurrences, such as alarm sound. If you assign the same order to more than one class, the classes are alphabetized within the order. Example You assign order 0 to High, Medium and Low alarm classes. The alphabetized class order is High, Low, Medium. Alarms in these classes will display in the High, Low, Medium order, when sorted by class in the Alarm Viewer.
18-4
GFK-1180K
Task 2. Select Colors and Blink Rates for the Alarm States
Task 2. Select colors and blink rates for the alarm states: 1. Select, for each alarm state, a : Foreground (font) color for each alarm state and Different color for the Background for alarms to which the class is assigned. Normal State Alarm State Acknowledged State
Note: Default colors are White for the text and Black for the background. Enter a Blink rate for each alarm state in which you want the alarm to blink. Value 0 1 2 20 N 3. Rate/Second Blinking does not occur. 1/10th or 10 times per second 2/10th or 5 times per second 20/10th or 1/2 time per second (1 per 2 seconds) 1/10th*N per second.
Enter a foreground and background color that will alternate with the other foreground and background colors selected for that state. Display per your alarm state specifications. Alternate with the blink colors at the specified rate to create a blink.
GFK-1180K
18-5
3
Blink colors
1 2
Sound card to generate the sound. Sound system, such as a speaker or headset, to make the sound audible. Appropriate .wav file on the computer being used. System beep
You can also generate a beep from a sound card, but it is not required. If you do have a sound card, you can configure the frequency, duration and number of beeps. If you do not have a sound card:
For Windows NT/2000, you can configure the frequency, duration and number of beeps. For Windows 98, you can configure the number of beeps.
Note: You can open the Alarm Class Configuration dialog box and configure the audio for a point alarm through the Point Properties dialog box.
18-6
GFK-1180K
Tip: You can specify logical names in the file name, such as SITE_ROOT and BSM_ROOT in the path name for the wave file. These are expanded into actual directory names when the file is used. For example, SITE_ROOT: \sounds\high.wav refers to the file high.wav in the sounds directory within the HMI project's directory. You can also use a special variable called WIN_DIR, which expands to the Windows NT/98 directory. Step 3. Select sound for the alarm class: 1. (Optional) Select the Audio tab.
Wave path and file
Beep specifications
2. 3.
Important: Sounds only play if the CIMPLICITY Alarm Sound Manager is running. Wave files
B. Find the .wav file you want to use in the Windows Open dialog box. The file's path displays in the File name field. C. Click Test to test the sound.
GFK-1180K
18-7
Beep
A. Enter a Frequency between 37 and 32767 Hz to define the sound's pitch. The higher the number the higher the pitch. B. Enter the Duration of a each beep (milliseconds). Note: 1000 milliseconds = 1 second. C. Specify the total number of beeps in the No of beeps field. D. Enter number of milliseconds between beeps in the Delay field. Enter an integer from 0 through 10000 milliseconds. Note: The Delay field is disabled if you enter a value of 1 in the No of beeps field. E. Click Test to test the sound. 4. Test either type of sound with the Test button.
Note: You configure how to stop the alarm sound in the CIMPLICITY Alarm Sound Manager dialog box.
18-8
GFK-1180K
To change alarm class colors: 1. Create an am_colors.cfg file in the same directory as your rgb.dat file. The first line in the file must contain only the |-* characters. Each succeeding line contains an index number (0 through 15) followed by a vertical bar ( | ) and the color name. 2. Use the same rgb.dat and am_colors.cfg files for all projects.
Important: The file that is used to display colors is the file for the project in which Alarm Viewer or CimView was started in, not the file for the project where the alarm classes or CimView screens were configured. Exampleam_colors.cfg file
GFK-1180K
18-9
The colors listed in this sample file match the default colors. |-* 0|Black 1|Red 2|Lime 3|Blue 4|Maroon 5|Green 6|Purple 7|White 8|Teal 9|Gray 10|Olive 11|Dark 12|Rose 13|Fuchsia 14|Aqua 15|Yellow
18-10
GFK-1180K
For digital points, only one alarm state can be defined. That is, a digital point is in alarm when it is either "1" or "0". Otherwise, the point's value is in the Normal state. Also, note the following: Point Value 1 0 Alarm State Alarm state Alarm state %State field Display Alarm High Msg Warning High Msg
GFK-1180K
19-1
Example The following alarm message has been configured for an analog point:
Temp Alarm - Temp: %STATE
The analog point references the following set of alarm strings when the corresponding values are defined: Alarm High Warning High Warning Low Alarm Low VERY HOT HOT COLD VERY COLD
If the value of the analog point is above the Alarm High value, the text of the Alarm message will be Temp Alarm - Temp: VERY HOT An index number, which is specified when a set is defined, identifies each set of alarm strings. You can configure up to 99 alarm string sets, numbered 1 through 99. When you configure a point you can select the set that applies to the point for inclusion in the point's alarm message. The CIMPLICITY default configuration includes a set of alarm strings for Index number 1. The Index number 1 alarm string is the default when you add a device point. This string may be modified but should never be deleted.
19-2
GFK-1180K
The Workbench right pane displays the following fields for each Alarm String Index: Index Alarm High Msg Warning High Msg Warning Low Msg Alarm Low Msg
Note: Use the Workbench Field Chooser to remove or redisplay any of the fields, except the Index. The Index is required. See the "Selecting Fields to Display in the Right Pane" in the "Using the Workbench" chapter in this manual for information about the Field Chooser" The Alarm Definition list is initially sorted by Index. You can click on any of the other column titles at the top of the list to sort the list by that attribute.
GFK-1180K
19-3
The Alarm String Index dialog box opens when you use any method.
19-4
GFK-1180K
An Alarm String Index dialog box associated with the selected alarm string opens when you use any method.
GFK-1180K
19-5
Step 3. Configure an alarm string index: 1. (For new alarm strings) Use the next available alarm string index number (default) in the Alarm string index field or enter a new, unique index number. The new alarm string index number: 2. Must be from 1 to 99 and Cannot conflict with an existing Alarm String Index.
Enter a string value for each of the alarm states: Alarm high, Warning high, Warning low, Alarm low and Normal. The string can contain up to 16 characters. The value you enter will display when the point is in the related alarm state.
19-6
GFK-1180K
3.
Enter a number from 32767 to +32767 in the Severity field for each alarm state. The higher the number, the more severe the alarm. CIMPLICITY treats more severe alarms with higher priority. The Point Manager Click OK to accept or click Cancel to cancel the changes.
4.
Result: The alarm string you entered displays when the point is in the related alarm state. The CIMPLICITY ActiveX AMV control can display and sort alarms according to the alarm severity.
Alarm Severity Displayed in the ActiveX Alarm Control: Example Alarm String configuration
GFK-1180K
19-7
Configuring Alarms
About Alarms
CIMPLICITY HMI software generates alarms for: 1. Alarm messages about system events, such as device failures, program You create and modify system event alarms in the Alarm Definition dialog box through the Alarms folder. Note: CIMPLICITY comes with several configured Event alarms. 2. Points that are in an alarm state. You create point alarms in the Point Properties dialog box. You can modify them in the Point Properties dialog box or through the Alarms folder.
The Workbench right pane displays the following fields for each alarm:
GFK-1180J
20-1
The unique Alarm identifier for each alarm in your configuration. The Alarm Class in which this alarm will be grouped. The type of alarm format used for this alarm. This field is display only. An Alarm Type will be assigned by CIMPLICITY HMI software to an alarm if it contains variable runtime parameters (see page 20-Error! Bookmark not defined.). Note: The Alarm ID must have an Alarm Type of $CIMBASIC otherwise the alarm message may not be displayed correctly.
Message Description
Fixed text and runtime parameters that are displayed when the alarm is generated. A description of the alarm.
Tip: Use the Workbench Field Chooser to remove or redisplay any of the fields, except the Alarm ID. The Alarm ID is required. See the "Selecting Fields to Display in the Right Pane" in the "Using the Workbench" chapter in this manual for information about the Field Chooser" The Alarm Definition list is initially sorted by Alarm ID. You can click any of the other column titles at the top of the list to sort the list by that attribute.
$DEVICE
20-2
GFK-1180J
$DEVICE_FAILOVER $DL_FILE_FULL $DOWNLOAD $DYN_CFG $GMR_DEV_DOWN $GMR_POINT_DISCREPANCY $LOGIN_FAILURE $LOGON $LOGOUT $REDUND_DEV_DOWN $RTR_LINK_DOWN AMSI_ALARM DB_CONN_DOWN DB_START_FORWARD MCP_PROC_DOWN
Reserved for future use. Log file full message for specified log file. Setpoint was downloaded to specified device. The specified entity has been changed dynamically. Device down message for Series 90 TCP/IP PLC redundancy. Point discrepancy alarm for Series 90 TCP/IP PLC redundancy. Specified user failed to log in to the specified CIMPLICITY project. Specified user has logged in to a specified CIMPLICITY project. Specified user has logged out from a specified CIMPLICITY project. Alarm message for PLC redundancy. Router link has been lost to specified node. Reserved for future use. Process has lost connection to specified logging database. Process is forwarding data to specified logging database. Specified CIMPLICITY process has terminated unexpectedly.
GFK-1180J
Configuring Alarms
20-3
Alarm Configuration
Step 1. Step 2. (For event alarms) Create an event alarm. Configure an alarm (definition). A. For Event alarms. B. For Point alarms. Step 3. Step 4. Step 5. Configure alarm routing. Configure alarm options. Select whether or not to store alarm comments.
Result: The New Alarm dialog box opens when you use any method. Enter the name of the new event alarm in the Alarm ID field.
4.
Click OK.
Result: The system verifies that the Alarm ID does not already exist, and that no invalid characters have been used. If the Alarm ID you entered is valid, the Alarm Definition dialog box for the new alarm opens.
20-4
GFK-1180J
An Alarm Definition dialog box associated with the selected alarm opens when you use any method.
2.
(Optional) Enter a description of the alarm. Your entry displays in the Description column in the Workbench right pane.
GFK-1180J
Configuring Alarms
20-5
3.
Enter a valid Alarm Class ID in the Alarm class field. Alarms with similar characteristics can be grouped by class. Classes can be prioritized. When a user sorts alarms by class in the Alarm Viewer, the alarm's class determines the order in which this alarm appears relative to other alarms. Click the Browser button to the right of the Alarm Class field to open the Select an Alarm Class Browser and select the Class ID. Click the Pop-up Menu button to browse for an Alarm Class, edit an existing Alarm Class or create a new Alarm Class for the alarm. See the "Alarm Class Configuration" chapter in this manual for more information about alarm classes.
4.
Do one of the following for the Alarm type: Do not change the alarm type for an existing alarm. For a new alarm, either:
Leave the Alarm Type field blank or Select $CIMBASIC as the alarm type.
Note: A reason to leave the field blank is that the alarm does not require a variable. For example, if the alarm is created to alert users to "The system is down." you can leave this field blank. Always select $CIMBASIC if you are creating the alarm to be used as an Alarm Look-up action for an event. See the CIMPLICITY HMI Integrator's Toolkit Operation Manual (GFK-1461) for detailed information about Alarm Types. See the CIMPLICITY Basic Control Engine Event Editor and BCEUI Operation Manual, GFK-1282, for details about Alarm Look-up actions. 5. (Optional) Enter the name of a Help file that users can display when they click Help in the Alarm Viewer. The Help file: Is a text file you create with a text editor (for example, Notepad) and Can be used for several alarms. Up to 8 characters in its name. Up to 60 lines of ASCII text. A maximum of 70 bytes per line. (A character can be 1 or 2 bytes, depending on the system you are using.)
The Help file must be in the project's alarm_help directory. 6. Enter the text that will display as the alarm message in the Alarm message field. An alarm message can have: Any combination of fixed text, and variable runtime parameters (see page 20-Error! Bookmark not defined.). An 80-character total display length for all fixed text and variable parameters.
20-6
GFK-1180J
7.
Check if and when you want an alarm to be logged in the Alarm Logging box. You can select any or all of the options: Condition Generate Acknowledge Reset Delete Alarm data is logged when the alarm: Occurs. Is acknowledged by the operator or the system. Is reset by the operator or the system. Is manually deleted from the system.
Tip: You can also enter alarm logging specifications in the Database Logger.
An Alarm Definition dialog box associated with the selected alarm opens when you use any method. 2. Modify the configuration using the same criteria that you use when you are in the Point Properties dialog box. The one feature you cannot configure in the Alarm Definition dialog box is Alarm Logging. You can specify when an alarm will be logged in either the point's Point Properties dialog box or in the Database Logger. See "Configuring the Advanced Alarm Tab" in the "Point View, Limits and Alarms" chapter in this manual for detailed information.
GFK-1180J
Configuring Alarms
20-7
All point alarm entries can be made in either dialog box except Alarm Logging.
Note: You may see alarms in the list whose messages include variables such as %d, %s, or %o. These alarms are system alarms whose messages may not be modified.
20-8
GFK-1180J
Point alarm
GFK-1180J
Configuring Alarms
20-9
Point alarm
20-10
GFK-1180J
If you want a comment to be associated permanently with an alarm, put it in the alarm's help file.
Step 5. Select whether or not to store alarm comments: 1. 2. 3. 4. 5. Click Project on the Workbench toolbar. Select Properties. The Project Properties dialog box opens. Select the Settings tab. Select Alarms. Click Settings.
GFK-1180J
Configuring Alarms
20-11
6. 7.
Check Store alarm comments to enable the option and save alarm comments beyond the life of alarms. Click OK. Note: Click Cancel to cancel the changes.
Result: Up to 20 alarm comments are stored in a file in the project's alarm_help directory.
20-12
GFK-1180J
Important: You configure the sound (.wav file or beeps) for projects in each class' Alarm Classes Configuration dialog box. The Alarm Sound Manager only deals with classes for which sound is configured. As a result, the Alarm Sound Manager does not report alarms associated with classes for which no sound is configured. Hardware requirements to generate an audio alarm include From a wave file:
Sound card to generate the sound Sound system, such as a speaker or headset, to make the sound audible System beep
You can also generate a beep from a sound card, but it is not required. If you do have a sound card, you can configure the frequency, duration and number of beeps. If you do not have a sound card:
For Windows NT/2000, you can configure the frequency, duration and number of beeps. For Windows 98, you can configure the number of beeps.
GFK-1180K
21-1
21-2
GFK-1180K
GFK-1180K
21-3
3. 4.
Select a project from the Project field drop down menu. Enter a number equal to or greater than 0 in the Priority field to specify the project's priority relative to other projects. 0 is the highest priority. The higher the number you enter, the lower the priority. The list of projects on the Projects tab is sorted in the order of priority that you specify. The Alarm Sound Managers uses this project ordering to help determine which sound plays first at run-time. Example You assign projects with priorities as follows. Project
PROJ_A PROJ_B PROJ_C
Priority 3 2 1 Priority 1 2 3
21-4
GFK-1180K
5.
(Optional) Specify an alarm setup, which will filter the alarms that will trigger a sound, in the Setup field. Use one of the following methods. Method 1 Type the name of an existing setup that was created in the stand-alone Alarm Viewer, Alarm Viewer OCX or the Alarm Sound Manager. Method 2 A. Click the Browse button to the right of the Setup field. The Alarm Setups dialog box opens. Setups that were created in either the stand-alone Alarm Viewer, Alarm Viewer OCX display or in the Alarm Sound Manager display in the Setup list.
B. Either: Select a setup from the list or Create a new setup. See the "Configuring Alarm Viewer Fields and Buttons" chapter in the Alarm Viewers Operation Manual, GFK-1993 for details.
C. Click OK. The selected setup displays in the Add Project dialog box.
Note: If you do not select a setup, CIMPLICITY uses the <<Unfiltered>> setup, which will trigger sound for any alarm in the project.
GFK-1180K
21-5
6.
Click OK. The project displays in the list of projects on the Projects tab in the CIMPLICITY Alarm Sound Manager dialog box.
7.
Repeat adding projects until all of the projects that should have sound for alarms appear in the Projects list.
Note: Select a project in the list and click Delete if you want to delete it.
Result: The Alarm Sound Manager saves the configuration that appears on all of the tabs in the CIMPLICITY Alarm Sound Manager dialog box in an .ini file. You can continue to save the profile if you change the configuration on any other tabs. The profile is available whenever it is required. Tip: Click Load profile on any tab in the CIMPLICITY Sound Manager dialog box to load any of the profiles you saved.
21-6
GFK-1180K
GFK-1180K
21-7
1 2
Example: Prioritize alarm sounds You have three projects, each with two Alarm Classes as follows: Project PROJ_A PROJ_B PROJ_C Project Priority 3 2 1 Alarm Class 1
ALM_A ALM_A ALM_A
Class 1 Priority 1 1 1
Alarm Class 2
ALM_B ALM_B ALM_B
Class 2 Priority 2 2 2
In addition, you currently have one alarm generated for each class in each project. If you prioritize audio alarms by: Alarm Class, the alarm order is: Alarm Sound Alarm Project Order PROJ_C 1 PROJ_B 2 PROJ_A 3 PROJ_C 4 PROJ_B 5 PROJ_A 6 Project, the alarm order is: Alarm Sound Alarm Project Order PROJ_C 1 PROJ_C 2 PROJ_B 3 PROJ_B 4 PROJ_A 5 PROJ_A 6
Class
ALM_A ALM_A ALM_A ALM_B ALM_B ALM_B
Class
ALM_A ALM_B ALM_A ALM_B ALM_A ALM_B
End of example.
21-8
GFK-1180K
When the Alarm Manager stops the sound for one alarm, it provides sound for the next highest priority alarm. 2. Select whether or not to have the Alarm Sound Manager repeat the sound for an alarm until it meets the stop sound conditions, as follows. Check Repeat sound/beep to have the Alarm Sound Manager repeat the sound. The .wav sound or group of beeps (as specified in the Alarm Class Configuration dialog box) repeats every 10 seconds for the alarm until the stop sound/beep condition is satisfied. When the stop condition is satisfied the Alarm Manager repeats the sound for the alarm that assumes the highest priority status. Uncheck Repeat sound/beep to have the Alarm Sound Manager provide a .wav sound or group of beeps once and then move to the next alarm. The Alarm Sound Manager rotates through the alarms, playing the sound for each during its turn in the rotation. When the stop condition is met for an alarm, the Alarm Sound Manager removes that alarm from the rotation. 3. Play or mute the sound as follows: Check Mute Mute and Clear mute on new alarm To Mute all alarms. Note: The message still displays. Mute existing alarms, but enable the sound when there is a new alarm. The Alarm Sound Manager clears the Mute check box. Neither Enable sound for all alarms. The sound is repeated for the highest priority alarm or rotated among alarms depending on whether or not Repeat sound/beep is checked.
GFK-1180K
21-9
1 3
1 Check to repeat the sound for the highest priority alarm until 2 3 4
the stop condition (2) is met. Uncheck to rotate sound among alarms. Stop a single alarm's sound when the stop condition is met. Mute the sound. Alarm Sound Manager removes muting when a new alarm sounds.
Result: The Alarm Sound Manager saves the configuration that appears on all of the tabs in the CIMPLICITY Alarm Sound Manager dialog box in an .ini file. You can continue to save the profile if you change the configuration on any other tabs. The profile is available whenever it is required. Tip: Click Load profile on any tab in the CIMPLICITY Sound Manager dialog box to load any of the profiles you saved.
21-10
GFK-1180K
Red displays when the Alarm Sound Manager cannot connect to the project.
Green displays when the Alarm Sound Manager connects to the project.
Tip: Select projects to start when Windows starts on the Startup Options tab in the CIMPLICITY Options dialog box. To open the CIMPLICITY Options dialog box: 1. 2. Click Start on the Windows task bar. Select Programs>CIMPLICITY>HMI>CIMPLICITY Options.
GFK-1180K
21-11
Result: The Alarm sound Manager saves the configuration that appears on all of the tabs in the CIMPLICITY Alarm Sound Manager dialog box in an .ini file. You can continue to save the profile if you change the configuration on any other tabs. The profile is available whenever it is required. Tip: Click Load profile on any tab in the CIMPLICITY Sound Manager dialog box to load any of the profiles you saved.
21-12
GFK-1180K
Alarm Sound Manager Message Box The bottom of each tab in the CIMPLICITY Alarm Sound Manager dialog box contains a message box. When an alarm sounds, the message box displays details about that alarm. Option to Mute Alarm Sounds The bottom of each tab in the CIMPLICITY Alarm Sound Manager dialog box displays a check box that enables you to mute the alarm sound without stopping repetitions that you may have specified.
Note: When the Clear mute on new alarm checkbox on the Options tab is checked, the Alarm Sound Manager unchecks Mute and resumes alarm sounds when a new alarm is triggered. See page 21-9 for details about specifying sound conditions.
Alarm Sound Manager Dialog: Section Displays on all Tabs
GFK-1180K
21-13
To mute/resume alarm sounds: Check Mute to mute alarm sounds or Uncheck Mute to make the sounds audible.
Windows Task Bar Icon When the Alarm Sound Manager is running, you can see its icon on the Windows task bar. The icon displays as follows when the sound is audible.
The icon displays as follows to alert you when the sound is mute. (The Mute checkbox is checked on any tab in the CIMPLICITY Alarm Sound Manager dialog box.)
Tip: Click the Alarm Sound Manager task bar icon to open the CIMPLICITY Alarm Sound Manager dialog box.
21-14
GFK-1180K
Each Alarm Blocking group works independently. This means that the high priority alarms in one group do not block the high priority alarms in another group. Before you implement Alarm Blocking, you need to plan how you want to group and prioritize your alarms for your project. You need to decide: The number of blocking groups you need. Which alarms are to be assigned to each blocking group. How the alarms are to be prioritized in each blocking group. How to handle the display of equal priority alarms in each blocking group.
Alarms that you do not assign to Alarm Blocking groups are not affected by Alarm Blocking.
GFK-1180K
22-1
Assigning Alarms
CIMPLICITY HMI software generates two types of alarms; point alarms and system alarms. Each point alarm is uniquely identified by its Alarm ID. Each system alarm is uniquely identified by its Alarm ID and Resource ID. For example: For point XYZ, the unique Alarm ID is XYZ. Each unique instance of the $ALARM_MODIFIED system alarm is identified by the Alarm ID and the Resource ID of the affected device.
Note: A possible exception is for $DEVICE_DOWN. You can use the Global parameter DEVICE_DOWN_DEVICE_REF to put only the Device ID as the alarm reference. For Alarm Blocking, you can assign a uniquely identified alarm to only one group. This means: You can assign a point alarm to only one blocking group. You can assign a uniquely identified system alarm to only one blocking group. This means that you can have more than one instance of a system alarm in a blocking group or you may have system alarms in more than one blocking group, provided that the Resource ID you assign to each instance is unique across all Alarm Blocking groups.
22-2
GFK-1180K
When the blocking alarm returns to Normal state or is deleted: For Peer Blocking, if alarms of equal priority exist, the oldest one displays and becomes the new blocking alarm. For Non-Peer Blocking, all alarms with the next lower priority display and become the new blocking alarms.
If lower priority alarm is the current blocking alarm and a higher priority alarm is generated, the lower priority alarm remains on the list of alarms and the higher priority alarm becomes the new blocking alarm. If an alarm already exists in Normal state and it returns to Alarm state, the alarm is not blocked.
GFK-1180K
22-3
The Workbench right pane displays the following fields for each alarm blocking group: Group ID The identifier for the class
Group Description Optional description of the group Peer block Identifies whether Peer Blocking is enabled or disabled.
Note: Use the Workbench Field Chooser to remove or redisplay any of the fields, except the Group ID. The Group ID is required. See the "Selecting Fields to Display in the Right Pane" in the "Using the Workbench" chapter in this manual for information about the Field Chooser" The Alarm Definition list is initially sorted by Group ID. You can click on any of the other column titles at the top of the list to sort the list by that attribute.
22-4
GFK-1180K
Method 4 A. Select Alarm Blocking. B. Click the New icon on the Workbench menu bar. The Alarm Blocking dialog box opens when you use any method.
GFK-1180K
22-5
Enter the following information to create a new Alarm block group: Group ID Enter a new, unique Alarm group name. The group name can be up to 32 characters long. Description Enter a description of the Alarm group. The description can be up to 64 characters long. Peer block Set this check box to enforce Peer Blocking Mode for this group. Clear this check box if you want to use Non-Peer Blocking Mode. The Blocking Mode and alarm priorities determine the alarm blocking hierarchy at run-time Alarms This input box displays the current list of alarms in the Alarm block group. Alarm ID, Priority and Resource ID or by using the Add button to select an Alarm ID from the Browser dialog box. You can change an alarm on the list by directly editing its Alarm ID, Priority or Resource ID or by selecting the Alarm ID and pressing Set attributes. To delete an alarm from the list, select it and press Delete. Select OK to close the Alarm Blocking dialog box and create the new Alarm block group. Select Cancel to close the Alarm Blocking dialog box without creating a new Alarm block group.
22-6
GFK-1180K
Adding an Alarm
You can enter the name of an Alarm ID in the Alarm ID field in the Alarm Blocking dialog box in any of the following ways: You can select Add to open the Browser dialog box and browse for the Alarm ID you want. You can click the Browser button to the right of the input field to open the Browser dialog box and browse for the Alarm ID you want. You can click the Pop-up menu button to the right of the input field to create a new Alarm ID, modify the current Alarm ID or browse for an Alarm ID.
Enter the priority of the Alarm ID in the Priority field. This can be a number from 0 to 32767. The higher the number you enter, the higher the blocking priority for the alarm. For example, if you have alarm XXX with priority set to 10 and alarm YYY with priority set to 100 in the same group, when alarm YYY generates, it blocks alarm XXX. If the Alarm ID does not have a Point ID, you must assign a Resource ID to the alarm. You can click the Browser button to the right of the input field to open the Browser dialog box and browse for the Resource ID you want. You can also use the Pop-up menu button to create a new Resource ID, modify the current Resource ID or browse for a Resource ID. Remember that each Alarm ID/Resource ID combination must be unique within a group and across all groups.
Removing an Alarm
To remove an alarm from an Alarm block group: 1. 2. Select the alarm from the list in the group's Alarm Blocking dialog box. Press Delete.
GFK-1180K
22-7
Modifying an Alarm
You can modify an alarm's name, priority and Resource ID in the list. All you need to do is: 1. 2. Select the field you want to edit in the Alarms list in the group's Alarm Blocking dialog box. Type in your changes.
If you are changing an Alarm ID or Resource ID, you can also use the Browser and Pop-up Menu buttons in the field to search for a new one. You can also set a number of alarms to the same priority and/or Resource ID at the same time. To do this: 1. Select the alarms whose priority and/or Resource ID you want to set. You can use the Shift and Ctrl keys while making your selection. Select Set Attributes. The Set Attributes dialog box opens
2.
3.
Enter the new priority and/or Resource ID for the alarms and select OK. All the selected alarms will be assigned the new priority. Non-point alarms will be assigned the new Resource ID.
22-8
GFK-1180K
Important: Before you start, make sure that the printer is not configured in Windows.
The Workbench right pane displays the following attributes for each Alarm Printer: Name Node ID Destination Page Width Page Length The name of the alarm printer. The node to which the alarm printer is connected. The actual device or file name of the printer (like LPT1: or amlp.fil). The page width in characters. The page length in lines.
GFK-1180K
23-1
Note: Use the Workbench Field Chooser to remove or redisplay any of the fields, except the Name. The Name is required. See the "Selecting Fields to Display in the Right Pane" in the "Using the Workbench" chapter in this manual for information about the Field Chooser" The Alarm Printer list is initially sorted by Name. You can click on any of the other column titles at the top of the list to sort the list by that attribute.
Result: The New Alarm Log Printer dialog box opens when you use any method.
23-2
GFK-1180K
To name a new printer: 1. Enter the name of the new alarm printer, or the name of the file you want to write alarms to in the Name field You may enter a maximum of 11 characters. 2. Click OK.
Result: The system verifies that the alarm printer name does not already exist, and that no invalid characters have been used. If the alarm printer name you entered is valid, the Alarm Printer dialog box for the new alarm printer opens.
Result: An Alarm Printer dialog box associated with the selected alarm string opens when you use any method.
GFK-1180K
23-3
Note: You can also configure redundant alarm printers if your project supports the Host Redundancy option. When you are finished defining the alarm printer properties, click OK to close the Alarm Printer dialog and create the new alarm printer, or click Cancel to close the property sheet without creating the new alarm printer.
Specifications include: Alarm Logging Options Log Events Select this check box if you want to log events to the printer.
23-4
GFK-1180K
Log Alarms Check this check box if you want to log alarms to the printer.
Note: If you uncheck this check box, the Alarm logging options are grayed out. Alarm Logging Options These options are available only when you select the Log alarms check box. Use these fields to specify the types of alarms, and alarms classes that will be printed on this alarm printer: Generated alarms Set this check box to log messages when alarms are generated. Acknowledged alarms Set this check box to log messages when alarms are acknowledged. Reset alarms Set this check box to log messages when alarms are reset. Deleted alarms Set this check box to log messages when alarms are deleted. All alarm classes Set this check box to log messages for all alarm classes. When you do, the Alarm Class field will be dimmed. Alarm Class This field is available when you uncheck the All alarm classes check box. If you want log alarms for a particular Alarm Class, enter that class name in this field. You can also: Display the Select Alarm Class browser and use it to select the Alarm Class. Click the Pop-up Menu button to create a new Alarm Class, edit the current Alarm Class, or browse for an Alarm Class.
GFK-1180K
23-5
Note: If you are connecting to serial port COM10 and above, the format is \\.\COM<n>. Enter a file name to write alarms to a file. If you wish, you may also enter a period followed by a three character file extension (e.g. alarms.fil). If you do not enter a file extension, none is automatically provided. The file is placed in the project directory (not in the project's log directory) . Example If a project name is systest, the file is placed in the systest folder:
I:\testplans\systest
Enter the path for a network printer (e.g. \\M_005ad4\d5prn1). Note: If the printer is connected locally on your computer, use the local port name instead of the network path.
Tip: You can associate more than one alarm printer with a network printer or file on a network disk. If you use a network printer or file, clear the Print header field in the Layout tab of the Alarm Printer dialog box.
23-6
GFK-1180K
Specifications include: Print Headers Check this check box if you want to print a header at the top of each page. If you have more than one alarm printer process sending messages to the same printer or file, uncheck this check box. When you uncheck the check box, the Page length field is disabled. Page Length Enter the number of lines per page that can be printed. The number must be an integer between 1 and 999. Page Width Enter the number of characters that can be printed on a line. The number must be an integer between 80 and 157. Redundant Alarm Printing This field is enabled if your project has the Host Redundancy option. Check this check box if you want both the Master and Slave computers to print alarms. Uncheck this check box if you only want the Master computer to print alarms.
GFK-1180K
23-7
You can define the following: Header Date Select the format you want to use to print the date on the alarm printer page header. This field is not available if you are not printing a page header. A sample for the format you choose displays in the Sample field in this box. You may select one of the formats from the list, or construct your own format.
23-8
GFK-1180K
Alarm Date/Time Select the format you want to use to print the date and time of each alarm. A sample for the format you choose displays in the Sample field in this box. You may select one of the formats from the list, or construct your own format. To construct date formats, use the following information: m mm mmm mmmm d dd ddd dddd y yy yyyy Example If you enter dddd dd mmmm yyyy, the sample date will be Saturday 05 March 1994. You may use spaces, dashes, slashes or any other delimiter of your choice to separate the date fields. To construct time formats, use the following information: H HH HHH HHHH M MM S SS T TT P, A, p, or a Hours based on a twelve-hour clock with no leading zero. Hours based on a twelve-hour clock with leading zero. Hours based on a 24-hour clock with no leading zero. Hours based on a 24-hour clock with leading zero. Minutes with no leading zero. Minutes with leading zero. Seconds with no leading zero. Seconds with leading zero. Hundredths of seconds with no leading zero. Hundredths of seconds with leading zeros. AM/PM indicator. Numeric month with no leading zero. Numeric month with leading zero. Short text month. Long Text month. Numeric day with no leading zero. Numeric day with leading zero. Short text day of the week. Long text day of the week. Last two digits of year. For digits 00 through 09, only the last digit is displayed. Last two digits of year. For digits 00 through 09, both digits are displayed. All four digits of year
For example, if you enter HHHH:MM:SS:TT p, the sample time will be 13:05:06:08 PM. You may use colons, spaces or any other delimiter of your choice to separate the time fields.
GFK-1180K
23-9
If you enter LPT1 in the Output field and check Redundant alarm printing, the Master project on COMP1 sends alarm messages to LPT1 on COMP1 and the Slave project on COMP2 sends alarm messages that it generates while in standby mode to LPT1 on COMP2. When the project on COMP2 becomes the Master project, it continues to send alarm printer messages to LPT1 on COMP2.
If you enter LPT1 in the Output field and uncheck Redundant alarm printing, the Master project on COMP1 sends alarms to LPT1 on COMP1. The Slave project on COMP2 sends no alarms until it becomes the Master project. When the project on COMP2 becomes the Master project, it sends alarm messages to LPT1 on COMP2.
2.
For a redundant configuration with a network line printer (\\ABC\NET1). The primary computer is COMP1 and the secondary computer is COMP2.
If you enter \\ABC\NET1 in the Output field and check Redundant alarm printing, the Master project on COMP1 sends alarm messages to \\ABC\NET1 and the Slave project on COMP2 sends alarm messages that it generates while in standby mode to \\ABC\NET1.This may result in duplicate messages. If you select this option, disable the Print header field.
23-10
GFK-1180K
If you enter \\ABC\NET1 in the Output field and uncheck Redundant alarm printing, the Master project on COMP1 sends alarms to the network device. The Slave project on COMP2 sends no alarms until it becomes the Master project. When the project on COMP2 becomes the Master project, it sends alarm messages to \\ABC\NET1.
Note: Check Redundant alarm printing on the Layout tab in the Alarm Printer dialog box if you want both the master and slave computers to print alarms. See page 23-7.
GFK-1180K
23-11
Note: You can also initiate amlp_flush.exe from scripts within the CIMPLICITY HMI environment. This will trigger printing whenever the specified conditions (for example an alarm going off) are met.
23-12
GFK-1180K
GFK-1180K
23-13
Configuring Roles
About Roles
Each user in CIMPLICITY is assigned a role. A role specifies what privileges its users have when they work in CIMPLICITY HMI. Types of privileges include: Application privileges, such as triggering events in the Event Manager and setting points in Points. Action Calendar configuration (if the Action Calendar option is part of your CIMPLICITY HMI product.) Configuration privileges that enables you to specify, for each application, whether or not users can do configuration. SYSMGR USER OPER
The CIMPLICITY HMI default configuration includes the following three roles:
GFK-1180K
24-1
Role Configuration
The Workbench displays a project's existing roles in the right pane. When you enter specifications for a role you Begin role configuration by adding a new role or modifying an existing role. Assign role application privileges. Assign role calendar privileges. Assign role configuration privileges.
The Workbench right pane displays the Role ID for each Role.
The New Role dialog box opens when you use any method.
24-2
GFK-1180K
Result: The system verifies that the Role ID does not already exist, and that no invalid characters have been used. If the Role ID you entered is valid, the Role Properties dialog box for the new role will open.
The Role Properties dialog box associated with the selected role opens.
GFK-1180K
Configuring Roles
24-3
2 1
3B 3A 1 Checked assigns privilege. 2 Unchecked denies privilege. 3 Role can set points that have a level number equal to or lower than the Role Level number. e.g. Points at the following levels can be set : A For SYSMGR, lower or equal to 100. B For OPER, lower or equal to 10.
When checked a: Privilege Dynamic configuration Process Control Delete alarms Modify alarm setups Allows a Role to: Enable Dynamic Configuration from functions in the Workbench. Use the CPC (CIMPLICITY Program Control) utility to start and stop CIMPLICITY HMI processes. Delete alarms from the Alarm Viewer. Modify alarm setups in Alarm Viewer.
24-4
GFK-1180K
Level
Enter a number to indicate the level at which the role can set points. Each point can be assigned a level on the advanced General tab in the Point Properties dialog box. A role can set a point that has been assigned a level equal to or lower than the level assigned to the role. Example The SYSMGR role: Has been assigned a level of 100. Can set any points with a level that is lower or equal to 100. Has been assigned a level of 10. Can set any points with a level that is lower or equal to 10.
The OPER role: Trigger Event Script Control Set point Setpoint Audit Trail
Trigger Event Manager events from the Basic Control Engine user interface. Stop, pause, or resume scripts in the Event Manager from the Basic Control Engine user interface. Perform setpoints from CimView screens that contain Setpoint actions. Have a $DOWNLOAD event recorded in the Event Log for each setpoint that is generated. Use point by address points in CimEdit expressions. Disable or modify a point's alarms in the Point Control Panel. Change the MANUAL_MODE point quality attribute. Change the QUALITY.DISABLE_WRITE point attribute. Write to a user defined field attribute if Restrict write by role is checked in the Field Attribute dialog box.
See the "Monitoring Point Attributes" chapter in the CIMPLICITY HMI CimEdit Manual (GFK-1396) for more information about the MANUAL_MODE and QUALITY.DISABLE_WRITE attributes. See " Using the Point Control Panel" chapter in the CIMPLICITY HMI User's Manual (GFK-1180) for more information about enabling and disabling manual mode in the Point Control Panel.
GFK-1180K
Configuring Roles
24-5
Area Resource Security When area resource security is: Users will be able to: Checked Unchecked Configuration When configuration is: Checked Unchecked Users will be able to: Configure a schedule for any areas they can see. View schedules, but no configuration is possible. Only see areas who's Resource ID is assigned to the user See all areas.
24-6
GFK-1180K
To specify role configuration privileges: Either: 1. Check the application's check box to allow a role's users to configure an application, or 2. Uncheck the application's check box to prevent a role's users from configuring an application.
Result: Access to any unchecked application is denied to a user for all unchecked boXEs.
GFK-1180K
Configuring Roles
24-7
Example The Point box is unchecked for a role in the Role Properties dialog box. When a user attempts to open a point's dialog box by displaying the point's popup menu in the Workbench, point access is dimmed.
24-8
GFK-1180K
Configuring Users
About Users
The Users application enables you to configure users for your CIMPLICITY HMI project. A User is an individual person working with a CIMPLICITY HMI project. For each CIMPLICITY HMI user you can specify the following: Security. A user may be assigned a password. If a password is configured and enabled, then a user cannot access CIMPLICITY project functions without entering both the User ID and password. Roles and Privileges. Roles and Privileges. A user is assigned a role. Each role in your CIMPLICITY HMI project has certain privileges assigned to it. The privileges define the functions the user can access. If a user lacks the privilege to access a secure function, an error message is displayed and access is denied. Resources availability. Resources availability. A user's view determines the resource data to which the user has access. Alarms for resources outside a user's view will not appear on the user's Alarm Viewer window.
Note: The default User configuration includes: ADMINISTRATOR (role: SYSMGR) The default user does not require a password to access CIMPLICITY project functions.
GFK-1180K
25-1
User Configuration
When you enter specifications for a user you Step 1. Step 2. Step 3. Begin user configuration by adding a new user or modifying an existing user. Configure User general (security) requirement. Configure User resource availability.
The Workbench right pane displays the following attributes for each User: User ID Enabled Password Role ID User Name A name that uniquely identifies each user. Indicates if the account is enabled or disabled. If a password is defined, it is displayed in this field. The role assigned to the user. This determines the privileges assigned to the user. The user's name.
Note: Use the Workbench Field Chooser to remove or redisplay any of the fields, except the User ID. The User ID is required. See the "Selecting Fields to Display in the Right Pane" in the "Using the Workbench" chapter in this manual for information about the Field Chooser" The User list is initially sorted by User ID. You can click on any of the other column titles at the top of the list to sort the list by that attribute.
25-2
GFK-1180K
Result: The New User dialog box opens when you use any method. New User Dialog Box Filled In
To fill in the New User dialog box: 1. 2. Enter the name of the new user in the User ID field. Click OK.
Result: The system verifies that the User ID does not already exist, and that no invalid characters have been used. The User Properties dialog box opens is the User ID is approved.
GFK-1180K
Configuring Users
25-3
A User Properties dialog box associated with the selected user opens when you use any method.
25-4
GFK-1180K
Note: If you change a user's configuration dynamically, the user must log out then log back in for the changes to take effect. Role Enter the user's role in the Role field. Click the Browser button to the right of the input field to display the Select A Role Browser and use it to select the role. You can also click the Popup Menu button role, or Browser for another role. Password needed Check Password needed to require the user to enter a password at login. Password and Confirm Password Password and Confirm Password are enabled when the Password Needed checkbox is checked. 1. 2. Enter the user's password in the Password field. Re-enter the password in the Confirm Password field. to create a new role, edit the current
Result: Asterisks are displayed in place of the characters you type. If, at some future date, you uncheck Password Needed, the Password field will retain the original password, but the user does not need to enter it when logging in.
GFK-1180K
Configuring Users
25-5
The following runtime rules also apply to user passwords: During runtime a user: Is prompted to change the password when the current password expires. Can change the password from the CIMPLICITY Login Panel. Can use the ChangePassword command in the Basic Control Engine to change the password in CimView. (In a Server Redundancy configuration) can only change the password when the Primary computer is running.
User name Enter the user's name or descriptive text about the user. Enabled Either: Check Enabled to enable the user account or. Uncheck Enabled, to disable the account.
Result: When Enabled is unchecked, the account is not available for user login.
Important: If you disable an account dynamically, currently logged in users will not be logged out; however, new login attempts will be rejected. Password Expires Enter the number of days until the users password expires or enter zero if the password never expires in the Password Expires field. Result: After the elapsed number of days, the user will be required to change the password prior to logging in.
25-6
GFK-1180K
Note: If you change a user's resources dynamically, the user must log out then log back in to access the changed resources.
Note: You can also use the Shift and Ctrl keys in combination with the mouse to select more than one resource for deletion.
GFK-1180K
Configuring Users
25-7
Note: Automatic account disabling is not supported on Servers using Server Redundancy. To specify automatic account enable or disable: 1. Either: Option 1Disable automatic account disabling Check No account disable. Option 2Enable automatic account disabling: 1. 2. 2. Check Account Disable. Enter the number of failed login attempts before disabling the account.
Click OK.
Result: The dialog box closes and your changes are saved.
25-8
GFK-1180K
GFK-1180K
Configuring Users
25-9
The configuration is straightforward. You do not need to know about SQL or other ODBC database internals to configure Database Logger logging tables. In the Database Logger you easily:
Use existing tables or create new tables that will log selected items for any one of the processes. Enter specifications for how, when and to what ODBC data source you want to log data.
When you start the project in which you configured the Database Logger, the Database Logger creates tables you configured based on the attributes you specified. When a project starts, the Database Logger:
Creates or repair any missing or damaged databases. Creates any missing tables. Creates any missing columns in the tables.
Creating a report is also straightforward. CIMPLICITY provides sample reports that you use in Excel. You can use these sample reports to quickly generate a report or as a basis to create new reports.
GFK-1180K
26-1
Note: The Database Logger option uses the standard ODBC interface to log your production data. Refer to the Readme file that accompanies this release for a list of supported database interfaces.
26-2
GFK-1180K
The more attributes you have, the slower the writes will be. Is based on your table's logging conditions. The number of points and the attributes being logged (configurable independently for each point) determine how big the writes will be (how many fields there will be). Fields include: 1 for the timestamp Anything else you are logging.
Example If you are logging the value of two points, your group log table will have 3 fields, timestamp and two fields for the points' values. Bulk Insertion Peak Performance: CIMPLICITY Database Logger using bulk insertion. On-node Off-Node Avg. bytes/write 28 28 Approx. Writes/sec 900-1000 700-800 Approx. Total throughput/sec 25-30Kb 20-25Kb
Important: (For SQL Server) insert triggers fire only if bulk insertion is disabled.
GFK-1180K
26-3
26-4
GFK-1180K
Opens a log table for: Alarms Data (Single points) Event Manager Event (alarms) External application Group (of points)
The icon to the left of each table indicates its type as follows: Icon Table ALARM_LOG Data EM_LOG EVENT_LOG External application Group Log: Selected alarms that appear in the Alarm Viewer. Selected point values individually. Event Manager activities. Selected system alarms that do not appear in the Alarm Viewer. Actions in certain CIMPLICITY applications, e.g., Tracker. Selected point values in parallel.
In order to configure how, when and where logs will collect and report data you can start at the Database Logger level to specify certain properties and become more specific in your configuration as follows: Level 1. Level 2. Level 3. Configure Database Logger defaults that apply to all tables in the Database Logger. Configure Table defaults that apply to a selected table in the Database Logger. Override selected Database Logger defaults, if necessary. Configure Item logging conditions for selected items. These conditions override a table default, if necessary.
When you complete your configuration to can easily create a report for reviewing logged data.
GFK-1180K
26-5
Note: The specific configuration depends on the process being configured. Table defaults can override Database Logger defaults.
26-6
GFK-1180K
Configuration Tool
Review configuration steps for: Single point data logging Group point logging Alarm logging Event alarm logging Event Management logging Application logging
Result: When configuration for any table is completed you can open Excel and generate reports from the samples that are included in CIMPLICITY or create your own reports.
GFK-1180K
26-7
Note: The Event Manager Log (EM_LOG) and logs for external applications require new reports. Configure logging conditions for a: Single point Alarm Event alarm See page (in this chapter): 50 83 98
Configuration Tool Reports created on site or Excel reports supplied with CIMPLICITY that report: Alarms Data Trends Alarms reported in the Alarm Viewer or Other alarms Points logged individually Points logged in parallel
Review configuration steps for: Individual point log reports Group point trend log reports Alarm or event alarm reports
26-8
GFK-1180K
Add Alarm IDs or Point IDs to the table. Configure tables and items in a Properties dialog box at each level.
Add Alarm IDs Add Alarm IDs Add Point IDs Values logged individually. Add Point IDs Values logged in parallel.
Use provided Excel reports (or create reports) to display selected data.
Alarm Report
Data Report
GFK-1180K
26-9
26-10
GFK-1180K
2.
Enter a name for the table in the Table identifier field. The name: Can contain
Should be no longer than 16 characters. If you enter more than 16 characters, the name will automatically be truncated to the first 16 characters when you click OK.
Cannot be the name of a currently existing table. Should not use any words that are reserved for the database management system being used. Example If you are using a SQL Server, do not use BULK, which is a reserved word for that DBMS.
3. 4.
Check the type of table to create in the Table type box. Click OK.
Result: A Table Properties dialog box opens for you to configure the new table.
Important: You can only create new group, data and application log tables. Only one alarm table (ALARM_LOG), event table (EVENT_LOG) and Event Manager (EM_LOG) table exist in the Data Logger. You cannot delete these tables, and you cannot create additional Alarm, Event or Event Manager tables.
GFK-1180K
26-11
Method 4 A. Right-click the selected table. B. Select Open in the popup menu. Method 4 Press Ctrl+O on the keyboard. Result: The selected table opens when you use any method.
To copy an existing CIMPLICITY logging table to a new table: 1. 2. Select the logging table you want to copy. Do one of the following. Method 1 Click the Copy Table button window toolbar. Method 2 A. Click File on the Database Logger configuration window menu bar. B. Select Copy Table. Method 3 A. Right-click the selected table. B. Select Copy in the popup menu. Method 4 Press Ctrl+C on the keyboard. A Copy table dialog box opens. on the Database Logger Configuration
26-12
GFK-1180K
3.
Enter the name of the new table in the New table ID field.
4.
Click OK.
Result: The new table ID appears in the list of tables. You can now configure it as you would any table.
To rename a CIMPLICITY logging table: 1. 2. Select the logging table you want to rename. Do one of the following. Method 1 A. Click File on the Database Logger configuration window menu bar. B. Select Rename Table. Method 2 A. Right-click the selected table. B. Select Rename in the popup menu. Method 3 Press Ctrl+R on the keyboard. A Rename table dialog box appears. 3. Enter the new name for the table in the New table ID field.
4.
Click OK.
GFK-1180K
26-13
To delete a CIMPLICITY logging table: 1. 2. Select the logging table you want to delete. Do one of the following. Method 1 Click the Delete Table button Configuration. Method 2 A. Click File on the Database Logger configuration window menu bar. B. Select Delete Table. Method 3 A. Right-click the selected table. B. Select Delete in the popup menu. A message appears to inform you of the number of items in the table and confirm deletion. on the Database Logger
3.
Click OK.
26-14
GFK-1180K
Note: There are no implied wildcards. If you do not include or terminate your search string with an asterisk, only those items that match your request exactly will be returned. If a Browser button is available to the right of an input field, you can click it and use the Browser to select the filter. If you are calling ODBC functions directly, you cannot use the * and ? wildcards. The underscore ( _ ) character is the only available wildcard. Use it to search for any character in this place in a string. If you are calling SQL functions directly, you can use the * and ? wildcards.
GFK-1180K
26-15
When you activate Dynamic Configuration, CIMPLICITY updates your projects configuration automatically. You dont have to return to the Workbench and do a project update in order for your changes to take affect.
26-16
GFK-1180K
Black
Enabled if looking at indexes not updated from a 5.0 or older data log.
GFK-1180K
26-17
4.
Review the icons that display differences between the CIMPLICITY table (Database Logger configuration) and the logging database as follows. Field in the CIMPLICITY Field in the Database Logging Logger Database Icon Comment (G,G) Yes Yes (R line) Yes Yes Types dont match. (R, G) No Yes Unused (G, R) Yes No Uncreated (Black) Removed Removed Note: G=Green, R=Red
5.
Create uncreated fields that are in the CIMPLICITY table but not in the logging database. A. Select the fields that display the (G,R) icon. Tip: Press the Shift or Ctrl key to select multiple fields, or click Select Uncreated to select all the uncreated fields in the table. B. Click Create. Result: The fields are created in the logging database. The fields icons change to: (G, G).
6.
Remove unused fields that are in not in the Database Logger, but are in the logging database. For Microsoft Access A. Select the fields that display the (R, G) icon. Tip: Press the Shift or Ctrl key to select multiple fields, or click Select Unused to select all the unused fields in the table. B. Click Remove. SQL Server and Oracle SQL Server and Oracle do not directly support dropping columns in a database table. A. Copy the table to a temporary table. B. Drop the table from the database. C. Recreate the table with the fields you wish to use. D. Copy the data from the temporary table to the new table. E. Delete the temporary table. F. Consult your SQL Server or Oracle documentation for details on how to do this.
Result: The unused fields are removed from the database. The fields icons change to (Black). 7. Click Drop Table to drop the table from the database. The table is not dropped from the CIMPLICITY Database Logger.
26-18
GFK-1180K
8.
(For Data Log tables that have indexes from CIMPLICITY V5.0 or older) Important: Updating indexes to CIMPLICITY v5.5 may take a long time to complete. The amount of time required depends on the size of the table. This operation is very CPU intensive and will degrade the database server performance while it is executing. A. Make sure your project is shut down. B. Disconnect any other clients accessing the table whose indexes you will be upgrading. C. Click Upgrade Indexes. Result: A message appears warning you about making sure that no one is logging to the table. CIMPLICITY: A. Drops all old indexes that it had created, B. Creates new Version 5.5 indexes and C. Disables the Upgrade Indexes button.
Method 3
Method 4
GFK-1180K
26-19
Method 2
Note: You can also exit the Database Logger Configuration window by clicking the Close Window button on the top right corner of any open table.
26-20
GFK-1180K
You can change these defaults for any individual table when you are configuring that table's properties.
Method 3
Result: The Logging Properties dialog box opens when you use any method.
GFK-1180K
26-21
2.
Enter an interval (in minutes) the Database Logger should wait between disk scans in the Disk full scan rate (min) field. Guidelines The Database Logger scans the disk at intervals to determine if it is full. The Disk full scan rate (min) determines how long the Database Logger waits after completing one scan before it scans the disk again. The default for the Disk full scan rate affects tables for which you have enabled Disk Space Low maintenance event. See page 26-42 in this chapter for details about Disk Space Low. Database Logger Default: 30 Note: The Disk Full condition is only useful for Microsoft Access databases. The SQL Server forces pre-allocation of disk space for data tables.
3. Enter a Database queue size that supports the worst-case logging during activity bursts. For example, if 10 points are being logged to the DATA_LOG table, you should have a queue size of at least 10 in case the points' logging conditions all occur simultaneously.
26-22
GFK-1180K
Guidelines The default queue size is the size of the queue of logged data for each table in the Database queue size field. If the database queue for a table overflows a message is logged to your project's Status Log and additional write requests are dropped until there is room in the queue for them. If there is more logging than can be supported by the benchmarked data rate for the database increasing the size of the database queue will not resolve the problem of lost data. Increasing the size of the Database Logger queue will increase the amount of memory used by the database logger. Since each table preallocates memory for the queue, this growth will take place at startup time. For each additional entry in the queue, the following additional memory will be used: Alarm Log Table Event Log Table Data Tables Group Tables 200 bytes per entry. 200 bytes per entry. Size of logged data plus 36 bytes. Size of logged data plus 36 bytes. 20
4. Enter a value in ticks (100 ticks=1 second) in the Point data logging scan rate (ticks) field that is: Faster than the fastest table scan rate in ticks at which the Point Data Logger will submit data for logging. Large enough so that all the data for a PLC scan comes into the database together.
Guidelines The Point Data Logging scan rate is the rate at which the Point Data Logger submits data for logging. Database Logger Default: 5. 100 Enter the system path to the directory that holds the files created by table maintenance export and purge actions in the Maintenance Action Export Path field, if it is different from the default. Guidelines Database Logger Default:
SITE_ROOT:\ARC places the data into the ARC
subdirectory of the project. You may use the logical directory name SITE_ROOT to specify a different subdirectory of your project, or use any other full path specification such as D:\EXPORT.
GFK-1180K
26-23
6.
Check Enable Measurement Systems to have the Database Logger log data for point values using the active measurement system converted value. Note: The Database Logger logs values for device points and virtual points as follows: Device points If Enable Measurement Systems is not checked or if no measurement system is active, the database logger logs the EU converted value. If Enable Measurement Systems is checked and if the a measurement system is active, the database logger logs the data in the specified units. Note: You can also log the raw value for device points by checking Raw Value on the Log Attribute tab in a table's Properties dialog box. Virtual points The database logger logs the derived value of the point. Example If you configure a point to be in inches, if you are using a metric system and that point is showing as centimeters, the Database Logger is still going to log it as inches unless you check Enable Measurement Systems. See the "Using Measurement Units" chapter in this manual for details about active measurement unit configuration.
Is not checked.
Check Timestamp filtering to limit the number of characters in a table's timestamp column. You can choose to either round or truncate the timestamp. Option 1Rounding up or down A. Check Round to round the actual time is rounded in the timestamp to the nearest specified number of units. B. Enter the nearest number and unit to which the timestamp will be rounded in the timestamps to the nearest fields. Example You specify that timestamps be rounded to the nearest 5 seconds. The time is 10:50:22:05. It will be rounded to 10:50:20. The time is 10:50:24:05. It will be rounded to 10:50:25. Option 2Truncating A. Check Truncate to truncate the actual time in the timestamp to the nearest specified unit. B. Enter the unit to which the timestamp will be truncated. Example You specify that timestamps be truncated to seconds. The time is 10:50:22:05. It will be truncated to 10:50:22. The time is 10:50:24:55. It will be truncated to 10:50:24. Database Logger Default: Enable timestamp filtering is unchecked.
Result: The pathname you enter is validated when the Parameters tab is closed.
26-24
GFK-1180K
Entering Database Logger Defaults for Alarm, Event and Application Logs
You can specify a single global ODBC data source that will be used when logging to Alarm, Event and Application database files.
Note: When you configure each table, you can choose to use these defaults or you can specify an ODBC data source that is unique for that table. The parameters that you specify as defaults deal with the: 1. 2. Connect information Store and forward specifications.
To enter Database Logger defaults for alarm, event and application logs: 1. Select the Default Alarm Connection tab in the Logging Properties dialog box.
2.
Select an ODBC data source from the drop down list in the ODBC data source, field. You can select from available options or configure an existing or a new ODBC data source: A. Select from the one or more Microsoft Access or SQL Server options in the drop down menu. Basic options include: CIMPLICITY Alarm Logging A Microsoft Access data source that logs data to the CIMPLOG.MDB file in the ARC directory of your CIMPLICITY project. A Microsoft Access data source that logs data to the POINTLOG.MDB file in the ARC directory of your CIMPLICITY project.
GFK-1180K
26-25
A Microsoft SQL Server data source that logs data to an on-node SQL Server database. You must install SQL Server to use this data source. (CIMPLICITY offers CIMPLICITY SQL for your convenience.) If you have an Oracle database, you may see the ODBC data source that you created for Oracle.
B. Configure an existing or add a new ODBC data source. i. Click the ODBC Data Source button source field. Select the System DSN tab. to the right of the ODBC data
iii. Configure the new ODBC data source based on the data source procedures. iv. Close the ODBC Data Source Administrator. v. 3. Select the new ODBC data source from the drop down menu. Enter the username in the Database user field who will connect to the selected database driver. Important: This field is required if you are connecting to a SQL Server. 4. Enter the Password needed to connect to the selected database driver. Important: This field is required if you are connecting to a SQL Server. 5. Enter a value between 0 (continuous retries) and 24 hours in the Reconnect wait period field. This value specifies the amount of time that the Database Logger waits between reconnect attempts when the connection to the database is lost. The default is 30 seconds.
26-26
GFK-1180K
6.
Check Enable store and forward to have the ALARM_LOG table perform store and forward functions.: Check one of the two following options. Option No Limit Check if you want: The Database Logger to store an unlimited number of records when its connection to the database is down. The number of records actually stored is determined by the amount of time the connection is lost and by the amount of free disk space you have. Max number of stored records To select the number of records the Database Logger will store when its connection to the database is down. Enter a number between 1 and 4,294,967,295.
7.
Either: Click OK or Select another tab in the Logging Properties dialog box.
Result: The Database Logger validates your entries. You will be prompted if additional information is required to connect to the database. Information needed varies from database to database. In general if you are connecting to: A Microsoft Access database, you may be prompted for a file name. A SQL Server, you may be prompted for a database name. An Oracle database, you may be prompted for a Server ID.
Enter the Alias Name for the Oracle database in this field. If the Data Logger is unable to connect to the selected database, validation fails.
GFK-1180K
26-27
Entering Database Logger Defaults for Point and Group Point Logs
You can specify a single global ODBC data source that will be used when logging data to CIMPLICITY data and group tables.
Note: When you configure each table, you can choose to use these defaults or you can specify an ODBC data source that is unique for that table. The parameters that you specify as defaults deal with the: 1. 2. Connect information Store and forward specifications.
To specify default point and group connection parameters: 1. Select the Default Point Connection tab in the Logging Properties dialog box.
2.
Configure the default parameters for the CIMPLICITY point and group log tables the same way you configure the parameters for the CIMPLICITY alarm, event and application log tables. See page 26-25 in this chapter for details.
26-28
GFK-1180K
Important: When using fully qualified points, you must provide remote project login configuration with the project. 1. 2. 3. 4. Expand the Security folder in the Workbench left pane. Expand the Advanced folder. Select Remote Projects .
GFK-1180K
26-29
2 Double-click
DATA_LOG to open the table.
3 Configure:
Table properties. Logging conditions for single point.
Note: Data logged for points includes: Point ID, Time the point value was logged (timestamp), Resource, Value and other optional attributes that you select.
26-30
GFK-1180K
If you have selected the project name table attribute, the primary key index also includes the project name column. The primary key includes an MSEC column, if milliseconds is enabled. Columns and rows in CIMPLICITY data logging tables are as follows. COLUMN NAME Constant fields timestamp point_id Attribute fields _ALRM _ENG _PREV _QUALITY _RAW _RES _TIME _USER _VAL DATA TYPE date/time string DESCRIPTION Timestamp of the logging event CIMPLICITY identifier for the point
string string As configured. Default is string number As configured. Default is string string date/time number As configured. Default is string
Alarm state of the point . Engineering units label of the point. Previous logged value of the point for the same logging event. Point quality flags. Raw value of the point. CIMPLICITY Resource associated with the point. Previous time the point was logged for the same logging event. Value of the user defined flags. Value of the point.
string number
GFK-1180K
26-31
Option 1. Add Points to Log Tables via a Point Properties Dialog Box
Option 1. Add a points data to a CIMPLICITY data table: 1. 2. 3. 4. 5. Select Points in the left pane of the Workbench.
Select, in the right pane, the virtual or device point for which you want to log values. Open the points Properties dialog box. Select the General tab. Check Log data
6.
Click OK or Apply.
Result: CIMPLICITY adds the point to its default DATA_LOG. You can apply more specifications in the Database Logger.
26-32
GFK-1180K
Method 3
In a CIMPLICITY data log table (e.g. DATA_LOG) Do one of the following. Method 1 Click the Add Item button Method 2 A. Click File on the data table menu bar. B. Select Add Points Method 3 A. Right-click in the data table window. B. Select Add Points from the popup menu. on the data log table toolbar.
GFK-1180K
26-33
The Select a Point browser opens when you use any method.
Piont Browser Example
2 Click OK.
2. 3.
Result: The Point IDs display in the data table window and will be logged according to your specifications.
26-34
GFK-1180K
Step 3. Task 1Data Log Table Open a Table Properties Dialog Box.
Task 1. Open a Data Log Table Properties dialog box: 1. Either: 2. Select a data table (e.g. DATA_LOG) in the Database Logger Configuration window, or Open the data log table's window. See page 26-11 for details.
Do one of the following. Method 1 Click the Table Properties button Method 2 A. Click Edit on either windows menu bar. B. Select Table Properties Method 3 A. Right-click a data table in the Database Logger Configuration window or any Point ID in the data table's window. B. Select Table Properties from the popup menu. on either windows toolbar.
Result. The data table, e.g. DATA_LOG Table Properties dialog box opens when you use any method.
GFK-1180K
26-35
Note: For a CIMPLICITY data log table, you can change the table's default logging conditions for an individual point in the (Database Loggers) Point Properties dialog box. See page 26-50 for details. Task 2. Configure data table logging conditions: 1. Select the Default Logging Conditions tab.
The conditions you check define the default conditions for when the value of the points in the table will be logged. 2. Specify Timed/gated logging intervals, as follows. A. Check Periodic to log data into the table at regular intervals. i. ii. Enter the time value in the Periodic field, and Select the time interval. Valid intervals are DAYS, HOURS, MINUTES, SECONDS, or TICKS (100 ticks = 1 second). B. Check Synchronized to log data at a particular time of day. i. ii. Enter the time in the input field, and Select AM or PM.
26-36
GFK-1180K
C. Check On digital point state to log data while a digital point is in a certain state. i. ii. Select the state to check for and Enter the digital Point ID in the input field. Valid states are HIGH, LOW, and TRANSITION. If a periodic time interval is not specified, logging will be triggered when the selected digital point transitions to the selected state, or any time the digital point transitions (if transition is selected). If you select a TRANSITION point state, together with a periodic or synchronized time, the gate will be ignored. See page 26-51 for more information about timed/gated logging. 3. Specify Data triggered logging as follows. A. Select to log data when a selected point value is updated as follows:
i. ii.
Check On point value update. Check either: Point being logged Each point that was added to the table after Point being logged was checked (and does not have a customized logging condition) is logged when its value is updated. Specific point Specified point is updated. Enter a Point ID for this option.
Click the Browser button browser or Click the Popup Menu button selecting a point.
The conditions you check define the conditions for when the values of all the points in the table will be logged. iii. Use the Deadband option if you want to filter out changes in the value of the selected point type before triggering a logging eventfor either the point being logged or the specific point. a. b. c. Check Deadband. Enter a Deadband value that is a floating-point number. Specify if the entered value should be evaluated, to trigger another logging event, as an: Absolute value or Percent of the last value.
GFK-1180K
26-37
The point's value must change more than the Deadband value before another logging event will be triggered. Example 1. Absolute Value An Absolute Deadband value is 5.0. Point Value 200.0 201.3 204.2 205.1 Result First logging event No Logging event No Logging event Logging event triggered.
Example 2. Percent Value A Percentage Deadband value is 5.0 Point Value 200.0 201.3 204.2 205.1 210.2 Result First logging event No Logging event No Logging event No Logging event Logging event triggered.
Note: An explicit deadband of 0 specifies that the point must have actually changed as opposed to having been updated by the point manager. B. Check On point alarm state to log point values when a specified point goes into one or more selected alarm states. Enter the Point ID in the Point Alarm field. Click the Browser button Click the Popup Menu button point. to open the Select a Point browser or to display options for selecting a
Important: For this option to work successfully, you must define alarm limits for the trigger point. For example, if you select a Point ID and choose its Alarm High state, logging in the table will occur each time the point enters the Alarm High state. C. Check one or more of the alarm states (e.g., Alarm high). Note: The values for these alarm states are specified on the Alarm tab in the selected points Properties dialog box.
Alarm Limits Used as Logging Conditions Data log Properties dialog box Default Logging Conditions tab Group log Properties dialog box Logging Conditions tab
26-38
GFK-1180K
Guidelines for selecting triggered logging: You can combine On point value update logging with On point alarm state logging. If you do not define any logging conditions under Timed/Gated Logging, then data will only be logged into the table when the trigger occurs. You can combine triggers. When you combine triggers, logging occurs when either of the triggers occurs.
Example You want to log a set of points when POINT_A is updated or when POINT_B is in Alarm High state. Do the following. 1. 2. 3. 4. 5. Check the On point value update check box. Enter POINT_A in the Point field. Check the On point alarm state check box. Check the Alarm High check box. Enter POINT_B in the Point field.
Note: If a device point is configured as On Scan, the point value is updated on every scan even though its value remains unchanged.
Tip: Click Use Defaults to reset the Logging Conditions to their default values. The default is to log data periodically every 5 minutes.
GFK-1180K
26-39
Task 3. Configure a CIMPLICITY data log table's logging attributes: 1. Select the Logging Attributes tab.
2.
Check any of the following point attributes to log: Point Attribute Default point attributes/ Point attributes Point Value Point's current value. Select a Data Type. The Database Logger will attempt to force the logged data into the type you select. Options are: INT UINT DINT UDINT REAL STRING (255) Previous value recorded in this table for this point. Select a Data Type. Raw Value Alarm State Point's raw value. Select a Data Type. Point's alarm state when the value is being logged. Log the:
Previous Value
26-40
GFK-1180K
Point's Resource ID. Time the point was last logged in this table. Point's engineering units. Is the value of the QUALITY attribute. See "Quality (Attribute)" in the "Using Point Attributes" chapter in this manual for detailed information about quality points. Value of the USER_FLAGS attribute. See "User Defined Point Attributes" in the "Using Point Attributes" chapter in this manual for detailed information about user defined point attributes. Project name.
User Flags
Tip: Click Use Defaults to reset the Logging Attributes to their default values. The defaults are to: Log Point Value (STRING(255) in the DATA_LOG) and Not log the Project Name.
Any specified event will trigger maintenance actions. Task 4. Specify maintenance events: 1. Select the Maintenance Events tab in a data Table Properties dialog box.
GFK-1180K
26-41
2.
Specify one or more of the Timed/gated maintenance intervals, as follows. A. Check Periodic to trigger maintenance at regular intervals. i. ii. Enter the time value in the Periodic field, and Select the time interval. Valid intervals are days, hours, minutes or seconds. B. Check Synchronized to trigger maintenance at a particular time of day. i. ii. Enter the time in the input field, and Select AM or PM.
C. Check On digital point state to log data while a digital point is in a certain state. i. ii. Select the state to check for and Enter a digital Point ID in the input field. Valid states are HIGH, LOW, and TRANSITION. If a periodic time interval is specified, maintenance actions will be executed when the digital point you choose is in the selected state. If a periodic time interval is not specified, the maintenance actions are triggered when the specified digital point transitions to the selected state, or any time the digital point transitions (if transition is selected). See page 26-51 for more information about timed/gated events. 3. Specify if and when maintenance events should be triggered. Use either or both of the following conditions. A. A drives space falls below a specified size: i. ii. Check Disk space low. Select the drive in the Drive field.
iii. Specify the megabytes in the Space remaining field. Maintenance events occur when space falls below the specified threshold. Note: The disk is checked at an interval that you specify on the Parameters tab the Logging Properties dialog box. See page 26-22 for details. B. The logging count exceeds a specified number. i. ii. Check Logging count. Enter the number records. Maintenance actions will be executed when the number of records logged to the table reaches a multiple of this number. Example You specify 500. Maintenance actions are executed when the count reaches 500, 1000, 1500, etc. Note: If you check both conditions maintenance is triggered when either condition occurs.
26-42
GFK-1180K
Task 5. Configure one or more maintenance actions: 1. Select the Maintenance Actions tab in a CIMPLICITY data log Table Properties dialog box.
2.
Specify that the Database Logger delete data from a logging table when a maintenance event occurs, as follows. A. Check Delete records B. Select the number of records you want to retain in the table in one of the following ways. By Count By Time Delete all but the last (most recent) <n> records in the table. Delete all but the records entered in the table for the last <n> days, hours, or minutes.
C. Do the following if you want to save the purged data to a CSV format file before removing it from the table. i. ii. Check the Save deleted in file check box Enter the name of the CSV file.
GFK-1180K
26-43
3.
Specify an export action. A. Check Export records. B. Select the type of export you want to perform. You can choose to export one of the following: All By Count By Time All records in the table are exported. The last (most current) <n> records in the table are exported. Data entered in the table for the last <n> days, hours, or minutes is exported. The Database Logger exports the data you specify from a logging table to a CSV (Comma Separated Value) format file when a maintenance event occurs.
4.
Incorporate one or more Command Line actions as follows. Check Execute SQL command and enter a SQL command in the accompanying field. Example You may want to count records in the data table from the current time minus one day (point values logged in the last 24 hours). To do this you could enter:
INSERT INTO MYTABLE VALUES NOW(), SELECT COUNT(*) FROM DATA_LOG
Where:
DATA_LOG is the data log table.
Check Run a program and enter a program pathname in the accompanying field. You may include command-line arguments for the program. Example You have configured purge actions to save the records to a .CSV file. You write a program that transfers the files to a zip drive. You enter:
D:\Deleted\ Backupdeletedcsv.bat
Where
D:\Deleted\ is the path to the program Backupdeletedcsv.bat is the program that will be run when a
maintenance event occurs. Check Compact database to compact the Microsoft Access database where the table resides during a maintenance event.
26-44
GFK-1180K
Warning: Use the Compact database action with great caution. Compacting a Microsoft Access database requires the database file not be used by any process, otherwise the action fails and waits to be executed during the next maintenance event. Due to this restriction, the Database Logger terminates all communication with the Microsoft Access database while the compact action occurs. This means that the logger queues may overflow depending on how fast items are being logged and the size of the logger queue.
Tip: The default maintenance actions include purging all records except those created within the last day. Click Use Defaults to use the default maintenance actions.
Task 6. Configure data table connections: Option 1. Use the default connections 1. 2. Select the Connection tab. Check Use default point connection.
Result: The Connection tab is dimmed and unavailable for configuration. The data log table uses the connections specified on the Default Point Connection tab in the Logging Properties dialog box.
GFK-1180K
26-45
Option 2. Specify connections that are specific for the data table. 1. 2. Select the Connection tab. Uncheck Use default point logging if it is checked. The fields on the Logging Properties tab become available to entries.
3.
Select an ODBC data source from the drop down list in the ODBC data source, field. You can select from available options or configure an existing or a new ODBC data source: A. Make a selection from the one or more Microsoft Access or SQL Server options in the drop down menu. Basic options include: CIMPLICITY Alarm Logging A Microsoft Access data source that logs data to the CIMPLOG.MDB file in the ARC directory of your CIMPLICITY project. CIMPLICITY Point Logging A Microsoft Access data source that logs data to the POINTLOG.MDB file in the ARC directory of your CIMPLICITY project. CIMPLICITY SQL Server Logging A Microsoft SQL Server data source that logs data to an on-node SQL Server database. You must install SQL Server to use this data source. (CIMPLICITY offers CIMPLICITY SQL for your convenience.) If you have an Oracle database, you may see the ODBC data source that you created for Oracle.
26-46
GFK-1180K
B. Configure an existing or add a new ODBC data source. i. Click the ODBC Data Source button data source field. Select the System DSN tab. to the right of the ODBC
iii. Configure the new ODBC data source based on the data source procedures. iv. Close the ODBC Data Source Administrator. v. 4. Select the new ODBC data source from the drop down menu. Enter the username in the Database user field who will connect to the selected database driver. Important: This field is required if you are connecting to a SQL Server. 5. Enter the Password needed to connect to the selected database driver. Important: This field is required if you are connecting to a SQL Server. 6. Enter a value between 0 (continuous retries) and 24 hours in the Reconnect wait period field. This value specifies the amount of time that the Database Logger waits between reconnect attempts when the connection to the database is lost. The default is 30 seconds.
GFK-1180K
26-47
7.
For Store and Forward either: A. Uncheck Enable Store and Forward. ALARM_LOG will not perform store and forward functions. B. Check Enable Store and Forward. The feature is enabled. Check one of the two following options. Option No Limit Check if you want The Database Logger to store an unlimited number of records when its connection to the database is down. The number of records actually stored is determined by the amount of time the connection is lost and by the amount of free disk space you have. Max number of stored records To select the number of records the Database Logger will store when its connection to the database is down. Enter a number between 1 and 4,294,967,295.
To do advanced configuration for a data log table: 1. Select the Advanced tab in the data log's Table Properties dialog box.
26-48
GFK-1180K
2.
Select whether to log data to the table. Either: Check Disable logging actions to stop logging data to the selected table, or Leave Disable logging actions unchecked to have data logged to the table when the CIMPLICITY project is running. Check Use default to use the universal size specified on the Parameters tab in the Database Logger's Logging Properties dialog box, or Specify a queue size for the selected table, if it has special requirements, as follows: A. Uncheck Use default. B. Enter a number in the Write queue size field that supports the worstcase logging during activity bursts. For example, if 10 points are being logged to the table, you should have a queue size of at least 10 in case the points' logging conditions all occur simultaneously.
3.
4.
Take advantage of the Database Logger's bulk insertion capability (Microsoft SQL Server or MSDE only) as follows: A. Check Use bulk insertion. B. Select the Maximum number of insertions that your system can handle. C. Select the interval between insertions in the Bulk insertion rate field. The Database Logger will be triggered to insert records, based on whichever specification occurs first. Example You specify the: Maximum number of insertions is 1000. Bulk insertion rate is 60 seconds. If the Database Logger collects 1000 records within 60 seconds, it inserts the records into the log. If 60 seconds go by before 1000 records are reached, the Database Logger inserts whatever records have been collected.
As a result:
Important: (For SQL Server) insert triggers fire only if bulk insertion is disabled.
GFK-1180K
26-49
3. 4.
Select the logging conditions that apply to the selected point. See page 26-36 for details about logging conditions. Click OK.
Result: The selected point will be logged when its logging conditions occur.
26-50
GFK-1180K
Note: Fields also appear for Timed/gated logging on a: Data log table's Default Logging Conditions tab. Group log table's Logging Conditions tab.
Note: Fields also appear for Timed/gated logging on a: Data log table's Default Logging Conditions tab. Group log table's Logging Conditions tab.
GFK-1180K
26-51
Note: Fields also appear for Timed/gated logging on a: Data log table's Default Logging Conditions tab. Group log table's Logging Conditions tab.
Option 4. On Digital Point Only Digital Point State HIGH LOW TRANSITION
On digital point state only
Logging/Maintenance Actions are Executed When the Selected Digital Point Transitions to the: HIGH state. LOW state. HIGH or LOW state.
high low transition Note: Fields also appear for Timed/gated logging on a: Data log table's Default Logging Conditions tab. Group log table's Logging Conditions tab.
26-52
GFK-1180K
Option 5. Periodic and on Digital Point State Logging/Maintenance actions are executed: When the Selected Digital Point Transitions to the: HIGH state LOW state HIGH or LOW state And at the Specified Time Interval while the Digital Point Stays in the: HIGH state LOW state. HIGH or LOW state.
Table Properties Dialog Box: Maintenance Events Tab Periodic and On digital point state
high low transition Note: Fields also appear for Timed/gated logging on a: Data log table's Default Logging Conditions tab. Group log table's Logging Conditions tab.
Option 6. Synchronized and On Digital Point State Logging/Maintenance actions are executed: For the Selected Digital Point State HIGH LOW TRANSITION At the Specified Day Time if the Digital Point is in the: HIGH state LOW state. HIGH or LOW state.
Table Properties Dialog Box: Maintenance Events Tab Synchronized and On digital point state
high low transition Note: Fields also appear for Timed/gated logging on a: Data log table's Default Logging Conditions tab. Group log table's Logging Conditions tab.
GFK-1180K
26-53
Option 7. Periodic, Synchronized and On Digital Point State Logging/Maintenance actions are executed: At the Specified Day Time if the Digital Point is in the HIGH state LOW state HIGH or LOW state And at the Specified Time Interval while the Digital Point Stays in the: HIGH state LOW state. HIGH or LOW state.
Table Properties Dialog Box: Maintenance Events Tab Periodic, Synchronized and On digital point state
high low transition Note: Fields also appear for Timed/gated logging on a: Data log table's Default Logging Conditions tab. Group log table's Logging Conditions tab.
26-54
GFK-1180K
Important: When using fully qualified points, you must provide remote project login configuration with the project. 1. 2. 3. 4. Expand the Security folder in the Workbench left pane. Expand the Advanced folder. Select Remote Projects .
GFK-1180K
26-55
2 Double-click
GROUP_LOG to display the table.
3 Configure:
Table properties. Attributes for a point.
26-56
GFK-1180K
Note: Data logged for groups of points includes the time the values are logged (timestamp) and Point ID values. Point data can be logged as follows: At a specified time of day. Periodically at a specified time interval. Periodically at a specified time interval while a digital point is HIGH or LOW. In response to an event. When the alarm state on a point changes. Whenever a point's value is updated.
GFK-1180K
26-57
Note: The maximum number of columns a table can have is SBMS specific. Consult your DBMS documentation to ensure that your Group table does not exceed these limits. Default MSDE DBMS is 1024 columns, 8060 Bytes per row.
Important: Since the Microsoft Access and Oracle format does not support sub-second timestamp data, you cannot log points to a Group table at sub-second rates. Attempting to do so will cause the duplicate-keyed records to be dropped from the database, unless you have enabled millisecond logging.
26-58
GFK-1180K
Method 3
In a group table window Do one of the following. Method 1 Click the Add Item button Method 2 A. Click File on the window's menu bar. B. Select Add Points Method 3 A. Right-click in the group table's window. B. Select Add Points from the popup menu. on the window's toolbar.
GFK-1180K
26-59
The Select a Point browser opens when you use any method.
Piont Browser Example
2 Click OK.
2. 3.
Result: The Point IDs display in the group table's window and will be logged according to your specifications.
26-60
GFK-1180K
Step 3. Task 1Group Log Table Open a Table Properties Dialog Box.
Task 1. Open a group Table Properties dialog box: 1. Either: 2. Select a group table (e.g., GROUP_LOG) in the Database Logger Configuration window, or Open the group table (e.g., GROUP_LOG) window. See page 26 -11 for details.
Do one of the following. Method 1 Click the Table Properties button Method 2 A. Click Edit on either windows menu bar. B. Select Table Properties Method 3 A. Right-click a group table in the Database Logger Configuration window or any Point ID in the group table's window. B. Select Table Properties from the popup menu. on either windows toolbar.
Result. The group table's (e.g., GROUP_LOG) Table Properties dialog box opens when you use any method.
GFK-1180K
26-61
Note: Because, the points in a group table are logged in parallel, the logging conditions are the same for all. However, you can select attributes that will be logged for individual points. Task 2. Configure group table logging conditions: 1. Select the Logging Conditions tab.
The conditions you check define the conditions for when the values of all the points in the table will be logged. 2. 4. Specify logging conditions the same way you specify them for a data log table. See page 26-36 for details. Check On point alarm state to log point values when a specified point goes into one or more selected alarm states.
26-62
GFK-1180K
The checked logging attributes will be the default logging attributes for additional points you add to the group table.
Note: You can also specify that selected attributes be logged for individual points in the group table. See page 26-68 for details. Task 3. Configure a group log table's logging attributes: 1. Select the Logging Attributes tab.
2.
Check any of the following point attributes to log: Point Attribute Default point attributes/ Point attributes Point Value Previous Value Raw Value Alarm State Resource Time Last Logged Engineering Units Quality Point's current value. Previous value recorded in this table for this point. Point's raw value. Point's alarm state when the value is being logged. Point's Resource ID. Time the point was last logged in this table. Point's engineering units. Is the value of the QUALITY attribute. See "Quality (Attribute)" in the "Using Point Attributes" chapter in this manual for detailed information about quality points. Log the:
GFK-1180K
26-63
User Flags
Value of the USER_FLAGS attribute. See "User Defined Point Attributes" in the "Using Point Attributes" chapter in this manual for detailed information about user defined point attributes. Project name.
Tip: Click Use Defaults to reset the Logging Attributes to their default values. The defaults are to: Log Point and Not log the Project Name.
Any specified event will trigger maintenance actions. Task 4. Specify maintenance events for a group log table: 1. Select the Maintenance Events tab in group Table Properties dialog box.
2.
Specify events the same way you specify them for a data log table. See page 2641 for the procedure.
26-64
GFK-1180K
Task 5. Configure one or more group log table maintenance actions: 1. Select the Maintenance Actions tab in the group log Table Properties dialog box.
2.
Specify actions the same way you specify them for a data log table. See page 2643 for the procedure.
Step 3. Task 6Group Log Table Configure a CIMPLICITY Group Table Connection
Connection defines the database connection and the Store and Forward properties for the table. You can: Use the default connections that are specified on the Default Point Connection tab in the Logging Properties dialog box or Specify connections that are specific to the data or group logging table.
GFK-1180K
26-65
Task 6. Configure a group log table connection: Option 1. Use the default connections 1. 2. Select the Connection tab. Check Use default point connection.
Result: The Connection tab is dimmed and unavailable for configuration. The CIMPLICITY group table uses the connections specified on the Default Point Connection tab in the Logging Properties dialog box. Option 2. Specify connections that are specific for the group table. 1. 2. Select the Connection tab. Uncheck Use default point connection if it is checked. The fields on the Connection tab become available for entries.
2.
Specify the connection the same way you specify it for a data log table. See page 26 -45 for the procedure.
26-66
GFK-1180K
To do advanced configuration for a group log table: 1. Select the Advanced tab in the group log's Table Properties dialog box.
2.
Do advanced configuration the same way you do for a data log table. See page 26-48 for the procedure.
Important: (For SQL Server) insert triggers fire only if bulk insertion is disabled.
GFK-1180K
26-67
3. 4.
Check the attributes that you want logged for the selected point. Click OK.
Result: The attributes you select will be logged for the selected point. The selection does not change if you change the table defaults.
26-68
GFK-1180K
Alarm Logging
Alarm logging provides you with a straightforward process for creating and maintaining records to analyze the alarm state of equipment and processes in your system. As a result, alarm logging helps you determine if action is required to repair or maintain your system. The Database Logger enables you to: Log data about selected alarms or all alarms to an alarm log table. Save the log files, until specified criteria occur. Have the logged data discarded, based on specified criteria. Save the logged data to another file for future analysis.
You can display, print and analyze that information in a report that you create or in an Excel CIMPLICITY Alarm Report that is included in CIMPLICITY. See page 26-121 for details about CIMPLICITY Alarm Reports.
Note: Data logged for alarms includes: Alarm ID, Time the Alarm was Generated, Alarm Class, Resource, Alarm Message, Logged By and other optional attributes that you select.
GFK-1180K
26-69
Steps to configure alarm logging include: Step 1. Step 2. Step 3. Step 4. Review system alarms included in the alarm log table. Add additional alarms to the alarm log table. Configure alarm logging properties. Configure logging conditions for a single alarm.
2 Double-click
ALARM_LOG to display the table.
3 Configure
Table Properties. Logging conditions for an alarm.
26-70
GFK-1180K
GFK-1180K
26-71
If you have selected the project name table attribute, the primary key index also includes the project name column. The primary key includes an MSEC column, if milliseconds is enabled. Columns and rows in Alarm logging tables are as follows: COLUMN NAME Constant fields timestamp sequence_number alarm_id alarm_class resource logged_by reference prev_state DATA TYPE DESCRIPTION date/time number string string string string string string Timestamp of the logging event Identity column to ensure uniqueness CIMPLICITY alarm identifier CIMPLICITY alarm class associated with the alarm CIMPLICITY resource associated with the alarm CIMPLICITY process that logged the alarm Reference information for the alarm logged. Previous state of the alarm. Possible values N=Normal G=Generate R=Reset A=Acknowledge D=Delete State of the alarm that caused log event. Possible values N=Normal G=Generate R=Reset A=Acknowledge D=Delete Final state of the alarm. Possible values N=Normal G=Generate R=Reset A=Acknowledge D=Delete Message associated with the alarm. Timestamp the alarm was generated.
log_action
string
final_state
string
string date/time
string number
26-72
GFK-1180K
Option 1. Add Point Alarms to the ALARM_LOG Table via a Point Properties Dialog Box
Option 1. Add a points alarms to an alarm log table: 1. 2. 3. 4. 5. Select Points in the left pane of the Workbench. .
Select the point for which you want to log alarms in the right pane. Open the points Properties dialog box. Select the Alarm tab. Check if and when you want an alarm to be logged in the Alarm Logging box on the Alarm tab of the Point Properties dialog box. You can select any or all of the options: Condition Generate Acknowledge Reset Delete Alarm data is logged when the alarm: Occurs. Is acknowledged by the operator or the system. Is reset by the operator or the system. Is manually deleted from the system.
6.
Click OK or Apply.
Result: CIMPLICITY adds the point to its default ALARM_LOG. You can apply more specifications in the Database Logger.
GFK-1180K
26-73
Method 3
In the ALARM_LOG window Do one of the following. Method 1 Click the Add Item button Method 2 A. Click File on the ALARM_LOG window menu bar. B. Select Add Alarms Method 3 A. Right-click in the ALARM_LOG window. B. Select Add Alarms from the popup menu. on the ALARM_LOG toolbar.
26-74
GFK-1180K
The Select an Alarm Definition browser opens when you use any method.
Alarm Browser Example
2 Click OK.
2. 3.
Result: The alarms display in the ALARM_LOG window and will be logged according to your specifications.
GFK-1180K
26-75
Do one of the following. Method 1 Click the Table Properties button Method 2 A. Click Edit on either windows menu bar. B. Select Table Properties Method 3 A. Right-click ALARM_LOG in the Database Logger Configuration window or any alarm in the ALARM_LOG window. B. Select Table Properties from the popup menu. on either windows toolbar.
Result. The ALARM_LOG Table Properties dialog box opens when you use any method.
26-76
GFK-1180K
Note: You can change the conditions you specify in the ALARM_LOG Table Properties for a single alarm. See page 26-83 for details. Step 2. Configure ALARM_LOG default logging conditions: 1. Select the Default Logging Conditions tab.
The conditions you check define the default conditions for when the alarms in the table will be logged. 2. Modify the existing default conditions, if required. The conditions are: Condition Generate Acknowledge Reset Delete Alarm data is logged when the alarm: Occurs. Is acknowledged by the operator or the system. Is reset by the operator or the system. Is manually deleted from the system.
GFK-1180K
26-77
2.
Tip: Click Use Defaults to set the logging attributes to their default value. The ALARM_LOG will be set to not log the Project Name.
Warning: If you select or de-select the project name table attribute you must drop the table so that it is properly recreated with or without the new project field as part of the primary key. Failing to do so can cause the database logger to fail to log data into the table.
26-78
GFK-1180K
Step 4. Specify maintenance events for an ALARM_LOG table: 1. Select the Maintenance Events tab in the ALARM_LOG Table Properties dialog box.
2.
Specify events the same way you specify them for a data log table See page 2641 for the procedure.
GFK-1180K
26-79
Step 5. Configure one or more maintenance actions: 1. Select the Maintenance Actions tab in the ALARM_LOG Table Properties dialog box.
2.
Configure the maintenance actions the same way you configure maintenance actions for a CIMPLICITY data table. See page 26-43 for the procedure.
26-80
GFK-1180K
Step 6. Configure ALARM_LOG table connection: Option 1Use the default connection 1. 2. Select the Connection tab. Check Use default alarm logging.
Result: The Connection tab is dimmed and unavailable for configuration. ALARM_LOG uses the properties specified on the Default Alarm Logging tab in the Logging Properties dialog box. Option 2Specify logging properties that are specific for the ALARM_LOG table. 1. 2. 2. Select the Connection tab. Uncheck Use default alarm connection. The fields on the Connection tab become available. Enter specifications the same way you do for a CIMPLICITY data log table. See page 26-45 for the procedure.
GFK-1180K
26-81
To do advanced configuration for the ALARM_LOG table: 1. Select the Advanced tab in the ALARM_LOG Table Properties dialog box.
2.
Do advanced configuration the same way you do for a data log table. See page 26-48 for the procedure.
Important: (For SQL Server) insert triggers fire only if bulk insertion is disabled.
26-82
GFK-1180K
GFK-1180K
26-83
3.
See page 26-77 for logging condition definitions. 4. Click OK. Result: The selected alarm will be logged in the ALARM_LOG when its logging conditions occur.
26-84
GFK-1180K
You can display, print and analyze that information in a report that you create or in an Excel CIMPLICITY Alarm Report that is included in CIMPLICITY. See page 26-121 for details about CIMPLICITY Alarm Reports.
GFK-1180K
26-85
Steps to configure event alarm logging include: Step 1. Step 2. Step 3. Step 4. Review system alarms included in the EVENT_LOG table. Add additional alarms to the EVENT_LOG table. Configure event logging properties. Configure logging conditions for a single event alarm.
2 Double-click
EVENT_LOG to display the table.
3 Configure:
Table properties. Logging conditions for an event alarm.
26-86
GFK-1180K
GFK-1180K
26-87
If you have selected the project name table attribute, the primary key index also includes the project name column. The primary key includes an MSEC column, if milliseconds is enabled. Columns and rows in Event logging tables are as follows: COLUMN NAME Constant fields timestamp sequence_number alarm_id alarm_class resource logged_by reference alarm_message generation_time Optional fields project msec DATA TYPE DESCRIPTION date/time number string string string string string string date/time Timestamp of the logging event Identity column to ensure uniqueness CIMPLICITY alarm identifier CIMPLICITY alarm class associated with the alarm CIMPLICITY resource associated with the alarm CIMPLICITY process that logged the alarm Reference information for the alarm logged. Message associated with the alarm. Timestamp the alarm was generated.
string number
26-88
GFK-1180K
Option 1. Add Point Alarms to the EVENT_LOG via a Point Properties Dialog Box
Option 1. Add a points alarms to the EVENT_LOG: 1. 2. 3. 4. 5. Select Points in the left pane of the Workbench. .
Select the point for which you want to log alarms in the right pane. Open the points Properties dialog box. Select the General tab. Check Log Alarm.
On the General Tab in the Point Properties Dialog Box
Check to log the selected point to the EVENT_LOG Opens the Alarm Logging dialog box.
6.
7.
GFK-1180K
26-89
8.
Check, in the Log alarm on box, when the point should be logged. You can choose one or more of the options that will cause the point value to be logged. Options include (for the point's alarm): Generation Acknowledge Reset Delete
9.
Click OK.
Result: The points alarms will be logged to the Event Log based on the specified alarm status. Tip: Click Table attributes to open the Event Logs Table Properties dialog box. Configuration in this dialog box affects the entire Event Log.
Method 3
In the EVENT_LOG window Do one of the following. Method 1 Click the Add Item button on the EVENT_LOG toolbar.
26-90
GFK-1180K
Method 2 A. Click File on the EVENT_LOG menu bar. B. Select Add Alarms Method 3 A. Right-click in the EVENT_LOG window. B. Select Add Alarms from the popup menu. The Select an Alarm Definition browser opens when you use any method.
Alarm Browser Example
2 Click OK.
2. 3.
Result: The alarms display in the EVENT_LOG window and will be logged according to your specifications.
GFK-1180K
26-91
Do one of the following. Method 1 Click the Table Properties button Method 2 A. Click Edit on either windows menu bar. B. Select Table Properties Method 3 A. Right-click EVENT_LOG in the Database Logger Configuration window or any alarm in the EVENT_LOG window. B. Select Table Properties from the popup menu. on either windows toolbar.
Result. The EVENT_LOG Table Properties dialog box opens when you use any method.
26-92
GFK-1180K
2.
Tip: Click Use Defaults to set the logging attributes to their default value. The EVENT_LOG will be set to not log the Project Name.
Warning: If you select or de-select the project name table attribute you must drop the table so that it is properly recreated with or without the new project field as part of the primary key. Failing to do so can cause the database logger to fail to log data into the table.
GFK-1180K
26-93
Step 3. Specify maintenance events: 1. Select the Maintenance Events tab in the EVENT_LOG Table Properties dialog box.
2.
Specify events the same way you specify them for an DATA_LOG. See page 26-41 for the procedure.
26-94
GFK-1180K
Step 4. Configure one or more maintenance actions: 1. Select the Maintenance Actions tab in the EVENT_LOG Table Properties dialog box.
2.
Configure the maintenance actions the same way you configure maintenance actions for a data log table. See page 26-43 for the procedure.
GFK-1180K
26-95
Step 5. Configure the EVENT_LOG connection: Option 1Use the default connection 1. 2. Select the Logging Properties tab. Check Use default alarm connection.
Result: The Connection tab is dimmed and unavailable for configuration. The event log uses the properties specified on the Default Alarm Connection tab in the Logging Properties dialog box. Option 2Specifya connection that is specific for the EVENT_LOG. 1. 2. Select the Connection tab. Enter specifications the same way you do for a data log table. See page 26-45 for the procedure.
26-96
GFK-1180K
To do advanced configuration for an EVENT_LOG table: 1. Select the Advanced tab in the EVENT_LOG Table Properties dialog box.
2.
Do advanced configuration the same way you do for a data log table. See page 26-48 for the procedure.
Important: (For SQL Server) insert triggers fire only if bulk insertion is disabled.
GFK-1180K
26-97
26-98
GFK-1180K
3.
See page 26-77 for logging condition definitions. 4. Click OK. Result: The selected alarm will be logged in the EVENT_LOG when its logging conditions occur.
GFK-1180K
26-99
If you have selected the project name table attribute, the primary key index also includes the project name column. The primary key includes an MSEC column, if milliseconds is enabled. Columns and rows in EM logging tables are as follows. COLUMN NAME Constant fields timestamp sequence_number time event_type event_source action_type action_target Optional fields project msec DATA TYPE DESCRIPTION date/time number string string string string string Timestamp of the logging event Identity column to ensure uniqueness The type of Event Manager event associated with the event source. Identifier that triggered the event. The type of Event Manager action associated with the action source. Identifier of the action's target
string number
26-100
GFK-1180K
4. 5.
Left-click the Action ID column. Open the New Event-Action dialog box using any of the following methods. Method 1 Click the New Event_Action button Editor toolbar. Method 2 A. Click File on the CIMPLICITY Event Editor menu bar. B. Select New Event_Action. Method 3 A. Click the right mouse button in the right pane. B. Select New Event_Action from the popup menu. Method 4 Press Ctrl+N on the keyboard. The New Event-Action dialog box opens when you use any of these methods. on the CIMPLICITY Event
6.
GFK-1180K
26-101
7.
8.
Click OK.
Result: When the selected event triggers the action, the Event Manager sends the data to the Database Logger.
26-102
GFK-1180K
GFK-1180K
26-103
2.
Tip: Click Use Defaults to set the logging attributes to their default value. The EM_LOG will be set to not log the Project Name.
Warning: If you select or de-select the project name table attribute you must drop the table so that it is properly recreated with or without the new project field as part of the primary key. Failing to do so can cause the database logger to fail to log data into the table.
26-104
GFK-1180K
Task 3. Specify maintenance events: 1. Select the Maintenance Events tab in the EM_LOG Table Properties dialog box.
2.
Specify events the same way you specify them for a data log table. See page 2641 for the procedure.
GFK-1180K
26-105
Step 5. Configure one or more maintenance actions: 1. Select the Maintenance Actions tab in the EM_LOG Table Properties dialog box.
2.
Configure the maintenance actions the same way you configure maintenance actions for the data log table. See page 26-43 for the procedure.
26-106
GFK-1180K
Task 5. Configure EM_LOG logging properties: Option 1Use the default connection 1. 2. Select the Connection tab. Check Use default point logging.
Result: The Connection tab is dimmed and unavailable for configuration. The EM_LOG uses the properties specified on the Default Alarm Logging tab in the Logging Properties dialog box. Option 2Specify logging properties that are specific for the EM_LOG. 1. 2. Select the Connection tab. Enter specifications the same way you do for the data log table. See page 26-45 for the procedure.
GFK-1180K
26-107
To do advanced configuration for an EVENT_LOG table: 1. Select the Advanced tab in the EM_LOG Table Properties dialog box.
2.
Do advanced configuration the same way you do for a data log table. See page 26-48 for the procedure.
Important: (For SQL Server) insert triggers fire only if bulk insertion is disabled.
26-108
GFK-1180K
Application Logging
Application Logging enables you to log actions of certain CIMPLICITY applications, such as the Basic Control Engine. To take advantage this feature, you must configure an Application Table for the product option. The application chooses what data to log and when to log it. Tip: You can configure the following properties for an Application logging table. Logging attributes. Maintenance actions. Maintenance events. Logging properties.
Follow the same steps that you follow for the EM_LOG. See page 26-100 for details.
If you have selected the project name table attribute, the primary key index also includes the project name column. Columns in Application logging tables include:: Columns that are specific to that table. An additional column for each table attribute you have selected. A timestamp column and An auto increment sequence number that ensures that each row is unique.
GFK-1180K
26-109
A Report for Use with CIMPLICITY Alarm tables. Data tables. Group tables. A Report for Use with CIMPLICITY Alarm tables. Data tables. Group tables.
These samples are fully functional as shipped. You can: Use the reports with either Access or SQL Server to report on any tables you have configured. Copy and modify the reports to meet your specific needs. Save generated reports in Excel for later use, print them, or perform further analysis on your data.
Individual point logged data. Group logged data trends. Alarms or event alarms.
3. 4.
Specify the table and basic parameters to be included in the report. Generate the report.
26-110
GFK-1180K
GFK-1180K
26-111
Step 2. Place MS Query files in the Correct Location for Database Logger.
1. Locate xlodbc.xla and xlodbc32.dll. They are most likely in the \Excel\Library\MSQuery directory. 2. 3. Create the path
C:\Program Files\Microsoft Office\Office\Library\MSQuery.
Copy xlodbc.xla and xlodbc32.dll from their current directory to the new path.
Step 3a. Install the Sample Reports using Microsoft Excel 5.0
To select the MS Query Add-In: 1. 2. 3. 4. Open Microsoft Excel. Click File on the Microsoft Excel menu bar. Select Open. The Open browser opens. Find the Report folder in the CIMPLICITY \HMI directory.
5.
Open a report that is compatible with your version of Microsoft Excel. A message box appears asking you if you want to enable the macros.
6.
26-112
GFK-1180K
7. 8. 9.
Click Tools on the Microsoft Excel menu bar. Select Add-Ins The Add-Ins dialog box opens. Check MS Query Add-in.
C:\Program Files\Microsoft Office\Office\Library\MSQuery.
11. Replace any existing XLODBC.XLA add-in, if you are prompted to do so. 12. Save your updated report. 13. Repeat these steps for all three report files. You will need to do this only once for each report. 14. Click OK.
Step 3b. Specify the MS Query file location in Excel for Office 97
Note: Follow this step if you receive an error message that Excel cannot find the XLODBC.XLA file. To specify the MS Query file location in the Visual Basic Editor: 1. 2. 3. Click Tools on the Excel menu bar. Select Macro. Select Visual Basic Editor from the extended menu.
The Visual Basic Editor opens. 4. 5. 6. Click Tools on the Visual Basic Editor menu bar. Select Reference. The References - VBAProject dialog box opens. Look for an entry Missing XLODBC.XLA.
GFK-1180K
26-113
7. 8. 9.
Select Missing XLODBC.XLA. Click Browse Point XLODBC.XLA to the correct location.
C:\Program Files\Microsoft Office\Office\Library\MSQuery.
26-114
GFK-1180K
Result: The Control worksheet in the CIMPLICITY Data Report workbook displays.
GFK-1180K
26-115
2. 3. 4. 5. 6.
Enter the name of a CIMPLICITY DATA_LOG table or DATA_LOG in the ODBC Table field. (Optional) Enter a Point ID if you want to display data for a single point. If no Point ID is entered, data for all points in the log displays. (Optional) Enter a Start Time to display data logged from that time forward. If no time is specified, the earliest data will be included. (Optional) Enter an End Time to display data logged up to the specified time. If no time is specified, the latest data will be included. Select the ODBC Data Source to be used in generating the report. Your selection must be the same data source that was used to log the data. If an appropriate data source is not visible in the drop-down list, click Browse to find one.
7.
Tip: Save your spreadsheet after setting the report parameters if you want the parameters to be set the next time you run the report.
26-116
GFK-1180K
The data report contains a column for each attribute in the logging table. The columns may be named as follows: Column timestamp point_id PROJECT _ALRM _ENG _PREV VAL TIME RAW RES Displays the: Time that the point was logged. Point identifier of the point being logged Name of the CIMPLICITY project logging the point data. Alarm state of the point being logged. Engineering units label of the point being logged. Previous logged value of the point being logged. Current value of the point being logged. Timestamp of the previous time the point was logged. Raw value of the point being logged. Resource of the point being logged.
Tip: If you save your spreadsheet after generating a report, the data will be available the next time you view the report.
GFK-1180K
26-117
Once you have installed the Trend Report you can view data in the following steps. Open either the SQLGROUP.XLS or SQLGROUP97.XLS file. Set the CIMPLICITY Trend Report parameters. Generate a CIMPLICITY Trend Report. View the data in a CIMPLICITY Trend Report. View charted trends in a CIMPLICITY Trend Report.
Result: The Control worksheet in the CIMPLICITY Alarm Report workbook displays.
26-118
GFK-1180K
2. 4. 5. 6.
Enter a GROUP_LOG table in the ODBC Table field. (Optional) Enter a Start Time to display data logged from that time forward. If no time is specified, the earliest data will be included. (Optional) Enter an End Time to display data logged up to the specified time. If no time is specified, the latest data will be included. Select the ODBC Data Source to be used in generating the report. Your selection must be the same data source that was used to log the data. If an appropriate data source is not visible in the drop-down list, click Browse to find one.
7.
Tip: Save your spreadsheet after setting the report parameters if you want the parameters to be set the next time you run the report.
GFK-1180K
26-119
The Trend report contains a column for each point attribute in the table. The prefix of each column is based on the SQL Field Prefix specified for the point. Appended to the prefix of each column is a:
Variable extension based on the attribute Number indicating the array index (0 for non-array points). Displays the: The time that the point was logged.. .Value of an attribute.
<prefix>_<attrib><index>
26-120
GFK-1180K
Once you have installed the Alarm Report you can view data in the following steps.. Open either the SQLALARM.XLS or SQLALARM97.XLS Excel file. Set the report parameters. Generate a report. View the data.
GFK-1180K
26-121
Result: The Control worksheet in the CIMPLICITY Alarm Report workbook displays.
2. 3. 4. 5. 6.
Select either the ALARM_LOG or EVENT_LOG table in the ODBC Table field. (Optional) Enter an Alarm Class if you want to display alarms only for that class. (Optional) Enter a Start Time to display data logged from that time forward. If no time is specified, the earliest data will be included. (Optional) Enter an End Time to display data logged up to the specified time. If no time is specified, the latest data will be included. Select the ODBC Data Source to be used in generating the report. Your selection must be the same data source that was used to log the data. If an appropriate data source is not visible in the drop-down list, click Browse to find one.
7.
Tip: Save your spreadsheet after setting the report parameters if you want the parameters to be set the next time you run the report.
26-122
GFK-1180K
Result: Progress messages display on the status display of the report while the report is being generated. The completed report displays on the Data worksheet.
The report contains the following columns: Column timestamp Alarm ID alarm_class Definition The time that the alarm was logged. . The alarm identifier of the alarm or event logged. For point alarms, this is the same as the point identifier. The alarm class of the alarm or event logged. You may filter a report to include only one class of alarm. See Set Setting Alarm Report Parameters, above. The resource of the alarm or event logged. The user or process which caused the alarm or event to be logged. For point alarm generation, this is frequently MASTER_PTM0_RP, the CIMPLICITY Point Manager. Reference information for the alarm logged. The previous state of the alarm before the event which caused it to be logged. This may be N (normal), G (generated), A (acknowledged), or R (reset). The trigger event which caused the alarm to be logged. This may be G (generation), A (acknowledgment), R (reset), or D (manual deletion). The final state of the alarm after the trigger event. This may be G (generated), A (acknowledged), R (reset), or D (deleted). The alarm message for the alarm being logged.
resource logged_by
reference prev_state
log_action
final_state alarm_message
Tip: If you save the CIMPLICITY Alarm Report after you generate it, the same data will be display the next time you open the report and select the Data worksheet.
GFK-1180K
26-123
The steps to implement automatic report printing include: Configure the CIMPLICITY Service to access a printer. Create a script to generate the report and print it. Create an event to trigger the script.
2. 3. 4.
Double-click the CIMPLICITY Service. Choose one of the following options to continue: For systems with single users: A. Click This Account in the Service dialog box, under Log On As. B. Select a CIMPLICITY user account.
26-124
GFK-1180K
C. Enter the correct password and confirm it, if the account requires a password.
Service Dialog Box: One user example
Note: If no one is logged in to the account you select here, when the script executes, no printers will be available. The report will be generated, but it will not be printed. For systems with multiple users: A. Click System Account in the Service dialog box, under Log On As. B. Check the Allow Service to Interact with Desktop check box.
Service Dialog Box: One user example
5. 6. 7.
Click OK to accept your changes and close the Service dialog box. Click OK to close the Services dialog box. Close the Control Panel.
GFK-1180K
26-125
Note: The following script opens the SQLALARM.XLS spreadsheet, generates a report, and prints it. You can use it as a template for creating your own scripts:
26-126
GFK-1180K
Sub Main () '--------------------------------------------------------------------------------------' This section sets REPORT_TRIGGER back to 0 so that the script doesn't continue to run. ' This is not needed if the report is triggered directly from a CimView screen or by a ' TIMED event in the Database Logger or Event Manager. ' Dim PT As New point PT.id = "\\PROJECT\REPORT_TRIGGER" PT.value = 0 PT.set '--------------------------------------------------------------------------------------' The code from this point on is for printing. ' This example uses one of the existing Excel spreadsheets for extracting and printing ' the data from the cimplog.mdb alarm database. ' You will need to customize this code so that it prints what you need. It is also ' possible in some applications to run a specific macro from the command line. ' You can then use the SHELL command. ' Dim Excel As Object Set Excel = CreateObject ("Excel.Application") ' ' Open the workbook for alarm reporting Excel.application.workbooks.open "C:\CIMPICITY\REPORT\SQLALARM.XLS" Excel.application.workbooks("SQLALARM.XLS").activate ' ' Run the macro to get the data Excel.application.Run "SQLALARM.XLS!GenerateReport" ' ' Print the data Excel.application.workbooks("SQLALARM.XLS").worksheets("Data").activate Excel.application.workbooks("SQLALARM.XLS").activesheet.printout ' ' Quit without saving the data Excel.application.workbooks("SQLALARM.XLS").saved = TRUE Excel.application.quit End Sub
GFK-1180K
26-127
The Database Logger saves your changes and closes the Table Properties dialog box. Result: The report automatically generates and prints whenever any of the maintenance events you specified occur.
To trigger a report automatically from an event: 1. 2. 3. Open the Event Editor in the project's Workbench.. Create any event you wish to trigger the report. Create an action for this event to run the script.
Result: The report automatically generates and prints whenever the event occurs.
26-128
GFK-1180K
To let users trigger a report from a CimView screen: 1. 2. 3. 4. 5. Open a screen in CimEdit. Select or create the object you want to trigger the report. Display the object's property sheets. On the Script tab, click Edit. In the Edit Script window, enter a script that will trigger the report. You can generate the report directly, or trigger an event that invokes an action that generates the report. Close the Edit Script window. Display the Events tab. Create a new event and assign it a new procedure. In the Procedure Information dialog box, create an Invoke Script action and specify the script you created.
6. 7. 8. 9.
10. Click OK to save the new procedure information. 11. Click OK to save the object's properties. Result: When a user executes the event you configured, the report automatically generates and prints.
GFK-1180K
26-129
Important: The Microsoft Access ODBC driver is only supported on Intel-based computers.
ODBC Configuration
When you install CIMPLICITY if you: Install the (MSDE) database server option, a Microsoft SQL 7 compatible database server, the ODBC driver will be SQL Server data sources. Do not install the server, CIMPLICITY 5.0 redistributes ODBC using Microsoft data access components version 2.
You do not need to purchase or configure additional software to use these drivers. Tip: Install the database server because, as a SQL server, it provides better scalability when you want to go to a more robust SQL server to support Enterprise type solutions. For improved performance and network extensibility, you may wish to log to a thirdparty database product such as Microsoft SQL Server or Oracle.
GFK-1180K
27-1
Using ODBC Drivers and Data Sources for Database Logging Overview
An overview of ODBC configuration options for database logging includes: ODBC drivers. CIMPLICITY default ODBC data sources. Custom ODBC data sources. ODBC configuration and moving projects.
Microsoft SQL Server or CIMSQL or Default Database Server (MSDE) Microsoft ODBC for Oracle or Merant 360 32 Bit Oracle 8
A high-performance database for large applications. You must purchase Oracle and Merant DataDirect ODBC Driver for Oracle to use this driver. Oracle is currently supported for Intel-based computers running Windows NT.
27-2
GFK-1180K
If you: Installed the database server when you installed HMI, this data source will use the Microsoft SQL Server driver and log onto the local SQL server. Did not install the database server, the data source uses the Microsoft Access driver to log to POINTLOG.MDB in your distribution ARC directory.
The data source uses the Microsoft SQL Server driver to log to an on-node (local) SQL Server.
Note: If you want to trend Logged or Logged Point data that is stored in a remote database, you must add a custom data source to each Viewer.
GFK-1180K
27-3
3. 4. 5.
Click the ODBC Sources icon Select the System DSN tab. Select either: CIMPLICITY Logging - Alarms or CIMPLICITY Logging - Points.
6. 7.
Click Configure. A first Microsoft SQL Server DSN Configuration wizard displays. Configure the first Microsoft SQL Server DSN Configuration wizard as follows: A. Select the Server as follows: For The local machine A remote machine Select (local) The computer name from the drop down list.
Select: (local) for the local machine Computer name for a remote machine.
B. Click Next. A second Microsoft SQL Server DSN Configuration wizard opens.
27-4
GFK-1180K
8.
Configure the second Microsoft SQL Server DSN Configuration wizard as follows: A. Check With SQL Server authentication using a login ID and password. B. Check Connect to SQL Server to obtain default settings for the additional C. Enter sa in the Login ID field. (The field may display your user name when the dialog box appears.) D. Leave the Password field blank.
Enter sa.
Leave blank.
E. Click Next. 9. Finish configuration leaving the defaults on the remaining dialog boxes.
GFK-1180K
27-5
Specify a file name In the Select Database or New Database dialog,, and click OK. From the ODBC Microsoft Access Setup dialog, click Options.
10. Verify that Exclusive is not checked. 11. Configure separate data sources for CIMPLICITY Point Logging and Alarm Logging.
Note: Due to file locking issues in the Microsoft Access driver, you must never request Exclusive access to a database that is used by CIMPLICITY for logging. In addition, the Point Logging and Alarm Logging data sources must refer to different database files.
Configuring Oracle
When you install CIMPLICITY, you will be installing Microsoft data access components version 2.5. This version of Microsoft data access components comes complete with Microsoft ODBC for Oracle. There is no charge. Support for an Oracle database is provided via Microsoft ODBC for Oracle. This driver comes as part of the Microsoft MDAC, which gets installed when you install CIMPLICITY. CIMPLICITY support for Oracle also includes using the MERANT DataDirect Connect ODBC driver for Oracle. MERANT can be contacted at 1-800-443-1601.
27-6
GFK-1180K
Currently validated versions are: MERANT DataDirect Connect ODBC Driver for Oracle Version 3.7 Oracle Version 8.1.7
This support has been verified for Windows NT 4.0 and Windows 2000 on Intelcompatible processors. The Oracle client software must be installed in the same computer as CIMPLICITY HMI software. If using the MERANT DataDirect driver, the MERANT ODBC driver must be installed in the same computer as CIMPLICITY HMI software. You must have the Allow Service to Interact with Desktop option turned on for the CIMPLICITY service; otherwise, logging to Oracle will not work. Guidelines about Oracle configuration and CIMPLICITY HMI include: 1. 2. 3. 4. 5. ODBC versions are neither forward nor backward compatible. Database aliases configured on the client node must also be configured on the server node. The Oracle servers IP address must be in the CIMPLICITY computers HOST file if DNS or Wins resolution is not being used. In the ODBC data source for Oracle, enter the database alias name in the Server Name field. All three of the Oracle services must be started on the Oracle server node.
2. 3.
Double-click CIMPLICITY HMI Service in the list of services, or Click Startup.... The (CIMPLICITY HMI) Service dialog box opens.
3. 4. 5. 6.
Select System Account in the Log On As box. Check Allow Service to Interact with Desktop. Click OK. The (CIMPLICITY HMI) Services dialog box closes. Click Close. The Services dialog box closes.
GFK-1180K
27-7
10. Select your newly created ODBC data source as the ODBC data source. Result: The new ODBC data source is now installed for CIMPLICITY data collection.
27-8
GFK-1180K
you can do the following to increase the number of locks: 1. 2. 3. 4. 5. 6. 7. Open the SQL Enterprise Manager in the Microsoft SQL Manager program group. From the Server menu, select SQL Server, then Configure. The Server Configuration/Options dialog opens. In the Server Configuration/Options dialog, select the Configuration page. Find locks in the list. Increase the number of locks. Select OK. Exit the SQL Enterprise Manager.
The change takes place the next time the SQL Server is restarted.
GFK-1180K
27-9
When forwarding data (in store and forward), forward is a separate connection to the database. 3. 4. Alarm Logging forward connection. Point Logging forward connection.
27-10
GFK-1180K
If the table is enabled for bulk insertion, bulk insertion requires a dedicated connection to the database in order to work. As a result, maintenance actions for bulk insert tables will need to allocate a separate connection. Once the action is completed, it will free the connection. 5. 6. Bulk insertion maintenance action. Bulk insertion forward connection.
If there are too many tables enabled for bulk insertion there, resulting in too many connections at once, there will be a performance degrade. If your system configuration regularly exceeds 5 connection, it is recommended that you upgrade to CIMPLICITY SQL, which is a more robust server.
The change takes place the next time the SQL Server is restarted.
GFK-1180K
27-11
This command will dump the Transaction Log without saving the log. If you want to save the log to a file, see your SQL Server documentation on how to do this. 1. 2. Select the Maintenance Events page. Configure the event that will trigger the action.
This change takes place the next time you update the project's configuration and then restart the project. It is recommended truncating the log as a system default. To set truncate the log as a system default: 1. 2. 3. 4. 5. 6. Open the SQL Enterprise Manager. Select the database you are logging to. Right-click on the database. Select Properties from the popup menu. Select the Options tab. Make sure that Truncate Log On Checkpoint is checked.
27-12
GFK-1180K
Table Characteristics
The Database Logger tables have the following characteristics: Column definitions. Key definitions.
Column Definitions
The following columns are defined for each type of log file: Data logging tables contain a timestamp and Point ID column, plus an additional column for each table and point attribute you have selected. The number of columns is independent of the number of points in the table. For example, if you have a table that logs the point value and previous value for all points configured for data logging, the table will have four columns. Alarm, Event, and Application logging tables have columns that are specific to that table, plus an additional column for each table attribute you have selected. All table rows include a timestamp column and an autoincrement sequence number that ensures that each row is unique. Group logging tables contain a timestamp column, plus an additional column for each table and point attribute you have selected. For example, if you have a table logging the value and alarm state of five points, the table will have eleven columns.
Note: Points with Engineering Units conversion are stored in floating point format
GFK-1180K
27-13
Key Definitions
The following keys are defined for each type of log file: Group logging tables have a unique primary key index on the timestamp column. If you have selected the project name table attribute, the primary key index also includes the project name column. Data logging tables have a primary key index on the joined timestamp and Point ID columns, and a secondary index on the timestamp alone. If you have selected the project name table attribute, the primary key index also includes the project name column. Alarm, Event, and Application logging tables have a primary key index on the joined timestamp and sequence number columns, and a secondary index on the timestamp alone. If you have selected the project name table attribute, the primary key index also includes the project name column.
Important: Since the Microsoft Access format and Oracle do not support sub-second timestamp data, you cannot log points to a Data or Group table at sub-second rates. Attempting to do so will cause the duplicate-keyed records to be dropped from the database.
27-14
GFK-1180K
Database-Disconnect-Recovery
If the Database Logger loses its connection to a database, it generates a DB_CONN_DOWN alarm. When it successfully reconnects to the database, the alarm is cleared. You can control the amount of: Time to wait between connection requests and Data to be saved locally then forwarded to the database when the reconnection is made.
Note: The DB_CONN_DOWN alarm is not stacked by default, but you can change it in Alarm Configuration.
GFK-1180K
27-15
Note: Stored data and new logged data are sent in parallel to the database, and all Maintenance actions are ignored while data is being stored. After a file is forwarded to the database, the Database Logger sends the following message to the Status Log: Forward: <file_name> succ: <no_suc> fail <no_fail> If there are failures, the following message will also be logged: Forward: See log <filename> for errors. If the Database Logger cannot process a SQL statement in a storage file, it generates a log file with the same name as the storage file and the extension .LOG. The log file contains the statement forwarded to the database and the error message returned by the database. If the Database Logger encounters no problems when forwarding data, no .LOG file is generated.
Note: If you have Store and Forward enabled and storage files exist when you shut down the Database Logger and you then disable Store and Forward, the Database Logger will not forward records from the storage files when it restarts. You can open a storage file and examine its contents in, for example, Notepad.
Important: Store and Forward is supported only for local Microsoft Access databases, not remote Access databases.
27-16
GFK-1180K
Where <prcnam> is process name Example For point logging (group and data logs), the process name is MAC_PTDL. For alarm logging, the process name is MAC_DL <dbms_id> is the database's DBMS ID, <date> is the date and <time> is the time the file was created. Example MAC_PTDL_$PTLOG_20000913_174548.SQL
GFK-1180K
27-17
If the Database Logger is shut down, and there are still records in the storage files, when the Database logger restarts, these records are not counted against the maximum. Under these conditions, you can have more than the maximum number of records stored to disk.
Note: You specify the maximum number of stored records on the Connection tabs in the Database Logger Logging Properties dialog box.
Important: Please consider carefully when changing the maximum number of records per stored file. Setting too high a number will result in unmanageable files, while setting too low a number will cause excessive disk I/O. 1. 2. In your project's Configuration program group, select Command Prompt from the Tools menu. At the command prompt type:
cd master idtpop dbms_def notepad dbms_def.idt
27-18
GFK-1180K
|-* IDT file generated by IDTPOP utility v1.0 * RECORD: DBMS_DEF ODBC Database Definitions * 0 DBMS_ID Name of the database/service for logging * 1 driver ODBC name of DMBS driver * * * * * * * 2 connect_string 3 wait_period 4 wait_units 5 store_forward 6 store_path 7 recs_per_file 8 limited recs Connection string for ODBC driver reconnect wait period reconnect wait period units 0=off 1=on path of stored file max recs per stored file 0=unlimited store else max num of
* $LOGGING|Microsoft Access Driver <*.mdb>|DSN=CIMPLICITY Alarm Logging;UID=admin;DBQ=BSM_ROOT:\arc\CIMPLOG.MDB|1|0|0||100|0.000000 $LOGGING|Microsoft Access Driver <*.mdb>|DSN=CIMPLICITY Point Logging;UID=admin;DBQ=BSM_ROOT:\arc\POINTLOG.MDB|1|0|0||100|0.000000
Note that the Alarm Logging and Point Logging databases have separate records. 3. To define a new path for the stored records for a database, enter the pathname in the store_path field for the database. You can set a different path for each database. To define a new maximum number of records per stored file for a database, enter the new maximum in the recs_per_file field for the database. You can set a different maximum for each database. Exit Notepad and save the updated file. Enter the following commands to regenerate the data file and close the command window: scpop dbsm_def exit In order for this change to take effect, you must shut down your project, perform a Configuration Update, and then restart the project.
4.
5. 6.
GFK-1180K
27-19
Client Configuration
Method 1 Double-click the Client icon in the Workbench. Method 2 1. 2. 1. 2. 1. 2. Right click the Client icon. Select New from the Popup menu. Click File on the Workbench menu bar. Select New. Select the Client icon. Press Ctrl+N on the keyboard.
Method 3
Method 4
Result: The New Client dialog box opens when you use any of these methods.
GFK-1180K
28-1
Continue 1. Enter the name of the computer for the new client.
2.
Select OK.
28-2
GFK-1180K
4. Open a Node Id's Client Properties dialog box using any of the following methods. Method 1 a. Double click a selected Node Id. Method 2 a. Right click a Node ID. b. a. b. Select Properties from the popup menu. Select a Node ID. Press Alt+Enter on the keyboard. Method 3
Result: The Client Properties dialog box opens when you use any method.
GFK-1180K
Client Configuration
28-3
Step 2: Specify automatic access capability based on User Identification. Choose one of the following four combinations of Default User Id field entries and Trusted check box selection to control client access based on user identification. Option In the Default User ID field 1. Trusted Check Box Client Access Users from the Client computer with the default User ID are automatically logged in. Users whose Windows Logon Username match any CIMPLICITY User ID in the project are automatically logged in. All other users have to enter a User ID and Password (if required) in the CIMPLICITY Login dialog box. Users whose Windows Logon Username match the specified CIMPLICITY User ID in the project are automatically logged in with that User ID. All other users have to enter a User ID and Password (if required) in the CIMPLICITY Login dialog box. All users from the Client computer have to manually log into CIMPLICITY HMI. Enter a User ID from the list of Leave it unchecked users available for the project.
2.
Leave it blank.
Check it
3.
Enter a User ID from the list of Check it users available for the project.
4.
Leave it blank.
Leave it unchecked
Tip: Click the Browser button to the right of the input field to open the Select A User Browser and use it to select the User ID. You can also click the Popup button that provides you with the options to create a new user or browse for an existing user.
28-4
GFK-1180K
Step 3: (Optional) Enter a unique client Authorization Code: 1. Run the CIMPLICITY HMI Genauthcode application on the client to find its unique Authorization Code. a. b. Open a DOS window on the client PC. Type genauthcode at the prompt.
Type genauthcode.
c. 2.
Result: Only the PC with the entered Authorization Code will automatically be logged in with the User ID and/or Trusted specifications.
Note: Genauthcode requires administrative privileges on Windows NT. Step 4: Close the Client Properties dialog box: Either: Click OK to close the Client Properties dialog box and create the new client properties, Or click Cancel to close the dialog box without creating the new client properties.
GFK-1180K
Client Configuration
28-5
Using CimView
About CimView
CimView is a runtime, interactive graphical user interface through which you can monitor and control your facility. CimView displays screens that were created in CimEdit for specific applications. As a result, the appearance, purpose and interactive capability of the CimView screen being viewed is the result of a system administrator, applications engineer and/or screen designer's planning and configuration. (This chapter references these individuals as system administrators.) The system administrator also has control over whether or not an operator can access several of CimView's available functions. Therefore, the features that are described in this chapter may not be available on your CimView screens. Example CimView has a feature that, when functioning, enables a user to find and open a selected screen. An applications engineer may design a CimView screen that runs when a viewer boots up. The CimView screen contains buttons that enable an operator to open pre-determined screens. However, the system administrator disables the CimView File>Open capability. As a result an operator cannot open any other screens. This chapter describes CimView features that enable you to: Perform typical Windows application tasks, including:
Open CimView (next section). Open other CimView screens through an open CimView screen (See page 29-4). Flush cached screens (See page 29-5), Distribute copies of the screen or screen file (See page 29-5). Select whether or not to display the toolbar, menu and/or status bar (See page 29-7). Go back to the previous screen or an Overview (home) screen, if there is one (See page 29-8). Change the size of (zoom) the CimView screen and window that you are viewing (See page 29-9).
GFK-1180K
29-1
Point Control Panel (See page 29-11) and Quick Trends (See page 29-12).
This chapter also explains how to: Perform basic procedures for using objects with setpoint actions. See page 2913. Find help for a selected object. See page 29-16.
To find information about configuration for CimView, see the CIMPLICITY CimEdit Operation Manual, GFK-1396.
CimView Opened
Because CimViewer is a runtime application, you can open it on either a: Configuration or Runtime
server or viewer.
Select the screen you want to run in CimView in the right pane.
29-2
GFK-1180K
If the CIMPLICITY project is not running, a Select CIMPLICITY Project dialog box opens. CimView will display the runtime version of the selected screen after you start the project for which the screen is configured.
Popup.
Note: You can also open CimView through the Windows Start menu. 1. 2. 3. Click Start on the Windows task bar. Select Programs>CIMPLICITY>HMI>CimView. Select the .cim screen from the Open dialog box.
GFK-1180K
Using CimView
29-3
Note: The features and behavior described are the default settings. You system may vary due to customized configuration.
B. Click File>Open Window on the CimView menu bar. Select a screen from the Open dialog box. Click File on the CimView menu bar. Select a screen from the list or recently opened screens. Method 2
Result: The selected screen opens in a new window. The current CimView screen remains open.
29-4
GFK-1180K
Note: The CimView screen may also have objects designed to open other screens. Whether the screen overlays the current screen or appears in a separate window depends on the configuration that was done in CimEdit.
Method 3.: Use the keyboard Press Ctrl+P on the keyboard. Result: The printed copy reflects the CimView display as it appeared when the print command was given.
Note: Select Print Setup on the File menu to configure the printer.
GFK-1180K
Using CimView
29-5
3.
Enter the email address and message to the recipient as you would when sending any other email.
Result: A copy of the file that displays is sent to the recipient. The file may be a CimView.cim or CimView.cimrt (runtime only) file. Tip: You can email a captured picture of the current screen contents by using the Windows Print Screen tools. 1. 2. 3. Press Alt+Print Screen on the keyboard while the CimView screen is the active window. Display the email message in which you want to paste the picture of the screen. Press Ctrl+V (or use one of the other paste methods for your email application).
Result: A copy of the display at the time you pressed Alt+Print Screen appears on the email message ready to be sent.
29-6
GFK-1180K
Check for color. Uncheck for gray. Check to display tool tips.
Status Bar 1. 2. Click View on the CimView menu bar. Check Status bar.
Menu/Title Bar Method 1 1. 2. 1. 2. Click View on the CimView menu bar. Check Menu/Title Bar. Right-click the CimView screen. Check Menu/Title Bar on the popup menu.
Method 2
GFK-1180K
Using CimView
29-7
Result: All of the features that you checked display in CimView. The features you unchecked do not display.
CimView With toolbar, menu and status bar. Without toolbar, menu and status bar.
Tip: You can position the toolbar anywhere you want on the CimView screen. 1. 2. 3. Click and hold down the right mouse button. Grab the toolbar along the edge. Drag it to another location.
Note: The Status bar provides information about objects and values. The Title bar displays the screen file name.
29-8
GFK-1180K
Note: These methods are for display in CimView. To change the display of the CimView screen, enter the screen dimensions on the Geometry tab of the Properties dialog box.
Note: Press ESC on the keyboard to return to the CimView window environment. Method 2. Use the zoom percents on the CimView View menu 1. 2. Click View on the CimView menu bar. Either: A. Select Full Screen to use the entire monitor screen for display, or B. Select the percent you want the display to zoom from one of the percent choices.
View Menu
GFK-1180K
Using CimView
29-9
Percent screen zoom Screen expands or contracts to fit workspace Enter an exact percent zoom
3.
Either: A. Select one of the zoom choices. B. Enter a precise zoom percent in the Percent field.
To fit the CimView window to a zoomed display, choose: Select Size Window to Zoom on the View menu Result: The CimView window will expand or contract to fit the workspace display size. If you change the CimView window size, e.g. make the entire window smaller or larger, you can increase or decrease the size of the CimView screen (in proportion) to display a "best fit" in the window. To make the CimView screen the best fit for the window size: Click the Zoom to fit button on the toolbar
Check the Zoom to fit window on the Zoom dialog box. Click View>Zoom to best fit on the CimEdit menu bar.
Result: The CimView screen will expand or contract in proportion to display the best fit in the window.
29-10
GFK-1180K
Result: The Point Control Panel opens displaying the points that are configured for the CimView screen or the selected object. See the "Using the Point Control Panel" chapter in this manual for details about the Point Control Panel.
Point Control Panel Opened through CimView The points that display depend on what was selected on the CimView screen.
Screen selected.
Object selected.
GFK-1180K
Using CimView
29-11
Note: If there are no points associated with the selected object, a message informs you. The Point Control Panel does not open.
Result: A trend chart opens. A trend for the points that are configured for the current CimView screen begins immediately. See the "Creating a Quick Trend" chapter in the Trend and XY Chart Operation Manual, GFK-1260 for details about configuring Quick Trend charts.
Quick Trends Opened through CimView The point trends that display depend on what was selected on the CimView screen.
Object selected.
Screen selected.
29-12
GFK-1180K
Note: If there are no points associated with the selected object, a message informs you. The Quick Trend chart does not open.
Setpoint Actions
Your CimView screen may provide you with the capability to set point values. If it does following are some guidelines for using the method that is provided on the screen. Methods include: Execute slider setpoints. Enter a value for the setpoint.
The method you use to execute a Slider setpoint depends on whether you selected the object with the: Mouse or Keyboard.
Note: When you use a Slider setpoint, you may be setting different points in the horizontal and vertical directions.
GFK-1180K
Using CimView
29-13
Note: If the object is also configured with action when the mouse is clicked down or up, the actions execute as configured.
To perform a slider setpoint with the keyboard: 1. Press Enter on the keyboard to activate the arrow keys for the Slider setpoint action, Note: Once the arrow keys are activated for the Slider setpoint action, you will no longer be able to move the object with the mouse or use the left mouse button to select other objects. 2. 3. 4. (Move the object by one pixel.) Press an arrow key. The direction of the key defines the direction of the movement. (Move the object by 10 pixels.) Hold down the Ctrl key, then press an arrow key. Press Enter to accept the slider action, and perform the setpoint.
Result: The new value for the point displays in the Status Bar.
29-14
GFK-1180K
To cancel the Slider setpoint action: Press Esc on the keyboard. Result: The original value for the point display in the Status Bar.
1 CimView
just opened.
2 Setpoint
being changed.
3 Setpoint
changed.
To enter a value for a setpoint: 1. 2. Select the object. Do one of the following to activate the object for editing: 3. Press Enter on the keyboard or Click the object with the left mouse button.
Enter the new value for the setpoint. You can use Ctrl+Z to undo a single level of editing. Press Enter or Tab to perform the setpoint. Note: If you press Tab, the next action object is automatically highlighted.
3.
Result: The new value for the point displays in the Setpoint object. To cancel entering a new setpoint value: Method 1. Use the mouse 1. 2. Move the cursor away from the object. Click the left mouse button.
GFK-1180K
Using CimView
29-15
Result: If the system administrator has created help for that object, it will display. Tip: Selecting Help on the CimView toolbar or pressing F1 displays the CimView help file. You can also use the Help button to view Help for toolbar buttons, menu items and other CimView features.
29-16
GFK-1180K
GFK-1180K
30-1
30-2
GFK-1180K
A. Select the project to start. B. Click Start. Result: An empty Point Control Panel opens connected to the selected project in any situation. When you add points, the default selection will be from the connected project.
GFK-1180K
30-3
Method 2 Double-click the New button Method 3 Press Ctrl+N on the keyboard. Result: A new empty Point Control Panel appears when you use any method. on the Point Control Panel toolbar.
30-4
GFK-1180K
Result: The file displays in the Point Control Panel with the configuration you saved. Example: Saved Point Control Panel File
GFK-1180K
30-5
2.
Result: The file displays in the Point Control Panel with the configuration you saved.
30-6
GFK-1180K
Method 2 Double-click the Save button Method 3 Press Ctrl+S on the keyboard. If the file has been saved previously the saved version is updated. If the file is being saved for the first time, the Save As dialog box opens. 2. 3. Enter a name for the file in the folder where you keep Point Control Panel files for the project. Click Save. on the Point Control Panel toolbar.
Result: A new Point Control Panel file is saved for future use.
Note: By default, Point Control Panel documents are placed in the main CIMPLICITY HMI directory, but you can select another directory.
GFK-1180K
30-7
Result: A copy of the existing Point Control Panel file is saved for future use.
3. 4.
Select the folder in which the shortcut should appear, e.g., Desktop. Click OK
If you open the shortcut when the project is not running a Select CIMPLICITY Project dialog box opens to let you easily start the project.
30-8
GFK-1180K
GFK-1180K
30-9
Procedure to Customize the Print Setup for the Point Control Panel
The Point Control Panel provides you with the ability to assign a printer other than the Windows default printer or to change the printer specifications. To customize the print setup for the Point Control Panel: Method 1 1. 2. Click File on the Point control Panel menu bar. Select Print Setup. Press Alt+F+R on the keyboard. The Print Setup dialog box opens when you use either method.
Method 2
Note: You can also change the printer specifications before you print the document.
Method 2
30-10
GFK-1180K
Method 3 Press Crtl+P on the keyboard. Result: The Print dialog box opens when you use any method. You can continue with printing in the same manner as you do with any Windows document.
If you made unsaved changes, a Point Control Panel message box appears asking you if you want to save them. 2. Click either: A. Yes to save the changes, or B. No to discard the changes, or C. Cancel to return to the Point Control Panel. Result: The Point Control Panel will close or re-appear based on your selection.
GFK-1180K
30-11
Note: An Invalid Point icon will appear to the left of the Point ID if the point is not valid. This can happen, for example, if you add a point to a Point Control Panel file, save the file, close it, then delete the point from the project when you are working in the Workbench. The next time you open the Point Control Panel file an Invalid Point icon will appear next to that Point ID.
30-12
GFK-1180K
Method 4 A. Right-click a point that displays in the Point Control Panel. B. Select Add Points from the popup menu. The Select a Point Browser displays when you use any method. If more than one project is running, the Point IDs that initially display in the browser are from the project that was selected for connection when the Point Control Panel was open. 2. 3. Select the Point IDs you want to display in any running project. Click OK.
Result: The points appear in the Point Control Panel displaying their runtime values, units and timestamp. If a point is in an alarm condition, its text displays in the color associated with the alarm level.
GFK-1180K
30-13
into the Point Control Panel. To add points to the Point Control Panel directly from the Workbench: 1. 2. 3. Position a Point Control Panel window near the Workbench. Click Points in the left pane of the Workbench. Select the points you want in the right pane of the Workbench.
4.
Either: Method 1 Drag the selected points into the Point Control Panel. Method 2 A. Click Edit on the Workbench menu bar. B. Select Copy. C. Click Edit on the Point Control Panel menu bar. D. Select Paste. Method 3 A. Select the Workbench. B. Press Ctrl+C while the Workbench is active. C. Select the Point Control Panel.
30-14
GFK-1180K
D. Press Ctrl+V. Result: The points display their runtime values, units and timestamp in the Point Control Panel. If a point is in an alarm condition, its text displays in the color associated with the alarm level.
Example: Points in the Point Control Panel Dragged from the Workbench
Points can be pasted (when copied in the Workbench) or dragged into the Point Control Panel.
Tip: You can drag the points from the Point Control Panel to a CimEdit Screen. They become text objects in CimEdit.
GFK-1180K
30-15
3. 4.
Open the Point Control Panel file into which the Point IDs will be copied. Do one of the following. Method 1 A. Click Edit on the Point Control Panel menu bar. B. Select Paste. Method 2 Press Ctrl+V on the keyboard. Result: The Point IDs appear in the second Point Control Panel.
30-16
GFK-1180K
To change the foreground and/or background color for a state: 1. Click Font on the Point Control Panel's menu bar. 2. 3. 4. 5. Select Colors. The Font Color dialog box opens. Select the Foreground (Text) and/or Background color from the drop down field menus for any of the four states. Either: A. Click OK to save your changes, or B. Click Cancel to discard the changes. Result: The Point Control Panel reappears reflecting your changes.
Example: Change the State Colors in the Point Control Panel
GFK-1180K
30-17
2.
Note: If you do not save the Point Control Panel file after you delete the points, they will reappear the next time you open the file.
30-18
GFK-1180K
By Enabling Manual Mode, a user can separate the point from that equipment and set the point to a known good value that preserves the system's integrity. When the required corrections are made, the user can then bring the point back online by disabling manual mode.
Note: A user needs to have a role in which Modify Attributes is checked in the Roles dialog box in order to work with manual mode points. Example A temperature sensor that reports temperatures, which are acted upon by CIMPLICITY HMI applications to initiate temperature control actions, fails. To continue the high temperature setting, a user with Modify Manual Mode privilege places the point that reflects the errant sensor in manual override mode. The user then sets a value that causes the application to cease the unnecessary temperature control procedures. This allows users who are knowledgeable of their CIMPLICITY HMI application implementation to make emergency, temporary adjustments to their systems operation. Consequently, the application does not have to anticipate and provide for handling of all possible failures in its implementation. When temperature sensor is fixed, the user disables manual mode. Point data collection resumes.
GFK-1180K
30-19
2.
Select the project in which the Point Control Panel should find manual mode points. If you have access to that project, the Point Control Panel looks for manual mode points and provides a message stating how many it found.
2.
Click OK.
Result: the Point Control Panel displays all of the manual mode points that are in the selected project. A Manual Mode icon appears to the left of each of the Point IDs.
See "Enabling and Disabling Manual Mode: in this chapter for more information about Manual Mode points in the Point Control Panel.
30-20
GFK-1180K
An icon appears to the left of the Point ID, indicating that the point is in manual mode. 3. 4. Double click the Point ID. The Point Properties dialog box appears. Enter a new value for the point in the Set Value field. Result: The point will continue to function in the CIMPLICITY HMI using the set value.
Method 2 Click the Disable Manual Mode button on the Point Control Panel toolbar.
Result: Data collection from the PLC resumes for the point. The icon to the left of the Point ID disappears.
GFK-1180K
30-21
Using the Detail Tab in the (PCP) Point Properties Dialog Box
The Point Control Panel's (PCP) Point Properties dialog box provides you with summary information about a selected Point ID and enables you to change runtime point alarm values. During runtime, you can quickly: Review summary details about a point. Change a point's value.
You do this on the Detail tab of the (PCP) Point Properties dialog box.
Note: A user needs to have a role in which Setpoint is checked in the Roles dialog box in order to set points. To use the Detail tab of the (PCP) Point Properties dialog box: 1. 2. Select the Point ID. Do one of the following: Method 1 A. Right-click the mouse. B. Select Properties from the popup menu. Method 2 Click the Point Properties button toolbar. on the Point Control Panel
30-22
GFK-1180K
Method 3 Press Alt+Enter on the keyboard. Method 4 Double-click anywhere the Point ID's line. The Detail tab of the point's (PCP) Point Properties dialog box displays when you use any method.
Read-only details about the point provide you with a quick overview of the point's properties. The property specifications were entered in the point's full Point Properties dialog box. 3. Change the value of the point in the Set value field, if you need to. Either the point's value will be changed or a message will display informing you that it can't be changed and why.
Method 2
GFK-1180K
30-23
2.
Method 3 Click the Edit Point button on the Point Control Panel toolbar.
30-24
GFK-1180K
Adding Points with Disabled or Modified Alarms to the Point Control Panel
If you have points in your project that have alarms that are disabled or modified, you can easily have the Point control Panel find them and display them. You can then review their properties, set the alarm value or enable the alarm. To add points with disabled or modified alarms to the Point Control Panel: 1. 2. Click Edit on the Point Control Panel menu bar. Select Add Modified Alarms An Add Disabled/Modified Alarms dialog box appears.
3. 4. 5.
Check Disabled Alarms to add points with disabled alarms. Check Modified Alarm to add points with modified alarms. Select the project in which the Point Control Panel should find the disabled or modified alarms. If you have access to that project, the Point Control Panel looks for points with disabled or modified alarms and provides a message stating how many it found.
6.
Click OK.
Result: the Point Control Panel displays all of points with modified and/or disabled alarms that are in the selected project. appears to the left of each Point ID that has a An Alarm Limit Changed icon modified alarm. A Disabled Alarm icon appears to the left of each Point ID that has a disabled alarm.
GFK-1180K
30-25
Changing and Restoring Alarm Limits through the Point Control Panel
If an alarm has been configured for a point that is selected in the Point Control Panel, an Alarm tab will be included in the point's (PCP) Point Properties dialog box. This tab enables you to change the alarm limits during runtime.
Note: Points with On Update alarms do not have an Alarm tab in the (PCP) Point Properties dialog box. To use the Alarm tab in the (PCP) Point Properties dialog box: 1. Open a point's (PCP) Point Properties dialog box. See the section, "Detail Tab Summary of Point Properties," in this chapter for the methods to open the (PCP) Point Properties dialog box. 2. Select the Alarm tab. The contents of the Alarm tab depend on whether you are viewing an Analog or Boolean point type. Point Type Analog Boolean Tab Displays Whether alarming is enabled for the point, and The configured and current alarm and warning limits. Whether alarming is enabled for this point, and The configured alarm state.
(PCP) Point Properties Dialog Box: Alarm Tab
30-26
GFK-1180K
3.
Use the fields as follows: Field Alarm Enabled Use to: Enable (checked) or disable (unchecked) alarming for the point. If you: Enable alarming for a point that is already in an Alarm statethe alarm is generated. Disable an alarm when the point is in an Alarm statethe state is reset to Normal.
Note: If you disable alarming, a Disabled Alarm icon displays next to the point in the Point Control Panel window. Current (In the Alarm Limits box for Analog points) Change alarm limits. Note: If you change alarm limits, an Alarm Limit Changed icon displays next to the point in the Point Control Panel window. Alarm on Value of 1 Alarm on Value of 0 (In Current box for Boolean points) Change the alarm value to either 1 or 0. Note: If you change value for the alarm, an Alarm Limit Changed icon displays next to the point in the Point Control Panel window. 4. 5. Click Restore Alarm Limits if you want to restore the limits to their original values. Either: Click Apply to apply the changes and keep the (PCP) Point Properties dialog box open, or Click OK to save the changes and return to the Point Control Panel window, or Click Cancel to discard the changes and return to the Point Control Panel window.
Result: The Point Control Panel updates to reflect your changes. Tip: You can also restore a selected point's alarm limits by clicking the Restore Alarm Limits button on the Point Control Panel toolbar.
Note: If the point has no alarming or has On update alarming, the Alarm tab does not appear in the dialog box.
GFK-1180K
30-27
Method 2
Method 4 Click the Disable Alarm button on the Point Control Panel toolbar. appears next
Result: The point's alarms are disabled and a Disabled Alarm icon to the Point ID.
30-28
GFK-1180K
Method 2
Method 4 Click the Enable Alarm button on the Point Control Panel toolbar. next to the
Result: The point's alarms are enabled. The Disabled Alarm icon Point ID disappears.
GFK-1180K
30-29
5.
Either: Click Apply to apply the changes and keep the (PCP) Point Properties dialog box open, or Click OK to save the changes and return to the Point Control Panel window, or Click Cancel to discard the changes and return to the Point Control Panel window.
Note: You can open the array's detailed Point Properties dialog box to make other modifications. See the section "Opening a Point's Detailed Point Properties Dialog Box" in this chapter.
30-30
GFK-1180K
Measurement Units conversion complements CIMPLICITY HMI's other conversion feature, Engineering Unit (EU) conversion. Each serves a particular need. Both offer a wide range of conversion options. EU conversion provides an exact way to specify a conversion for an individual point. (The EU conversion feature is in the Conversion tab of the Point Properties dialog box.) Measurement Units provides an efficient way to specify a conversion for a specific unit of measurement. For example, a PLC is hooked up to five different thermometers, each of which uniquely expresses temperature in counts. The system engineer configures each thermometer as a point and uses the EU conversion to create each point's unique conversion equation. Each equation converts the counts to Fahrenheit. If the same PLC configuration needs to be used in a country that measures temperature in Centigrade, every Fahrenheit measurement must be converted. In this situation, the system engineer uses the Measurement Units feature. The engineer specifies only one configuration in one window, the Measurement Units window, to convert all five points from Fahrenheit to Centigrade. In addition, this one configuration will convert any other points in the project to which Fahrenheit is assigned.
GFK-1180K
31-1
To setup for a project wide conversion, you need to: Configure measurement systems and units. Specify an active measurement system for the project to use at run-time. Follow a few guidelines.
When the setup is completed and the configuration is updated, the project data automatically displays the correct units and labels for the specified measurement system.
31-2
GFK-1180K
The main window contains two panes. The left pane displays the current list of base measurement units. The right pane displays unit equivalent details for the particular measurement system you are working with. You will see a tab in this pane for each measurement system configured for this project. Create, modify and delete base measurement units. Create, modify and delete measurement systems. Select the active measurement system for the project. Define equivalence between units.
GFK-1180K
31-3
2. 3.
Enter the name of your measurement system in the System ID field. Click OK. Result: The Measurement System Properties dialog box opens.
To make the measurement system the active system when the project starts: 1. 2. 3. 4. Enter an optional description in the Description field. Enter an optional display label in the Display label field. Check the Use at runtime check box if you want this measurement system to be the active system when the project starts. Click Enter.
The tab for the new measurement system is added in the right pane. If Unit IDs exist in the left pane, you will see default values in the Equivalent Unit ID, Forward Equation, Reverse Equation, Justification and Type fields.
31-4
GFK-1180K
4. 5.
Enter the name of the new measurement system in the Destination field. Click OK.
Result: A new measurement system tab will be created with the name you specified. If there are existing Unit IDs in the left pane, you will see default values in the Equivalent Unit ID, Forward Equation, Reverse Equation, Justification and Type fields for the new measurement system.
4. 5.
Enter the new name of the measurement system in the Destination field. Click OK
Result: The measurement system tab will change to the name you specify.
GFK-1180K
31-5
2.
Enter the name of your base unit in the Unit ID field and click OK.
To enter the display label for the measurement unit: 1. 2. Enter an optional description in the Description field. Enter an optional display label in the Display label field. This display label is automatically selected when a user selects the Unit ID for a point in Point Configuration. Click Enter.
3.
Result: The new base Unit ID is added to the end of the list in the left pane. Equivalent entries are also made in each system you currently have in the right pane. If you currently have measurement systems defined in the right pane, default values for the new base unit are automatically entered in the Equivalent Unit ID, Forward Equation, Reverse Equation, Justification and Type fields for all the measurement systems.
31-6
GFK-1180K
You can now type in your changes. If you prefer, you can open the Measurement Units Properties dialog box and edit the description and display label for a base unit. Do one of the following: Select Unit Properties from the Edit menu. Press Ctrl+P on the keyboard. In the left pane, select the base unit, click the right mouse button and select Properties from the pop-up menu.
GFK-1180K
31-7
Note: When you use %P as the conversion equation in a measurement unit equivalence, the display format fields such as Width, Precision, Type and Justification will be used instead because a %P requires no conversion. You can edit any of the following fields in the right pane or in the dialog box:
Equivalent Unit ID
Enter the Unit ID you want to use when the measurement system is active. The Unit ID may or may not match any other Unit IDs in the configuration.
Forward Equation
Enter the equation to be used by Point Management to convert the base value to its equivalent in this measurement system. For example, if point XYZ's base value is in inches and you want to display it in centimeters, use the forward expression %P*2.54001. If the point's base value is the same as its converted value, just put %P in the field.
Reverse Equation
Enter the equation to be used by Point Management to convert the equivalent in this measurement system to its base value. For example, if point XYZ's base value is in inches and its equivalent value is in centimeters, use the reverse expression %P/2.54001. If the point's base value is the same as its converted value, just put %P in the field.
31-8
GFK-1180K
Justification
This field is used to align the display of point value. By default, the project uses the justification you specify when you configure a point. Select the justification you want to use when displaying the point's value on CimView screens when this measurement system is active, as long as the Configured option is selected for the CimView object display properties. You can select one of the following: Left Right Zero Left justifies the value display Right justifies the value display Zero fills the value display
Width
This field represents the number of spaces you want to dedicate to the display of the point value. By default, the project uses the display width you specify when you configure a point. If you want to use a different display width for all points that use this Unit ID, enter it in this field.
Precision
This field represents the number of digits to be displayed to the right of the decimal point. By default, the project uses the precision you specify when you configure a point. If you want to use a different precision for all points that use this Unit ID, enter it in this field.
Type
This field determines the format type used when the point value is displayed. By default, the project uses the display type you specify when you configure a point. If you want to use a different display for all points that use this Unit ID, enter it in this field. Use the drop-down list button to select one of the following: Fixed All points that use the Unit ID are displayed in fixed format using the Width and Precision information you specify. If you do not specify the Precision, the default is 6.
For example, if you specify a Width of 7 and Precision of 3, the point display uses 7 places and there are 3 places after the decimal point. In this case, 10 displays as 10.000.
Scientific
All points that use the Unit ID are displayed in scientific format using the Width and Precision information you specify. If you do not specify the precision, the default is 6. All points that use the Unit ID are displayed in Fixed or Scientific format based on Precision, which determines the exponent to start displaying in Scientific format.
For example, if you specify a Precision of 5, the value 100,000 displays as 1e+005 and 10,000 displays as 10000. The Compact type also truncates trailing zeros to the right of the decimal point. For example, 10.0 displays as 10 and 10.10 displays as 10.1.
Compact
GFK-1180K
31-9
4. 5. 6. 7.
Enter the name of the new measurement unit in the Destination field. Click OK. Result: The Measurement Unit Properties dialog box opens. Fill in the description label for the new measurement unit. Click OK.
A new measurement unit will be created with the name you specified. Equivalent measurement units are also created for each measurement system in the right pane.
4. 5.
Enter the new name of the measurement unit in the Destination field. Click OK
Result: The measurement unit name in the left pane will change to the name you specify.
31-10
GFK-1180K
3. 4.
To delete a measurement unit in the left pane: 1. 2. 3. Click the measurement unit in the left pane that you want to delete. Select Edit on the Measurement Unit menu bar. Select Delete Unit. A Measurement Unit Configuration dialog prompt appears if you chose to be prompted.
4.
Click Yes.
GFK-1180K
31-11
Specifying the Active Measurement System From the Measurement Units Configuration Window
To set the active measurement system in the Measurement Units Configuration window: 1. 2. 3. Double-click Measurement Units in the left pane of the Workbench. Result: The Measurement UnitConfiguration Window Opens. Select Edit on the Measurement UnitConfiguration Window menu bar. Select System>Properties. Result: The Measurement System Properties dialog box opens.
4.
Check the Use at runtime check box. When you select this check box for one measurement system, it is automatically cleared on all other measurement systems, and the Measurements tab on the Project Properties dialog box is updated to reflect your choice. If you clear the check box for all measurement systems, only the base conversions are used, and the active measurement system displayed in the Project Properties dialog box is <None>.
5.
Click OK.
Result: When the project starts, this will be the active measurement system.
31-12
GFK-1180K
Specifying the Active Measurement System From the Project Properties Dialog box
To set the active measurement system in the Project Options dialog box: 1. 2. 3. 4. 5. Select Project on the Workbench menu bar. Select Properties. The Project Properties dialog box opens. Select the Settings tab. Select Measurement Units. Click Settings. The Activate Measurement System dialog box opens. The active measurement system you specified in the Measurement Unit Configuration window displays. If you have not specified an active measurement system <None> displays.
4.
(Optional) Click the drop-down list button to the right of the Active Measurement System field and select a new active measurement system. When you select the measurement system, its Use at runtime check box in the Measurement Systems Properties dialog box is selected, and the check boxes for all other measurement systems are cleared. If you select <None>, only the base conversions are used
5.
Click OK.
GFK-1180K
31-13
31-14
GFK-1180K
When the point is displayed, the value is forward converted from the base measurement unit into the active measurement unit. If the point is: An integer, the forward conversion will use the rounded value in its calculations. The displayed value will reflect that rounding. A floating point will hold the floating value that was the result of the reverse conversion. The displayed value will equal the value at which you set the point.
In many cases, the rounding effect is totally acceptable. When it is not, use floating-point types.
GFK-1180K
31-15
Derived Points
By default, when a derived point expression uses a device point, it uses the raw (unconverted) value of the device point. When a derived point value is calculated: 1. 2. 3. Constants are assumed to be in the base units for the point. The base units for all points in the expression are used. The result is then converted to the current active measurement system units for the derived point.
In either case you are creating an inconsistent condition which may produce confusing results after conversion. Do Assign DEST a base measurement unit of inches in the Point Properties box Conversion tab. The expression, SOURCE+10.0, will be calculated as 1 inch +10 (inches) = 11 inches Because DEST has a base measurement unit of inches, it will be included in the Measurement Unit conversion and will display as 27.94 centimeters.
31-16
GFK-1180K
Objects configured for each of these capabilities will take expressions, including minimum and maximum values. However, when you need to do a conversion, it is important to take into account how CimView deals with an expression's minimum/maximum values and their related high/low values. When CimView processes an object's animation expression, it first looks for minimum and maximum values specified within the object properties. If it finds them, it uses them. Because these values are attached to the object, not a point with a measurement unit, CimView uses the values as entered independent of the measurement unit. Second, if the minimum and maximum fields in the object's Properties dialog box are blank and the animation expression is a single Point ID, CimView looks for Display low and Display high values configured in the View tab of the Point Configuration Properties box. If the Display low and Display high fields: Are blank, CimView defaults to a constant minimum of 0 and maximum of 100, independent of the measurement unit. Contain values, CimView uses those values. Because they are correctly associated with the point's measurement unit, the values will be converted to the active measurement unit at runtime. "Configuring Runtime Movement and Animation" in the CIMPLICITY HMI CimEdit manual GFK-1396. "Configuring Point View, Limits and Alarms" in the CIMPLICITY HMI Base System User's Manual GFK-1180
GFK-1180K
31-17
CimView Scripts
CimView uses Basic scripts, which can, among many other things, use the runtime value of a point. When you use point values within scripts, the values correspond to the active measurement system. Therefore, if you compare or manipulate values with other values that are constant, you will most likely run into trouble if you switch active measurement systems. This is because your constant numbers will stay the same, but the point values will most likely change due to unit equivalence.
31-18
GFK-1180K
GFK-1180K
31-19
System Utilities
GFK-1180K
32-1
A. Select a project.
32-2
GFK-1180K
B. Click either: Start or Start as Viewer. When a project is running: The Show Users window opens.
Using the Show Users window, you can: Select all projects or a particular project to display. Search for users. Access Help.
GFK-1180K
System Utilities
32-3
3.
Select the options as follows: If you check the On user login check box, a sound plays whenever a user logs in to any CIMPLICITY project that you are viewing. If you uncheck the check box, no sound plays when users log in to CIMPLICITY projects that you are viewing. If you check the On user logout check box, a sound plays whenever a user logs out of any CIMPLICITY project that you are viewing. If you uncheck the check box, no sound plays when users log out of CIMPLICITY projects that you are viewing.
4.
Either: Click OK to close the dialog box and save your changes, or Click Cancel to close the dialog box without implementing any changes.
The information in the sub-window updates as users log in and out of the project. The method for opening a Show Users project varies depending on whether or not a project was recently opened. Option 1. Open a project that was recently opened. Option 2. Open a project that was not recently opened.
32-4
GFK-1180K
Option 1. Open a project in the Show Users window that was recently opened: 1. 2. 3. Click Project on the Show Users window menu bar. Click the project you want from the recently opened list. A login dialog box displays. Log into the project. Result: A project sub-window displays in the Show Users window.
Option 2. Open a Project in the Show Users window that was not recently opened: 1. Do one of the following: Option 1 A. Click Project on the Show Users window menu bar. B. Select Open. Option 2 Press Ctrl+O on the keyboard.
GFK-1180K
System Utilities
32-5
Option 3 Click the Open button on the Show Users window toolbar. The Open dialog box opens displaying a list of currently running projects that are broadcasting.
2.
Do one of the following. Option 1 A. Select the project you want to open. B. Click Open. Option 2 Double-click the project you want to open. Option 3 A. Enter a project name in the Project field. B. Enter a node name in the Node field. C. Click Open. A Login dialog box opens.
3.
Result: A project sub-window displays in the Show Users window. The title bar for the sub-window displays the project name and node name of the computer on which the project is running.
Note: If a project is already open the newly opened project displays in a second subwindow.
32-6
GFK-1180K
The Search dialog box opens displaying the last search criteria that were entered.
2.
Fill in any single or combination of fields to search the list of users in a project. User ID, Role, Node, and/or Process.
Note: You can use the drop-down list buttons to the right of each field to display and select previous search filters. 3. Click Find. The first user that matches the criteria in the active sub-window's list is highlighted.
GFK-1180K
System Utilities
32-7
4.
Use the Search dialog box navigation buttons or quick keys to search for items that match the critera as follows. Button (key) Next (Ctrl+N) Previous (Ctrl+P) Moves the selection in the active sub-window to the: Next item that matches the search criteria.. Previous item that matches the search criteria.
32-8
GFK-1180K
The Project menu functions are: Open Recent Project Exit Opens a new project on the network. Displays the list of recently opened projects and lets you select one. Exits Show Users.
The View menu functions are: Toolbar Status Bar Options... Enables/disables the display of the Toolbar. Enables/disables the display of the Status bar. Selects options from the Options dialog box.
The Help menu functions are: Contents Search for Help On How to Use Help About ShowUser... Opens the Contents tab in the Show Users help dialog box. Opens the Index tab in the Show Users help dialog box. Opens the Index tab in the Show Users help dialog box. Displays the current version number for the Show Users utility.
GFK-1180K
System Utilities
32-9
The Search menu functions are: Search Next Previous Displays the Search dialog box. Displays the next line of user information that meets the search criteria. Displays the previous line of user information that meets the search criteria.
The Window menu functions are: Cascade Tile Horizontally Tile Vertically Arrange Icons Close All Open Projects Cascades the currently open project windows. Tiles the currently open project windows horizontally. Tiles the currently open project windows vertically. Arranges the icons for all minimized project windows. Closes all project windows. Displays the list of all opened projects in Show Users. To activate the display of a project in this list, just click on it.
32-10
GFK-1180K
GFK-1180K
System Utilities
32-11
These actions do not require that you exit from any applications that are currently running. For example, if you are a supervisor, you can override the login and privileges of an operator, log out, and return the system back to the operators logged in state. When you log out of a project, data collection and background processing continues. However, any open CIMPLICITY screens will no longer show point status. Review: Steps for using the Login Panel Login Panel menu and tools.
Tip: CimLogin and CimLogout Basic Control Engine API's are available for use in CimView, e.g. to have a logout button on the screen.
32-12
GFK-1180K
For each project that users on this computer are logged into the Login Panel displays the: Node ID for the project, Project ID, User name, Login status, and Type.
GFK-1180K
System Utilities
32-13
The dialog box displays the current project and your User ID. 3. 4. 5. Enter the current password in the Old password field. Asterisks display as you type. Enter the new password in the New Password field. Asterisks display as you type. Enter the new password again in the Confirm field. Asterisks display as you type.
32-14
GFK-1180K
6.
Click either: OK to accept the new password or Cancel to keep the old password.
Result: Either the password is changed to the new password you have entered or the change is cancelled.
2.
3.
Select the project you want to apply the login to in the Project field. Tip: Use the drop-down list button to display the list of available projects in your enterprise.
4.
GFK-1180K
System Utilities
32-15
5.
Enter the password in the Password field and confirm it in the Confirm field.
6.
Either: Click OK to activate the new saved login, or Click Cancel to exit this dialog box without saving the information you entered.
Result: The new entry appears in the Saved Logins list. After you activate the new saved login, whenever you open a screen in this project, you are automatically logged in to the project.
32-16
GFK-1180K
2.
Click Remove.
Result: The login information no longer dispalys in the list and is deleted from the Registry.
If you are currently displaying any screens that require this login, they are not affected. If you exit a screen that requires the login, then try to reopen it, the CIMPLICITY Login dialog box opens and you are asked for a username and password.
GFK-1180K
System Utilities
32-17
Result: CIMPLICITY software logs out the project. If you have runtime applications open, the: ser line remains in the Login Panel and Status changes to Logged Out.
All runtime applications that you are logged into will be no longer update data. For example, all CimView screens that have animation objects that use points from this project will disable the objects. If you are not logged into any runtime applications, the Login Panel removes the User line.
32-18
GFK-1180K
A CIMPLICITY Login dialog box opens. Enter your Username and Password for viewing screens for the project.
Result: CIMPLICITY HMI software logs you back into the project. The status changes to Logged in.
All runtime applications to which you have been logged in that are still open will resume updating data. All CimView screens connected to this project will now have their animation objects enabled.
Note: The screen itself may change if visibility animation has been enabled for objects and keyed to User ID and Role ID information.
GFK-1180K
System Utilities
32-19
The File menu functions are: Exit Exits the Login Panel.
The Edit menu functions are: Saved Logins Opens the Saved Logins dialog box.
The Project menu functions are: Login Logout Opens the Login dialog box for the selected project. Logs you out of the selected project.
Change Password Allows you to change your password for the selected project.
32-20
GFK-1180K
The View menu functions are: Toolbar Status Bar Enables/disables the display of the Toolbar. Enables/disables the display of the Status bar.
The Help menu functions are: Help Topics About LoginPanel Opens the Help window for the Login Panel. Displays the current version number for the Login Panel utility.
GFK-1180K
System Utilities
32-21
A. Select a project. B. Click either: Start or Start as Viewer. When you start the project, the normal startup dialogs are displayed.
32-22
GFK-1180K
When a project is running: The CIMPLICITY Process Control dialog box opens.
GFK-1180K
System Utilities
32-23
Step 2. Connect to a project: 1. 2. 3. Click the drop-down list button to the right of the Project field. A list of currently running projects that are broadcasting is displayed. Select the project you want to connect to. Click Connect. Note: If you are not currently logged in to the project, a CIMPLICITY Login dialog box opens. Enter your User ID and Password.
Result: When CIMPLICITY processes a saved login or the login just entered, the CIMPLICITY Process Control dialog box displays with the list of process names and statuses for the project you selected.
32-24
GFK-1180K
Once you are connected to a project, you can: Start a halted process. Stop a running process. Start all halted processes. Stop all running processes. Refresh the process list. Release the connection to the project. Exit CPC.
Important: This is not the recommended way to start or stop CIMPLICITY HMI software. You should only use CIMPLICITY Program Control to start and stop processes if you have been instructed to do so by GE Fanuc support personnel, or if you are testing an API application. In the latter case, you should only be starting and stopping your API application.
GFK-1180K
System Utilities
32-25
The following table lists background Process IDs for all base system and product options for CIMPLICITY HMI processes. The set of options running on a node depends on the communication protocols, printers, and product options you have installed. AMRP APSM_RP CAL_RP CNCALM DA_RC DA_RP DL_RP DYNCFG EM_RP MTCPSI_RP MRTUSI_RP MASTER_<port> MASTER_<printer_name> MASTER_PTDP_RP MASTER_PTM<n>_RP PDC_DS PROF_RP PRT_CNT PRT_CLNT PRT_DS PRT_GRD PRT_STND PTDL_RP PTX_RP <rcositename> RCODB_RP SPC_<group file name> UR_RP Alarm Management Resident Process APSM Resident Process Action Calendar CNC Alarm Process Historical Data Analyzer Recalculation Process Historical Data Analyzer Resident Process Data Logger Resident Process Dynamic Configuration Process Event Manager Resident Process Modbus TCP Slave Interface Modbus RTU Slave Interface Device Communications Interfaces Alarm Manager Line Printer Process Point Management Virtual Point Resident Process Point Management Resident Process Tracker - Decision Control Data Server Profile Trending TrackerTracking Attribute Counts TrackerClient (communicates from one project to another) TrackerTracking Data Server TrackerTracking Graphic Display TrackerStandby Process Point Data Logger Resident Process Point Translation Resident Process TrackerTracker Routing Control Objects Site RCO Configuration Provider to RCO Runtime User Interface Statistical Process Control User Registration Resident Process
32-26
GFK-1180K
3.
Result: If the process starts successfully, its status in the process list changes from Halted to Running.
GFK-1180K
System Utilities
32-27
2.
Result: If the processes start successfully, their status in the process list changes from Halted to Running.
3.
Result: If the process stops successfully, its status in the process list changes from Running to Halted.
32-28
GFK-1180K
2.
Result: If the processes halt successfully, their status in the process list changes from Running to Halted.
Result: The process list for the newly connected project displays in the CIMPLICITY Process Control dialog box.
GFK-1180K
System Utilities
32-29
1 Click Release to release current project. 2 Click Connect to connect to another project.
32-30
GFK-1180K
System Management
GFK-1180K
33-1
Logical Names
Logical names are used to override default values in the log_names.cfg file for the CIMPLICITY HMI Base System and options.
Note: Do not confuse logical names with environment variables. Logical names are found in the log_names.cfg file, while environment variables are accessed through the Control Panel.
Import/Export points. The default or expected is 1000. Example An example entry in log_names.cfg is:
CLIE_MAX_PTS|S|default|5|5000
Specifies a: Threshold limit at which the burst handling code will be initiated. The default is 25. logical have transpired without any communication with a client and an attempt is made to queue another message to this application, messages will be dropped. Note: Setting the BSM_PTM_AW_OF_DELAY value to zero causes BSM_PTM_APPQ to be used as an absolute limit for dropping messages rather than as a threshold at which burst/growth monitoring is initiated. The default is 50.
33-2
July 2001
GFK-1180K
Point management logical names operate as follows: If: Then: If: Then: If: Then: The internal threshold value for messages queued to a client is reached (possibly specified by BSM_PTM_APPQ), Point Management first checks the approximate period of time since communication occurred with that application. The period of time exceeds the number of seconds specified by
BSM_PTM_AQ_OF_DELAY
Point Management drops messages. Communication has occurred within the allowed period of time, Point Management begins watching for continued growth, by keeping track of the number of messages a client has consumed compared to the number of messages being queued for the client. Point Management finds that growth has occurred in the number of periods specified by BSM_PTM_AQ_CNT4DROP, Point Management will start dropping records. Note that these periods are not required to be time consecutive, that is, growth might be noted for three time consecutive periods, no growth for 2 periods, and then growth for another three periods. It is when the maximum number of periods is exceeded that dropping will occur. The system merely has encountered a burst, It is expected that client applications will consume queued messages, and the internal lists will drop below the threshold. When messages drop below that threshold, a reset for the periods of growth count occurs. Counting, therefore, starts over the next time the threshold is exceeded.
If: Then:
If: Then:
Note: Point Management may log the following messages: Application queue threshold exceeded Application queue overflow occurred The logging of these messages and the behavior leading to this can be affected by the Point Management logical names.
GFK-1180K
System Management
33-3
Multi-point updates for all ports Multi-point updates for specified port Enable protected writes to all PLC-2 devices Enable protected writes to all PLC-2 devices on the specified port Maximum number of devices and unsolicited data messages
Query command support for all devices Query command support for specified device Skip General Reference validation for all devices Skip General Reference validation for specified device
33-4
July 2001
GFK-1180K
Unsolicited point addresses are matched to both their Hexadecimal and Decimal format addresses. Unsolicited point addresses are matched to their Decimal format addresses. Unsolicited point addresses are matched to either their Hexadecimal or Decimal format addresses or both. Unsolicited point addresses are matched to their Hexadecimal format addresses. Change the number of milliseconds to wait for a connection to be established between poll checks. Change the number of retries to re-establish communications between poll checks. Change the number of milliseconds in the polling interval. Change the number of seconds to wait before declaring a device dead. Changes how long (in ticks) to wait for a synchronous response from a device, once the request has been made of the device. Changes how long to wait for a synchronous response from a device, once the request has been made of the device.
MSYNC_TICKS
SNP Communications
Logical names that can be modified in the log_names.cfg file for SNP Communications are:
BSM$SNP_T1_TIME BSM$SNP_ATTACH_DELAY
Controls the time between SNP messages. Controls the time delay before SNP attach messages.
where: <logical_name> is the name of the logical <type> is the type of logical (usually set to P for project) <length> is the number of characters in <value> <value> is the value to be assigned to the logical name. You may use Notepad to edit the file.
GFK-1180K
System Management
33-5
To change a logical name in the Logical Names file for a project: 1. 2. 3. 4. Click Tools on the Workbench menu bar. Select Command Prompt. An MS DOS window opens. Type cd data. Type notepad log_names.cfg. Notepad opens displaying the log_names.cfg
Log_Files Record Opened in Windows Notepad
5. 6. 7.
Find the parameter you want to change, and make the change. Exit the Notepad. Type exit to exit the Command Prompt window.
Note: When you are ready to implement the change in the runtime system, you will have to stop and restart CIMPLICITY software.
33-6
July 2001
GFK-1180K
GFK-1180K
System Management
33-7
3. Run RegEdt32. Delete the following: \\HKEY_CURRENT_USER\Software\GE Fanuc Automation \\HKEY_LOCAL_MACHINE\Software\GE Fanuc Automation
33-8
July 2001
GFK-1180K
This document has two sections: The first section is about the Microsoft Systems Management Server (SMS). It briefly explains what SMS is and how it can be used for software distribution. For more information about SMS, please see the Microsoft Systems Management Server documentation in the Microsoft Developer's Network Books Online. The second section of this document explains the procedure of site wide installation. CIMPLICITY HMI software provides some tools for making site wide installation procedure easier. This section gives step by step instructions to use them.
GFK-1180K
System Management
33-9
All these tasks can be performed centrally with the SMS Administrator at a Microsoft Windows NT-based client. The SMS system: Maintains a database containing system information and inventory. Carries out distribution and installation jobs. Monitors the progress of these jobs. Alerts you to important system events.
SMS lets you centrally manage your entire enterprise. Using SMS you can: Distribute and install software on clients and servers across your corporate network Set up network applications Automatically collect and maintain hardware and software inventory Provide direct support to clients, and monitor your network.
When you distribute software to a site, the software is distributed to designated servers at the site called distribution servers. From these distribution servers: Users can manually access and install the software on their clients, or You can specify commands to automatically run applications or install software from the distribution servers to the clients.
When you set up a network application For shared use by groups of users, you: Distribute software to the servers from which you want users to access the network application. Specify which groups of users have access to the network application. Can specify scheduling times for distributing software to maximize the efficiency of your system.
The program item for the application is automatically set up on the users' computers.
When users choose the application, the network application is run from that server.
33-10
July 2001
GFK-1180K
You can distribute software or set up network applications for the current site where you have logged on with the SMS Administrator or for any site beneath the current site. When you target other sites for software distribution or network application setup, the SMS system can use NetBIOS transport protocols on a LAN, RAS (Async, X.25, or ISDN communications link), or SNA LU 6.2 links (batch and interactive mode) to transfer the software and instructions for installing that software to the target sites. For fault tolerance and efficiency, you can also define alternate LAN, RAS, or SNA addresses to other sites. You can also set scheduling and priority management on each type of address.
All of these tasks can be done with a single Run Command On Workstation job (as described in this document). Alternatively, you can do each of these tasks individually using separate Run Command On Workstation jobs. When a job sends a package, SMS compresses all files and subdirectories in the package's source directory into a single compressed package file and transfers the compressed file to the sites containing target clients. The compressed package file is stored on the site server.
Once a package has been sent to a target site, the package is distributed to servers at the target site. The SMS Despooler at the target site decompresses the compressed package file into the package source directory's original files and directory structure, and places these files on the distribution servers in a subdirectory of the SMS\LOGON.SRV\PCMPKG.SRC directory. The package source directory is shared so that the client can have access to the directory.
GFK-1180K
System Management
33-11
The server where the package directory is shared is called the distribution server because it serves as a distribution point for the package source directory. When a user selects a package command line using the Package Command Manager, the Package Command Manager connects to the package share of the distribution server for the package share. The Package Command Manager then runs the package command using the package share as the current directory. Once a package has been distributed to servers at a site, the package's command can be run at clients in the site. From the list of computers specified in the Job Target for the job, the Despooler at the target site creates an instruction file for each target client for running the package command. The SMS Maintenance Manager replicates these instruction files to all logon servers at the site. When the user at the client starts the Windows environment or explicitly starts the Package Command Manager, the Package Command Manager checks a logon server for package command instructions (the Package Command Manager checks for incoming jobs at an interval specified in the Options dialog box.). The package command is made available to the user according to the instructions specified by the Run Workstation Command settings for the job.
33-12
July 2001
GFK-1180K
4. 5. 6.
Check the platforms on which CIMPLICITY HMI is to be installed in the Select platform box. Enter the name of the Application Source Directory in the Target Path: field. The default directory is c:\cimpsms. Make sure that the system has enough disk space.
GFK-1180K
System Management
33-13
7.
Click OK to copy the files to the Application Source Directory. After the files are copied, the Select CIMPLICITY Options dialog box opens automatically.
8. 9.
Check the Upgrade box if you want to allow an upgrade during installation. Do the following for each product you want to install: A. Select the product type in the Select Options for field. All options for that product will be displayed in the Select Options for box. B. Check the CIMPLICITY options you want to install. Each product that has been modified will have an asterisk (*) in front of its name C. Click Apply. D. Click Close after you have selected all the product options to be updated.
10. Share the Application Source Directory with the same name (for example, the share name for c:\cimpsms is CIMPSMS).
33-14
July 2001
GFK-1180K
5.
6. 7.
Select CIMPLCT.PDF in the File Name box, . Click OK. The File Browser dialog box closes and the Package Properties dialog box redisplays.
GFK-1180K
System Management
33-15
8.
Select Workstations. The Setup Package for Workstations dialog box opens.
9.
Enter the location of the Application Source Directory in the Source Directory field, You can use the Browser button to the right of the box to find it.
4.
Enter a meaningful comment in the Comment box (for example, CIMPLICITY 4.01 Installation)
33-16
July 2001
GFK-1180K
5.
5. 6. 7. 8. 9.
Select the CIMPLICITY 4.01 package in the Package field. Select an appropriate job target in the Job Target field. Select the type of setup in the Run Workstation Command field. Select all other applicable options. Click OK. This will create a job for CIMPLICITY HMI Site wide installation Once the job is executed, this package can be deleted.
GFK-1180K
System Management
33-17
See "Role Configuration" in the CIMPLICITY Base System User's Manual (GFK-1180) for more information about configuring role privileges.
33-18
July 2001
GFK-1180K
If you include Setpoint functions in Basic Control Engine scripts, and you enable the Setpoint Password option, you must include the password in the function call. See "Setpoint Security" in the "Understanding Points" chapter in the CIMPLICITY HMI Base System User's Manual (GFK-1180).
These alarms are included in your project configuration. They are all configured for: Delete on Acknowledge No Manual Clear Log on Generate Acknowledge immediately No stacking
You can reconfigure the alarm characteristics to suit your needs. See "Alarm Configuration" in the CIMPLICITY HMI Base System User's Manual (GFK1180) for more information.
GFK-1180K
System Management
33-19
By default, the Audit Trail alarms are logged in the Event Log table of the Database Logger. You can choose whether you want to log each alarm. You can also choose to log each alarm in the Event Log table or Alarm Log table. Finally, you can generate a report of Audit Trail alarms from the Database Logger table. See the "Database Logger Configuration" chapter in the CIMPLICITY HMI Base System User's Manual (GFK-1180) for more information.
Setpoint Downloads
A user can download setpoints from: CimView screens The Point Control Panel Recipes
Setpoints can also be downloaded from Basic Control Engine scripts The $DOWNLOAD alarm is generated when a user downloads a setpoint or a recipe. The alarm message contains the following information: <point_id> <value> <user_id> (<OS_user> @ <computer_name>)
33-20
July 2001
GFK-1180K
Project Login/Logout
The $LOGIN_FAILURE alarm is generated when a user fails to log in to a CIMPLICITY HMI project correctly and the number of consecutive login errors has been reached. The alarm message contains the following information: User ID <user_id> disabled, computer <computer_name> The $LOGIN alarm is generated when a user successfully logs in to a CIMPLICITY HMI project. The alarm message contains the following information: User ID <user_id> @ <computer_name> logged on The $LOGOUT alarm is generated when a user logs out of a CIMPLICITY HMI project. The alarm message contains the following information: User ID <user_id> @ <computer_name> logged out
GFK-1180K
System Management
33-21
OEM Key
The OEM Key is designed to allow OEMs and Integrators to maintain installed CIMPLICITY HMI Runtime systems for their customers. It lets you temporarily convert a CIMPLICITY HMI Runtime System License on a computer to a CIMPLICITY HMI Development System License. When you activate OEM Key on a computer, you must stop all projects that are currently running on the computer. While OEM Key is active on a computer: The Development System License only applies to projects running on the computer. Projects that you start on the computer cannot access data from or provide data to other CIMPLICITY HMI projects.
OEM Key terminates at the end of two hours. You can terminate it earlier by exiting the OEM Key application. When OEM Key terminates, all running projects are stopped.
33-22
July 2001
GFK-1180K
4.
Click Yes to accept all the terms of the license agreement. If any projects are running, the OEM Key dialog box opens. If no projects are running, the CIMPLICITY HMI OEM Key dialog box opens.
Result: The next dialog box that opens depends on your computer status:
Note: Click Cancel to exit OEM Key without stopping the running projects.
GFK-1180K
System Management
33-23
You can Leave the dialog box open or minimize it while OEM Key is running. Check the Show status window check box to display the time left. This status window displays on top of all the windows on your screen.
Note: If you exit the dialog box or click Quit, the OEM Key terminates immediately.
33-24
July 2001
GFK-1180K
Remote Projects
If, when a project starts, the Point Bridge or Point Data Logger need to get points from projects on other computers running CIMPLICITY projects, you need to define remote projects. If your computer is on a network with other CIMPLICITY computers, you can retrieve point information from projects running on the other computers in a variety of ways: You can display CimView screens for other projects. You can display points from other computers on CimView screens running in your project. You can collect data from points in projects on other computers. If you are using the Database Logger option, you can log points from projects on other computers.
You need to define Remote Projects under the following conditions: You have defined points in Point Configuration that use the Point Bridge to get their values from points in projects on other computers. You are using the Database Logger option and you are logging points from projects on other computers.
In other words, if, when the project starts, the Point Bridge or Point Data Logger need to get points from projects on other computers running CIMPLICITY projects, you need to define remote projects. This is especially important if you are configuring a CIMPLICITY project to start at boot time.
The Workbench right pane initially displays the following fields for remote projects: The remote project name User who is automatically logged onto the CIMPLICITY HMI project from a remote location.
Note: Use the Workbench Field Chooser to remove or display any of the available fields, except the Project. The Project is required. All of the fields in the Remote Project dialog box are available to display in the Workbench. See the "Selecting Fields to Display in the Right Pane" in the "Using the Workbench" chapter in this manual for information about the Field Chooser" The Remote Project list is initially sorted by Project. You can click on any of the other column titles at the top of the list to sort the list by that attribute.
GFK-1180K
System Management
33-25
The New Project dialog box opens when you use any method.
Enter the name of the remote project in the Project Name field and click OK. The Remote Project dialog box opens. This dialog box consists of two tabs. Use the General tab to enter general information about the project. Use the Enterprise tab to configure data and alarm collection for an enterprise project.
33-26
July 2001
GFK-1180K
In the General property tab of the Remote Project dialog box, enter information in the following fields: User ID Enter the CIMPLICITY User ID that will be accepted for the remote project login. Password Enter a password, if you want to require one, for the remote project login. Reenter Password If you are entering a password, re-enter it here to confirm it. Enable Check Enable to enable the login. If you clear the check box, the login will not be made. Resident Process Use Only Check Resident Process Use Only if you only want resident processes to automatically log in to remote projects. Users will still have to log in at the Application level. If you uncheck this check box, users will not have to log in at the Application level, and they are automatically given the same privileges as the CIMPLICITY User ID for the remote login.
GFK-1180K
System Management
33-27
If you want to use your current project as an Enterprise Server, you must define a remote project for each project in your enterprise from when you want to concentrate data or alarm information. In the Enterprise tab, the Resource and Device are pre-configured. Users who want to view point and alarm information from a remote project on an Enterprise Server must have the remote projects Resource configured in their view. Enter the following information: Collect points Check this check box to collect point information from the provider project. All points on the remote project that have been configured as Enterprise Points are available to the current project. Points from remote projects are identified by Remote ID and Point ID as \\<remote_id>\<point_id> for CimView and Point Control Panel windows. Collect alarms Check this check box to collect alarm information from the provider project.
Only one level of concentration is supported. In other words, if you are connecting to a remote project that has local and concentrated points, you will only be able to collect local points from the remote project.
33-28
July 2001
GFK-1180K
You will need to do the following to successfully use the Point Bridge:
The Point ID on the destination system does not have to match the Point ID on the source system. The data types and number of elements of the two points do have to match. When the source point changes value, the point value is updated on the local system. Both reading and writing of points are supported. If a point is configured for WRITE access on both systems, a user on the Point Bridge system can set the value of the Point Bridge point. The point on the source system is then updated. Dynamic configuration of Point Bridge points is also supported.
Note: Diagnostic points are not available for the Point Bridge.
GFK-1180K
System Management
33-29
Access
33-30
July 2001
GFK-1180K
A Global Parameter: Defines parameters for the CIMPLICITY Base System and options that override default parameters in the software. Controls either:
The system or A project. Through user interfaces in CIMPLICITY Configuration functions. Through the Workbench in the System or Project section.
GFK-1180K
A-1
CIMPLICITY software stores the project's global parameter values in a global_parms.idt file. This interface enables you to avoid opening and editing the file. As a result, the Workbench application saves you time and helps you avoid accidental errors. However, even with this tool, you should only edit global parameters when it is absolutely necessary.
Warning: Improper global parameter configuration can cause adverse system effects. Do not add, modify or delete global parameters unless specifically instructed to by the documentation or a GE Fanuc Automation representative.
Result: The global parameters that exist for your selection appear in the Workbench right pane.
System is selected.
A-2
July 2001
GFK-1180K
The procedure for each of these management functions is simple. However, the result of any modification can have a powerful impact on the system. Therefore, you will see warning messages every step of the way. They are there for a reason. Following is a graphic summary of the procedure.
3 Update the
configuration.
GFK-1180K
A-3
The global parameters for your selection display in the right pane. Select the global parameter whose value you want to change.
4.
Do one of the following. Method 1 Double-click the selected global parameter. Method 2 Click the Properties button Method 3 A. Right-click the selected global parameter. B. Select Properties from popup menu. Method 4 A. Click Edit on the Workbench menu bar. B. Select Properties. Method 5 Press Alt+Enter on the keyboard. A message appears warning you against changing global parameter values unless instructed to by the documentation or a GE Fanuc Automation representative when you use any method. on the Workbench toolbar.
A-4
July 2001
GFK-1180K
5.
Click either: A. OK if you are sure you want to change the value. B. Cancel to cancel the job. A Global Parameter - <name> dialog box appears when you click OK.
6.
7. 8.
Click OK. Do the following if you selected a system global parameter and want the parameter to be changed for the current project. Otherwise, go to 9. A. Select Project in the Workbench left pane. B. Check to see if the global parameter appears in the right pane. C. If the global parameter: i. ii. Does not exist, go to 9. Does exist, change the value the same way you did for the system global parameter.
9.
Update the CIMPLICITY configuration as follows. Method 1 Click the Configuration Update button Method 2 A. Click Project on the Workbench menu bar. B. Select Configuration Update. Method 3 Press Alt+P+C on the keyboard. on the Workbench toolbar.
GFK-1180K
A-5
A message box appears asking you if you want to copy master configuration data to run-time data.
10. Click OK. Result: The changes you made in global parameter values are now the values that the CIMPLICITY system and/or project use.
A-6
July 2001
GFK-1180K
Important: A global parameter applies to either the project or the system. It is important that you add the parameter to the correct folder. If you add it to the wrong folder, it will not be workable. To add a global parameter to the Workbench list: 1. 2. Expand the Global Parameters folder in the Workbench left pane. Select either of the following. Select Project System 3. Method 1 Click the New button Method 2 A. Click the right mouse button on your selection. B. Select New from the popup menu. Method 3 A. Click File on the Workbench menu bar. B. Select New. C. Select Object from the extended menu. Method 4 Press Ctrl+N on the keyboard. The New Global Parameter dialog box opens when you use any method. 4. Enter an additional global parameter in the Parameter ID field. on the Workbench toolbar. To add a: Project global parameter. System global parameter.
5.
Click OK.
GFK-1180K
A-7
A message box appears warning you that improper configuration can cause adverse effects.
6. 6.
Click OK if you are sure you want to continue. The Global Parameter dialog box opens. Enter a value that applies to the global parameter in the Value field.
7. 9.
Click OK. Update the CIMPLICITY configuration as follows. Method 1 Click the Configuration Update button Method 2 A. Click Project on the Workbench menu bar. B. Select Configuration Update. Method 3 Press Alt+P+C on the keyboard. A message box appears asking you if you want to copy master configuration data to run-time data. on the Workbench toolbar.
10. Click OK. Result: The global parameters are activated and their entered values are now the values that the CIMPLICITY system and/or project use.
A-8
July 2001
GFK-1180K
Warning: Delete a global parameter only when instructed to by documentation or a GE Fanuc Automation representative. To delete a global parameter from the Workbench list: 1. 2. Expand the Global Parameters folder in the Workbench left pane. Select either of the following. Select Project System 3. To delete a: Project global parameter. System global parameter.
4.
Do one of the following: Method 1 Click the Delete button Method 2 A. Click the right mouse button on your selection. B. Select Delete from the popup menu. Method 3 A. Click Edit on the Workbench menu bar. B. Select Delete. C. Select Object from the extended menu. Method 4 Press Del on the keyboard. A message box appears asking you if you want to delete the selected items. on the Workbench toolbar.
5.
Click Yes.
GFK-1180K
A-9
A message box appears warning you that improper configuration can cause adverse effects.
6. 7.
Click OK if you are sure you want to delete the global parameter. The global parameter is deleted from the list. Update the CIMPLICITY configuration. See page 1-5 for details about updating the CIMPLICITY configuration.
Result: The global parameter is deleted from the list and de-activated in the CIMPLICITY system and/or project.
A-10
July 2001
GFK-1180K
Global Parameters
Following is a list of global parameters. See Page in Chapter 1: 14 14 15 15 16 16 16 17 17 17 18 18 19 19 19 19 20 20 20 21 21 21 22 22 23 23 25 25 26 26 27 27 27 28 28 29 30 30 31 31
Parameter ACK_TOUT ALARM_SAVE_COMMENTS ALLOW_UPDATE_WHEN_DISABLED AM_OLD_POINT_RESET AM_RESET_ACK_STATE AMLP_HIGHWATERMARK AMLP_LOSTALARMSPAGE AMLP_LOWWATERMARK AMLP_MAX_QUEUE AMLP_USE_GEN_TIME AMLP_USE_RESET_TIME BIND_ADDR CE_MAX_DELAY CE_MAX_THREADS CE_THREAD_TIMEOUT CLR_TOUT CONNECT_DROP_PERIOD CONNECT_RETRY_PERIOD DARP_LVV_USECURRENT DARP_STARTUP_INTERVAL DB_CLOCK_ADJUSTMENT_MONITOR DB_COMPACT_QUEUE_SIZE DB_COUNTER_FIELD DB_DBMS_QUEUE_SIZE DB_DEBUG DB_ENABLE_MSEC DB_ENABLE_TRANSACTIONS DB_MSEC_FIELD DB_POINT_ID_FIELD DB_PROJECT_FIELD DB_QUEUE_OVERFLOW_DELAY DB_QUEUE_SIZE DB_STATUS_LOG_OFF DB_TABLE_FAILURE_RETRY DB_TIME_FORMAT DB_TIMESTAMP_FIELD DB_TIMESTAMP_FILTER DB_TIMESTAMP_PRECISION DBDL_DEVICE_CHECK_PERIOD DC_RETRY_ONE_DEVICE
For Points and Alarms Alarms Ports Alarm Manager Alarm Management Alarm Line Printer Alarm Line Printer Alarm Line Printer Alarm Line Printer Alarm Line Printer Alarm Line Printer Router Basic Control Engine Basic Control Engine Basic Control Engine Alarm Management Login Login Historical Data Analyzer Historical Data Analyzer Database Logger Database Logger Database Logger Database Logger Database Logger Database Logger Database Logger Database Logger Database Logger Database Logger Database Logger Database Logger Database Logger Database Logger Database Logger Database Logger Database Logger Database Logger Database Logger Device Communications
GFK-1180K
A-11
DEL_OPT Device Communication Parameters DEVICE_DOWN_DEVICE_REF DONT_VERIFY_ESPOINT_FRID DT_UPD_INTERVAL FIRST_WEEK_DAYS GSM_ANNUN_ALARM_H1 GSM_ANNUN_ALARM_H2 GSM_ANNUN_ALARM_L1 GSM_ANNUN_ALARM_L2 GSM_ANNUN_DIG_OFF GSM_ANNUN_DIG_ON GSM_ASC_FONT_NAME GSM_ASC_FONT_SIZES GSM_ASC_SCALE GSM_CACHE_SIZE GSM_EXPONENT_PRECISION GSM_GLOBAL_SCRIPT GSM_LIB_CACHE_SIZE GSM_OVERRIDE_POINT_FMT GSM_SPCONFIRM_DEFAULT GSM_STALE_COLOR_KEY GSM_TERMSERV_CACH_SIZE GSM_UNAVAIL_COLOR_KEY GSM_UNAVAILABLE_TIMELIMIT HDA_PTDL_OFFSET IPC_BCAST_INTERVAL IPC Global Memory Use Parameters PORT_PERIOD_SECS PORT_GROWTH_PERIODS PORT_NONE_CONSUMED SOCK_PERIOD_SECS SOCK_GROWTH_PERIODS SOCK_NONE_CONSUMED IPC_QUEUE_SIZE LOG_OPT LOGIN_RETRY_PERIOD MAX_TREND_BUF MULTICAST_HOSTNAME MULTICAST_IP_ADDR MULTICAST_TTL PB_DIAGS PROJECT_ID PROWLER_CACHE_SIZE
Alarms Device Alarms Enterprise Server Points Date/Time Points Date/Time Points CimView CimView CimView CimView CimView CimView CimEdit/CimView (Classic ASCII File (Imports) CimEdit/CimView (Classic ASCII File (Imports) CimEdit/CimView (Classic ASCII File (Imports) CimView CimView CimView CimEdit/CimView CimView CimView CimView CimView (using Terminal Services) CimView CimView Historical Data Analyzer CIMPLICITY IPC CIMPLICITY IPC
31 58 32 32 33 33 34 34 35 35 36 36 37 37 38 38 39 39 40 40 41 41 42 42 42 43 43 44
CIMPLICITY IPC Database Logging CIMPLICITY Login Trending IP Address Traffic IP Address Traffic IP Address Traffic Point Bridge Multiple Projects WebView/ThinView
45 45 46 46 46 47 48 48 49 49
A-12
July 2001
GFK-1180K
PTDL_ENABLE_MEASUREMENTS PTDL_QUANTIZATION PTMDP_DO_EU_CONV PTMDP_DO_SAVEPOINT_CACHE PTMDP_DO_SAVEPOINT_COMPACT PTMRP PTX_MAX_CACHED_POINTS RAW_LIMIT_ALARM REDUND_LINK_SLEEP REPEAT_TOUT RTR_ACCEPT_CONN RTR_DISABLE_BCAST RTR_MAX_OUTMESSAGE_COUNT SECURE_SOCKETS SETPOINT_SECURITY SHORT_FILENAMES STARTUP_TIMEOUT SVC_RETRY_COUNT SVC_RETRY_DELAY SYSNAME TERMSERV_ALLOW_SETPOINTS UR_LOGIN_FAILURES
Measurement System(Data logging) Database Logging Point Configuration Point Configuration Point Configuration Point Management Point Translation Point Alarms Server Redundancy Alarm Management Network Options Router Router Network Point Management Security Filenames Project External Services External Services Project Points (using Terminal Services) User Interface
49 50 50 50 51 51 51 52 52 52 52 53 53 54 55 55 55 56 56 56 56 57
GFK-1180K
A-13
$AM_STATUS
For: Purpose: Default for: Value: Enter one of the following: Y N Default Value: N Record Format: $AM_STATUS| |< Enable the $AM_STATUS alarm message. Disable the $AM_STATUS alarm message Alarms Project Enable/disable the $AM_STATUS message.
ACK_TOUT
For: Purpose: Default for: Value: Points and Alarms Project To specify the default time in minutes before an alarm is automatically acknowledged by the Alarm Management Resident Process. Acknowledge Timeout field in the Alarm Options Properties dialog box for points and alarms. Number (of minutes).
ALARM_SAVE_COMMENTS
For: Purpose: Default for: Value: Alarms Project To instruct the Alarm Viewer to remove or store alarm comments. Store alarm comments checkbox in the Alarm Properties dialog box. Enter one of the following: NO Available only while an Alarm ID appears in the Alarm Viewer. When the Alarm ID has been reset, deleted, or automatically removed, the comment ceases to exist, or Stores comments until 20 comments have been listed for one Alarm ID, regardless of whether the alarm has been acknowledged, reset, deleted, etc. When 20 comments have accumulated, the first comment entered is deleted to make room for the newest comment.
YES
A-14
July 2001
GFK-1180K
ALLOW_UPDATE_WHEN_DISABLED
For: Purpose: Value: Ports Project To specify if setpoints and unsolicited data should be processed when a port is dynamically disabled. Enter one of the following: YES NO Process setpoints and unsolicited data continue to be processed. Polled data will continue to display old values. When a port is dynamically disabled: Default Value: NO Record Format: ALLOW_UPDATE_WHEN_DISABLED|1|<option> The associated devices are marked Down. Setpoints and unsolicited data are not processed.
AM_OLD_POINT_RESET
For: Purpose: Alarm Manager Project To update the time when an alarm is generated from the generated time to the reset time. The updated value can be viewed in the Alarm Viewer. Value: Enter one of the following. Y N Default Value: N Record Format: AM_OLD_POINT_RESET|1|<Y or N> Update the generated time to the reset time. Do not update the generated time to the reset time.
GFK-1180K
A-15
AM_RESET_ACK_STATE
For: Purpose: Alarm Management Project To reset the Acknowledge state of an acknowledged alarm that has an Acknowledge and Reset deletion requirement to No after the alarm has been cleared. This forces a user to acknowledge the alarm again before it is deleted from the list of alarms. Enter one of the following: YES NO Default Value: NO Record Format: AM_RESET_ACK_STATE|1|<option> Resets the acknowledge state to No Does not reset the acknowledge state to No
Value:
AMLP_HIGHWATERMARK
For: Purpose: Alarm Line Printer Project To stop spooling alarm messages if more than a certain number of alarm messages are in the job queue for the alarm printer. When this global parameter is set to its default value, all alarm messages go to the spooler for the alarm printer. If you enter a number greater than zero (0), the AMLP program will spool alarm messages to the printer until the high watermark is reached. Subsequent alarm messages will be dropped until the low watermark, defined by AMLP_LOWWATERMARK, is reached. Number (of jobs in the print spooler)
Value:
AMLP_LOSTALARMSPAGE
For: Purpose: Alarm Line Printer Project To print a page indicating that alarm messages were dropped because the AMLP program detected a high watermark for the print spooler. This global parameter is used only when AMLP_HIGHWATERMARK is set to a non-zero value. The page is printed when the AMLP program detects a low watermark and resumes sending messages to the print spooler. Enter one of the following: Y N Default Value: N Record Format: AMLP_LOSTALARMSPAGE|1|<flag> Print a page indicating that alarms have been dropped Do not print a page when alarms are dropped.
Value:
A-16
July 2001
GFK-1180K
AMLP_LOWWATERMARK
For: Purpose: Alarm Line Printer Project To restart printing alarms if the number of jobs being spooled falls below this number. This global parameter is used only when the AMLP_HIGHWATERMARK global parameter is set to a non-zero value. Number (of jobs in the print spooler)
Value:
AMLP_MAX_QUEUE
For: Purpose: Alarm Line Printer Project The Alarm Line Printer program (AMLP) assumes that there is no restriction for the size of the alarm message queue. If the output device is disabled, a virtual memory overflow can result AMLP_MAX_QUEUE global parameter can restrict the size of the alarm message queue. After you implement this global parameter, if the output device is disabled and the number of alarms in the alarm queue exceeds the value you specify, the alarm message The alarm dropped has exceeded the configured size of alarm queue is generated. Value: Maximum number of messages in the queue. Default Value: None Record Format: AMLP_MAX_QUEUE|3|<number>
AMLP_USE_GEN_TIME
For: Purpose: Alarm Line Printer Project To specify whether an acknowledged or deleted alarm should be printed at the generation time or the time of the Acknowledge or Delete action. Enter one of the following: YES NO Default Value: YES Record Format: AMLP_USE_GEN_TIME|1|<option> The generation time is printed. The time of the action (acknowledge or delete) is printed.
Value:
GFK-1180K
A-17
AMLP_USE_RESET_TIME
For: Purpose: Alarm Line Printer Project To have the alarm printer print the time an alarm was reset. Important: The global parameter, AM_OLD_POINT_RESET must be set along with AMLP_USE_RESET_TIME, as follows: Value: Choose one of the following: To print the reset time, set: AM_OLD_POINT_RESET = Y and AMLP_USE_RESET_TIME = Y To print the generated time, set: AM_OLD_POINT_RESET = N and AMLP_USE_RESET_TIME = Y Default Value: N Record Format: AMLP_USE_RESET_TIME|1|<N or Y>
BIND_ADDR
For: Purpose: Router System To specify which IP address to use on a computer that has multiple IP addresses, and is not using Cabling Redundancy. You will also need to enter the same IP address for the computer in the cimhosts.txt file. Value: Enter a valid IP address used by the computer. Example
BIND_ADDR|1|3.26.7.240
A-18
July 2001
GFK-1180K
CE_MAX_DELAY
For: Purpose: Basic Control Engine Project To specify the maximum delay time in seconds after which a late event will not be executed. For example, events may be delayed when there is a heavy load on the system. Value: Number (of seconds). Default Value: 60 Record Format: CE_MAX_DELAY|3|<time>
CE_MAX_THREADS
For: Purpose: Value: Basic Control Engine Project To specify the maximum number of simultaneous scripts allowed. Number (of scripts).
CE_THREAD_TIMEOUT
For: Purpose: Value: Basic Control Engine Project To specify the idle cache time in seconds before the threads are freed. Number (of seconds).
CLR_TOUT
For: Purpose: Default for: Value: Alarm Management Project To specify a default time in minutes before an alarm is automatically reset by the Alarm Management Resident Process. Reset Timeout field in the Alarm Options Properties dialog box for points and alarms Number (of minutes).
GFK-1180K
A-19
CONNECT_DROP_PERIOD
For: Purpose: Login System To specify the time in seconds before an inactive login connection is dropped by the project. The time starts when all CIMPLICITY application windows have been exited. A user who opens a CIMPLICITY application window during this time period will not be required to log in to CIMPLICITY software again. Number (of seconds).
Value:
CONNECT_RETRY_PERIOD
For: Purpose: Value: Login System To specify the time interval for between retrying the connection to a remote project. Number (of seconds).
DARP_LVV_USECURRENT
For: Purpose: Value: Historical Data Analyzer Project Defines whether the previous or current row in the source table should be used for the LVV calculation. Enter one of the following: Y N Default Value: N Record Format: DARP_LVV_USECURRENT|3|<value> Use the current row in the source table for the LVV calculation. Use the previous row in the source table for the LVV calculation.
A-20
July 2001
GFK-1180K
DARP_STARTUP_INTERVAL
For: Purpose: Value: Historical Data Analyzer Project Defines the maximum amount of historical data to analyze at project startup.. Number (of seconds). Enter a value between 3600 (one hour) and 86400 (one day). If you enter a value less than 3600, the minimum value will be used. If you enter a value greater than 86400, the maximum value will be used. Default Value: 86400 Record Format: DARP_STARTUP_INTERVAL|1|<seconds>
DB_CLOCK_ADJUSTMENT_MONITOR
For: Purpose: Database Logger Project Defines the rate at which system clock adjustments are checked. All synchronized timed events are adjusted when a system clock adjustment occurs. Number (of seconds). Enter a value between 1 and 3600 Clock adjustment monitor rate in the Database Logging Properties dialog box.
DB_COMPACT_QUEUE_SIZE
For: Database Logger Project
Caution: Do not modify this option unless instructed to by GE Fanuc support personnel. Purpose: For Microsoft Access databases, the compact queue holds the database requests. This global parameter defines the queue size for maintenance actions. Number
Value:
GFK-1180K
A-21
DB_COUNTER_FIELD
For: Purpose: Database Logger Project To modify the name of the seq_num field that specified the record sequence number of each logged transaction in the following Database Logger Tables: Value: Alarm Management tables (ALARM_LOG and EVENT LOG) Event Manager table (EM_LOG) SPC tables HDA tables Tracker tables
An up to 80 character name. The name may include or be entirely composed of uppercase characters (for example, SEQNUM) which is needed for certain database client applications that have problems accessing lowercase field names from an Oracle DMBS. Note: When you use the DB_COUNTER_FIELD global parameter, make sure that you drop all affected tables before running the HMI project. Otherwise, the Database Logger will not be able to recreate them with the new sequence number field name specified by the DB_COUNTER_FIELD global parameter.
Default Value: seq_num (as a lowercase string) Record Format: DB_COUNTER_FIELD|1|<field name>
DB_DBMS_QUEUE_SIZE
For: Database Logger Project
Caution: Do not modify this option unless instructed to by GE Fanuc support personnel. Purpose: Value: Defines the database's queue size for non-table requests. For example, connect requests are non-table requests Enter the queue size. The minimum size is 5.
A-22
July 2001
GFK-1180K
DB_DEBUG
For: Purpose: Database Logger Project To enable the dumping of diagnostic information for the Database Logger to the MAC_DL.out and MAC_PTDL.out files in your project's log directory. Enter one of the following: A sum of any combination of: 0 Stop dumping diagnostic informationMust be explicitly specified to stop dumping diagnostic information to the log files. Print full syntax of ODBC error messages Print details of database connection when established Print syntax of ODBC statements if they fail Print application-specific details Print details of bulk insertion errors Rename/keep store and forward files after loading them
Value:
If you need additional diagnostic information, a value of 7 (1+2+4) is recommended. Additional undocumented values should only be used by GE Fanuc engineers as they send a great number of messages to MAC_DL.out and MAC_PTDL.out that could quickly fill your available disk space. Default Value: 0 Record Format: DB_DEBUG|1|<option>
DB_ENABLE_MSEC
For: Database Logger System or Project Purpose: To create a separate column in which the CIMPLICITY Data Logger will store the sub-second portion of the timestamps to the nearest millisecond. This capability can be important when a database is not capable of storing time values with a timestamp accuracy of 1/1000 of a second, which is the accuracy that CIMPLICITY Data Logger achieves. In fact, most databases can only handle storing time values to the nearest second. Therefore when timestamps are inserted into the database, their values are either truncated or rounded, by the database, to a value that complies with the database's storage capabilities.
GFK-1180K
A-23
You can create DB_ENABLE_MSEC in either the Project or the System folder. The result is as follows: Folder System Global Parameter will be used by: Millisecond Logging compatible clients who are started outside the scope of the project environment and copied into all new CIMPLICITY projects that you create (e.g. Starting a CimView screen outside of a project). Only the project's logging processes and Millisecond Logging compatible clients started within the context of the project environment. Creates a separate column. Does not create a separate column.
Project
Value:
Values include: Y N
Default Values: msec is the default name of a field that CIMPLICITY creates in the database. Note: CIMPLICITY names the field msec. To change this name, use the global parameter DB_MSEC_FIELD. See page 1-25 for details about the DB_MSEC_FIELD global parameter. Record Value: DB_ENABLE_MSEC|1|<Y or N>
Important 1. If you want to enable DB_ENABLE_MSEC, create or enable the parameter before you create any tables in the database. CIMPLICITY creates the field as part of a table's primary key when it creates the table. CIMPLICITY creates tables when you start your project for the first time or reconcile a table through the Database Logger Configuration program. Therefore, you will have to drop any table that exists before you create or enable DB_ENABLE_MSEC so CIMPLICITY can recreate them with the new field. 2. If you want to disable DB_ENABLE_MSEC, drop existing tables and let CIMPLICITY recreate them without the parameter enabled. Failure to do this will cause logging of data to malfunction because the database will reject the inserted data due to constraint violations. 3. 5. 4. If you are logging data from multiple projects to the same database then all projects must have the feature identically configured. If you are using DB_ENABLE_MSEC on more than one computer, including servers and viewers, add DB_ENABLE_MSEC on each. Only Point Logging, Alarm Logging and Trending clients fully support this feature. To alter the name that CIMPLICITY uses to refer to or create the field in the database, create another global parameter, name it DB_MSEC_FIELD, and provide the appropriate string value for the field name.
A-24
July 2001
GFK-1180K
DB_ENABLE_TRANSACTIONS
For: Purpose: Database Logger Project To override the default database functionality as requested by ODBC. The default functionality is determined by the ODBC driver. If the driver supports transactions, that is the default. If you set triggers on your tables, you should set this global parameter to N. Value: Enter one of the following: Y N Forces logging to use transactions. Forces logging to not use transactions.
DB_MSEC_FIELD
For: Database Logger System or Project Purpose: To alter the default name that CIMPLICITY uses to refer to a field that reports the sub-second portion of timestamps in the database. See page 1-23 for details about the associated DB_ENABLE_MSEC global parameter. String that will be the fractional portion of timestamps field name.
Value:
Important 1. If you want to enable DB_MSEC_FIELD, create or enable the parameter before you create any tables in the database. CIMPLICITY creates the field as part of a table's primary key when it creates the table. CIMPLICITY creates tables when you start your project for the first time or reconcile a table through the Database Logger Configuration program. Therefore, you will have to drop any table that exists before you create or enable DB_MSEC_FIELD so CIMPLICITY can recreate them with the new field. 2. 3. If you are logging data from multiple projects to the same database then all projects must have the feature identically configured. Only Point Logging, Alarm Logging and Trending clients fully support this feature.
GFK-1180K
A-25
DB_POINT_ID_FIELD
For: Purpose: Database Logger Project To change the name of the point_id field in the following Database Logger tables: Value: Point Management data log tables You can define a field name of up to 80 characters, or the maximum supported by your database. Note: When you use the DB_POINT_ID_FIELD global parameter, make sure that you drop all affected tables before running the HMI project. Otherwise, the Database Logger will not be able to recreate the tables with the new Point ID field specified by the DB_POINT_ID_FIELD global parameter. Default Value: point_id (as a lowercase string). Record Format: DB_POINT_ID_FIELD|1|<field name>
DB_PROJECT_FIELD
For: Purpose: Database Logger Project To change the name of the project field in the following Database Logger tables: Value: Alarm Management (ALARM_LOG and EVENT_LOG) Event Manager table(EM_LOG) Point Management tables (data and group log tables) SPC tables HDA tables Tracker tables
You can define a field name of up to 80 characters, or the maximum supported by your database. Note: when you use the DB_PROJECT_FIELD global parameter, make sure that you drop all affected tables before running the HMI project. Otherwise, the Database Logger will not be able to recreate the tables with the new project field specified by the DB_PROJECT_FIELD global parameter
Default Value: project (as a lowercase string) Record Format: DB_PROJECT_FIELD|1|<field name>
A-26
July 2001
GFK-1180K
DB_QUEUE_OVERFLOW_DELAY
For: Database Logger Project
Caution: Do not modify this parameter unless instructed to by GE Fanuc support personnel. Purpose: Value: To specify the delay in seconds between logging overflow errors for the Database Logger. Number (in seconds). This timeout must be configured to be: Default Value: 30 Record Format: DB_QUEUE_OVERFLOW_DELAY|1|<seconds> Greater than 5 seconds and Less than 86400 seconds (1 day).
DB_QUEUE_SIZE
For: Purpose: Default for: Value: Database Logger System To specify a default queue size that supports the worst-case logging during database table's logging activity bursts. Database queue size field in the Database Logging Properties dialog box. Number (for queue size).
DB_STATUS_LOG_OFF
For: Purpose: Value: Database Logger Project To turn on or off the database logging messages in the Status Log. If this parameter is not defined or set to zero (0), the messages are logged. Enter one of the following: 0 1 Default Value: 0 Record Format: DB_STATUS_LOG_OFF|1|<number> Database Logger messages are logged in the Status Log Database Logger messages are not logged in the Status Log
GFK-1180K
A-27
DB_TABLE_FAILURE_RETRY
For: Purpose: Value: Database Logger Project Defines the number of seconds to wait before attempting to reconnect to a table after a table connection failure. Number (of seconds)
DB_TIME_FORMAT
For: Purpose: Database Logger Project To define the timestamp format for your database so that time and date fields will be written correctly in the Store and Forward files. This parameter is for a database that does not use the default Microsoft Access and SQL Server timestamp format, which is used by CIMPLICITY. Timestamp (is case sensitive): Uppercase Y M H d m s t Year Month Hour Day Minutes Seconds Ticks (100 ticks=1 second)
Value:
Lowercase
Default Value: Microsoft Access and SQL Server timestamp format. Record Format: DB_TIME_FORMAT|1|<timestamp> Example
DB_TIME_FORMAT|1|dd\MMM\YYYY HHHH:mm:ss
A-28
July 2001
GFK-1180K
DB_TIMESTAMP_FIELD
For: Purpose: Database Logger Project To modify the name of the unique timestamp field which specifies the date and time of each logged transaction in the following Database Logger tables. Value: Alarm Management tables (ALARM_LOG and EVENT_LOG) Event manager table (EM_LOG). Point management tables (both data and group log tables) SPC tables HDA tables Tracker tables
An up to 80 character name. The name may include or be entirely composed of uppercase characters, e.g. DATETIME, which is needed for certain database client applications that have problems accessing lowercase field names from an Oracle DBMS. Note: When you use the DB_TIMESTAMP_FIELD global parameter, make sure that you drop all affected tables before running the HMI project. Otherwise, the database logger will not be able to recreate them with the new timestamp field name specified by the DB_TIMESTAMP_FIELD global parameter.
Default Value: timestamp (as a lower case string). Record Format: DB_TIMESTAMP_FIELD|1|<field name>
GFK-1180K
A-29
DB_TIMESTAMP_FILTER
For: Purpose: Database Logger Project To allow either rounding or truncation of all timestamps in records logged by database logging. This includes the Point, Alarm and Event Logging, SPC, Tracker and the Historical Data Analyzer. Enable timestamp filtering field in the Parameters tab of the Logging Properties dialog box. Enter one of the following: A Rounds the timestamp up or down in milliseconds. -A Truncates the timestamp at milliseconds. Example If a timestamp filter of 30000 is specified, the following timestamps will be logged as follows: Actual Timestamp 3/1/99 12:22:37.730 3/1/99 14:37:24.102 3/1/99 23:59:51.107 Logged Timestamp 3/1/99 12:22:30.000 3/1/99 14:37:30.000 3/2/99 00:00:00.000
If a timestamp filter of -30000 is specified, the following timestamps will be logged as follows: Actual Timestamp 3/1/99 12:22:37.730 3/1/99 14:37:24.102 3/1/99 23:59:51.107 Default Value: 0 Record Format: DB_TIMESTAMP_FILTER|1|<option> Logged Timestamp 3/1/99 12:22:30.000 3/1/99 14:37:00.000 3/1/99 23:59:30.000
DB_TIMESTAMP_PRECISION
For: Database Logger Project
Caution: Do not create or modify this option unless instructed to by GE Fanuc support personnel. Purpose: To specify an alternate timestamp precision for an ODBC data source that does not accept the default provided by the CIMPLICITY Database Logger. Use 22.2 unless you are instructed otherwise by GE Fanuc support personnel.
Value:
A-30
July 2001
GFK-1180K
DBDL_DEVICE_CHECK_PERIOD
For: Purpose: Database Logger Project To specify a default interval (in minutes) that the Database Logger should wait between disk scans for the Disk full scan rate (min) field in the Database Logger Logging Properties dialog box. Number (of minutes).
Value:
DC_RETRY_ONE_DEVICE
For: Purpose: Device Communications Project or System When an enabled device fails to respond to a read or write request from a device communications driver for several consecutive attempts, it is said to be down and will be polled at the Retry interval rate until it responds. By default, a device communication driver tries all down devices at each Retry interval. You can use this global parameter to change the behavior so that the driver will retry only one down device per Retry interval. The down devices are retried using a Round Robin algorithm (at the first Retry interval, the first down device is retried, at the next interval, the second down device is tried, etc.). This reduces the elapsed time for the Retry interval and is useful when many enabled devices are down. Value: Enter one of the following: TRUE FALSE Default Value: FALSE Record Format: DC_RETRY_ONE_DEVICE|1|<value> Poll one device per Retry interval Poll all devices at each Retry interval
DEL_OPT
For: Purpose: Default For: Value: Alarms Project To specify the default requirements for alarm deletion. Deletion requirements on the Alarm Options tab of the Alarm Definition dialog box. Enter one of the following: A R AR Default Value: AR Record Format: DEL_OPT|1|<option> Acknowledged only Reset only Acknowledge and reset
GFK-1180K
A-31
DEVICE_DOWN_DEVICE_REF
For: Purpose: Device Alarms Project To set the Device ID as the reference for the alarm A $DEVICE_DOWN alarm occurs when a device stops talking to a PLC. There are three components that make up a unique alarm 1. 2. 3. Value: The Alarm ID which in this case is $DEVICE_DOWN; The Resource ID, which in this case it takes it from the device's resource and A Reference ID.
Y Puts the Device ID as the alarm reference. As a result, each device will have a unique alarm, regardless of its resource. The Alarm ID is static for all $DEVICE DOWN alarms; the resource changes based on the device; now the Reference ID is the Device ID.
Default Value: The Reference ID is the same for every device down alarm. So if there are two devices using the same resource, their alarms get stacked into one set of alarms as opposed to appearing independently. Record Format: DEVICE_DOWN_DEVICE_REF|1|<value>
DONT_VERIFY_ESPOINT_FRID
For: Purpose: Value: Enterprise Server Points Project To change the behavior of Setpoint Security for Enterprise Server points. Enter one of the following: Y Setpoint Security for all points from a given provider are enforced against the Resource IDs as configured on the provider. This means that a setpoint against any of these points with resources not configured on the Enterprise Server project will always fail since a resource that is not configured cannot be in a user's view. N If an Enterprise Server project contains the same Resource IDs as a given provider, then Setpoint Security for points from the provider are enforced against the Enterprise Server Resource IDs. If a resource for a given point is not configured on the Enterprise Server, then Setpoint Security for that point is enforced against the remote project's resource. Default Value: N Record Format: DONT_VERIFY_ESPOINT_FRID|1|<value>
A-32
July 2001
GFK-1180K
DOWNLD_PASSWD
For: Purpose: Default for: Value: Point Setup Project To specify a setpoint password. Password field in the Point Setup dialog box. Up to 80 alphanumeric characters.
DT_UPD_INTERVAL
For: Purpose: Value: Date/Time Points Project To set the interval in seconds to update a Projects Date & Time system points. Number (of seconds).
FIRST_WEEK_DAYS
For: System Purpose: To set the minimum number of days in a week in the current year required to qualify for the first week of the year. This global parameter is used for the $PROJECT.DATE.WEEK system point. Number (of days).
Value:
GFK-1180K
A-33
GSM_ANNUN_ALARM_H1
For: Purpose: Value: CimView System or Project To specify the color and blink state to be displayed when the alarm state for an analog point is Warning High. Color Number and Blink option Format is <color_number><blink> with: Color Y N A number from 0 to 15. Blink or No blink. Blink either:
Example 3Y (Blue, Blink) Note: The color associated with each number is defined in the RGB.DAT file. See "RGB.dat Files" in the "Applying Inanimate Visual Features" chapter in the CIMPLICITY CimEdit Manual, GFK-1396. Default Value: 14N (Aqua, No Blink) Record Format: GSM_ANNUN_ALARM_H1|1|<color_number><blink>
GSM_ANNUN_ALARM_H2
For: Purpose: Value: CimView System or Project To specify the color and blink state to be displayed when the alarm state for an analog point is High. Color Number and Blink option Format is <color_number><blink> with: Color Y N A number from 0 to 15. Blink or No blink. Blink either:
Example 13Y (Fuschia, Blink) Note: The color associated with each number is defined in the RGB.DAT file. See "RGB.dat Files" in the "Applying Inanimate Visual Features" chapter in the CIMPLICITY CimEdit Manual, GFK-1396. Default Value: 15N (Yellow, No Blink) Record format: GSM_ANNUN_ALARM_H2|1|<color_number><blink>
A-34
July 2001
GFK-1180K
GSM_ANNUN_ALARM_L1
For: Purpose: Value: CimView System or Project To specify the color and blink state to be displayed when the alarm state for an analog point is Warning Low. Color Number and Blink option Format is <color_number><blink> with: Color Y N A number from 0 to 15. Blink or No blink. Blink either:
Example 8Y (Teal, Blink) Note: The color associated with each number is defined in the RGB.DAT file. See "RGB.dat Files" in the "Applying Inanimate Visual Features" chapter in the CIMPLICITY CimEdit Manual, GFK-1396. Default Value: 10N (Olive Green, No Blink) Record format: GSM_ANNUN_ALARM_L1|1|<color_number><blink>
GSM_ANNUN_ALARM_L2
For: Purpose: Value: CimView System or Project To specify the color and blink state to be displayed when the alarm state for an analog point is Low. Color Number and Blink option Format is <color_number><blink> with: Color Y N A number from 0 to 15. Blink or No blink. Blink either:
Example 4Y (Maroon, Blink) Note: The color associated with each number is defined in the RGB.DAT file. See "RGB.dat Files" in the "Applying Inanimate Visual Features" chapter in the CIMPLICITY CimEdit Manual, GFK-1396. Default Value: 13N (Fuchsia No Blink) Record format: GSM_ANNUN_ALARM_L2|1|<color_number><blink>
GFK-1180K
A-35
GSM_ANNUN_DIG_OFF
For: Purpose: Value: CimView System or Project To specify the color and blink state to be displayed when the Boolean point is 0. Color Number and Blink option Format is <color_number><blink> with: Color Y N A number from 0 to 15. Blink or No blink. Blink either:
Example 13Y (Fuchsia Blink) Note: The color associated with each number is defined in the RGB.dat file. See "RGB.dat Files" in the "Applying Inanimate Visual Features" chapter in the CIMPLICITY CimEdit Manual, GFK-1396. Default Value: 6N (Purple, No Blink) Record Format: GSM_ANNUN_DIG_OFF|1|<color_number><blink>
GSM_ANNUN_DIG_ON
For: Purpose: Value: CimView System or Project To specify the color and blink state to be displayed when the Boolean point is 1. Color Number and Blink option Format is <color_number><blink> with: Color Y N A number from 0 to 15. Blink or No blink. Blink either:
Example 6N (Purple No Blink) Note: The color associated with each number is defined in the RGB.DAT file. See "RGB.dat Files" in the "Applying Inanimate Visual Features" chapter in the CIMPLICITY CimEdit Manual, GFK-1396. Default Value: 7N (White, No Blink) Record Format: GSM_ANNUN_DIG_ON|1|<color_number><blink>
A-36
July 2001
GFK-1180K
GSM_ASC_FONT_NAME
For: Purpose: Value: CimEdit/CimView (Classic ASCII File Imports) System or Project To specify the name of the font to use for text on an ASCII (.ASC) screen. Font Name. The font must be a TrueType font. Default Value: MS Console. Record Format: GSM_ASC_FONT_NAME|1|<name>
GSM_ASC_FONT_SIZES
For: Purpose: CimEdit/CimView (Classic ASCII File Imports) System or Project To allow manipulation of (non-scalable) font sizes when a screen is imported from the Classic system to CimView. GSM_ASC_FONT_SIZES uses a list of the 16 values to use for the 16 text sizes in an ASCII (.ASC) file (GRE text sizes 0 to 15, which are stored in the .ASC file as -1 to 14). An increase or decrease of one or all default values to increase or decrease the font display. Example You want the fonts to display 25% larger on a CimView screen that you imported from the Classic system. Enter values that are 25% larger than the default values as the GSM_ASC_FONT_SIZES value. 140, 175, 210, 350, 455, 700, 753, 753, 753, 753, 753, 753, 753, 753, 753, 753 Default Value: 112, 140, 168, 280, 364, 560, 602, 602, 602, 602, 602, 602, 602, 602, 602, 602. Record Format: GSM_ASC_FONT_SIZES|1|<list>
Value:
GFK-1180K
A-37
GSM_ASC_SCALE
For: Purpose: CimEdit/CimView (Classic ASCII File Imports) System or Project To specify a floating-point number (for a CimView file that was imported from the Classic system) that represents the number of document units per world coordinates when converting ASCII (.ASC) screens to .CIM format. ASC files store screen information in floating point "world coordinates". The screens are 100.0 world coordinates wide by 60.0 world coordinates high. Document units in .CIM files are integers in TWIPS (twentieth of a point, 1440 TWIPS/inch). Value: Number (for doc. units/world coord) Example If you want your .ASC screens to be about six inches wide on the display, you should use a scale factor of (1440 doc. units/inch)*(6 inches/screen)/(100 world coord./screen) which equals 86.4 doc. units/world coord. Default Value: 86.4 Record Format: GSM_ASC_SCALE|1|<number>
GSM_CACHE_SIZE
For: Purpose: Value: CimView System or Project To increase the cache size if you require faster screen repaint times when switching between screens. Number (of screens that should be kept in cache memory).
Note: Increasing this number uses additional memory and may have a negative effect on the performance of other transactions.
A-38
July 2001
GFK-1180K
GSM_EXPONENT_PRECISION
For: Purpose: CimView System or Project To do the following: If: A Text object on a CimView screen has a "General" format and The number of digits exceeds this parameter, Then: The number is displayed in scientific notation with that number of significant digits. Value: Number (of digits that will prompt a scientific notation display). Example You set GSM_EXPONENT_PRECISION to 3. The number 1234 displays as 1.23e+3. Default Value: 6 Record Format: GSM_EXPONENT_PRECISION|1|<number>
GSM_GLOBAL_SCRIPT
For: Purpose: CimEdit/CimView System or Project To load and compile the specified scripts when CimEdit or CimView starts. You can specify multiple files in the global parameter by separating they with semicolons (;). Any script that fails to compile will not be available after startup. String (of files that can be loaded and compiled) Example
GSM_GLOBAL_SCRIPT|1|"D:\SCR\MISCR.TXT;D|\SCR\TKSETS.T XT"
Value:
GFK-1180K
A-39
GSM_LIB_CACHE_SIZE
For: Purpose: CimEdit/CimView System or Project To increase the cache size for library screens (screens that contain link source objects or class object graphics). This is similar to GSM_CACHE_SIZE. This parameter affects both standard console CimView sessions as well as WebView and ThinView sessions. Number (of screens that should be kept in cache memory).
Value:
Note: Increasing this number uses additional memory and may have a negative effect on the performance of other transactions.
GSM_OVERRIDE_POINT_FMT
For: Purpose: CimEdit/CimView System or Project To adjust the format used to display point values. This is used in most, but not all, parts of CimView. The format is specified using a "printf" style format string, just like in the Custom display format of a text object in CimEdit. A "printf" style format string. Example
GSM_OVERRIDE_POINT_FMT|1|%-8.3e
Value:
Default Value: nothing (does not override the display) Record Format: GSM_OVERRIDE_POINT_FMT|1|<string>
A-40
July 2001
GFK-1180K
GSM_SPCONFIRM_DEFAULT
For: Purpose: CimView System or Project To specify a button other than OK to be the default in procedure or action dialog boxes. Procedure dialog boxes contain two buttons: OK and Cancel. Action dialog boxes contain three buttons: OK, Skip, and Cancel. Value: Select one: Default Value: OK Record Format: GSM_SPCONFIRM_DEFAULT|1|<selection> OK, Skip or Cancel.
Note: If you select a default that is not available in the dialog box, CimView uses OK as the default button.
GSM_STALE_COLOR_KEY
For: Purpose: CimView System or Project To display a last available data value in a color rather than display the default text if a point being displayed in a Text object on a CimView screen is unavailable and there is last available data. If no last available data exists, the default text is displayed. Numbers to specify RGB color indices. Format is: RGB(<red>,<green>,<blue>) where <red>, <green>, and <blue> are the red, green, and blue color indices from 0 to 255. Example
RGB(0,0,0) is black and RGB(255,255,255) is white.
Value:
See "Dealing with the RGB Index" in the "Applying Inanimate Visual Features" chapter in the CIMPLICITY CimEdit Manual, GFK-1396. Default Value: The Text object displays the default text when the point is unavailable, regardless of whether a last available value exists or not. Record Format: GSM_STALE_COLOR_KEY|1|RGB(<red>,<green>,<blue>)
GFK-1180K
A-41
GSM_TERMSERV_CACHE_SIZE
For: Purpose: Value: CimView using Terminal Services System or Project To limit the CimView cache when running on a terminal server. Number (of screens)
GSM_UNAVAIL_COLOR_KEY
For: Purpose: Value: CimView System or Project To specify the color index number (0 to 255) used to indicate an unavailable point value on CimView screens. Number from 0 (Black) to 255 (White) The color associated with each number is defined in the RGB.DAT file. See "RGB.dat Files" in the "Applying Inanimate Visual Features" chapter in the CIMPLICITY CimEdit Manual, GFK-1396. Default Value: 0 Record format: GSM_UNAVAIL_COLOR_KEY|1|<number>
GSM_UNAVAILABLE_TIMELIMIT
For: Purpose: Value: CimEdit/CimView System or Project To adjust how long CimView waits before displaying unknown points as unavailable. Number (of milliseconds to wait)
A-42
July 2001
GFK-1180K
HDA_PTDL_OFFSET
For: Purpose: Historical Data Analyzer Project To specify the number seconds that you allow for the delayed logging of the Point Data Logger (required if you rely on source and flag fields you are logging to be synchronized to 00 seconds). The Historical Data Analyzer Resident Process gathers values per minute for the source field and flag field for all HDA fields that are to be evaluated at the current time. The Point Data Logger Is designed to log the actual log time but Does not synchronize to 00 milliseconds when logging Group table data.
Any delay with writing to the database will cause the log time to be delayed. Therefore, a Group table that is configured to log synchronized may actually log its values a number of milliseconds (or even seconds) late. Value: Number (of milliseconds) HDA will consider this number as the source and flag values. The values will be used for the prior minute if they are logged within HDA_PTDL_OFFSET seconds of the current minute. Example If all Group tables are logging 3 seconds late per minute, enter 3 in the Value field. This will allow a group table row logged at 10:01:03:00 to be considered as the value for the first minute after 10:00, the 10:02:03:00 row to be considered as the value for the second minute after 10:00, Default Value: 99 Record Format: HDA_PTDL_OFFSET|1|<milliseconds>
IPC_BCAST_INTERVAL
For: Router System and Project
Caution: Do not modify this option unless instructed to by GE Fanuc support personnel. Purpose: Value: To specify the Router (IPC) System Name Broadcast Period in seconds. Number (of seconds).
GFK-1180K
A-43
The default is 5.
PORT_GROWTH_PERIODS The number of periods to allow that message production
exceeds message consumption. After this number of periods messages will be dropped. Default to 6.
PORT_NONE_CONSUMED
The number of periods to allow with no message consumption. Defaults to 3. When the queue of port overflows and exceeds the above parameters the following message will be logged: Router to Application queue overflow on port If you see the above message tuning the above parameters may help. Typically the problem occurs because data is being produced faster than it can be consumed and changing these parameters will only delay the problem not solve it. Typically the solution to the problem is to slow down production (e.g. reduce scan rates) or speed up production (e.g. faster computer, more RAM)
exceeds message consumption. After this number of periods messages will be dropped. Default to 6. SOCK_NONE_CONSUMED The number of periods to allow with no message consumption. Defaults to 3. When the queue of the "socket" overflows and exceeds the above parameters the following message will be logged: Router dropped off node message to If you see the above message tuning the above parameters may help. Typically the problem occurs because data is being produced faster than it can be consumed and changing these parameters will only delay the problem not solve it. Typically the solution to the problem is to slow down production (e.g. reduce scan rates) or speed up production (e.g. faster network, faster computers, more RAM).
A-44
July 2001
GFK-1180K
IPC_QUEUE_SIZE
For: Router System
Caution: Do not modify this option unless instructed to by GE Fanuc support personnel. Purpose: To specify the maximum number of messages buffered by the Router in its Router to application queue. The first time a queue overflows, it logs the following message to the Status Log: Router to Application queue overflow on port <port_name> Further queue overflows on the same port do not result in any more error messages. When the queue overflows, if the new message is not a response required message, it is dropped. If it is a response-required message, it is not dropped and the queue size can temporarily exceed the specified value. Value: Number (of messages). Default Value: 50 Record Format: IPC_QUEUE_SIZE|1|<number>
LOG_OPT
For: Purpose: Value: Database Logging Project To define the default logging conditions for an alarm. You can choose any of the following: Enter any combination of the following: G A R D Alarm is generated Alarm is acknowledged Alarm is reset Alarm is deleted by a user.
GFK-1180K
A-45
LOGIN_RETRY_PERIOD
For: CIMPLICITY Login Project
Caution: Do not modify this option unless instructed to by GE Fanuc support personnel. Purpose: Value: To specify the retry period in seconds for connecting to a project whose User Registration program is down. Number (of seconds).
MAX_TREND_BUF
For: Purpose: Trending Project To specify the maximum number of point values a point buffers for Trending. Point buffering is used when a chart is first displayed and there is some initial data. Number (of point values).
Value:
MULTICAST_HOSTNAME
For: Purpose: Value: IP Address Traffic System To change the name used in the DNS lookup. Enter the name of the multicast IP address.
A-46
July 2001
GFK-1180K
MULTICAST_IP_ADDR
For: Purpose: Value: IP Address Traffic System To select different multicast addresses. IP address Guidelines IP multicast addresses, also known as group addresses, are in the class D range of 224.0.0.0 to 239.255.255.255 as defined by setting the first four high order bits to 1110. In network prefix or Classless Inter-Domain Routing (CIDR) notation, IP multicast addresses are summarized as 224.0.0.0/4. Multicast addresses in the range 224.0.0.0 to 224.0.0.255 (224.0.0.0/24) are reserved for the local subnet and are not forwarded by IP routers regardless of the Time to Live (TTL) in the IP header. The IP multicast addresses from:
224.0.1.0 to 238.255.255.255 are either reserved or assigned to a multicasting application. 239.0.0.0 to 239.255.255.255 (239.0.0.0/8) are reserved for applications that can be administratively scoped. 224.0.0.1all hosts on this subnet. 224.0.0.2all routers on this subnet. 224.0.0.5Open Shortest Path First (OSPF) Version 2, designed to reach all OSPF routers on a network. 224.0.0.6OSPF Version 2, designed to reach all OSPF designated routers on a network. 224.0.0.9Routing Information Protocol (RIP) Version 2. 224.0.1.1Network Time Protocol.
For the latest list of reserved multicast addresses, visit the Information Sciences Institute web site. Default Value: 224.0.0.29. Record Format:
Caution: If you change the address, make sure that you change it on all the machines, in order to insure that they will continue "talking" with each other.
GFK-1180K
A-47
MULTICAST_TTL
For: Purpose: Value: IP Address Traffic System To specify the time a multicast message lives. This can be used to control how many routers will forward the message. Number (of routers). Note: Every time a message goes through a router one unit is deducted from the value. When the value reaches 0, the data transmission stops. Default Value: 10 (routers). Record Format:
PB_DIAGS
For: Purpose: Value: Point Bridge Project To enable or disable Point Bridge diagnostics. Numeric values in the following format: <num1>,<num2>,<num3>,DUMPPOINT where: <num1> controls the amount/detail of diagnostic output. The value ranges from 0 to 9, where 0 means no debugging output, and 9 means the maximum amount of debugging output. <num2> is a value for NT operating systems that may handle output files in a manner that prohibits multiple process access (as sometimes occurs with NT on DEC Alpha platforms). This value controls approximately how often the output file will actually be closed/re-opened, in seconds. A value of 0 (zero) means that this period closing will not occur. Any non-zero value of less than 60 will be forced to 60. <num3> provides a number of seconds for an internal timer that rechecks the parameters in the Global Parameters file. This value cannot be less than zero. The default value is equivalent to five minutes.
DUMPPOINT initiates a one-time dump of the Point Bridge internal
information regarding the state of points it is servicing. This parameter is only acted upon once when any of the other arguments are changed, and the resulting change leaves LEVEL with a non-zero value. Default Value: Record Format:
PB_DIAGS|1|LEVEL=<num1>,FILECLOSE=<num2>,DBGCHK_SECS=<num3>,DUMPPOI NT
A-48
July 2001
GFK-1180K
PROJECT_ID
For: Multiple Projects Option Project
Caution: Do not modify this option unless instructed to by GE Fanuc support personnel. Purpose: Value: To specify the one character Project ID for the project. Enter a letter A through Z or number 0 through 9
PROWLER_CACHE_SIZE
For: Purpose: WebView/ThinView System or Project To set the cache size for WebView or ThinView. This is equivalent to GSM_CACHE_SIZE but this parameter is used instead of that for WebView and ThinView sessions. Number (of screens that can be kept in cache memory)
Value:
PTDL_ENABLE_MEASUREMENTS
For: Purpose: Default For: Value: Measurement System (Data logging) Project To specify whether point values are to be logged in the currently active measurement system. Enable measurement systems field on the Parameters tab of the Logging Properties dialog box. Enter one of the following: 0 1 Default Value: 0 Record Format: PTDL_ENABLE_MEASUREMENTS|1|<num> Don't use a measurement system Use the currently active measurement system
GFK-1180K
A-49
PTDL_QUANTIZATION
For: Purpose: Default for: Value: Data Logging Project To specify the rate in ticks at which the Point Data Logger submits data for logging. Point data logging scan rate field in the Database Logger Logging Properties dialog box. Number (of ticks) that is: Faster than the fastest table scan rate in ticks at which the Point Data Logger will submit data for logging. Large enough so that all the data for a PLC scan comes into the database together.
PTMDP_DO_EU_CONV
For: Purpose: Point Configuration Project To automatically convert Virtual Point ID values that you use in the Expression Editor to engineering units without having to use the EU_CONV(<point_id>) function. Enter one of the following: 0 1 Default Value: 0 Record Format: PTMDP_DO_EU_CONV|3|<option> Do not automatically convert Point ID values to engineering units in expressions. Automatically convert Point ID values to engineering units in expressions.
Value:
PTMDP_DO_SAVEPOINT_CACHE
For: Purpose: Default For: Value: Point Configuration System and Project To define when virtual point values will be stored. Store values radio buttons in the Point Setup dialog box. Enter one of the following: 0 1 Default Value: 1 Record Format: PTMDP_DO_SAVEPOINT_CACHE|1|<flag> Point values will be stored on point update. Point values will be stored on project shutdown
A-50
July 2001
GFK-1180K
PTMDP_DO_SAVEPOINT_COMPACT
For: Purpose: Default For: Value: Point Configuration Project To define whether virtual point storage is to be compacted on project startup. Compact on project startup check box in the Point Setup dialog box. Enter one of the following: 0 1 Default Value: 0 Record Format: PTMDP_DO_SAVEPOINT_COMPACT|1|<flag> Do not compact the point storage on project startup Compact the storage on project startup
PTMRP
For: Point Management Project
Caution: Do not modify this option unless instructed to by GE Fanuc support personnel. Purpose: Value: To define the default Point Manager to be used for point processing. Name (of the default Point Manager).
PTX_MAX_CACHED_POINTS
For: Purpose: Point Translation Project To limit the size of the Point Translation cache on systems that have a large number of points. Point Translation adds points to the cache when Point Management applications (for example, scripts, CimView windows, Point Control Panel, etc.) requests point information.
Caution: If the applications on a project are likely to cycle through all the points, limiting the cache size may cause point information to update more slowly than expected. Value: Enter 0 (zero), or delete the global parameter if you do not want to limit the cache size. Otherwise, enter the number of points to be put into the cache.
GFK-1180K
A-51
RAW_LIMIT_ALARM
For: Purpose: Value: Point Alarms Project To enable or disable the generation of alarms for point values that are outside their raw limits. The options are: Enter one of the following: YES NO Default Value: YES. Record Format: RAW_LIMIT_ALARM|1|<option> Raw limit alarms are enabled. Raw limit alarms are disabled.
REDUND_LINK_SLEEP
For: Purpose: Value: Server Redundancy System To make the Router wait a period of time before creating the link to the slave node. Number (of seconds).
REPEAT_TOUT
For: Purpose: Alarm Management Project To specify the time in minutes before an alarm is automatically repeated to all interested processes by the Alarm Management Resident Process. Minutes field in the Alarm Options tab of the Alarm Definition dialog box when Auto repeat is set to Timed. Number (of minutes)
RTR_ACCEPT_CONN
For: Purpose: Default for: Value: Network Options System To specify whether or not you want to connect to other projects in your enterprise and you want other projects to connect to this project. Use the Accept Connections field in the CIMPLICITY Options dialog box. Enter one of the following: Y N Default Value: Y Record Format: RTR_ACCEPT_CONN|1|<option> Accept the connections. Stand alone.
A-52
July 2001
GFK-1180K
RTR_DISABLE_BCAST
For: Purpose: Router System To specify if you want to disable broadcast of the project name on the network. When you broadcast the project name, users on other nodes that request point data can use the project name in fully qualified points. Otherwise, they can only use the node name in fully qualified points. Your specification is used as the default in the Enable Project Broadcast field in the Workbench Project Properties dialog box. Value: Enter one of the following: Y N Default Value: N Record Format: RTR_DISABLE_BCAST|1|<option> Disable broadcast. Do not disable broadcast.
RTR_MAX_OUTMESSAGE_COUNT
For: Router System
Caution: Do not modify this option unless instructed to by GE Fanuc support personnel. Purpose: To specify the maximum number of messages buffered by the Router for a Router to Router link. If the queue overflows, the Router drops new messages. When it drops the first message, it logs the following error to the Status Log: Router dropped offnode message to <remote_node_name> Further dropping of messages to the same node do not result in additional error messages as long as the remote node stays active. Value: (maximum) Number (of messages). Default Value: 1000 Record Format: RTR_MAX_OUTMESSAGE_COUNT|3|<number>
GFK-1180K
A-53
SECURE_SOCKETS
For: Purpose: Network System To secure a PC with encryption. When you activate SECURE SOCKETS encryption on one PC, then only PCs that support this parameter (PCs that have CIMPLICITY 4.01Service Pack 2 or higher installed) will be able to communicate with the secure PC. All data transfer to the secure PC will be encrypted. You activate this parameter by creating a globals.ini file. To activate SECURE_SOCKETS: 1. 2. Open Microsoft Notepad (or another text editor). Enter the following two lines.
[ROUTER] SECURE_SOCKETS=Y
Where
Y = Yes, activate encryption N = No, de-activate encryption
3. 4. 5.
Save the file as Globals.ini. Place Globals.ini in the CIMPLICITY\HMI\Data directory. Restart CIMPLICITY for encryption to take effect.
Important: Only computers that have CIMPLICITY 4.01 service pack 2 or higher installed will be able to communicate with a SECURE_SOCKET encrypted PC.
A-54
July 2001
GFK-1180K
SETPOINT_SECURITY
For: Purpose: Point Management Security Project To specify if a user can perform setpoints on only those points whose resources are in the user's view. This is the default for the Use the Enable Setpoint Security check box in the Project Properties box. Enter one of the following: YES NO Default Value: NO Record Format: SETPOINT_SECURITY|1|<option> Enable setpoint security. Do not enable setpoint security.
Value:
SHORT_FILENAMES
For: Filenames Project
Caution: Do not modify this option unless instructed to by GE Fanuc support personnel. Purpose: Value: To enable or disable support for short (8 characters or less) filenames. Enter one of the following: YES NO Default Value: NO Record Format: SHORT_FILENAMES|1|<option> Users cannot use filenames greater than 8 characters. Users can use any length filenames.
STARTUP_TIMEOUT
For: Purpose: Value: Project Project To set the number of minutes to wait before timing out when starting up a project. Number (of minutes).
GFK-1180K
A-55
SVC_RETRY_COUNT
For: External Services Project
Caution: Do not modify this option unless instructed to by GE Fanuc support personnel. Purpose: Value: To set the number of retries waiting for an external service to start up. Number (of retries).
SVC_RETRY_DELAY
For: External Services Project
Caution: Do not modify this option unless instructed to by GE Fanuc support personnel. Purpose: Value: To set the delay in ticks between retries waiting for an external service to start up. Number (of ticks). (100 ticks=1 second) Default Value: 100 Record Format: SVC_RETRY_DELAY|1|<number>
SYSNAME
For: Project Project
Caution: Do not modify this option unless instructed to by GE Fanuc support personnel. Purpose: Value: To specify the project name. Name (for the project).
Default Value: The name that was assigned to the project when it was created. Record Format: SYSNAME|1|<project_name>
TERMSERV_ALLOW_SETPOINTS
For: Purpose: Value: Points using Terminal Services System or Project To disallow setpoints from CIMPLICITY Terminal Services clients. F, FALSE, T, TRUE, Y, YES, N, or NO
A-56
July 2001
GFK-1180K
UR_LOGIN_FAILURES
For: Purpose: Value: User Interface Project To define the consecutive number of login failures before the user is locked out of the Login dialog box. Enter a number greater than 1.
GFK-1180K
A-57
FloPro/FloNet Communications
FLOPRO_RESPONSE_TIMEOUT FLOPRO_STATIC_MODEL
Marquee Driver
MARQ_PROC_NEW_ALARMS MARQ_RESERVED_NULL MARQ_WORD_WRAP_ON MARQ_WRAP_HF MARQ_POINT_LIMIT_LEN
A-58
July 2001
GFK-1180K
Smarteye Communications
<port>_LOG_WARNING <port>_MODE <port>_POLL_LIMIT <port>_RESTART_SEA SE_LABEL_LEN
GFK-1180K
A-59
where <dir> is the directory where you need to make the changes. For global parameters that apply to the: System (all projects), enter cd %BSM_ROOT%data Current project, enter cd %SITE_ROOT%master
A Windows Notepad opens displaying a record of the global parameters in the all projects or specified project directory. The list of global parameters in this file corresponds to the list that displays in the Workbench.
A-60
July 2001
GFK-1180K
4. 5. 6. 7. 8.
Find the parameter you want to check. You can edit the value in this file if you need to. Save the file if you have modified it. Exit Notepad. Type scpop glb_parms at the DOS prompt. A new binary version of the Global Parameters file will be produced and put in the master directory. Type exit to exit the Command Prompt window.
When you are ready to implement the change in the run-time system, you will have to stop the project(s), perform a Configuration Update, and restart the project(s).
Note: The Global Parameters file that is used on a Viewer is located in the CIMPLICITY installation directory in a subdirectory called data (e.g., c:\cimplicity\hmi\data
GFK-1180K
A-61
A-62
July 2001
GFK-1180K
The format of a particular DDE command depends on how it has been implemented in the application where you are using it.
GFK-1180K
B-1
where: <point_id> is the CIMPLICITY Point ID whose data is being retrieved. You may enter an unqualified or fully qualified (by project or node name) Point ID. is the point attribute of interest. If you do not enter an attribute, CWSERV uses "VALUE" as the default. is the range of array elements desired . If you do not enter a range, CWSERV uses "[0]" as the default. Enter "[n]" to specify a single element of an array. D If you have requested a range of elements, use this field to specify the display format. Enter "C" to display the elements in a column, or "R" to display the elements in a row. If you do not enter a display format, CWSERV uses "C" as the default.
<attribute> n:m
This syntax will display the current state of the point "ANALOG_POINT":
=cwserv|point!analog_point.state
This syntax will display the sixth through tenth values of the array point "ARRAY_POINT" in a row:
=cwserv|point!'array_point.value[5:9R]'
This syntax will display the value of the point "ANALOG_POINT" in the "TEST" project:
=cwserv|point!\\test\analog_point.value
B-2
GFK-1180K
VALUE
Displays the converted (EU) value of the point. If there is no conversion, the raw value is displayed. If you do not enter an attribute in the CWSERV command, this is the default attribute that is displayed.
RAW_VALUE
Displays the raw value of the point.
STATE
Displays the current state of the point. The point's current state depends on its point class and alarm conditions. For all point classes, the states that can be displayed are: NORMAL UNAVAILABLE The point's value is within normal limits, and no alarms are outstanding. If the point is a device point, communications with the device have failed, and the point can no longer be read. If the point is a virtual point, one or more of the source points that comprise this point is unavailable. For Analog and APPL point classes, the additional states that can be displayed are: ALARM HIGH ALARM LOW WARNING HIGH The point's value is greater than the high alarm limit. The point's value is less than the low alarm limit. The point's value is greater than the warning high limit and less than the alarm high limit.
GFK-1180K
B-3
The point's value is less than the warning low limit and greater than the alarm low limit. The point is an Analog or APPL device point with engineering units conversion, and its value exceeds one of its conversion limits.
For the Digital (Boolean) point class, the additional states that can be displayed are: ALARM WARNING The point's value is in the alarm state. You will only see this message if Enable Alarms has been reset, Enable Warning is set, and the point's value is in the alarm state.
TYPE
Displays the point's type. You will see one of the following: BOOLEAN BITSTRING OCTETSTRING CHARACTERSTRING UNSIGNED INTEGER 1 UNSIGNED INTEGER 2 UNSIGNED INTEGER 4 INTEGER 1 INTEGER 2 INTEGER 4 FLOATING POINT STRUCTURE Note OCTETSTRING points are not currently supported by CWSERV. If you try to display such a point's VALUE or RAW_VALUE attribute, "#NAME?" will be displayed on the Excel spreadsheet.
LENGTH
Displays the length of the point. This field is only meaningful for the following point types: BITSTRING OCTETSTRING
ELEMENTS
Displays the number of elements contained in the point.
SIZE
Displays the size of the data.
DISP_FORMAT
Displays the format used when displaying the point's value in Alarm Viewer, Status Log messages, or CimView.
B-4
GFK-1180K
EU_LABEL
Displays the engineering units label for the point. The label can be up to eight (8) characters long.
ALARM_HIGH
Displays the Alarm High value for the point. This field is only valid for the following point types: ANALOG APPL
If the point's value exceeds this number, the point is in ALARM HIGH state.
ALARM_LOW
Displays the Alarm Low value for the point. This field is only valid for the following point types: ANALOG APPL
If the point's value is less than this number, the point is in ALARM LOW state.
WARNING_HIGH
Displays the Warning High value for the point. This field is only valid for the following point types: ANALOG APPL
If the point's value is greater than this number, but less than the Alarm High number, the point is in WARNING HIGH state.
WARNING_LOW
Displays the Warning Low value for the point. This field is only valid for the following point types: ANALOG APPL
If the point's value is less than this number, but greater than the Alarm Low number, the point is in WARNING LOW state.
DISP_HIGH
Displays the high limit for the display value for this point. This field is only valid for the following point types: ANALOG APPL
DISP_LOW
Displays the low limit for the display value for this point. This field is only valid for the following point types: ANALOG APPL
GFK-1180K
B-5
INIT_STATE
Indicates whether the point is enabled or disabled. You will see one of the following values: 0 1 The point is disabled The point is enabled.
ALARM_ENABLED
Indicates whether high/low alarms are enabled or disabled for this point. You will see one of the following values: 0 1 High/Low alarm messages are disabled for the point. High/Low alarm messages are enabled for the point.
WARN_ENABLED
Indicates whether high/low warnings are enabled or disabled for this point. 0 1 High/Low warning messages are disabled for the point High/Low warning messages are enabled for the point.
For example, to display the raw value for the point CWSERV_VIRT, you would type:
=cwserv|point!cwserv_virt.raw_value
To display an array in a Microsoft Excel spreadsheet: 1. 2. Select a range of cells (horizontal or vertical) where you want the point information to appear. Enter the CWSERV formula, and enclose the point information within single quotes, then press Ctrl+Shift+Enter.
For example, to display the raw values for the ten-item array CWSERV_ARRAY in a column on your spreadsheet, you would type
=cwserv|point!'cwserv_array.raw_value[0:9c]'
B-6
GFK-1180K
Starting CWSERV
The first time you enter point information into a spreadsheet, the following dialog box will be displayed:
This dialog box will also be displayed if you open a spreadsheet that contains CWSERV commands and the CWSERV server is not active. Click Yes to start CWSERV. This dialog box will appear every time you open the spreadsheet:
Click Yes to reconnect to CWSERV to access data. If CWSERV is not running, you will be asked if you want to start it. Click Yes to start CWSERV. If you are connecting to the project for the first time, or your login timeout has expired, the CIMPLICITY Login dialog box for the project is displayed.
Enter your CIMPLICITY username and password and click OK. Your spreadsheet will now start to display the CIMPLICITY data you requested in the CWSERV commands.
CWSERV Icon
While the server is active, you will see this icon on your terminal screen:
GFK-1180K
B-7
Macro Format
The format for a Microsoft Excel macro that performs a setpoint is: Enter the macro name on the first line. Enter channel=INITIATE("cwserv","point") on the second line to open the CWSERV channel. Enter =POKE(channel, "<point_id>.<attribute>", <sheet location> for each setpoint you want to perform. Enter =TERMINATE(channel) to close the channel. Enter =RETURN() to terminate the macro.
You can enter any number of POKE commands in the macro. If you are performing setpoints on an array, you can use one POKE command to set multiple array values. For example, if you want to set an array of ten items from information in a column on the spreadsheet, you can use a POKE command like this:
=POKE(channel,"cwserv_array.raw_value[0:9]",Sheet1!R4C4:R13C 4)
This command will take the values in rows 4 through 13 of column 4 of the spreadsheet and use them to set the first 10 values in the CWSERV_ARRAY point.
Performance Considerations
When you perform a large number of DDE POKE requests from an application such as Microsoft Excel, the DDE server application may fall behind. Under Excel, this will cause some requests to timeout and fail.
B-8
GFK-1180K
Depending on the performance and configuration of your computer, your delay requirements may vary.
Implementing A Macro
You will need to do the following to implement a macro that performs a setpoint and assign it to a button: 1. Select a location on your spreadsheet where you want to enter the point's setpoint value. Make a note of the sheet name and cell location. If you have not already done so, select Toolbars from the View menu and activate the Drawing toolbar. Select Record Macro from the Tools menu on your spreadsheet. Select Record New Macro from the Record Macro submenu. The Record New Macro dialog box will open. Enter your new macro name in the Macro Name input box. Click Options. Select This Workbook from the Store In input box. Select MS Excel 4.0 Macro from the Language input box. Click OK. A new Macro sheet will be created and the macro name will be placed in the first cell (R1C1) of the sheet.
2. 3. 4. 5. 6. 7. 8. 9.
10. Select Record Macro from the Tools menu. 11. Select Stop Recording from the Record Macro submenu. 12. Enter your commands in the cells under the macro name on the Macro page. 13. Go back to your sheet. 14. Select Create Button from the Drawing toolbar. 15. Create a button on the spreadsheet. When you do this, the Assign Macro dialog box will open. 16. Select the setpoint macro from the Assign Macro dialog box. Whenever a user enters the setpoint in the cell referenced by the macro, then clicks the button, the setpoint value will be sent to CIMPLICITY software.
GFK-1180K
B-9
The formulas that appear in cells R5C3 through R17C3 are: R5C3 R6C3 R7C3 R8C3 R9C3 R10C3 R11C3 R12C3 R13C3 R14C3 R15C3 R16C3 R17C3 =cwserv|point!cwserv_virt.value =cwserv|point!cwserv_virt.state =cwserv|point!cwserv_virt.disp_format =cwserv|point!cwserv_virt.eu_label =cwserv|point!cwserv_virt.alarm_high =cwserv|point!cwserv_virt.warn_high =cwserv|point!cwserv_virt.warn_low =cwserv|point!cwserv_virt.alarm_low =cwserv|point!cwserv_virt.disp_high =cwserv|point!cwserv_virt.disp_low =cwserv|point!cwserv_virt.alarm_enabled =cwserv|point!cwserv_virt.warn_enabled =cwserv|point!cwserv_virt.init_state
B-10
GFK-1180K
The following macro is the one associated with the Set button above.
set_point channel=INITIATE("cwserv","point") =POKE(channel,"cwserv_virt.value",Sheet1!R19C3) =TERMINATE(channel) =RETURN()
To change the setpoint, enter the new point value in cell R19C3, then click Set.
The procedure is as follows: 1. HIghlight the number of rows or columns to match the number of elements of the row to be displayed. (Cells R5C3 through R14C3 were selected.) Enter the SCSERV command. For example, =cwserv|point!'cwserv_array.raw_value[0:9c]' 3. Press Ctrl+Shift+Enter on the keyboard. Note You must press Ctrl+Shift+Enter when entering a formula for a range of cells on the spreadsheet. If you press Enter, only the first cell of the range will contain data. In the case of array points, this means that only the first array element's value is displayed.
2.
GFK-1180K
B-11
The following macro is the one associated with the Set button above.
Array channel=INITIATE("cwserv","point") =POKE(channel,"cwserv_array.raw_value[0:9]",Sheet1!R5C4:R14C4) =TERMINATE(channel) =RETURN()
To change the setpoint, enter the new values in R5C4 through R14C4, and click Set.
B-12
GFK-1180K
Formats
CWSERV currently supports the CF_TEXT format. To display format information on a Microsoft Excel spreadsheet: 1. 2. Select one (1) cell in the spreadsheet. Type the following formula in the cell and press Enter:
=cwserv|system!formats
System Items
CWSERV currently supports four system items - Formats, Help, SysItems, and Topics. To display system item information on a Microsoft Excel spreadsheet: 1. 2. Select four (4) rows in one column in the spreadsheet. Type the following formula in the first cell and press Ctrl+Shift+Enter.
=cwserv|system!sysitems
Topics
CWSERV currently supports two topics - Point and System. To display topic information on a Microsoft Excel spreadsheet: 1. 2. Select two (2) rows in one column in the spreadsheet. Type the following formula in the first cell and press Ctrl+Shift+Enter.
=cwserv|system!topics
GFK-1180K
B-13
Help
You can display descriptive information about CWSERV. This information tells you how to display information, and lists the System and Point topic attributes. To display information about CWSERV on a Microsoft Excel spreadsheet: 1. 2. Select 38 rows in one column in the spreadsheet. Type the following formula in the first cell and press Ctrl+Shift+Enter.
=cwserv|system!help
B-14
GFK-1180K
Error Messages
If the VALUE or RAW_VALUE field displays "******", there is a problem reading the point data from the device. If a field displays "#N/A", the attribute you requested does not contain a value. If a field displays "#NAME?", you can have one of several problems; for example: You have entered an invalid Point ID or attribute name. The attribute is not supported by the point type. CWSERV does not support the point type for value displays.
When you see a "#NAME?" error in a field, check your project's Status Log file for detailed information on the cause of the problem.
GFK-1180K
B-15
B-16
GFK-1180K
GFK-1180K
C-1
Device Properties
To import variables as device points into a project, you must create an association between the projects devices and Control folders. A device can have associations with multiple folders. However, a folder can only be associated with one of the projects devices because a folder is seen by the project as being a device itself. When you create a new device that is supported by CIMPLICITY Control, a property page called Control is displayed in the device properties. Use this property page to configure and control imports from CIMPLICITY Control for that device.
C-2
GFK-1180K
Import Options
You can select various options that customize the import of points from Control. You can customize the following: Point ID Prefix The format of a point ID imported from CIMPLICITY Control can take the form <prefix><PointID>. Use the radio buttons to select the prefix you want to use for points you are importing. Select None if you want no prefix. Select Device name to use the device name as the prefix. Select Folder name to use the folder name as the prefix. Select Custom and enter the character string you want to create a custom prefix.
The length of a Point ID may be up to 32 characters long in CIMPLICITY HMI. Therefore, the allowed number of characters in the prefix depends on the number of characters in the imported Point ID. If the Point ID is already greater than 32 characters, no prefix is inserted and the Point ID is truncated at the end. If the Point ID is less than 32 characters long, the maximum number of characters in the prefix will be: 32 - number of characters in the ID Add Select this check box to create new points in the CIMPICITY HMI database. For each device, any exportable variables from the associated folders that do not exist as points in the project are created using the variable properties and the common point properties. Modify Select this check box to modify points in the CIMPLICITY HMI database. For each device, any exportable variables from the associated folders that exist as points in the project are modified using the variable properties if the existing points belong to the device. Common properties are also modified if you also set the Use common point properties on modify check box. Delete Select this check box to delete points in the CIMPLICITY HMI database. For each device, any previously exported point belonging to the device that was not exported from an associated folder is deleted. Note Only previously exported points from existing associations are deleted. Previously exported points from folder associations that no longer exist are not removed from the project. If the prefix exceeds this limit for a Point ID, it will be truncated before it is added to the Point ID.
GFK-1180K
C-3
On configuration update Select this check box to import points for all devices associated with Control folders during configuration update for those folders that have changed since the last import. Use common point properties on modify Select this check box to use common point properties during a modify operation or keep the common point properties that the point already has in the HMI project.
Actions
Select Import now to perform an exchange of data. The import is performed regardless of whether it is needed. See Import Rules for a detailed explanation of how imports are performed. Select Associate with folders... to associate CIMPLICITY Control folders with CIMPLICITY HMI devices. When you select this option the CIMPLICITY Association Server dialog box opens.
C-4
GFK-1180K
This dialog box shows you the current associations and lets you: Create new associations Edit existing associations Delete associations
Enter the CIMPLICITY HMI project path name in the PROJECT PATH field. Enter the CIMPLICITY Control folder path name in the FOLDER PATH field. Enter the CIMPLICITY HMI device name in the DEVICE NAME field.
GFK-1180K
C-5
Remember that a device can have associations with multiple folders, but a folder can only be associated with one of the project's devices. Select OK to add the association to the list of associations. The dialog box closes and the list in the CIMPLICITY Association Server dialog box updates.
Editing an Association
To edit an association: 1. 2. Select the association in the CIMPLICITY Association Server dialog box. Select EDIT.
Use this dialog box to change the project path, folder path, or device name.
Deleting an Association
To edit an association: 1. 2. Select the association in the CIMPLICITY Association Server dialog box. Select DELETE.
The Delete Association dialog box opens, prompting you to confirm your request.
Select Yes to delete the association, or select No to cancel the delete request.
C-6
GFK-1180K
Import Process
When you select Import now from the Control property page of a supported device or when you perform a configuration update, the CIMPLICITY Control Point Import process starts. During the import process a status dialog box displays and informs you the state of the import process. This is done to give you positive feedback because the import process can be quite lengthy.
Import Rules
CIMPLICITY HMI always assumes that the information in a Control folder is the most up to date. During a configuration update, all devices with Control configuration that have the On Configuration Update option selected are verified to see if they need an import. An import is needed for those folders that have changed since their last import. There are three categories used to classify points during import: New Modifiable Removable A point is considered new if it does not exist in the project. A point is considered modifiable if it exists in the project and it belongs to the device associated with the folder being imported. A point is considered removable if it exists in the project and it belongs to the device associated with the folder being imported but was not imported during the current import session.
The import process retrieves exportable information from each association and uses the following algorithm to import the points: 1. If a point is new and the configuration of the device associated with the folder being imported has the new option selected, it is added into the project. Further imports will then consider this point modifiable unless its device is changed through point configuration. 2. If a point is modifiable and the device configuration has the modify option selected, the point is modified using the imported information. If the device configuration has the use common properties on modify option selected, common properties are also modified. Any other point property is left intact (for example, alarm, display, engineering units, etc.) 3. If a point is removable and the device configuration has the delete option selected, it is deleted from the project.
GFK-1180K
C-7
4.
If a point exists in the project but it is a virtual point or does not belong to the device associated with the folder being imported, a new point conflict occurs. If the point information imported from Control is incomplete or incorrect, an incorrect information conflict results for that particular point.
5.
Please note that the import process only identifies point conflicts between folders and projects. It does not identify conflicts between folders associated with the same device. Example: A device can be associated with folders A and B. Both folders can contain the same exportable variables. When the import occurs, the last folder to be imported modifies the imported information from the previous folder because the points are considered modifiable since they belong to the same device. To prevent this situation from happening you can use the folder name prefix option to add a prefix to each Point ID thus preventing folder to folder conflicts from occurring.
Two types of conflicts can occur: New point conflicts Incorrect information conflicts
C-8
GFK-1180K
Note Conflicts do not need to be resolved in order for the import to continue. To display the Resolve Conflict dialog box for a point and resolve a point conflict, do one of the following: Double-click on the point in the list. Select the point in the list, then select Resolve.
Select OK to import the resolved points. Select Cancel to cancel the import of resolved points.
To solve the conflict, you can take one of the following actions: Don't import the point Rename it using a Point ID considered new or modifiable.
The action always defaults to Do not import. Previously imported points with new point conflicts will always have new point conflicts unless the point is renamed using the CIMPLICITY Control Workbench.
GFK-1180K
C-9
To solve the conflict, you can take one of the following actions: Don't import the point. Correct the point's information.
If you rename the point you must use a Point ID considered new or modifiable. The dialog box ensures that you do so. The conflict action normally defaults to Do not import. However, for previously imported points with incorrect information, their last imported information is placed in the conflict correction dialog and the conflict action defaults to Correct.
C-10
GFK-1180K
Remote Configuration
Control configuration options are only supported in the computer where associations are created. This is because the Association Servers storage is local to the computer. In order to perform point imports from remote computers you need to configure associations properly in each remote computer. A project path in an association needs to be the path by which the project is opened. For example, if a computer opens a project through HMI as X:\project\project.gef, the project's associations in that computer must also be configured as X:\project\project.gef. If another computer opens the same project as Y:\project\project.gef, the project's associations in that computer must be configured as Y:\project\project.gef. A folder path in an association needs to be exactly the same for all computers. For example, if project.gef has an association with folder F:\folder\folder.ef7, all computers must have their associations configured with the same folder path and must be able to open the folder through that same path as well. This is because the import process will have to access the folder through the path given by the association.
Example
For example, given the following two computers: ComputerA HMI and Control installed Drive E: mapped to \\ComputerB\C$ Contains C:\project\project.gef Configured associations: C:\project\project.gef with E:\folder\folder.ef7
ComputerB
HMI and Control installed Drive E: mapped to its own C drive (\\ComputerB\C$) Drive F: mapped to \\ComputerA\C$ Contains C:\folder\folder.ef7 Configured associations: F:\project\project.gef with E:\folder\folder.ef7
GFK-1180K
C-11
You can make HMI changes to the project from either machine because they both have HMI installed. You can make changes to the folder from either machine because they both have Control installed. If you open the project from ComputerA and perform a point import, it will be performed because the computer has the project's associations configured. If you open the project from ComputerB and perform a point import, it will also be performed because the computer has the project's associations configured. Note that if ComputerB had its association configured as follows:
F:\project\project.gef with C:\folder\folder.ef7
the import will be performed but it will end up assuming that the folder is a different folder.
C-12
GFK-1180K
About CIMPLICITY HMI Plant Edition Integration of Machine Edition Point Data
You can seamlessly view the live point data for a running CIMPLICITY Machine Edition View (Machine Edition) project through any of the following CIMPLICITY HMI Plant Edition (Plant Edition) tools. Point Control Panel. CimView/CimEdit Basic scripting (to set points) Enterprise server (for points only) Point data logging.
For example, when you select a project in the Point Control Panel, that project may be a running Machine Edition project. You select it the same as you do a Plant Edition project. Once the project is open you browse for and select points to view, the same as you do for Plant Edition projects.
Example Point Control Panel displaying a Machine Edition project's point data.
GFK-1180K
D-1
The CIMPLICITY Enterprise Server (ES) serves data from one or more CIMPLICITY Machine Edition projects. At startup the ES obtains a list of exported Machine Edition points and adds those to the points it is serving. Similarly, whenever the Machine Edition node is restarted, the ES will resynchronize the list of points. Whenever an ES point goes into demand (e.g. a viewer starts using it), the ES will start collecting that data from the Machine Edition node. An important feature of the CIMPLICITY Enterprise server is that the architecture provides scalability. Therefore, the server can handle data distribution to hundreds of viewers while limiting the impact on the CIMPLICITY View to one request per point.
D-2
July 2001
GFK-1180K
Integrated Functionality
CIMPLICITY HMI Plant Edition provides you with the tools to easily work with Machine Edition point data through the Plant Edition interface. However, the two applications are designed to fulfill different requirements and, therefore, have some differences in design functionality. Following are details about: How point data integration handles product variations. Setting up Machine Edition for data point integration.
GFK-1180K
D-3
EU Conversion
In CIMPLICITY HMI Plant Edition the client performs Engineering Unit conversions. In the Machine Edition, View will indicate that the data type of the point is REAL and send the converted value to the application instead of the raw value. Likewise, on a setpoint PTMAP will send the EU value and View will convert it back to a raw value before sending it to the device.
By default Machine Edition will broadcast more than one project with the same name. For proper operating, the user must ensure that no two broadcasting projects have the same name. If two project broadcasts use the same name, it will not be predictable as to which project Plant Edition will get data from.
Project Acknowledgement Time Machine Edition broadcasts projects every 75 seconds. Therefore it can take up to 75 seconds for a project to appear on a Plant Edition list of projects available for point data monitoring. Point Updates Machine Edition uses a scan based reporting mechanism for reporting point values. As a result, Plant Edition will miss intermediate values of a point that changes faster than the scan rate.
D-4
July 2001
GFK-1180K
Point data is collected through the View functionality. When the View screen closes, data collection stops.
GFK-1180K
D-5
You can use the same point information to configure more than one system. For example, you can use a spreadsheet to create and modify point data, then import the data into both the CIMPLICITY HMI database and Logicmaster 90 software. The following is a quick overview of how Import/Export passes data between the CIMPLICITY HMI point database and third party applications.
In addition to reading and writing information in the CIMPLICITY HMI point database and CSV files, Import/Export uses information in the Import/Export configuration files to determine default field data, and writes informational, warning, and error messages to a log file.
GFK-1180K
E-1
** FIELD NAMES is a physical record consisting of a single line. It is shown here as multiple lines for readability within the documentation.
E-2
GFK-1180K
You must enclose between double quotes any fields that contain a comma as part of the data. For example:
...,"Comma, example",...
You must enter two double quotes if you want a double quote to be part of a data string. For example
...,"Quotes ""example"" ",...
You do not need to enter two double quotes if you want a double quote to be a part of a data string. For example:
GFK-1180K
E-3
You may modify these configuration files through any text editor, independent of Import/Export.
An initial version of ie_deflds.cfg is included in your software distribution, and looks like this:
## Shared Name File ## CIMPLICITY IMPORT/EXPORT -- Default Points Configuration ## PT_ID, PT_ORIGIN, PT_TYPE, ACCESS, ADDR_TYPE, ALM_CRITERIA, ALM_ROUTE_OPER, ALM_ROUTE_SYSMGR, ALM_ROUTE_USER, ALM_TYPE, ANALOG_DEADBAND, CALC_TYPE, CONV_TYPE, ELEMENTS, JUSTIFICATION, LOCAL, POLL_AFTER_SET, PT_ENABLED, RESET_ALLOWED, SAMPLE_INTV, SAMPLE_INTV_UNIT, SCAN_RATE, UPDATE_CRITERIA, VARIANCE_VAL, VARS ## IE_DEV_ANALOG,D,INT,R,FQ,ABS,0,0,0,,0,,NO,1,LEFT,,0,1,0,0,SEC,1,OC,,1 ## IE_DEV_DIGITAL,D,BOOL,R,FQ,,0,0,0,AL,,,,1,LEFT,,0,1,0,0,SEC,1,OC,,1 ## IE_DEV_TEXT,D,STRING,R,FQ,,0,0,0,,,,,1,LEFT,,0,1,0,0,SEC,1,OC,,1 ## IE_VIRT_ANALOG,G,INT,RW,,ABS,0,0,0,,,EQU,,1,LEFT,0,,1,0,0,SEC,,,0,1 ## IE_VIRT_DIGITAL,G,BOOL,RW,,,0,0,0,AL,,EQU,,1,LEFT,0,,1,0,0,SEC,,,0,1 ## IE_VIRT_TEXT,G,STRING,RW,,,0,0,0,,,EQU,,1,LEFT,0,,1,0,0,SEC,,,0,1 ##
Important: Do not change information in the PT_ID, PT_ORIGIN, or PT_TYPE fields of records in this file. When you import data into the CIMPLICITY HMI point configuration, any fields in an import record that do not contain data, and that correspond to default fields in ie_deflds.cfg, will have their values set to the default values contained in ie_deflds.cfg.
E-4
GFK-1180K
Example If a new digital device point is being imported, and The Access field in the import file is left blank, the import function will substitute the default Access value used for IE_DEV_DIGITAL.
GFK-1180K
E-5
The default file contains two formats: Full Set and Logicmaster Export. The Full Set format contains all fields supported by Import/Export. The Logicmaster Export format contains the four fields of interest to the Logicmaster 90 (LM90).
Select one of the formats in this file when you export data. If you do not select a format, an internal format is used
Note: The internal format contains all the fields in the Full Set plus additional unsupported fields.
You can modify an existing format by either adding or deleting field names from its definition record. Do not modify the Full Set or Logicmaster Export definitions.
E-6
GFK-1180K
In the above example: The Info message tells you when the application (in this case, import) started. The Warning message tells you that the prefix that you are adding to the beginning of each Point ID will cause the identified Point ID to be truncated. Note: Point IDs may have up to 32 characters Example
GEF_DEMO_REAL_REAL_LONG_NAME will be truncated to XXXXXXXX_GEF_DEMO_REAL_REAL_LONG.
The error message tells you that you do not have a Device ID for a given point. This is categorized as an error, because this point data will not be imported unless you add a Device ID.
GFK-1180K
E-7
Import Procedure
To import data: 1. 2. Log in and start up a command shell in the project where you want to import data. At the system prompt, invoke the following command:
$ clie import <file> [-D <device_id>] [-R <resource_id>] [-Pa <prefix>] [-y]
Where <file> is a required argument, and is the full path of import file to be read. The file may be in any directory, but the project's Data subdirectory is recommended. You should always use the .CSV extension with this filename.
Important: Option names are case sensitive and must be entered as defined.
E-8
GFK-1180K
The optional arguments for the import command are: Argument -D <device_id> Description A valid Device ID in the CIMPLICITY HMI database. For each device point in the import file that does not have a Device ID, add the Device ID indicated by this argument. If no Device IDs are specified in the import file, this option will set all device points in the import file to the specified Device ID. This option will not override Device IDs already present in the import file. Those IDs will remain unchanged. -R <resource_id> A valid Resource ID in the CIMPLICITY HMI database. For each Point ID in the import file that does not have a Resource ID, add the Resource ID indicated by this argument. If no Resource IDs are specified in the import file, this option will set all points in the import file to the specified Resource ID. This option will not override Resource IDs already present in the import file. Those IDs will remain unchanged. -Pa <prefix> -y Add prefix_ to the start of each Point ID in the input file. Perform the import in dynamic mode if the project is running. Allows you to import point information without restarting the project.
Example
clie import myfile.csv -R RESOURCE1
imports the point data from MYFILE.CSV and use RESOURCE1 as the Resource ID for any records that do not have a Resource ID defined.
The CIMPLICITY Login dialog box will ask you to log into the project if you have not done so. If you attempt a dynamic import while the project is not running, the import will continue in static mode and display the following warning message: Project must be running to use dynamic configuration.
GFK-1180K
E-9
3.
E-10
GFK-1180K
Where <file> is a required argument, and is the full path of export file to be written. The file may be in any directory, but the project's Data subdirectory is recommended. You should always use the .CSV extension with this filename.
Important: Option names are case sensitive and must be entered as defined. The optional arguments for the export command are: Argument -Pr -Ef <format> Description Remove all prefixes from Point IDs (up to and including the underscore), before exporting. The type of file format to use. Specify one of the formats, found in the project's ie_formats.cfg format configuration file. Default formats in the file are: Full Set - all supported fields will be exported Logicmaster Export - only 4 fields will be exported. If no format name is specified, the internal format is used. This format includes all of the fields in the Full Set, plus additional unsupported fields.
GFK-1180K
E-11
-Sp <point_id>
A full or partial Point ID. Export data for Point IDs that begin with the string you specify. Note: Wildcards do not work with this option.
-Sd <device_id>
A full or partial Device ID. You can use the * and ? wildcard characters when specifying a partial Device ID. Export data for Point IDs whose Device IDs match the string you specify.
-So <origin_id>
Export data for Point IDs whose Origin IDs match the string you specify. Specify one of the following: Ddevice point Gglobal virtual point Rderived virtual point
-St <type>
A full or partial Point Type in the CIMPLICITY database. You can use the * and ? wildcard characters when specifying a partial Point Type. Export data for Point IDs whose Point Types match the string you specify.
-Sr <resource_id> A full or partial Resource ID. You can use the * and ? wildcard characters when specifying a partial Resource ID. Export data for Point IDs whose Resource IDs match the string you specify. Two export files will be generated by the Export utility: <filename>.csv and <filename>.rol. The .ROL file will contain information on additional roles configured for alarm routing. If there are no roles other than SYSMGR, USER and OPER, the file will still be generated, but will contain no information. Example
clie export myfile.csv -Pr -Ef "My Set"
exports the data fields defined by "My Set" in ie_formats.cfg to MYFILE.CSV and MYFILE.ROL, and strips off any prefixes on the Point IDs.
E-12
GFK-1180K
Note: There are no implied wildcards. If you do not include or terminate your search string with an asterisk, only those items that match your request exactly will be returned.
GFK-1180K
E-13
Where <point_id> is the Point ID you want to delete. You can use the wildcard characters ? and * to delete sets of Point IDs. The optional argument for the delete command is: Argument
/NOCONFIRM
Description Deletes the requested points without prompting you to confirm the deletion.
If you choose to confirm the deletion, you are prompted like this:
> clie delete D?I* Starting Import/Export - logging to LOG_PATH:IC169.log Do you want to DELETE <DRIVE_CONVEY1> (Y)es (N)o (A)ll y Do you want to DELETE <DRIVE_CONVEY2> n Number of points Deleted = 1 Successful completion - Review LOG_PATH:IC169.log log file for messages. >
Note: There are no implied wildcards. If you do not include or terminate your Point ID string with an asterisk, only those Point Ids that match your request exactly will be deleted. Wild cards do not work with the -sp option.
E-14
GFK-1180K
Note: Some of the optional fields are specific to points of a particular origin. The Point Origin column identifies the type of point defined by the record. The point types are: All Device Global (virtual) Derived (virtual)
GFK-1180K
E-15
E-16
GFK-1180K
ACCESS
Point Type Maximum Field Length CIMPLICITY Field Name Description Device 2 characters Access Device read/write access. Valid values are: R = Read only W = Read/Write
ACCESS_FILTER
Point Type Maximum Field Length CIMPLICITY Field Name Description All Byte Enterprise Point Indicates whether the Enterprise Server has access to the point. Valid values are: E = Enterprise Server can access B or blank = Enterprise Server cannot access
ACK_TIMEOUT
Point Type Maximum Field Length CIMPLICITY Field Name Description All Integer Acknowledge Timeout Time in minutes before the point's alarm is automatically acknowledged. Valid values are: -1 = No auto acknowledge 0 = Acknowledge immediately >0 = Minutes to wait for automatic acknowledge
ADDR
Point Type Maximum Field Length CIMPLICITY Field Name Description Device 32 characters Memory Type or Address Actual address of the point within the device. For devices with memory types, this field contains the memory type. Otherwise, the actual point address is used.
GFK-1180K
E-17
ADDR_OFFSET
Point Type Maximum Field Length CIMPLICITY Field Name Description Device Integer Address Offset Offset in memory from the first bit of the Point address. For Analog, APPL, and Text point types, this field must be zero.
ADDR_TYPE
Point Type Maximum Field Length CIMPLICITY Field Name Description Device 2 characters Address Type For MMS Ethernet devices only. The type of address. Valid values are: VN = Variable Name FQ = Fully qualified LG = Logical UC = Unconstrained AI = Array Index SI = String Index
ALM_CLASS
Point Type Maximum Field Length CIMPLICITY Field Name Description All 5 characters Alarm Class The Alarm Class ID to be used for the point's alarms. The Alarm Class ID must already be defined in the CIMPLICITY database.
ALM_CRITERIA
Point Type Maximum Field Length CIMPLICITY Field Name Description All 3 characters Alarm Criteria Method to be used for evaluating alarm conditions. Valid options are: ABS = Absolute DEV = Deviation ROC = Rate of Change ONU = On Update
E-18
GFK-1180K
ALM_DEADBAND
Point Type Maximum Field Length CIMPLICITY Field Name Description All Integer Alarm Deadband Tolerance around alarm limits. The range is determined by the PT_TYPE defined for the point.
ALM_DELAY
Point Type Maximum Field Length CIMPLICITY Field Name Description All Integer Delay Alarms Determine if the generation of alarms by the point should be delayed. Valid values are: 0 = Alarms are not delayed 1 = Alarms are delayed by the length of time specified by SAMPLE_INTV and SAMPLE_INTV_UNIT.
ALM_HIGH_1
Point Type Maximum Field Length CIMPLICITY Field Name Description All Integer Warning High High warning limit
ALM_HIGH_2
Point Type Maximum Field Length CIMPLICITY Field Name Description All Integer Alarm High High alarm limit
ALM_HLP_FILE
Point Type Maximum Field Length CIMPLICITY Field Name Description All 10 characters Help File Name of the help text file. ".HLP" will be added to the name. Help files are located in
%SITE_ROOT%\am_help
GFK-1180K
E-19
ALM_LOW_1
Point Type Maximum Field Length CIMPLICITY Field Name Description All Integer Warning Low Low warning limit
ALM_LOW_2
Point Type Maximum Field Length CIMPLICITY Field Name Description All Integer Alarm Low Low alarm limit
ALM_MSG
Point Type Maximum Field Length CIMPLICITY Field Name Description All 54 characters Alarm message Text displayed when the alarm is set. See Alarm Message Variables for the list of variable information that can be used in the text.
ALM_ROUTE_OPER
Point Type Maximum Field Length CIMPLICITY Field Name Description All Boolean Alarm Routing: OPER Determines if alarm information is sent to users with OPER role. Valid values are: 0 = Do not sent alarm to OPER role 1 = OPER role can display the alarm.
ALM_ROUTE_SYSMGR
Point Type Maximum Field Length CIMPLICITY Field Name Description All Boolean Alarm Routing: SYSMGR Determines if alarm information is sent to users with SYSMGR role. Valid values are: 0 = Do not sent alarm to SYSMGR role 1 = SYSMGR role can display the alarm.
E-20
GFK-1180K
ALM_ROUTE_USER
Point Type Maximum Field Length CIMPLICITY Field Name Description All Boolean Alarm Routing: USER Determines if alarm information is sent to users with USER role. Valid values are: 0 = Do not sent alarm to USER role 1 = USER role can display the alarm.
ALM_STR
Point Type Maximum Field Length CIMPLICITY Field Name Description All Integer Alarm String Index Alarm string index to be applied for alarms. Must be a valid index.
ALM_TYPE
Point Type Maximum Field Length CIMPLICITY Field Name Description All 2 characters Alarm Type Determines which log is written to. Valid values are: AL = Alarm Log EV = Event Log
ANALOG_DEADBAND
Point Type Maximum Field Length CIMPLICITY Field Name Description Device Integer Analog Deadband Used to filter changes in raw value of point. The raw value must change at least this much to update the value of the point.
BFR_COUNT
Point Type Maximum Field Length CIMPLICITY Field Name Description All Integer Point Buffering Max Count The maximum number of point values to buffer for Trending. If left zero, then the number of values is not used as a limiting factor when buffering data.
GFK-1180K
E-21
BFR_DUR
Point Type Maximum Field Length CIMPLICITY Field Name Description All Integer Point Buffering Max Duration The longest time between the first value and last value buffered for Trending. If left zero, then duration is not used as a limiting factor when buffering data.
BFR_EVENT_PERIOD
Point Type Maximum Field Length CIMPLICITY Field Name Description Not currently implemented All Integer
BFR_EVENT_PT_ID
Point Type Maximum Field Length CIMPLICITY Field Name Description Not currently implemented. All Integer
BFR_EVENT_TYPE
Point Type Maximum Field Length CIMPLICITY Field Name Description Not currently implemented. All Integer
BFR_EVENT_UNITS
Point Type Maximum Field Length CIMPLICITY Field Name Description Not currently implemented. All Integer
BFR_GATE_COND
Point Type Maximum Field Length CIMPLICITY Field Name Description Not currently implemented. All Integer
E-22
GFK-1180K
BFR_SYNC_TIME
Point Type Maximum Field Length CIMPLICITY Field Name Description Not currently implemented. All Integer
CALC_TYPE
Point Type Maximum Field Length CIMPLICITY Field Name Description Derived (virtual) 3 characters Calc Types Method for determining the derived point value. Valid values are: EQU = Equation DAC = Delta Accumulator VAC = Value Accumulator AVG = Average MAX = Maximum MIN = Minimum T_C = Timer/Counter HST = Histogram T_H = Transition High Accumulator EWO = Equation with Override
CONV_LIM_HIGH
Point Type Maximum Field Length CIMPLICITY Field Name Description Device Integer Converted Value (second) Second converted value used for linear conversion.
CONV_LIM_LOW
Point Type Maximum Field Length CIMPLICITY Field Name Description Device Integer Converted Value (first) First converted value used for linear conversion.
GFK-1180K
E-23
CONV_TYPE
Point Type Maximum Field Length CIMPLICITY Field Name Description Device 2 characters Conversion Type Point EU conversion type. Valid values are: NO = None LC = Linear conversion CS = Custom conversion
DELETE_REQ
Point Type Maximum Field Length CIMPLICITY Field Name Description All 2 characters Deletion Requirement Determines when alarm occurrence should be deleted. Valid values are: A = Acknowledge only R = Reset only AR = Acknowledge and Reset
DESC
Point Type Maximum Field Length CIMPLICITY Field Name Description All 40 characters Description Description of point
DEVIATION_PT
Point Type Maximum Field Length CIMPLICITY Field Name Description All 32 characters Deviation Point Point that current point will be compared to when checking for deviation alarm. Must be a configured Point ID.
DEVICE_ID
Point Type Maximum Field Length CIMPLICITY Field Name Description Device 32 characters Device ID Device where the point data originates. Must be a configured Device ID.
E-24
GFK-1180K
DISP_LIM_HIGH
Point Type Maximum Field Length CIMPLICITY Field Name Description All Integer Disp. Limit (hi) Largest value to display in CimView screens.
DISP_LIM_LOW
Point Type Maximum Field Length CIMPLICITY Field Name Description All Integer Disp. Limit (low) Smallest value to display in CimView screens.
DISP_TYPE
Point Type Maximum Field Length CIMPLICITY Field Name Description All / Real Data type Only CHAR Display Type Determines if the value displayed is Fixed, Scientific or compact. Valid values are: f = fixed g = Compact e = Scientific.
DISP_WIDTH
Point Type Maximum Field Length CIMPLICITY Field Name Description All Integer Display Width Number of spaces for display of point value in CimView.
ELEMENTS
Point Type Maximum Field Length CIMPLICITY Field Name Description All Integer Elements Number of discrete elements in the point's data array. This is determined by the point's configured data type.
ENG_UNITS
Point Type Maximum Field Length CIMPLICITY Field Name Description All 8 characters Eng. Units Units that the data represents.
GFK-1180K
E-25
EQUATION
Point Type Maximum Field Length CIMPLICITY Field Name Description Derived (virtual) 72 characters Equation Specifies how the value is calculated. If CALC_TYPE is DAC, VAC, AVG, MAX, or MIN, this field must contain the source Point ID. If CALC_TYPE is EQU, enter a mathematical formula, the result of which is the value of this point. See Equation Operations for the list of valid operators.
FW_CONV_EQ
Point Type Maximum Field Length CIMPLICITY Field Name Description Device 72 characters Eng. Conversion Expression Arithmetic expression used to convert raw data to engineering units value. See Equation Operations for the list of valid operators.
GR_SCREEN
Point Type Maximum Field Length CIMPLICITY Field Name Description All 16 characters Graphic Screen CimView screen to display when the Get Screen Hot Key is pressed for this point on the Point List or Alarm Page.
INIT_VAL
Point Type Maximum Field Length CIMPLICITY Field Name Description Derived (virtual)/Global (virtual) Number Initial Value Value for point at initialization before any data is generated by its component point(s). Use if PT_TYPE is G, or PT_TYPE is D and CALC_TYPE is ACC, MIN, or MAX.
E-26
GFK-1180K
JUSTIFICATION
Point Type Maximum Field Length CIMPLICITY Field Name Description All Boolean Justification Determines if the value displayed is justified and/or padded with zeros. Valid values are: 0 = Left justified 1 = Right justified 2 = Right justified with leading zeros
LEVEL
Point Type Maximum Field Length CIMPLICITY Field Name Description All DINT Level Role's security level.
LOCAL
Point Type Maximum Field Length CIMPLICITY Field Name Description Derived (virtual)/Global (virtual) Boolean Local Value Determines if value is reported to Point Manager. Valid values are: 0 = Report value 1 = Do not report value
LOG_ACK
LOG_ACK is not currently supported.
LOG_DEL
LOG_DEL is not currently supported.
LOG_GEN
LOG_GEN is not currently supported.
LOG_RESET
LOG_RESET is not currently supported.
GFK-1180K
E-27
MAX_STACKED
Point Type Maximum Field Length CIMPLICITY Field Name Description All Integer Max Number Stacked Maximum number of alarm occurrences tracked. Valid values are: 0 = Alarm is not stacked 1 to 19 = Number of alarms stacked
MEASUREMENT_UNIT_ID
Point Type Maximum Field Length CIMPLICITY Field Name Description All 32 characters Measurement Unit ID The base measurement unit ID configured for the point.
POLL_AFTER_SET
Point Type Maximum Field Length CIMPLICITY Field Name Description Device Boolean Poll After Set Determines if polling should be done after a setpoint. Valid values are: 0 = Do not poll (default) 1 = Scan immediately
PRECISION
Point Type Maximum Field Length CIMPLICITY Field Name Description All Integer Precision Number of decimal places in display.
PROC_ID
Point Type Maximum Field Length CIMPLICITY Field Name Description Derived (virtual)/Global (virtual) 14 characters Virtual Proc ID The Derived Point process that will calculate the value of this point. Must be a valid PTDP_RP Process ID. Format is: <node_id>_PTDP_RP
E-28
GFK-1180K
PTMGMT_PROC_ID
Point Type Maximum Field Length CIMPLICITY Field Name Description Derived (virtual)/Global (virtual) 14 characters Point Manager The Point Management process that will manage this point. Must be a valid PTM_RP Process ID. Format is: <node_id>_PTM<n>_RP
PT_ENABLED
Point Type Maximum Field Length CIMPLICITY Field Name Description Device Boolean Enabled Determines if the point is enabled or disabled. Valid values are: 0 = Disabled 1 = Enabled
PT_ORIGIN
Point Type Maximum Field Length CIMPLICITY Field Name Description All 1 characters No field defined Code indicating the origin of this point. Valid values are: D = Device Point R = Derived Virtual Point G = Global Virtual Point I = Device Internal Point A = Device Always Poll Point
PT_SET_INTERVAL
Point Type Maximum Field Length Device Time. The format is HH:MM:SS for the interval, where: HH=Hour MM=Minutes SS=Seconds CIMPLICITY Field Name Description Interval The interval at which the Timer/Counter point will be updated while the Expression value remains HIGH.
GFK-1180K
E-29
PT_SET_TIME
Point Type Maximum Field Length Derived (virtual) Time. The format is HH:MM:SS for the base start time, where: HH=Hour MM=Minutes SS=Seconds CIMPLICITY Field Name Description Set Time Base start time for the Timer/Counter point interval.
PT_TYPE
Point Type Maximum Field Length CIMPLICITY Field Name Description All 16 characters Type Identifies type and length of point data. Must be a configured point type.
RANGE_HIGH
Point Type Maximum Field Length CIMPLICITY Field Name Description All Integer Range Limit (hi) The maximum value allowed for this point.
RANGE_LOW
Point Type Maximum Field Length CIMPLICITY Field Name Description All Integer Range Limit (low) The minimum value allowed for this point.
RAW_LIM_HIGH
Point Type Maximum Field Length CIMPLICITY Field Name Description Device Integer Raw Value (second) Second raw value used for linear conversion.
RAW_LIM_LOW
Point Type Maximum Field Length CIMPLICITY Field Name Description Device Integer Raw Value (first) First raw value used for linear conversion.
E-30
GFK-1180K
REP_TIMEOUT
Point Type Maximum Field Length CIMPLICITY Field Name Description All Integer Repeat Timeout Time in minutes before the point's alarm is automatically re-sent to alarm line printers. The alarm will be re-sent only if it is still active. Valid values are: -1 = No automatic re-send 0 = Minutes before automatic re-send
RESET_ALLOWED
Point Type Maximum Field Length CIMPLICITY Field Name Description All Boolean Reset Allowed Determines if a user can reset the point's alarm. Valid values are: 0 = User cannot reset the alarm 1 = User can reset the alarm
RESET_COND
Point Type Maximum Field Length CIMPLICITY Field Name Description Derived (virtual)/Global (virtual) 2 characters Reset/Startup Cond Search sequence for source of initial value. Valid values are: UN = Unavailable IN = Use INIT_VAL SA = Use saved value SI = Saved and init
RESET_PT
Point Type Maximum Field Length CIMPLICITY Field Name Description Derived (virtual) 32 characters Reset Point Point that will cause this derived point to reset. Must be a configured Point ID.
GFK-1180K
E-31
RESET_TIMEOUT
Point Type Maximum Field Length CIMPLICITY Field Name Description All Integer Reset Timeout Time in minutes before this point's alarm is automatically reset. Valid values are: -1 = No automatic reset 0 = Reset automatically >0 = Minutes before automatic reset
RESOURCE_ID
Point Type Maximum Field Length CIMPLICITY Field Name Description All 16 characters Resource ID Resource ID for this point. Must be a configured Resource ID.
REV_CONV_EQ
Point Type Maximum Field Length CIMPLICITY Field Name Description Device 72 characters Reverse Engineering Expression Arithmetic expression used to convert engineering units value to raw data for setpoints. See Equation Operations for the list of valid operators.
ROLLOVER_VAL
Point Type Maximum Field Length CIMPLICITY Field Name Description Derived (virtual) Integer Rollover For Delta Accumulator virtual points, the value of a point at which it rolls over to a zero value when incremented by one unit.
E-32
GFK-1180K
SAFETY_PT
Point Type Maximum Field Length CIMPLICITY Field Name Description All 32 characters Safety Point Point ID of an analog or digital point to be checked when a setpoint request is made for this point. If the point evaluates to zero (0), the setpoint is denied. Must be a configured Point ID.
SAMPLE_INTV
Point Type Maximum Field Length CIMPLICITY Field Name Description All Integer Alarm Delay Interval (value) For Rate of Change alarms, the frequency with which the point will be sampled for Rate of Change alarming. For Absolute alarms, the length of delay before the alarm is reported if Delay Alarms is set to Y.
SAMPLE_INTV_UNIT
Point Type Maximum Field Length CIMPLICITY Field Name Description All 3 characters Alarm Delay Interval (units) The type of units for SAMPLE_INTV. Valid values are: SEC = Seconds MIN = Minutes HR = Hours
SCAN_RATE
Point Type Maximum Field Length CIMPLICITY Field Name Description Device Integer Scan Rate Frequency of point sampling. This is a multiple of the base scan rate set for the system.
GFK-1180K
E-33
SETPOINT_HIGH
Point Type Maximum Field Length CIMPLICITY Field Name Description All Integer Setpoint Limit (hi) The maximum value a point is allowed to be set.
SETPOINT_LOW
Point Type Maximum Field Length CIMPLICITY Field Name Description All Integer Setpoint Limit (low) The minimum value a point is allowed to be set.
TIME_OF_DAY
TIME_OF_DAY is not currently supported.
TRIG_CK_PT
Point Type Maximum Field Length CIMPLICITY Field Name Description All 32 characters Availability Trigger The point serving as the availability trigger for this point. If the Availability Trigger is TRUE (nonzero) this point value is available. If the Availability Trigger is FALSE (zero), this point value is unavailable.
TRIG_PT
Point Type Maximum Field Length CIMPLICITY Field Name Description Device/Derived (virtual) 32 characters Trigger The point serving as the trigger for this point. Use differs if device or derived point. Must be a configured Point ID. For device points the trigger point must be on the same device as the points it triggers. For derived points, the trigger point must be processed by the same Derived Point Process as the points it triggers.
E-34
GFK-1180K
TRIG_REL
Point Type Maximum Field Length CIMPLICITY Field Name Description Device 2 characters Relation Determines how the trigger is evaluated. Valid values are: NO = No Trigger OC = On Change EQ = Equal LT = Less Than GT = Greater Than LE = Less Than or Equal GE = Greater Than or Equal
TRIG_VAL
Point Type Maximum Field Length CIMPLICITY Field Name Description Device 16 characters Value Value the trigger is compared with to determine if the TRIG_REL condition is met.
UPDATE_CRITERIA
Point Type Maximum Field Length CIMPLICITY Field Name Description Device 2 characters Update Criteria Value determining when point data is passed to the CIMPLICITY point database after the device is read. Valid values are: UN = Unsolicited OC = On Change OS = On Scan DS = On Demand On Scan DC = On Demand On Change PO = Poll Once
GFK-1180K
E-35
VARIANCE_VAL
Point Type Maximum Field Length CIMPLICITY Field Name Description Derived (virtual) Number Variance value Accumulator variance value.
VARS
Point Type Maximum Field Length CIMPLICITY Field Name Description All Integer Vars Number of process variables represented by this point.
E-36
GFK-1180K
Logicmaster 90 Support
Logicmaster fields map to the following field names in the Shared Name File: Logicmaster Field reference nickname description length type Field Name ADDR PT_ID DESC ELEMENTS PT_TYPE
blockname => add to ADDR string (for example: %Lxxxxx,block). timer and pid are not supported by CIMPLICITY HMI software at this time.
Header
}Field Names
Records
GFK-1180K
E-37
This document shows you how to: Install and configure the Remote Access Service on Server computers running Windows NT. Install and configure the Remote Access Service on Client computers running Windows NT. Install and configure Dial-Up Networking on Client computers running Windows 98. Configure the cimhosts.txt file for the Server computer. Test the connection between the Server and Client computers.
GFK-1180K
F-1
A Client computer, named ALW085, with: Microsoft Windows 98. CIMPLICITY HMI Viewer software Modem
F-2
GFK-1180K
For the CIMPLICITY HMI Viewer (also referred to as the Client computer), you need: Microsoft Windows NT version 4.0 (Workstation or Server), or Microsoft Windows 98 installed A modem The Microsoft Windows NT or Windows 98 operating system CD.
For both computers, you need to have the TCP/IP and NetBEUI protocols configured. Both computers must also have the same version of CIMPLICITY HMI software installed with valid licenses. Finally, you will need to get two consecutive TCP/IP addresses from your Network Administrator. You will be assigning these addresses to the Server and Client modems when you configure the Remote Access Server.
GFK-1180K
F-3
1.
Click Configure....
F-4
GFK-1180K
For the Server, the minimum selection for Port Usage is Receive calls only. 2. Select the port usage you want for the modem. Click OK to return to the Remote Access Setup dialog box.
Make sure that NetBEUI and TCP/IP are selected for Server Settings. Note If you selected Dial out and Receive calls in the Configure Port Usage dialog box, make sure that NetBEUI and TCP/IP are also selected for Dial out Protocols.
GFK-1180K
F-5
3.
In the RAS Server NetBEUI Configuration dialog box: Select the type of client access you want. If the Server does not have a Network Interface Card (NIC) installed you must select the This computer only option. Otherwise RAS will fail to start. Click OK to close the dialog box and return to the Network Configuration dialog box.
4.
Click Configure... for TCP/IP. The RAS Server TCP/IP Configuration dialog box opens.
In RAS Server TCP/IP Configuration dialog box: Under Allow remote TCP/IP clients to access, select the access option you want. If the Server does not have a Network Interface Card (NIC) installed you must select the This computer only option. Otherwise RAS will fail to start. Select Use static address pool, and enter the two consecutive IP addresses you requested from your Network Administrator in the Begin and End fields. The Begin address is assigned to the modem on the Server, and the End address is assigned to the Client.
F-6
GFK-1180K
Note It is also possible to select Use DHCP to assign remote TCP/IP client addresses to perform the allocation of IP Addresses. 5. 6. 7. Click OK to close the dialog box and return to the Network Configuration dialog box.
Click OK to close the Network Configuration dialog box and return to the Remote Access Setup dialog box. In the Remote Access Setup dialog box, click Continue... to return to the Network dialog box. Click OK to close the Network dialog box. The system will finish configuring the Remote Access Server and reboot the computer.
GFK-1180K
F-7
4.
In the Remote Access Permissions dialog box: Make sure that all the users who will be dialing in as clients have Dialin permission. Click OK to return to the Remote Access Admin window.
Your Server is now set up. Before the CIMPLICITY Viewer will be able to list projects running on the network you will need to either start a CIMPLICITY Project or the CIMPLICITY Viewer on the RAS server.
F-8
GFK-1180K
1.
Click Configure....
GFK-1180K
F-9
For the Client, the minimum selection for Port Usage is Dial out only 2. Select the port usage you want for the modem. Click OK to return to the Remote Access Setup dialog box.
Make sure that NetBEUI and TCP/IP are selected for Dial out Protocols. Note If you selected Dial out and Receive calls in the Configure Port Usage dialog box, make sure that NetBEUI and TCP/IP are also selected for Server Settings. You will also need to configure the NetBEUI and TCP/IP configurations. 3. 4. 5. Click OK to close the Network Configuration dialog box and return to the Remote Access Setup dialog box. In the Remote Access Setup dialog box, click Continue... to return to the Network dialog box. Click OK to close the Network dialog box. The system will finish configuring the Remote Access Server and reboot the computer.
F-10
GFK-1180K
If the RAS client does not have a Network Interface Card (NIC) be sure to enable the option Use default gateway on remote network in the phone book entry for each RAS server that you will connect to.
Next, you will need to configure Dial-Up Networking. To do this: 1. 2. 3. Open the Control Panel. Double-click on the Add/Remove Programs icon. In the Add/Remove Program Properties dialog box: 4. Select the Windows Setup tab. Select Communications. Click Details... . In the Communications dialog box, select Dial-Up Networking, and then click OK.
Click OK in the Add/Remove Program Properties dialog box. The computer will start installing the Dial-Up Networking option. If it needs to use the Microsoft operating system CD, the installation procedure will prompt you for it.
After the installation completes, the system reboots. After you install the Dial-Up Networking option, you will need to configure its properties. 1. 2. 3. Open My Computer. Double-click on the Dial-Up Networking icon. Add an entry for the Remote Access Server you want to connect to.
GFK-1180K
F-11
Lastly, you need to configure your network properties. 1. 2. Open the Control Panel. Double-click the Network icon. The Network dialog box opens.
3.
Select the Configuration tab. Note that NetBEUI->Dial-Up Adapter and TCP/IP->Dial-Up Adapter now appear in the list of network components. Select TCP/IP -> Dial-Up Adapter and display its properties. You need to do the following: Disable DNS Configuration. Leave Gateway blank. For WINS Configuration, select DHCP for WINS Resolution. Select Obtain and IP address Automatically. For Bindings, select Client for Microsoft Networks. For Advanced, select none.
4.
5. 6.
Select the Identification tab and enter a name (9 characters or less) for the computer. Click OK to close the Network dialog box and save your changes.
F-12
GFK-1180K
If the RAS server does not have a NIC then place the following entry in the cimhosts.txt file:
127.0.0.1 alnt32
Ping
After dialing in to the Server from the Client and establishing the connection, you should be able to perform the following tests successfully.
Client Tests
You should be able to ping the Server computer by address from the Client computer. For example:
C:\WINDOWS>ping 3.26.5.134 Pinging 3.26.5.134 with 32 bytes of data: Reply Reply Reply Reply from from from from 3.26.5.134: 3.26.5.134: 3.26.5.134: 3.26.5.134: bytes=32 bytes=32 bytes=32 bytes=32 time=103ms TTL=128 time=101ms TTL=128 time=101ms TTL=128 time=99ms TTL=128
C:\WINDOWS>
GFK-1180K
F-13
Server Tests
You should be able to ping the Client computer by address from the Server computer. For example:
C:\WINDOWS>ping 3.26.5.144 Pinging 3.26.5.144 with 32 bytes of data: Reply Reply Reply Reply from from from from 3.26.5.144: 3.26.5.144: 3.26.5.144: 3.26.5.144: bytes=32 bytes=32 bytes=32 bytes=32 time<10ms TTL=32 time=1ms TTL=32 time=1ms TTL=32 time<10ms TTL=32
C:\WINDOWS>
Networking Considerations
If the IP addresses used by the RAS server are for a different network than the one for the server on which the CIMPLICITY HMI project is running, you may need to establish routes from the CIMPLICITY HMI project computer to the RAS link network. You can use the Windows NT route.exe program to do this. For more information on using the Windows NT route.exe command, refer to the Windows NT Command Reference section of the Windows NT Help file (WINHLP32.EXE).
F-14
GFK-1180K
2.
If you have not enabled the Use default gateway on remote network option in the TCP/IP options of the RAS PhoneBook entry used to dial the remote network: If the destination IP address is on the same subnet as your computer's assigned RAS IP address, the packets are sent via the RAS connection. If the destination IP address is not on the same subnet as your computer's assigned RAS IP address, the packets are sent via your computer's NIC.
For example, if your LAN is divided into two Class C subnets, 1.1.1.x and 1.1.2.x, and you configure your computer on the 1.1.1.x subnet to use RAS with the Use default gateway on remote network option enabled, all packets you send to the 1.1.2.x subnet will be sent via the RAS connection and not your computer's NIC. To route packets correctly, use the Windows NT route.exe command to add a static route to your TCP/IP route table that will instruct Windows NT to send packets intended for the 1.1.2.x subnet to a router on the 1.1.1.x subnet. For more information on using the Windows NT route.exe command, refer to the Windows NT Command Reference section of the Windows NT Help file (WINHLP32.EXE).
GFK-1180K
F-15
You can create Web documents containing textual CIMPLICITY HMI data values. Users accessing these documents can view data and perform setpoints. The security features of CIMPLICITY HMI restrict access to data and to the setpoint capabilities of Internet connections as they do with standard multi-user systems.
GFK-1180K
G-1
We strongly recommend that you install and configure the Microsoft Internet Information Server before you install the CIMPLICITY HMI WebGateway.
Installation Procedure
To install the CIMPLICITY HMI WebGateway on your Web Server: 1. 2. Shut down all active processes before starting. Insert the CIMPLICITY HMI CD in your CD-ROM drive. If you have AutoPlay configured, the CIMPLICITY HMI Installation Setup screen opens automatically. When you are asked if you want to continue or cancel the installation, select Cancel. 3. 4. 5. Open the Windows NT Explorer. Open the main folder for the CD-ROM. Double-click the websetup icon in the main CD-ROM folder. The Setup screen for the CIMPLICITY HMI WebGateway installation opens with the Welcome dialog box. Select Next to continue. The Software Evaluation License Agreement dialog box opens. Select Yes to accept the terms and conditions of the software license. The Choose Destination Location dialog box opens. Select the directory where you want to install the CIMPLICITY HMI WebGateway (IIS) software. You should accept the default directory. Select Next. If you have not installed CIMPLICITY HMI software, you will be asked where you want to install your CIMPLICITY HMI Viewer software.
6. 7. 8.
9.
G-2
July 2001
GFK-1180K
10. In the Choose Program Group dialog box, select the program group for the CIMPLICITY HMI WebGateway software, and then select Next. The software begins to load. When installation is complete, you are given an opportunity to register your CIMPLICITY HMI WebGateway software. For CIMPLICITY HMI WebGateway software to function correctly, you will need to reboot your computer. The last dialog box gives you the opportunity to reboot your computer immediately.
GFK-1180K
G-3
Project Setup
Before the WebGateway can communicate with a CIMPLICITY HMI project in your enterprise, you must configure the project to permit access by the WebGateway. To do this: 1. 2. 3. 4. 5. Open the project's Configuration cabinet. Double-click on the Client icon. Create a new client. In the New Client dialog box, enter the name of the computer running the Web Server, then select OK. In the Client Properties dialog box, Select a default User ID that will give the WebGateway appropriate access to the project. Set the Trusted check box. Select OK.
G-4
July 2001
GFK-1180K
If you do this successfully, you know that the connections between the projects and the WebGateway are working correctly.
GFK-1180K
G-5
2. 3.
Follow the directions on the Web document to perform the first set of tests. After you verify that the first set of tests work, proceed to the second set of tests.
G-6
July 2001
GFK-1180K
Error Messages
The first part of the error string contains one of the following error codes.
#ERROR!ARRAYNOTALLOWED
This error is returned if you try to use an element of an array point with the PointSet method.
#ERROR!ARRAYOUTOFBOUNDS
This error usually indicates that the index specified for an array point was not valid. It will also be returned if you specify an index for a non-array point or if you fail to specify an index for an array point. In some cases, additional information will be available following this message.
#ERROR!BADSERVERRESPONSE
This error is returned if the CimData applet could not parse the response from the CimGate extension. Examining the value of the DiagRawResponse property will reveal the cause of the error.
#ERROR!CIMPLICITYNOTRUNNING
This error indicates that the CIMPLICITY HMI Viewer could not be started by the CimGate extension.
GFK-1180K
G-7
#ERROR!INVALIDPOINTID
This error is returned by the CimData applet if you pass an empty string for the point ID parameter to the PointSet method.
#ERROR!NOTIMPLEMENTED
This error is returned by CimGate server when the PointMonitor method (which is not implemented) is called.
#ERROR!NOTLICENSED
This error is returned when the CIMPLICITY HMI WebGateway is not licensed. The CIMPLICITY HMI Gateway must be licensed to use it beyond the trial period. Run the CIMPLICITY HMI Registration program.
#ERROR!POINTIDSYNTAX
This error is returned when the string passed to PointGet or PointSet could not be properly parsed as a point ID.
#ERROR!POINTUNAVAILABLE
This error is returned when the point may be unavailable for any number of reasons. Generally, there will be additional information following this message indicating why the point is unavailable. You may also want to look at the CIMPLICITY HMI Status Log on the Web Server computer to help understand why the point is unavailable.
#ERROR!SERVERNEEDSRESTART
This error indicates a condition in the CimGate server that requires the Web Server to be restarted. Typically this occurs when the CIMPLICITY HMI Viewer (or project) on the Web Server computer is shut down.
#ERROR!URLEXCEPTION
This error indicates a problem with the URL constructed from the Web Server name, point IDs, and values supplied. One such problem might be that the Web Server specified is not the same as the host from which the Java data applet was loaded, which is a security requirement imposed by many web browsers.
G-8
July 2001
GFK-1180K
setCaption (Method)
Syntax Description Parameters Comments Example setCaption(String capString) Places a specified string in the applet's text area. capString the string to display The caption is useful to display while testing pages. Using JavaScript: document.MyApplet.setCaption("Paint Shop Data")
getCaption (Method)
Syntax Description Return Value Comments Example String getCaption() Retrieves a string from the applet's text area. The current contents of the applets caption text area. The raw input and output are displayed in the appets text area, and can be retrieved for diagnostic purposes using this method. Using JavaScript: myText = document.MyApplet.getCaption()
appendCaption (Method)
Syntax Description Parameters Comments Example appendCaption(String capString) Adds a specified string to the end of the text in the applet's text area. capString the string to display The caption is useful to display while testing pages. This method adds informative text without removing any existing caption information. Using JavaScript: document.MyApplet.appendCaption("Paint Shop Data")
GFK-1180K
G-9
pointGet (Method)
Syntax pointGet(String cimGate) String pointGet(String cimGate, String pointID) Description [buffered form] [unbuffered, single-point form]
Retrieves value(s) for the specified CIMPLICITY point(s). The first form of pointGet retrieves values for all point IDs currently held in applet storage, and places the values retrieved into the applets internal storage. The second form is a shortcut for retrieving a single point value. Parameter cimGate pointID Description A String containing the location of the CimGate extension. The format of this string is "computer/directory". For example, mycomputer/Scripts. A String containing the Point ID.
Parameters
The first form of this method returns nothing. The second form returns the point status string (see below). Use the second form of this function when you only need to retrieve a single point value. The second form of this method clears any proir content of the applets internal storage before proceeding. If an error occurs during any WebGateway transaction, the point status string (obtainable via getPointStatus) will be E, and the point value retrieved will be an extended error string. If the transaction completed normally, the point status string will be a string indicating the points data type. You may not specify an array point, but you may specify an element of an array point (for example, arrPointID(0) = "\\PROJ\ARRAYPT[2]"). Fully qualify the Point ID with a project. Do not enclose the Point ID in single quotes. If a point is configured with EU conversion, the converted value (not the raw value) of the point is returned.
Example
Using JavaScript:
<applet name=MyApplet archive=CimData.jar code=com.gefanuc.hmi.CimData.CimDataApplet.class height=0 width=0> </applet> <form name=MyForm> Temp: <input name=temp type=text value=><br> Speed: <input name=speed type=text value=><br> </form> document.MyApplet.clearPoints(); document.MyApplet.setPointID(0, \\\\proj\\temp) document.MyApplet.setPointID(1, \\\\proj\\speed) document.MyApplet.pointGet("mycomputer/Scripts") if (getPointStatus(0) = E) { alert Error: + document.MyApplet.getPointValue(0); } else { document.MyForm.temp.value = document.MyApplet.getPointValue(0); } if (getPointStatus(1) = E) { alert Error: + document.MyApplet.getPointValue(1);
G-10
July 2001
GFK-1180K
See Also
pointSet (Method)
Syntax Description Parameters String pointSet(String cimGate, String pointID, String pointValue) Sets the specified CIMPLICITY point to the specified value. Parameter cimGate pointID pointValue Return Value Comments Description A String containing the location of the CimGate extension. The format of this string is "computer/directory". For example, mycomputer/Scripts. A String containing the Point ID. The String representation of the value to be assigned.
The point status string generated by the operation. Since the CimGate extension only supports setting one point at a time, only a single-point form of this method is required. Note that this method clears any proir content of the applets internal storage before proceeding. See pointGet for error reporting information. pointGet
See Also
clearPoints (Method)
Syntax Description Comments clearPoints() Empties the applets internal point ID and value storage. The WebGateway Data Applets internal storage holds point IDs and values, allowing you to specify more than one point before invoking a transaction with the WebGateway. Making one server request for multiple values is generally more efficient than retrieving values with separate transactions. Use this method to clear the applets storage before specifying point IDs to retrieve. setPointID, getPointID, setPointValue, getPointValue
See Also
setPointID (Method)
Syntax Description Parameters setPointID(int pointIndex, String pointID) Stores a point ID for subsequent transaction(s). Parameter pointIndex pointID Comments See Also Description the zero-based integer storage index at which to store the point ID the point ID to place in the applets internal storage
Call this method repeatedly, with consecutive integer indices for each point ID, to load the applets internal storage before making a transaction. pointGet
GFK-1180K
G-11
getPointValue (Method)
Syntax Description Parameters String getPointValue(int pointIndex) Retrieves a point value or error string from the applets internal storage after a pointGet transaction. See pointGet for more details. Parameter pointIndex Return Value See Also Description the zero-based integer storage index of the point value to retrieve
The point value corresponding to the supplied index, or an extended error string if an error occurred during the transaction. pointGet
getPointStatus (Method)
Syntax Description String getPointStatus(int pointIndex) Use this method to retrieves a status string from the applets internal storage after a transaction. The status string for a point requested, referred to by pointIndex, contains E if the transaction was unsuccessful for that point. See pointGet for more details. Parameter pointIndex Return Value See Also Description the zero-based integer storage index of the point status string to retrieve
Parameters
G-12
July 2001
GFK-1180K
Important: Once you register CIMPLICITY, the registration files, *.key, *.rst, *.41s and *.ent, must stay in the same place on the hard disk. If you use a utility (e.g. defragmentation) that changes the location of these files, you will lose your registration. Consult the utility documentation for possible ways to protect these files.
GFK-1180K
H-1
Step 1. Prepare for CIMPLICITY Registration Task 1. Open CIMPLICITY Registration: Instructions
1. 2. Select CIMPLICITY on the Windows Start menu. Select CIMPLICITY>HMI> Registration .
3. 4.
H-2
July 2001
GFK-1180K
Step 1. Prepare for CIMPLICITY Registration Task 2. Agree to the CIMPLICITY Licensing Terms
1. 2.
Read the license agreement in CIMPLICITY Registration: License Agreement screen. Click Yes
GFK-1180K
H-3
1.
Enter company contact name, company name, address, telephone number, fax number and email address in the CIMPLICITY Registration: User Information dialog box. When you request your System Authorization Code you will need to furnish your GE Fanuc Automation representative with the information that you enter. Note: The license is issued to a company, not to an individual. Click Next.
2.
H-4
July 2001
GFK-1180K
Step 1. Prepare for CIMPLICITY Registration Task 4. Enter Your Base System Serial Number
1.
Enter the serial number for your base system in the Serial no. field in the CIMPLICITY Registration: Serial Numbers dialog box. You can find the serial number in the CIMPLICITY registration envelope that is included in the CIMPLICITY system package.
2.
Click Next
GFK-1180K
H-5
Step 1. Prepare for CIMPLICITY Registration Task 5. View a Generated System Key Code
When a correct base serial number is entered CIMPLICITY registration generates a system key code that displays on the CIMPLICITY Registration: Authorization screen. You will supply the GE Fanuc Automation representative with this code.
Click Next. Result: The CIMPLICITY Registration System Authorization Code dialog box opens.
H-6
July 2001
GFK-1180K
Step 2. Complete First Time Registration Task 1. Contact a GE Fanuc Automation Representative
You can call and talk directly with a GE Fanuc Automation representative or you can fax or email your information. Fax: Phone: Email: (780) 420-2049 (780) 420-2007 or 1-800-647-4196 [email protected] Between 10 A.M. and 6 P.M. Eastern Standard time, Monday through Friday, except for regularly scheduled holidays. Faxes and telephone calls are processed:
Faxes and calls received after hours, on weekends, or holidays are processed as soon as possible on the following business day. The information you provide GE Fanuc Automation is: User information, including name, company, street and email addresses and telephone and fax numbers. Serial number(s) found in the CIMPLICITY Registration envelope. System Key Code generated during the registration procedure. CIMPLICITY version number.
Based on the information you provide your GE Fanuc Automation representative, you will be given a System Authorization Code.
Step 2. Complete First Time Registration Task 2. Enter the CIMPLICITY Authorization Code
Note: If you have the CIMPLICITY Registration application open, go to number 8 in this procedure to continue. 1. 2. 3. 4. 5. 6. Click Start on the Windows task bar. Select CIMPLICITY>HMI>Registration . Proceed to the Registration Instructions dialog box. Make sure the New Registration radio button is checked. Click Next The License Agreement dialog box opens. Click Yes The CIMPLICITY Registration: Serial Numbers dialog box opens.
GFK-1180K
H-7
7. 8. 9.
Click Next The CIMPLICITY Registration: Authorization screen opens. Click Next The CIMPLICITY Registration: System Authorization Code dialog box opens. Enter the Authorization Code you received from GE Fanuc.
11. Reboot your computer. Congratulations. You have successfully registered your CIMPLICITY software. You now have full access to the CIMPLICITY Base System and all CIMPLICITY options that you installed and registered.
H-8
July 2001
GFK-1180K
Important: Do not change the base serial number when you enter new options through the CIMPLICITY Registration: Welcome dialog box. To register the new product option: 1. 2. Install the product option. Open the Registration program. A CIMPLICITY Registration: Welcome dialog box opens. Important: Do not change the number in the Serial no. field.
3. 4.
Click Add. The Product Serial Number dialog box opens. Enter the serial number that appears on the option's License sheet in the Serial number field. The name of the option appears in the Product field.
5.
Click OK.
GFK-1180K
H-9
The product option, with an unlicensed status, appears in the Options and Versions upgrades list in the CIMPLICITY Registration: Welcome dialog box.
6. 7. 8.
Click Next The CIMPLICITY Registration: License Agreement screen appears. Click Yes. The CIMPLICITY Registration: Finish screen appears. Reboot your computer.
Result: If you display the CIMPLICITY Welcome dialog box after you reboot you will see that the option's status has changed to Licensed.
H-10
July 2001
GFK-1180K
Contact your distributor for complete information about placing a functional upgrade order. To register a functional upgrade: 1. 2. 3. Open the Registration program. A CIMPLICITY Registration: Welcome dialog box opens. Click Change.
4. 5.
Enter the applicable serial number for the base system you are registering. Click Next
GFK-1180K
H-11
6. 7. 8.
Contact GE Fanuc with the new base serial number and System Key Code to obtain a new System Authorization Code. Click Next Enter the new System Authorization Code in the CIMPLICITY Registration: System Authorization Code dialog box.
9.
10. Reboot your computer. Result: If you display the CIMPLICITY Registration: Welcome dialog box after you reboot you will see that the upgrade's status has changed to Licensed.
H-12
July 2001
GFK-1180K
Note: If you want to add additional options to the functional upgrade, you do not need to contact GE Fanuc. Simply enter a valid serial number for each option you have purchased and want to enable. See page H-15 for details.
Note: If you current installation is CIMPLICITY 4.01 in the 90-day warranty period, the version upgrade is provided at no charge. If your current version is out of the 90-day warranty period, you must purchase the version upgrade. You will receive an upgrade license (either from your distributor or directly from GE Fanuc) when you purchase an upgrade. Use the Registration program to add the new license to your current set of installed licenses.
Important: Do not change the base serial number when you enter new options through the CIMPLICITY Registration: Welcome dialog box. To upgrade from CIMPLICITY V3.0 or higher: 1. 2. 3. 4. Purchase the upgrade. Back up your current CIMPLICITY projects. Install the new CIMPLICITY version. Open the Registration program after installation.
GFK-1180K
H-13
5.
A CIMPLICITY Registration: Welcome dialog box opens. Important: Do not change the number in the Serial no. field.
6. 7.
Click Add. The Product Serial Number dialog box opens. Add your upgrade serial number in the Serial number field.
8.
Click OK. The new version, with an unlicensed status, appears in the Options and Versions upgrades list in the CIMPLICITY Registration: Welcome dialog box.
9.
10. Click Yes. The CIMPLICITY Registration: Finish screen appears. 11. Reboot your computer. Result: If you display the CIMPLICITY Registration: Welcome dialog box after you reboot you will see that the version's status has changed to Licensed.
H-14
July 2001
GFK-1180K
Important: If you are upgrading from a version prior to v3.0, you must contact GE Fanuc for a new serial number and, during installation, for a System Authorization Code. To upgrade from a CIMPLICITY version that is lower than v3.0: 1. 2. 3. 4. 5. 6. Purchase the upgrade product. Back up your current CIMPLICITY projects. Contact GE Fanuc for a new product serial number. Install the new CIMPLICITY version. Open the Registration program after the installation. A CIMPLICITY Registration: Welcome dialog box opens. Important: Do not change the number in the Serial no. field.
7. 8.
Click Add. The Product Serial Number dialog box opens. Add the new serial number in the Serial number field.
GFK-1180K
H-15
9.
Click OK. The new version, with an unlicensed status, appears in the Options and Versions upgrades list in the CIMPLICITY Registration: Welcome dialog box.
10. Click Next. The CIMPLICITY Registration: Authorization dialog box opens.
11. Contact GE Fanuc with the: Serial number for your original license Serial number for your upgrade license Serial numbers for any other CIMPLICITY product options in use on the system you are upgrading New System Key Code generated by Registration
12. Click Next. The CIMPLICITY Registration: System Authorization Code dialog box appears. 13. Enter the new System Authorization Code in the CIMPLICITY Registration: System Authorization Code dialog box.
H-16
July 2001
GFK-1180K
14. Click Next The CIMPLICITY Registration: License Agreement screen appears. 15. Click Yes. The CIMPLICITY Registration: Finish screen appears. 16. Reboot your computer. Result: If you display the CIMPLICITY Registration: Welcome dialog box after you reboot you will see that the version's status has changed to Licensed.
Note: If you want to add additional options to the functional upgrade, you do not need to contact GE Fanuc. Simply enter a valid serial number for each option you have purchased and want to enable. See page H-15 for details.
GFK-1180K
H-17
4. 5. 6.
Click Next. The CIMPLICITY Registration: License Agreement screen appears. Click Yes. The CIMPLICITY Registration: Transfer dialog box opens. Check Transfer via Network.
H-18
July 2001
GFK-1180K
7. 8.
Click Next. The CIMPLICITY Registration: Transfer Using Network dialog box appears. Check The windows directory of the target system is available from this system via the network. The Target windows directory field is enabled. Enter the path for the Windows directory (e.g. WINNT) in the Target windows directory field. Tip: Map the network drive in the File Explorer if the windows directory of the target system is not available from this system.
9.
GFK-1180K
H-19
Result: In the following order: 1. 2. A message informs you that authorization is being transferred. A CIMPLICITY Registration: Finish dialog box appears informing you that the license is transferred.
H-20
July 2001
GFK-1180K
Step 1.Begin License Transfer on the Target Computer Task 1. Begin Registration on the Target Computer
1. 2. Insert a floppy disk in the floppy disk drive on the target computer. Begin registration the same as you would for a new registration as follows: A. Click Start on the Windows task bar. B. Select CIMPLICITY>HMI>Registration 4. Check Transfer Authorization. .
5.
GFK-1180K
H-21
6. 7. 8. 9.
Click Yes The CIMPLICITY Registration: User Information screen appears. Enter user information the same as you would for a new registration. Click Next. The CIMPLICITY Registration: Transfer screen appears. Check Transfer Using Floppy Diskette.
10. Click Next. Result: The CIMPLICITY Registration: Transfer Using Floppy Disk screen appears.
H-22
July 2001
GFK-1180K
Step 1.Begin License Transfer on the Target Computer Task 2. Prepare a Floppy Disk
1. Make sure that Target System and Step 1: Register the Diskette are checked on the CIMPLICITY Registration: Transfer Using Floppy Disk screen
2. 3.
Click Next. The CIMPLICITY Registration: Register diskette screen appears. Click Register me.
Click
GFK-1180K
H-23
4. 5.
Select the floppy disk drive. Click OK. CIMPLICITY registers the diskette.
Result: The diskette is ready to be authorized by the source system. 6. Remove the diskette from the target system and bring it to the source system.
Note: Leave the CIMPLICITY Registration: Register diskette screen displaying on the target computer.
H-24
July 2001
GFK-1180K
5. 6. 7. 8.
Click Next. The CIMPLICITY Registration: License Agreement screen appears. Click Yes. The CIMPLICITY Registration: Transfer screen appears. Check Transfer using Floppy Diskette. Click Next .
The CIMPLICITY Registration: Transfer Using Floppy Diskette dialog box appears. 9. Check Source System.
GFK-1180K
H-25
11. Click Next. The CIMPLICITY Registration: Authorize the diskette dialog box appears.
Click
H-26
July 2001
GFK-1180K
13. Click Next. The CIMPLICITY Registration: Finish screen appears informing you that the diskette has been successfully authorized.
14. Click Finish. Result: The diskette is ready to authorize the target computer. The source computer is no longer registered for CIMPLICITY.
GFK-1180K
H-27
Tip: Click View license status on the CIMPLICITY Registration: Finish screen to make sure that the source computer is now unlicensed.
Important: If you wish to continue to run fully functional CIMPLICITY software on the source computer, contact your distributor to purchase additional licenses.
H-28
July 2001
GFK-1180K
3.
Click Next. The CIMPLICITY Registration: Authorization from the diskette screen appears.
GFK-1180K
H-29
4.
Click
H-30
July 2001
GFK-1180K
5.
Click Next. The CIMPLICITY Registration: Finish screen appears informing you that you successfully transferred your CIMPLICITY HMI software to the target system.
6. 7.
Click Finish. Reboot the newly licensed computer for the changes to take affect.
Result: The target computer can now function as the registered CIMPLICITY HMI source.
GFK-1180K
H-31
5.
Click Yes if you are certain you want to remove the CIMPLICITY registration.
Result: CIMPLICITY registration is removed from your system. If you need to reregister, contact GE Fanuc.
H-32
July 2001
GFK-1180K
GFK-1180K
I-1
I-2
July 2001
GFK-1180K
GFK-1180K
J-1
Remember that the Status Log file that is displayed depends on whether you initiated the CIMPLICITY Log Viewer from a project or the CIMPLICITY HMI main menu. The CIMPLICITY Log Viewer screen displays the following information for each record that it finds in the status log file: Date/Time Status Process Procedure Source Code Reference Message The date and time the message was logged. The type of message. This can be "Failure", "Warning" or "Success". The name of the process that generated the log message. The name of the procedure that generated the log message. A symbolic name for the error class. The primary value used by software for expressing the type of error. A number (shown as a decimal integer) that can be used to determine the location of the condition that caused the error. An explanation of the condition that caused the log message.
J-2
July 2001
GFK-1180K
Each entry in the list is preceded by a color-coded dot that corresponds to the Status field entry. The correlations are: Red - Failure Yellow - Warning Green - Success
The Procedure, Source, Reference, and Code fields are primarily for GE Fanuc use and should be reported if you are contacting GE Fanuc for troubleshooting assistance. The list of messages is initially sorted in descending order (newest to oldest) by Date/Time. You can click on any of the column title buttons to sort the messages alphanumerically by that message attribute. For example, if you want to view all the messages generated by the MAC_PTDL process, click the Process button, and all the messages generated by MAC_PTDL will be grouped together. You can use the Menu functions, Toolbar buttons, and shortcut keys to: Select a log file to view. Clear the current log. Save the log file as a text file. Print the contents of the log file. Filter the log entries. Select the display order of messages. Find a particular message. Enable/disable live updates. Refresh the list when live updates are disabled.
From that point on: If you select the Status Log icon from the CIMPLICITY HMI main menu, the last Status Log file you looked at (project or system) will automatically be displayed. If you select Status Log from the Tools menu or press Ctrl+L in the Workbench for a project, the project's Status Log file will automatically be displayed.
GFK-1180K
J-3
The Log menu functions are: View System Log Select Log Clear Current Log Save as Text... Print... Print Preview... Print Setup... Exit Displays the system log file. Selects the log file you want to view. Clears all messages from the current log file. Saves the current contents of the Status Log file as a text file. Prints the contents of the Status Log file to a printer. Shows you what your print request will look like. Configures the printer, form, and page setup for your Status Log print request. Exits the Status Log function.
J-4
July 2001
GFK-1180K
The View menu functions are: All Entries Filter Entries... Find... Find Next Displays all entries in the Status Log. Filters the entries by Status, Process, Procedure, Source, Reference, or Code. Locates an entry based on the Status, Process, Procedure, Source, Reference, and Code information that you enter. If you selected Find previously, this command locates the next entry based on the information you entered. If you have not entered any Find parameters, this command locates the next entry in the log file. Displays all of the detailed information for the selected log message. Automatically updates the Status Log list as messages are generated. Note that you cannot display message details when in this mode. Refreshes the Status Log list on request. This option is available when Live Update is disabled. In addition, you can display message details when in this mode. Enables/Disables the display of the Toolbar at the top of the screen. Enables/Disables the display of the Status Bar at the bottom of the screen.
Refresh
The Help menu functions are: Help Topics About Log Viewer... Displays the main Help window for the Status Log Viewer. Displays program information, version number, and copyright for Status Log Viewer.
GFK-1180K
J-5
J-6
July 2001
GFK-1180K
If you do the latter, the Find CIMPLICITY Log File dialog box opens.
The Status Log Viewer can display CIMPLICITY HMI Status Log files of type .CLG. You can search the directory structure on any drive you are connected to for log files. The default Status Log file name is COR_RECSTAT.CLG. Status Log files are generally found in the log file for your main CIMPLICITY HMI log directory, and in each of your project's log directories. To display a log file: 1. 2. 3. Locate the file in your CIMPLICITY HMI main log directory or a project log directory. Click OK. The dialog box closes, and the file you selected is displayed in the CIMPLICITY Log Viewer window.
GFK-1180K
J-7
The Detail dialog box opens and displays the details for the message you selected.
This dialog box displays the following information: Date Time Status Code PID Process Procedure Source: Reference Error Message The date the message was generated. The time the message was generated. The status of the message. This can be "Failure", "Warning", or "Success". The primary value used by the software for expressing the type of error. The Process ID of the process that logged the message. The number is displayed in both decimal and hexadecimal format. The name of the process that logged the message. The name of the software module that logged the message. A numeric representation of the error class. A number passed by the procedure to assist in determining the location of the condition that caused the error. An explanation of the condition that caused the message to be logged.
J-8
July 2001
GFK-1180K
If you are contacting GE Fanuc for troubleshooting assistance about a particular message or set of messages, the information in these fields is of critical importance: Status Code Process Procedure Source Reference Error Message
From this dialog box you can: Select Next to display the next message in the log file. If you are at the last message in the file, you will be asked if you want to continue from the beginning. Select Previous to display the previous message in the log file. If you are at the first message in the file, you will be asked if you want to continue from the end. Select Close to close the dialog box and return to the Log Viewer screen.
To create a text file, select a pathname and file name for the text file and click OK. The first line of the text file shows the computer name and the full path name for the Status Log file.
GFK-1180K
J-9
The dialog box options are: Name Displays the name of the currently selected printer. You can click the drop-down list button to the right of the input field and select from the list of available printers. Select All to print all Status Log messages, or select Pages and enter a page range to print selected pages. Enter the number of copies you want printed in this input field. Set this check box if you want to save the printout in a file in addition to printing.
To display and change printer properties, click Properties. To print the status log click OK. To cancel the print request, click Cancel. The header line on each page of the printout shows the computer name, the full path name for the Status Log file and a page number.
J-10
July 2001
GFK-1180K
The dialog box options are: Name Displays the currently selected printer. You can click the drop-down list button to the right of the input field to display the list of available printers and select one of them. Displays the currently selected paper size. You can click the drop-down list button to the right of the input field to display a list of available paper sizes and select one of them. Displays the currently selected paper source. You can click the drop-down list button to the right of the input field to display a list of available paper sources and select one of them. Click the orientation you want. Select Portrait for vertical orientation, or Landscape for horizontal orientation.
Size
Source
Orientation
To save the printer configuration, click OK. To close the dialog box without making any changes, click Cancel. For more configuration options, click Properties. To connect to another printer on the network, click Network.
GFK-1180K
J-11
The dialog box options are: Status Lets you enable/disable filtering for message status. You may select one or more status types. If you select no status types, you will see no messages. Process Lets you enable/disable filtering by process name. Click the dropdown list to the right of the input field to display the list of processes currently in the log file that you can select. Lets you select the procedure name(s) to filter for. You can enter an entire procedure name, or the first n characters. Lets you enable/disable filtering by source name. Click the dropdown list to the right of the input field to display the list of sources currently in the log file that you can select. Lets you select a reference number to filter for. You must enter the exact reference number. Lets you select a code to filter for. You must enter the exact code.
Procedure Source
Reference Code
You may use any combination of filter entries in your filter request. To filter the Status Log, click OK. The Log Viewer screen redisplays with the filtered list of messages. If no messages match the filter you requested, the screen is blank. To close the dialog box without filtering, click Cancel. To clear filtering and redisplay all Status Log messages, click Clear, and then click OK.
J-12
July 2001
GFK-1180K
The dialog box options are: Status Lets you search for messages by status. You may select one or more status types. If you select no status types, no messages will be found. Process Lets you search for messages by process name. Click the dropdown list to the right of the input field to display the list of processes currently in the log file that you can select. Lets you search for messages by procedure name. You can enter an entire procedure name, or the first n characters. Lets you search for messages by source name. Click the drop-down list to the right of the input field to display the list of sources currently in the log file that you can select. Lets you search for messages by reference number. You must enter the exact reference number. Lets you search for messages by code. You must enter the exact code. You can choose the direction to search in from your current location in the Status Log. Click Up to search previous messages. Click Down to search next messages.
Procedure Source
You may use any combination of filter entries in your filter request. To locate the entry in the Status Log, click Find Next. The dialog box closes, and the next message in the Status Log that matches the filter is highlighted. If no message is found, the highlight remains at the current message.
GFK-1180K
J-13
Note The Find and Find Next options will not wrap around the message list when they reach either end. For example, if you are searching Down and you are already at the end of the message list, when you activate the search, you will not be asked if you wish to continue from the beginning of the list. To close the dialog box without finding a message, click Cancel. To clear the filters, click Clear, and then click OK.
J-14
July 2001
GFK-1180K
GFK-1180K
J-15
In addition to these files, you may also find files for alarm log printers and device communication drivers. To view the contents of an .ERR or .OUT file: 1. 2. 3. Stop the project. Use the Explorer to check for any non-zero length .ERR and .OUT files in the project's log directory. Use Notepad to look at the contents of these files.
J-16
July 2001
GFK-1180K
Index
#
#ERROR!ARRAYNOTALLOWED G-7 #ERROR!ARRAYOUTOF BOUNDS G-7 #ERROR!BADSERVERRESPONSE G-7 #ERROR!CIMPLICITYNOTRUNNING G-7 #ERROR!INVALIDPOINTID G-8 #ERROR!NOTIMPLEMENTED G-8 #ERROR!NOTLICENSED G-8 #ERROR!POINTIDSYNTAX G-8 #ERROR!POINTUNAVAILABLE G-8 #ERROR!SERVERNEEDSRESTART G-8 #ERROR!URLEXCEPTION G-8
$
$ADDRESS Class attribute 11-16 $ADDRESS_ADJ Numeric data item 11-37 $ALARM.ACKED 13-2 $ALARM.ACTIVE 13-2 $ALARM.TOTAL 13-2 $ALARM.UNACKED 13-2 $ALARM_DELAY Numeric data item 11-37 $ALARM_DISABLED 20-2 $ALARM_ENABLED 20-2 $ALARM_HIGH Numeric data item 11-37 $ALARM_LOW Numeric data item 11-37 $ALARM_MODIFIED 20-2 $ALARM_RAWLIM 20-2 $ALARM_RESTORED 20-2 $AM_STATUS 20-2, 1-14 $CLASS 11-32 $CLASS_<Alarm class name>.ALARMS 13-2 $CLASS_<Alarm class name>.UNACKED 13-2
$CONV_LIMIT_HIGH Numeric data item 11-37 $CONV_LIMIT_LOW Numeric data item 11-37 $DESCRIPTION Class attribute 11-16 $DEV_DOWN 20-3 $DEVICE 20-2 $DEVICE_DOWN 20-2 $DEVICE_FAILOVER 20-3 $DEVICE_ID Class attribute 11-16 $DISPLAY_HIGH Numeric data item 11-37 $DISPLAY_LOW Numeric data item 11-37 $DL_FILE_FULL 20-3 $DOWNLOAD 20-3 $DYN_CFG 20-3 $EU_LABEL Class attribute 11-16 $FORMAT_JUST Numeric data item 11-37 $FORMAT_PREC Numeric data item 11-37 $FORMAT_WIDTH Numeric data item 11-37 $GMR_POINT_DISCREPANCY 20-3 $ID 11-32 $LEVEL Class attribute 11-17 Numeric data item 11-37 $LOCAL.COMPUTER 13-2 $LOCAL.DATE.AMPM 13-3 $LOCAL.DATE.DAY 13-3 $LOCAL.DATE.DAYOFWEEK 13-3 $LOCAL.DATE.DAYOFYEAR 13-3 $LOCAL.DATE.HOUR 13-3 $LOCAL.DATE.HOUR12 13-3 $LOCAL.DATE.MINUTE 13-3 $LOCAL.DATE.MONTH 13-4 $LOCAL.DATE.SECOND 13-4 $LOCAL.DATE.SECONDOFDAY 13-4 $LOCAL.DATE.WEEK 13-4 $LOCAL.DATE.YEAR 13-4 $LOCAL.DATETIME 13-4 $LOCAL.WINUSER 13-4 $LOGON 20-3 $LOGOUT 20-3 $OBJECT 11-32 Used in a Class CimEdit screen 11-68 $PROJECT 13-5 $PROJECT.AVAILABLE 13-5 $PROJECT.COMPUTER 13-5 $PROJECT.DATE.AMPM 13-5
GFK-1180K
Index-i
$PROJECT.DATE.DAY 13-5 $PROJECT.DATE.DAYOFWEEK 13-5 $PROJECT.DATE.DAYOFYEAR 13-6 $PROJECT.DATE.HOUR 13-6 $PROJECT.DATE.HOUR12 13-6 $PROJECT.DATE.MINUTE 13-6 $PROJECT.DATE.MONTH 13-6 $PROJECT.DATE.SECOFDAY 13-6 $PROJECT.DATE.SECOND 13-6 $PROJECT.DATE.WEEK 13-7 $PROJECT.DATE.YEAR 13-7 $PROJECT.DATETIME 13-7 $PROJECT.DEVICES 13-7 $PROJECT.LOGGEDIN 13-7 $PROJECT.USERS 13-7 $RANGE_HIGH Numeric data item 11-37 $RANGE_LOW Numeric data item 11-37 $RAW_LIMIT_HIGH Numeric data item 11-37 $RAW_LIMIT_LOW Numeric data item 11-37 $RAW_VALUE Point attributes 10-22 $REDUND_DEV_DOWN 20-3 $RESOURCE_ID Class attribute 11-17 $ROLE 13-8 $ROLE.LEVEL 13-8 $RTR_LINK_DOWN 20-3 $SCREEN_ID Class attribute 11-17 $SETPOINT_HIGH Numeric data item 11-37 $SETPOINT_LOW Numeric data item 11-37 $TREND_DURATION Numeric data item 11-37 $TREND_SAMPLES Numeric data item 11-37 $USER 13-8 $USER.ALARMS 13-8 $WARNING_HIGH Numeric data item 11-37 $WARNING_LOW Numeric data item 11-37
.
.soc File Imported into a project 12-5 .wav Alarm hardware requirements 21-1 Stop for an alarm 21-9
_
_ENG In Data Report 26-117 _PREV In Data Report 26-117 _RAW In Data Report 26-117 _RES In Data Report 26-117
{
{Procedure Quick enable of a protocol for a project 5-2
3
3D_BCD 6-4
4
4D_BCD Device point 6-4
A
About Alarm audio support 21-1 Alarm blocking 22-1 Alarm classes 18-1 Alarm printer configuration 23-1 Alarms 20-1 CIMPLICITY HMI and Control C-1 CIMPLICITY HMI log files J-1 Classes 11-1 Client configuration 28-1 Database logging, Managing 27-1 Devices 15-1 Measurement units 31-1 Microsoft System Management Server 33-10 Point control panel 30-1 Ports 17-1
%
%% 8-15 %DEV_AMT 8-15 %DEV_VAL 8-15 %EU 8-15 %ID 8-15
Index-ii
GFK-1180K
RAS F-1 Resources 16-1 Roles 24-1 Security features 33-18 System Utilities 32-1 WebGateway G-1 About Alarm Strings 19-1 About CimView 29-1 About System Management 33-1 About the CIMPLICITY To Windows Server B-1 About Users 25-1 Absolute Alarming 8-21 Access Runtime monitoring 2-32 ACCESS Import/export fields E-17 Access CIMPLICITY service Automatic report printing 26-124 Access to Manual Mode 6-44 ACCESS_FILTER Import/export fields E-17 ACCESS_FLAG Point attributes 10-23 ACK_TIMEOUT Import/export fields E-17 ACK_TOUT 1-14 Point attributes 10-23 Acknowledgement Automatic for alarms 8-34 Actions Configure for a class 11-53 Create for a class 11-52 Device properties, CIMPLICITY HMI and Control C-4 In classes 11-50 Activate Dynamic configuration 2-27, 26-16 Active Measurement System About 31-12 Defining in Measurement Units 31-12 Defining in Project Properties 31-13 Add Class object to project 12-10 Custom class attribute 11-17 Data items 11-26 Global parameter value 1-7 Project to CIMPLICITY options list 3-14 Subsystems to PtXRef database 14-11 Add Point Button 30-12 Add Points Manual in the Point Control Panel 30-19, 30-25
Add Points to the PCP From another PCP 30-15 From the Workbench 30-14 Using the Point Browser 30-12 Adding Saved Logins 32-15 Adding a new user to a resource 16-4 Adding a user to a resource 16-4 Adding an alarm Alarm block group 22-7 Adding an Alarm printer 23-2 ADDR E-37 Import/export fields E-17 Point attributes 10-23 ADDR_OFFSET Import/export fields E-18 Point attributes 10-23 ADDR_TYPE Import/export fields E-18 Address Adjustment in class expressions 11-41 Custom for a diagnostic point 6-13 Specifications for a device point 6-8 Standard domain 6-14 Addressing Procedure for 6-8 Advance Device point configuration 6-15 Advanced Alarm tabs 8-13 Device specifications for device points 6-20, 7-19 General specifications for device points 6-15 General specifications for virtual points 7-12 Virtual point configuration 7-12 Alarm Enabled for a device point 6-16 Enabled for a virtual point 7-14 Logs for device points 6-19 Logs for points 8-28 Alarm assignment Alarm blocking 22-2 Alarm Attributes Alarm Id 20-2 Alarm Type 20-2 Class Id 20-2 Description 20-2 Message 20-2 Alarm Audio Support Configuration steps 21-2 Alarm block group See Alarm blocking
GFK-1180K
Index
Index-iii
Alarm blocking About 22-1 Alarm assignment 22-2 Alarm priorities 22-2 Blocking modes 22-2 Configuring 22-4 Rules for 22-3 Alarm Blocking Configuration Opening an existing dialog box 15-4, 19-5, 22-5, 23-3 Alarm blocking group Adding an alarm 22-7 Modifying an alarm 22-8 Removing an alarm 22-7 Alarm Blocking Group Creating 22-4 Alarm Class Color assignments 18-9 Colors 18-5 Default alarm color mappings 18-9 ID 18-4 Map new colors 18-9 Open configuration dialog 18-2 Sound 18-6 Specifications 18-4 Alarm class Configuration Mapping colors in rgb.dat 18-9 Alarm classes About 18-1 Alarm Classes About 18-1 Configure 18-2 Alarm comments More about 20-11 Alarm Configuration 20-1 Creating A New Alarm Definition 20-4 Modifying an existing alarm 20-5 Setting runtime alarm properties 20-11 Alarm Definition Alarm Options Properties 20-10 Alarm Definitions Standard Alarms 20-2 Alarm ID In Alarm Report 26-123 Alarm Limit Changed Icon 30-27 Alarm Logs Database Logger defaults 26-25 Alarm Options Properties 20-10 Alarm printer configuration 23-1 About 23-1 Adding an alarm printer 23-2 Additional steps for serial printers 23-11 Date/time format properties 23-8 Date/time formats 23-9 Delete and acknowledge times 23-13
General properties 23-4 Modifying queue size 23-13 Alarm Printer Configuration Alarm printer properties 23-4 More about redundant alarm printers 23-10 Alarm priorities Alarm blocking 22-2 Alarm properties Runtime 20-11 Alarm Routing Tab Values Class object 12-8 Alarm Sound Manager 21-1 Alarm Setup 21-5 Default project priority 21-7 Enable new alarm sound 21-9 Hardware requirements 21-1 Load profile 21-6 Message box 21-13 Mute alarms 21-9 Mute sounds 21-13 Runtime tools 21-13 Save profile 21-6, 21-10, 21-12 Select priorities 21-7 Start with Windows startup 21-11 Use 21-13 Windows task bar icon 21-14 Alarm Sound Manager Dialog Open 21-3 Project lists 21-4 Alarm Sound Manger Repeat alarms 21-9 Alarm State Group point logging attributes 26-63 Point data logging attributes 26-40 Alarm String Configuration 19-1 Creating A New Alarm String 19-4 Alarm Strings About 19-1 Configuring 19-3 Alarm Tab In the Point Control Panel 30-26 Alarm Triggered Logging Point data logging 26-38 alarm_class In Alarm Report 26-123 ALARM_CRITERIA Point attributes 10-24 ALARM_DELAY Point attributes 10-24 ALARM_ENABLED B-6 ALARM_HIGH B-5 Point attributes 10-24, 10-25
Index-iv
GFK-1180K
ALARM_LOG Add alarms through Database Logger 26-74 Configure logging conditions for single alarm 26-83 Logging conditions 26-77 Logging properties 26-80 Maintenance actions 26-80 Maintenance events 26-79 Open 26-76 Overview 26-69 System alarms 26-71 Table logging attributes 26-78 Tasks to configure properties 26-75 ALARM_LOW B-5 Point attributes 10-25 alarm_message In Alarm Report 26-123 ALARM_SAVE_COMMENTS 1-14 ALARM_STATE Point attributes 10-26 Alarms About 20-1 Absolute 8-21 Add to logging through Database Logger 26-74 Advanced tab 8-13 Basic limits 8-12 Basic message 8-11 Class and alarm message 8-16 Class configuration 8-18 Configure a connection 26-75 Deadband 8-29 Define advanced message 8-15 Definition 8-14 Delay 8-26 Deletion 8-36 Deviation 8-22 Help file 8-29 Logging conditions 26-77 Maximum stack 8-36 Mute sound 21-9 On update 8-23 Open log report 26-121 Rate of change 8-24 Removing roles 8-31 Repeats 8-34 Report logged data 26-121 Roles assigned to 8-30 Routing 8-30 Setting options 8-33 Table indexes columns rows 26-72 Table logging attributes 26-78 Table schema 26-72 Timed/gated maintenance notes 26-51 View logged data 26-123
Alarms in the PCP Disable 30-28 Enable 30-29 All subsystems Option button 14-4 Allen-Bradley Communications Global parameters list 1-58 List of logical names 33-4 Allen-Bradley Data Highway Plus Global parameters list 1-58 Allow Service to Interact with Desktop 26-125 And Oracle 27-7 ALLOW_UPDATE_WHEN_DISABLED 1-15 ALM_CLASS Import/export fields E-18 ALM_CRITERIA Import/export fields E-18 ALM_DEADBAND Import/export fields E-19 ALM_DELAY Import/export fields E-19 ALM_HIGH_1 Import/export fields E-19 ALM_HIGH_2 Import/export fields E-19 ALM_HLP_FILE Import/export fields E-19 ALM_LOW_1 Import/export fields E-20 ALM_LOW_2 Import/export fields E-20 ALM_MSG Import/export fields E-20 ALM_ROUTE_OPER Import/export fields E-20 ALM_ROUTE_SYSMGR Import/export fields E-20 ALM_ROUTE_USER Import/export fields E-21 ALM_STR Import/export fields E-21 ALM_TYPE Import/export fields E-21 ALRM In Data Report 26-117 am_colors.cfg 18-9 Am_colors.cfg 18-9 AM_OLD_POINT_RESET 1-15 AM_RESET_ACK_STATE 1-16 amlp_flush.exe 23-12 AMLP_HIGHWATERMARK 1-16 AMLP_LOSTALARMSPAGE 1-16 AMLP_LOWWATERMARK 1-17 AMLP_MAX_QUEUE 23-13, 1-17 AMLP_USE_GEN_TIME 23-13, 1-17
GFK-1180K
Index
Index-v
AMLP_USE_RESET_TIME 1-18 AMSI_ALARM 20-3 Analog Virtual point initialization 7-6 Analog Deadband 6-23 ANALOG_DEADBAND Import/export fields E-21 Point attributes 10-26 appendCaption (Method) WebGateway, Web data applet G-9, G-10, G-11 Application Logging Overview 26-109 Application Logs Database Logger defaults 26-25 Application privileges Point by address 24-5 Application Privileges 24-4 Delete alarms 24-4 Dynamic configuration 24-4 Level 24-5 Modify alarms 24-4 Modify manual mode 24-5 Process control 24-4 Script control 24-5 Set point 24-5 Setpoint audit trail 24-5 Trigger event 24-5 Application Source Directory Creating Site wide installation 33-13 Applications Table indexes columns rows 26-109 Apply Point attributes 10-11 Architecture Integration Machine Edition point data D-2 Area Resource Security Privilege 24-6 Arithmetic Operators and custom conversion 6-36 Operators for expressions 7-50 Array Limits for device points 6-7 Array Point Example - CWSERV B-11 Array Tab In the Point Control Panel 30-30 Arrays And histogram points 7-42 Device arrays in Alarm Viewer 6-6 Device arrays in CimEdit 6-6 Device arrays in CimView 6-6 Device arrays in database logger 6-6 Using for device points 6-6 Using for virtual points 7-5 Virtual arrays in Alarm Viewer 7-5 Virtual arrays in CimEdit 7-5 Virtual arrays in CimView 7-5
Virtual arrays in Database Logger 7-5 Assign Attribute Values Class object 12-8 Assign Object Properties Class CimEdit screen 11-71 Assign Values To a class object 12-8 Associate CimView screen with a point 8-2 Associating folders with devices CIMPLICITY HMI and Control C-5 Association, Creating new CIMPLICITY HMI and Control C-5 Association, Deleting CIMPLICITY HMI and Control C-6 Association, Editing CIMPLICITY HMI and Control C-6 Attribute Class as defaults 11-29 Point security 10-41 Attribute Properties Class 11-18 Object builder group 11-21 Attribute Values Point object 12-8 Attributes Class 11-15 For a class 11-15 For alarm logging tables 26-78 For event alarm logging tables 26-93 For group logging tables 26-63 For point logging tables 26-40 LAST_UPD_MAN 10-20 Numeric data item 11-37 QUALITY.ALARMED 10-18 QUALITY.ALARMS_ENABLED 10-19 QUALITY.DISABLE_WRITE 10-19 QUALITY.IS_AVAILABLE 10-19 QUALITY.IS_IN_RANGE 10-20 QUALITY.MANUAL_MODE 10-18 QUALITY.STALE_DATA 10-20 TIMESTAMP 10-21 Audio Add projects to Alarm Sound Manager 21-4 For alarm class 18-6 Open Alarm Sound Manager dialog 21-3 Audio Support Alarm Sound Manager 21-1 Authorization Code Unique for pc 28-3 Automatic Reset for an alarm 8-35 Automatic Access Trusted 28-3 User identification 28-3
Index-vi
GFK-1180K
Automatic Actions For alarms 8-33 Automatically Print Report Script example 26-126 Trigger report event 26-128 Availability Triggers For device points 6-17 For virtual points 7-15 Average Points 7-29
B
Background Changing color in the Point Control Panel 30-17 Background Color For alarm class 18-5 For point alarm class 8-19 Base Engineering Units For a device point 6-31 Base Rate And scan rate 6-23 Basic Alarm limits 8-12 Device custom addressing 6-8 Device point configuration 6-3 Virtual point configuration 7-3 Basic Control Engine Guideline for measurement units 31-19 Beep Alarm hardware requirements 21-1 Sound for an alarm 18-8 Stop for an alarm 21-9 Before you start RAS F-3 Begin Point cross reference 14-2 BEU For a device point 6-31 BFR_COUNT Import/export fields E-21 BFR_DUR Import/export fields E-22 BFR_EVENT Import/export fields E-22 BFR_EVENT_PT_ID Import/export fields E-22 BFR_EVENT_TYPE Import/export fields E-22 BFR_EVENT_UNITS Import/export fields E-22 BFR_GATE_COND Import/export fields E-22 BFR_SYNC_TIME Import/export fields E-23 BIND_ADDR 1-18
Bitwise Operators and custom conversion 6-36 Operators for expressions 7-51 Blank Point cross reference window 14-3 Blink For alarm class 18-5 For point alarm class 8-19 Blocking modes Alarm blocking 22-2 Blocking rules Alarm blocking 22-3 BOOL 6-5 Boolean Virtual point initialization 7-6 Broadcast Machine Edition product integration D-4 Browse Open window 2-13 Browser And point attributes 10-11 Browser for Points For the Point Control Panel 30-12 Browser Windows Point search aids in the Workbench 9-5 BSM_PTM_APPQ 33-2 BSM_PTM_AQ_CNT4DROP 33-3 BSM_PTM_AQ_PERIOD 33-3 Buffering For device points 6-18 For virtual points 7-16 Build Point cross reference database 14-3 Bulk Insertion Insert triggers 26-3 Peak performance Database Logger 26-3 Button Add Point 30-12 Build PtXRef database 14-3 Delete point 30-18 Disable Alarm 30-28 Disable Manual Mode 30-21 Edit Point 30-24 Enable Alarm 30-29 Enable Manual Mode 30-20 Limits 30-27 One page 30-9 Point Properties 30-22 Two pages 30-9 View options 14-7 BYTE 6-5
GFK-1180K
Index
Index-vii
C
CALC_TYPE Import/export fields E-23 Calculation Average points 7-29 Delta Accum array 7-26 Delta Accum points 7-22 Equation 7-20 Equation w/override points 7-37 Histogram 7-42 Max capture point 7-31 Min Capture point 7-33 Timer/counter point 7-40 Trans High Accum point 7-35 Value Accum point 7-27 CALCULATION_TYPE Point attributes 10-27 Calendar Area resource security privilege 24-6 Configuration privileges 24-6 Privileges 24-6 Capabilities Workbench 2-1 Categorize points 4-2 CE_MAX_DELAY 1-19 CE_MAX_THREADS 1-19 CE_THREAD_TIMEOUT 1-19 Change A CIMPLICITY HMI project name 2-20 Global parameter value 1-4 Point through point cross reference window 14-10 Project in point cross reference window 14-13 Select existing record or file 2-30 Change View Options Show Users 32-4 Characters Reserved when naming points 4-4 Charts In Trend reports 26-121 Check Box Enable tree text view 14-7 Show only used points 14-7 Sort on 14-7 Choose Fields 2-15 CimEdit A screen for class 11-64 Configure a screen for a class 11-65 Display screen for a class object 12-13 CimEdit Management of Animated Objects Guideline for measurement units 31-17 CIMHOSTS.TXT Configuring for RAS F-13
CIMPLCIITY HMI and Control Device properties, Actions C-4 Device properties, Common point properties C-4 Device properties, Import options C-3 CIMPLICITY And Oracle 27-8 Begin setup for registration H-2, H-18 Program layers 3-23 Unregister H-32 CIMPLICITY Attributes For a class 11-16 CIMPLICITY HMI Customer support 1-2 Running without authorization H-32 Site wide installation procedure 33-13 Upgrading H-11 CIMPLICITY HMI and Control About C-1 Associating folders and devices C-5 Creating a new association C-5 Device properties, Control C-2 Import process C-7 Import rules C-7 Point conflicts, Incorrect information C-10 Point conflicts, New point C-9 Point conflicts, Resolving C-8 Remote configuration C-11 Remote configuration, Example C-11 Supported device protocols C-2 CIMPLICITY HMI and CONTROL Deleting an association C-6 CIMPLICITY HMI and Control, Editing an association C-6 CIMPLICITY HMI Processes 32-26 CIMPLICITY HMI web data applet G-9 CIMPLICITY HMI WebGateway See WebGateway CIMPLICITY Options Add project to list 3-14 Connecting to a computer 3-14 Network options 3-16 Start as viewer 3-13 Start project in list 3-14 Startup options 3-15 Stop a project 3-14 System boot options 3-17 CIMPLICITY options, Server RAS F-14 CIMPLICITY software Removing I-1 Removing from Windows 98 I-1 Removing from Windows NT I-2
Index-viii
GFK-1180K
CIMPLICITY Software Copying a project to diskette 3-27 Creating a remote project 33-26 How configuration updates are handled 3-24 Logging in 3-25 New project options 3-9 Remote projects 33-25 Removing Windows 95 Registry Information 33-7 Removing Windows NT Registry Information 33-8 Setting project properties 3-3 CIMPLICITY to Windows Server B-1 Displaying point data B-6 Point Topic Attributes B-3 CIMPLICITY To Windows Server About B-1 Command syntax for System topic B-13 Creating A DDE Share B-15 CWSERV Command Syntax B-1 CWSERV Icon B-7 Error Messages B-15 Formats command syntax B-13 Help command syntax B-14 Implementing a Setpoint macro B-9 Macro format for modifying point data B-8 Microsoft Excel Example B-2 Modifying Point Data B-8 Performance considerations B-8 Referencing CWSERV from a Networked NT Client B-16 Remote Access of CWSERV on Windows NT B-15 Sample CWSERV Commands B-2 Sample spreadsheets and macros B-10 Starting CWSERV B-7 System command syntax B-13 Topics command syntax B-13 Using with Microsoft Excel B-6 CIMPLOG.MDB 26-25 CimView 29-1 About 29-1 Associate a screen with a point 8-2 Executing in-place edit setpoint actions 29-15 Executing Slider Setpoints 29-13 Open 29-2 Opening a screen 2-33 Screen for a selected point 2-36 Selecting setpoint object with keyboard 29-14 Selecting setpoint object with mouse 29-14 Trigger log report 26-129 CimView Autostart Disable Microsoft network login prompt 3-18 Windows 98 3-18, 3-20 CimView Scripts Guideline for measurement units 31-18
Class About 11-1 Actions 11-50 Add custom attribute 11-17 Add new data item 11-26 Address adjustment expressions 11-41 Assign object properties in CimEdit 11-71 Attribute properties 11-18 Attributes 11-15 CimEdit screen 11-64 CIMPLICITY attribute as the default 11-29 CIMPLICITY attributes 11-16 Colors for alarm class 18-5 Colors for point alarm class 8-19 Configuration steps 11-7 Configure a CimEdit screen 11-65 Configure actions 11-53 Configure an event for 11-60 Configure for alarms 18-2 Configure specifications for alarms 18-4 Configuring 11-1 Create 11-13 Create a script for 11-48 Create actions 11-52 Create event for 11-59 Create numeric expressions 11-38 Create string expressions 11-34 Custom attributes 11-17 Data Item options 11-44 Data items 11-24 Data Items, Configuration options 11-27 Delay-load data items 11-44 Dynamic configuration 2-27 Events 11-57 Export 11-78 Expressions 11-32 For alarms 8-16 ID for alarm class 18-4 Import into a project 12-5 Just-in-time data items 11-44 Map colors for alarms 18-9 Member type chart 11-1 Name object in CimEdit 11-68 New attribute 11-17 Object Builder group 11-21 Open Alarm Class dialog 18-2 Plan 11-8 Priority for alarm sound 21-7 Rgb.dat colors and alarms 18-9 Scripts 11-46 Write scripts for 11-49
GFK-1180K
Index
Index-ix
Class Attribute $ADDRESS 11-16 $DESCRIPTION 11-16 $DEVICE_ID 11-16 $EU_LABEL 11-16 $LEVEL 11-17 $RESOURCE_ID 11-17 $SCREEN_ID 11-17 Class Object Add to project 12-10 Assign attribute values 12-8 Configuration steps 12-5 Configure properties 12-8 Create 12-7 Create CimEdit screen 12-13 Dialog box tabs 12-8 General values 12-10 Object evolution 12-3 Overview 12-2 Class Objects Definitions 12-2 Class-Object Evolution and construction overview 11-2 clearPoints (Method) WebGateway, Web data applet G-11 CLIE See Import/Export export command E-11 Import command E-8 Client configuration About 28-1 Client properties 28-3 Client package Distribution How it works 33-11 Client properties Client configuration 28-3 Client Properties Open dialog box 28-3 Client setup RAS, Windows 95 F-11 RAS, Windows NT F-9 Close Database Logger Configuration window 26-20 Logging table in Database Logger 26-19 Project view in Show Users 32-8 The Point Control Panel 30-11 CLR_TOUT 1-19 Point attributes 10-27 Collapse Left pane view 2-7 Color Assignments for alarm class 18-9 Color Assignments Alarm class configuration 18-9
Colors Changing in the Point Control Panel 30-17 For alarm class 8-19, 18-5 Columns In alarm logging tables 26-72 In application logging tables 26-109 In data logging tables 26-31 In event logging tables 26-88 In Event Manager logging tables 26-100 In group logging tables 26-58 Number allowed in log table 26-9 Combining triggers Database Logger 26-39 Command Line Options startup.exe 3-28 Command Syntax for System Topic B-13 Formats B-13 Help B-14 System B-13 Topics B-13 Common point properties Device properties, CIMPLICITY HMI and Control C-4 Compact Width for an analog point 8-5 Components WebGateway G-3 Workbench 2-3 Computer Transfer license from one to another H-21 Transfer license via the network H-18 Conditions For logging alarms 26-77 Configuration Class objects 12-5 Data items 11-27 Database Logger hierarchy 26-5 Device point overview 6-1 Dynamic 2-27 Dynamic for Class 2-27 Dynamic for port 2-27 Dynamic in Database Logger 26-16 Dynamic restrictions for point 2-27 Steps for class 11-7 Update 2-26 Virtual point overview 7-1 Configuration Import/Export See Import/Export Configuration Privileges 24-7
Index-x
GFK-1180K
Configure Alarm class specifications 18-4 Alarm classes 18-2 Alarm Logging properties 26-75 Alarm Sound Manager project priority 21-4 Blink for alarm class 18-5 Blink for point alarm class 8-19 Class 11-1 Colors for alarm class 18-5 Colors for point alarm class 8-19 Event action logging properties 26-103 Event alarm Logging properties 26-91 Global parameters 1-3 Group point logging properties 26-60 Point data logging properties 26-35 Projects for Alarm Sound Manager 21-4 Configure Properties Class object 12-8 Configuring Data items 11-24 Configuring a Port 17-2 Configuring additional Locks SQL Server 27-9 Configuring alarm blocking 22-4 Configuring Alarm Strings 19-3 Configuring automatic startup RAS, Windows NT server F-7 Configuring Point Bridge Points 33-29 Configuring Resources 16-2 Connect Quick device connect for a project 5-3 CONNECT_DROP_PERIOD 1-20 CONNECT_RETRY_PERIOD 1-20 Connecting to a Computer CIMPLICITY options 3-14 Connection For group point logs 26-65 Connectivity Enterprise Server and Machine Edition D-2 Viewer and Machine Edition D-3 Contacting your distributor 1-1 Control properties Actions C-4 Common point properties C-4 Device properties, CIMPLICITY HMI and Control C-2 Import options C-3 CONV_LIM_HIGH Import/export fields E-23 CONV_LIM_LOW Import/export fields E-23 CONV_TYPE Import/export fields E-24 Point attributes 10-27
Conversion Custom for a device point 6-35 Device points 6-29 Linear for a device point 6-35 Operators for expressions 7-52 Tab for device points 6-30 Converted values Linear device point conversion 6-34 Copy Database Logger table 26-12 Project to a new project 2-19 Copy of Point Control Panel File Save 30-8 Copying a Project to Diskette 3-27 Create A new Point Control Panel file 30-4 Class 11-13 Class object 12-7 New alarm class 18-2 New device point 6-2 New record or file 2-29 New virtual point 7-2 Numeric expressions in classes 11-38 Set for point enumeration 6-38 String Expression in a class 11-34 Creating Alarm Block Group 22-4 Role 24-2 Creating a DDE Share B-15 Creating A New Alarm Definition 20-4 Creating A New Alarm String 19-4 Creating a new device 15-2 Creating A New Port 17-3 Creating a New Project Options 3-9 Creating A New Remote Project 33-26 Creating a new user 25-3 Creating a resource 16-2 Creating tables Database logger, Column definitions 27-13 Database logger, Key definitions 27-14 Creating Tables Database logger 27-13 Criteria For an alarm 8-21 Update for a device point 6-10 CSV file format E-2 Custom Attributes Class 11-17 Custom Conversion for a device point 6-35 Custom HTML pages, Troubleshooting WebGateway G-7 Customer support 1-2 Customize Workbench point list 9-1
GFK-1180K
Index
Index-xi
CWSERV Command Syntax B-1 Command syntax for System topic B-13 Creating a DDE Share B-15 Displaying Point Data B-6 Error Messages B-15 Formats command syntax B-13 Help command syntax B-14 Icon B-7 Implementing a Setpoint macro B-9 Macro format for modifying point data B-8 Microsoft Excel Example B-2 Modifying Point Data B-8 Performance considerations B-8 Point Topic Attributes B-3 Referencing from a Networked NT Client B-16 Remote Access of CWSERV on Windows NT B-15 Sample Commands B-2 Sample spreadsheets and macros B-10 Spreadsheet example with array point B-11 Spreadsheet example with single point B-10 Starting B-7 System command syntax B-13 Topics command syntax B-13 Using with Microsoft Excel B-6 CWSERV Attributes ALARM_ENABLED B-6 ALARM_HIGH B-5 ALARM_LOW B-5 DISP_FORMAT B-4 DISP_HIGH B-5 DISP_LOW B-5 ELEMENTS B-4 EU_LABEL B-5 INIT_STATE B-6 LENGTH B-4 RAW_VALUE B-3 SIZE B-4 STATE B-3 TYPE B-4 VALUE B-3 WARN_ENABLED B-6 WARNING_HIGH B-5 WARNING_LOW B-5
D
DARP_LVV_USECURRENT 1-20 DARP_STARTUP_INTERVAL 1-21 Data Enable stale 17-6 Logging overview 26-30 Logs for device points 6-19 Logs for virtual points 7-17
Data Item String expressions 11-32 Data Item Numeric $ADDRESS_ADJ 11-37 $ALARM_DELAY 11-37 $ALARM_HIGH 11-37 $ALARM_LOW 11-37 $CONV_LIMIT_HIGH 11-37 $CONV_LIMIT_LOW 11-37 $DISPLAY_HIGH 11-37 $DISPLAY_LOW 11-37 $FORMAT_JUST 11-37 $FORMAT_PREC 11-37 $FORMAT_WIDTH 11-37 $LEVEL 11-37 $RANGE_HIGH 11-37 $RANGE_LOW 11-37 $RAW_LIMIT_HIGH 11-37 $RAW_LIMIT_LOW 11-37 $SETPOINT_HIGH 11-37 $SETPOINT_LOW 11-37 $TREND_DURATION 11-37 $TREND_SAMPLES 11-37 $WARNING_HIGH 11-37 $WARNING_LOW 11-37 Data Items Add new 11-26 Class 11-24 Configuration 11-27 Configuring 11-24 Delay-load 11-44 Options 11-44 Supported string substitution 11-33 Data log Add points through Database Logger 26-33 Logging conditions 26-36 Open 26-35 Tasks to configure properties 26-35 Data Log Configure logging conditions for single point 26-50 Logging properties 26-45 Maintenance actions 26-43 Maintenance events 26-41 Table logging attributes 26-40 Data log table Add points through Point Properties dialog 26-32 Data Table Deadband 26-37 Schema 26-31 Data Triggered Logging For group point logging 26-37, 26-62 For point data 26-36
Index-xii
GFK-1180K
Data Type 3D_BCD 6-4 4D_BCD 6-4 Bool 6-5 BYTE 6-5 Device point 6-3 DINT 6-4 DWORD 6-5 INT 6-4 REAL 6-4 SINT 6-4 STRING 6-5 STRING_20 6-5 STRING_8 6-5 UDINT 6-4 UINT 6-4 USINT 6-4 Virtual point 7-3 WORD 6-5 DATA_LOG Add point alarms through Point Properties dialog 26-73 Database Point cross reference 14-3 Point data logs 26-46 Reconcile with table in Database Logger 26-17 Supported interfaces for logging 26-1, 26-2 Database disconnect recover Database logger 27-15 Database disconnect recover, Enabling store and forward 27-16 Database disconnect recover, Reconnect wait period 27-15 Database disconnect recover, Store and forward 27-15 Database disconnect recover, Store and forward changing defaults 27-18 Database disconnect recover, Store and forward maximum records 27-18 Database disconnect recover, Store and forward filenames 27-17 Database logger Creating tables, Column definitions 27-13 Creating tables, Key definitions 27-14 Database disconnect recover, Enabling store and forward 27-16 Database disconnect recover, Reconnect wait period 27-15 Database disconnect recover, Store and forward 27-15 Database disconnect recover, Store and forward changing defaults 27-18 Database disconnect recover, Store and forward maximum records 27-18 Database disconnect recover, Store and forward filenames 27-17
Database disconnect recovery 27-15 ODBC configuration 27-1 ODBC configuration, Data sources 27-2 ODBC configuration, Drivers 27-2 ODBC configuration, Microsoft Access data sources 27-6 Oracle configuration 27-8 Oracle requirements 27-8 Table characteristics 27-13 Database Logger About 26-1 Add alarms to log 26-74 Add event alarms to log 26-90 Add points to data log 26-33 Add points to group log 26-59 Alarm Log defaults 26-25 And dynamic configuration 26-16 Application log defaults 26-25 Application logging Overview 26-109 Combining triggers 26-39 Creating tables 27-13 Creating tables column definitions 26-9 Creating tables, Microsoft Access note 27-13 Default logging properties 26-21 Event log defaults 26-25 Event Manager trigger report printing 26-128 Exit 26-20 File management functions 26-10 Group point log defaults 26-28 In point cross reference 14-1 Maintenance actions trigger report printing 26-128 ODBC configuration, Custom data sources 27-3 ODBC configuration, Moving projects 27-3 Open 26-4 Point data logging overview 26-30 Point log defaults 26-28 Reports, Automatic printing, Script 26-126 Search string wildcards 26-15 Set up for Oracle 27-8 Supported ODBC interfaces 26-1, 26-2 Trend report 26-118 Database Logging Management About 27-1 Database management SQL server 27-9 Database Management SQL server, Configuration additional locks 27-9 SQL server, Handling transaction log 27-11 SQL server, Truncating transaction log as CIMPLICITY maintenance action 27-12 SQL server, Truncating transaction log as system default 27-11 Database Queue Size 26-22 Database User Field Logging default 26-26
GFK-1180K
Index
Index-xiii
Datadirect Merant driver for Oracle 27-6 Date/time format properties Alarm printer configuration 23-8 Date/time formats Alarm printer configuration 23-9 DB_CLOCK_ADJUSTMENT_MONITOR 1-21 DB_COMPACT_QUEUE_SIZE 1-21 DB_CONN_DOWN 20-3 DB_COUNTER_FIELD 1-22 DB_DBMS_QUEUE_SIZE 1-22 DB_DEBUG 1-23 DB_ENABLE_MSEC 1-23 DB_ENABLE_TRANSACTIONS 1-25 DB_MSEC_FIELD 1-25 DB_POINT_ID_FIELD 1-26 DB_PROJECT_FIELD 1-26 DB_QUEUE_OVERFLOW_DELAY 1-27 DB_QUEUE_SIZE 1-27 DB_START_FORWARD 20-3 DB_STATUS_LOG_OFF 1-27 DB_TABLE_FAILURE_RETRY 1-28 DB_TIME_FORMAT 1-28 DB_TIMESTAMP_FIELD 1-29 DB_TIMESTAMP_FILTER 1-30 DB_TIMESTAMP_PRECISION 1-30 DBDL_DEVICE_CHECK_PERIOD 1-31 DC_RETRY_ONE_DEVICE 1-31 Deadband And alarms 8-29 In database logging 26-37 DEADBAND Point attributes 10-28 Default Color Mappings Alarm class 18-9 Default Logging Properties Database Logger 26-21 Default Parameters For Database Logger 26-22 Default User 25-1 Defaults Alarm logging 26-25 ALARM_LOG logging properties 26-81 Application logging 26-25 Configuration level 1 in Database Logger 26-6 Configuration level 2 in Database Logger 26-6 Configuration level 3 in Database Logger 26-7 Event logging 26-25 Group point logging 26-28 Point connection 26-66 Point data connection 26-46 point logging 26-28 Defining a resource Properties 16-3
Definitions Class 11-81 Class objects 12-2 For fields displayed in the Workbench 9-8 DEL_OPT 1-31 Point attributes 10-28 Delay Alarms 8-26 Delay Load For device points 6-23 Delay Load Function Explanation for device points 6-28 Delay-Load Data Items 11-44 Delete Global parameter 1-9 Table in Database Logger 26-14 Delete Alarm privilege 24-4 Delete and acknowledge times, Modifying Alarm printer configuration 23-13 Delete Point Button 30-18 Delete Points From the Point Control Panel 30-18 Delete Records Maintenance action 26-43 DELETE_REQ Import/export fields E-24 Deleting a user from a resource 16-4 Deleting configuration data Import/Export E-14 Deleting Login Information 33-6 Deletion Alarms 8-36 Delta Accum Array 7-26 Delta Accum Points 7-22 Derived Points Guideline for measurement units 31-16 DESC E-37 Import/export fields E-24 Description Event alarm definition 20-5 Of Workbench parts 2-3 DESCRIPTION Point attributes 10-28 Detail Tab In the PCP 30-22 DEV_ID 8-15 Deviation Alarming 8-22 DEVIATION_PT Import/export fields E-24 DEVIATION_PTID Point attributes 10-29 Device Point configuration overview 6-1
Index-xiv
GFK-1180K
Device Communications Global parameters 1-58 Device configuration Creating a new device 15-2 Device specific properties 15-6 General properties 15-5 Device Configuration 15-1 Device General Properties Description 15-5 Model Type 15-5 Resource 15-5 Device properties Control for CIMPLICITY HMI and Control C-2 Device specific properties 15-6 Device status 6-12 DEVICE_DOWN_DEVICE_REF 1-32 DEVICE_ID Import/export fields E-24 Point attributes 10-29 Devices About 15-1 Diagnostic Point when the enabler uses custom addressing 6-13 Points used with devices 6-12 Dialog Box CIMPLICITY Registration Authorization H-6 CIMPLICITY Registration System Authorization Code H-7 CIMPLICITY Registration User Information H-4 Field Chooser 2-16 Search 2-12 View options 14-7 DINT 6-4 Disable Device point 6-16 Device point alarm 6-16 Microsoft Network Login Prompt 3-18 Virtual point 7-14 Virtual point alarm 7-14 Disable / Modify Alarms 24-5 Disable Alarm Button 30-28 Disable Alarm Privileges 24-4, 24-5 Disable Alarms In the Point Control Panel 30-28 Disable Communications on Port Consequence of 17-5 Disable Level Privileges 24-5 Disable Manual Mode Button 30-21 Disable Manual Mode Points In the Point Control Panel 30-21 Disabled Alarm Icon 30-27 Disk Scan Rate 26-22 Disk Space Low Maintenance events 26-42
DISP_FORMAT B-4 DISP_HIGH B-5 DISP_LIM_HIGH Import/export fields E-25 Point attributes 10-29 DISP_LIM_LOW Import/export fields E-25 Point attributes 10-30 DISP_LOW B-5 DISP_TYPE Import/export fields E-25 DISP_WIDTH E-25 Display A new Point Control Panel file 30-4 Advanced group of alarm tabs 8-13 Alarm Sound Manager dialog 21-3 Fields in right pane 2-15 Files 2-9 Options in Workbench 2-7 Point Control Panel 30-2 Records 2-9 View tab 8-3 Workbench 2-3 Display High/Low Analog point limits 8-6 Displaying Point Data with CWSERV B-6 Displaying Ports 17-2 Displaying status log message details J-8 Distributors Phone numbers 1-1 Domains For programmable controllers dynamically reconfigured 6-20 DONT_VERIFY_ESPOINT_FRID 1-32 DOWNLD_PASSWD 1-33, 1-55 DP_FLAG Point attributes 10-30 Drag Points into Point Control Panel 2-36 Drag Points to the Point Control Panel 30-14 Drive Field Maintenance events 26-42 DT_UPD_INTERVAL 1-33 Duplicate Project Broadcast Machine Edition product integration D-4 DWORD 6-5 Dynamic Configuration 2-27 Remote Project configuration restrictions 2-27 Update Point configuration 2-27 Update Class configuration 2-27 Update Port configuration 2-27
GFK-1180K
Index
Index-xv
Dynamic Configuration Begin 2-27, 26-16 Using in Database Logger 26-16 Dynamic Configuration Changes Security audit trail 33-21 Dynamic Configuration privilege 24-4
E
Edit Glb_parms.idt 1-60 Global parameter value 1-4 Point through point cross reference window 14-10 Select existing record or file 2-30 Edit menu Login panel 32-20 Edit Point Button 30-24 Element Value Set In the Point Control Panel 30-30 ELEMENTS B-4, E-37 Import/export fields E-25 EM_LOG Overview 26-100 Tasks to configure properties 26-103 EM_LOG Table Schema 26-100 Empty Point cross reference window 14-3 Enable Analog display configuration guide 8-5 Device point 6-16 Device point alarm 6-16 Virtual point 7-14 Virtual point alarm 7-14 Enable Alarm Button 30-29 Enable Alarms In the Point Control Panel 30-29 Enable Manual Mode Button 30-20 Enable Manual Mode Points In the Point Control Panel 30-20 Enable Project Multicast 3-5 Enable Stale Data For a port 17-6 Enable Tree Text View Check box 14-7 ENG_UNITS Import/export fields E-25 Engineering Units Group point logging attribute 26-63 Point data logging attribute 26-41 Specified in the virtual point Expression editor 7-47 Enlarge CimView screen display size 29-9 Enterprise properties Remote project 33-28
Enterprise Server And Setpoint security guidelines 4-7 Connectivity with Machine Edition point data D-2 Enumeration Application examples 6-42 Associate a point with a set 6-40 Create a set 6-38 Guidelines 6-37 Overview for points 6-37 Enumeration Point 6-37 Equal Trigger point 6-22 EQUATION Import/export fields E-26 Equation Points 7-20 Equation w/override points 7-37 Error messages WebGateway G-7 WebGateway, #ERROR!ARRAYNOTALLOWED G-7 WebGateway, #ERROR!ARRAYOUTOFBOUNDS G-7 WebGateway, #ERROR!BADSERVERRESPONSE G-7 WebGateway, #ERROR!CIMPLICITYNOTRUNNING G-7 WebGateway, #ERROR!INVALIDPOINTID G-8 WebGateway, #ERROR!NOTIMPLEMENTED G-8 WebGateway, #ERROR!NOTLICENSED G-8 WebGateway, #ERROR!POINTIDSYNTAX G-8 WebGateway, #ERROR!POINTUNAVAILABLE G-8 WebGateway, #ERROR!SERVERNEEDSRESTART G-8 WebGateway, #ERROR!URLEXCEPTION G-8 Error Messages B-15 EU And linear conversion 6-35 EU Conversion Machine Edition product integration D-4 EU_CONV In the virtual points Expression Editor 7-47 EU_EXPRESSION Point attributes 10-31 EU_LABEL B-5 Point attributes 10-30 EU_REV_EXP Point attributes 10-31 Event Alarm Description 20-5
Index-xvi
GFK-1180K
Event Alarms Add to logging through Database Logger 26-90 Add to logging through Point Properties dialog 26-89 Configure a connection 26-91 Table indexes columns rows 26-88 Table logging attributes 26-93 Table schema 26-88 Event Logs Database Logger defaults 26-25 Event Management Actions Configure a connection 26-103 Event Manager Guideline for measurement units 31-19 In point cross reference 14-1 Log table indexes columns rows 26-100 Trigger log report printing 26-128 EVENT_LOG Add event alarms through Database Logger 26-90 Add event alarms through Point Properties dialog 26-89 Configure logging conditions for single event alarm 26-98 Logging properties 26-95 Maintenance actions 26-95 Maintenance events 26-94 Open 26-92 Overview 26-85 System alarms 26-87 Table logging attributes 26-93 Tasks to configure properties 26-91 Events Configure for a class 11-60 Create for a class 11-59 For a class 11-57 Trigger automatic report 26-128 Example, About RAS F-2 Example, Remote configuration CIMPLICITY HMI and Control C-11 Excel And MS Query for logging reports 26-111 Charts in Trend reports 26-121 Used for alarm log reports 26-121 Used for point log reports 26-115 Used for trend log reports 26-118 Execute SQL Command Logging maintenance action 26-44 Executing Setpoints In-place edit 29-15 Object Selected with keyboard 29-14 Object Selected With Mouse 29-14 Executing Slider Setpoints 29-13 Exit Database Logger 26-20 The Point Control Panel 30-11
Expand Left pane view 2-7 Explorer Use to find a file 2-14 Export Class 11-78 Export Path For maintenance action 26-23 Export procedure Import/Export E-11 Export Records Logging maintenance action 26-44 Exporting configuration data E-11 Expression And timer/counter points 7-41 Create string in a class 11-34 For equation w/override points calculation 7-37 Rules for defining for an equation point 7-21 Expression Editor 7-47 And PTMDP_DO_EU_CONV 7-47 Expressions Class 11-32 Numeric in data item fields 11-36 EXTRA Point attributes 10-31
F
Failures 6-12 Field Chooser 2-15 Need update 2-26 Select in right pane 2-15 Field Chooser Open dialog box 2-15 Fields Definitions for fields displayed in the Workbench 9-8 To display in the Workbench 9-6 File Create new 2-29 Find 2-14 Finding its name 2-12 Open in Point Control Panel 30-6 Save in Point Control Panel 30-7 Select for display 2-9 Select to edit 2-30 File Management Functions In Database Logger 26-10 File menu Login panel 32-20 Files Point Control Panel 30-4 Filter Timestamps default 26-24
GFK-1180K
Index
Index-xvii
Filter List In Database Logger 26-15 Filtering status log messages J-12 final_state In Alarm Report 26-123 Find A file 2-14 A record or file 2-10 Name of file or record 2-12 Finding status log messages J-13 Finding the next status log message J-14 First Converted Value And linear conversion 6-35 FIRST_WEEK_DAYS 1-33 Fixed Width for an analog point 8-4 FLAGS Point attributes 10-31 Floating Point Numbers KB in log record 26-9 Floating Point Vs. Integer Guideline for measurement units 31-14 FloPro/FloNet Global parameters list 1-58 Flush Alarms printed on network printer 23-12 Folder Expand in left pane 2-7 Fonts Changing color in the Point Control Panel 30-17 Foreground Color For alarm class 18-5 For point alarm class 8-19 Format IFELSE 7-51 FORMAT_PREC Point attributes 10-32 FORMAT_WID Point attributes 10-32 Formats - CWSERV System Topic B-13 Forward Custom device point conversion 6-35 FR_ID Point attributes 10-32 Function Upgrade Registration H-11 Functionality Viewer and Machine Edition integration D-3 Functions Alarm 7-49 Further configuration RAS, Windows NT server F-7 Windows NT client F-11 FW_CONV_EQ Import/export fields E-26
G
GE FANUC Hotline 1-2 General Basic virtual point information 6-3, 7-3 General properties Alarm printer configuration 23-4 Device 15-5 Remote project 33-27 getCaption (Method) WebGateway, Web data applet G-9 getPointStatus (read only property) WebGateway, Web data applet G-12 getPointValue (read only property) WebGateway, Web data applet G-12 Glb_parms.idt Edit 1-60 Global parameter file 1-60 Locate 1-60 Sample file 1-62 Global Parameter ALLOW_UPDATE_WHEN_DISABLED and port configuration 17-5 Global Parameters $AM_STATUS 1-14 ACK_TOUT 1-14 Add 1-7 ALARM_SAVE_COMMENTS 1-14 ALLOW_UPDATE_WHEN_DISABLED 1-15 AM_OLD_POINT_RESET 1-15 AM_RESET_ACK_STATE 1-16 AML_LOWWATERMARK 1-17 AMLP_HIGHWATERMARK 1-16 AMLP_LOSTALARMSPAGE 1-16 AMLP_MAX_QUEUE 1-17 AMLP_USE_GEN_TIME 1-17 AMLP_USE_RESET_TIME 1-18 BIND_ADDR 1-18 BSM_PTM_APPQ 33-2 BSM_PTM_AQ_CNT4DROP 33-3 CE_MAX_DELAY 1-19 CE_MAX_THREADS 1-19 CE_THREAD_TIMEOUT 1-19 CLR_TOUT 1-19 Configure 1-3 CONNECT_DROP_PERIOD 1-20 CONNECT_RETRY_PERIOD 1-20 DARP_LVV_USECURRENT 1-20 DARP_STARTUP_INTERVAL 1-21 DB_CLOCK_ADJUSTMENT_MONITOR 1-21 DB_COMPACT_QUEUE_SIZE 1-21 DB_COUNTER_FIELD 1-22 DB_DBMS_QUEUE_SIZE 1-22 DB_DEBUG 1-23
Index-xviii
GFK-1180K
DB_ENABLE_MSEC 1-23 DB_ENABLE_TRANSACTIONS 1-25 DB_MSEC_FIELD 1-25 DB_POINT_ID_FIELD 1-26 DB_PROJECT_FIELD 1-26 DB_QUEUE_OVERFLOW_DELAY 1-27 DB_QUEUE_SIZE 1-27 DB_STATUS_LOG_OFF 1-27 DB_TABLE_FAILURE_RETRY 1-28 DB_TIME_FORMAT 1-28 DB_TIMESTAMP_FIELD 1-29 DB_TIMESTAMP_FILTER 1-30 DB_TIMESTAMP_PRECISION 1-30 DBDL_DEVICE_CHECK_PERIOD 1-31 DC_RETRY_ONE_DEVIE 1-31 Definition A-1 DEL_OPT 1-31 Delete 1-9 Device communications 1-58 DEVICE_DOWN_DEVICE_REF 1-32 DONT_VERIFY_ESPOINT_FRID 1-32 DOWNLD_PASSWD 1-33, 1-55 DT_UPD_INTERVAL 1-33 Edit a value 1-4 Edit glb_parms.idt file 1-60 Find in the Workbench A-2 FIRST_WEEK_DAYS 1-33 GSM_ANNUN_ALARM_H1 1-34 GSM_ANNUN_ALARM_H2 1-34 GSM_ANNUN_ALARM_L1 1-35 GSM_ANNUN_ALARM_L2 1-35 GSM_ANNUN_DIG_OFF 1-36 GSM_ANNUN_DIG_ON 1-36 GSM_ASC_FONT_NAME 1-37 GSM_ASC_FONT_SIZES 1-37 GSM_ASC_SCALE 1-38 GSM_CACHE_SIZE 1-38, 1-40 GSM_EXPONENT_PRECISION 1-39 GSM_GLOBAL_SCRIPT 1-39 GSM_OVERRIDE_POINT_FMT 1-40 GSM_SPCONFIRM_DEFAULT 1-41 GSM_STALE_COLOR_KEY 1-41 GSM_TERM_SERV_CACHE_SIZE 1-42 GSM_UNAVAIL_COLOR_KEY 1-42 GSM_UNAVAILABLE_TIMELIMIT 1-42 HDA_PTDL_OFFSET 1-43 IPC_BCAST_INTERVAL 1-43 IPC_QUEUE_SIZE 1-45 List 1-11 List for Allen-Bradley 1-58 List for Allen-Bradley Data Highway Plus 1-58 List for FloPro/FloNet 1-58 List for Marquee Driver 1-58 List for Mitsubishi Serial 1-58 List for Modbus Plus 1-58
List for Modbus TCP/IP 1-58 List for OMRON Serial 1-58 List for OMRON TCP/IP 1-58 List for Series 90 TCP/IP 1-58 List for Smarteye 1-59 LOG_OPT 1-45 LOGIN_RETRY_PERIOD 1-46 MAX_TREND_BUF 1-46 MULTICAST_HOSTNAME 1-46 MULTICAST_IP_ADDR 1-47 MULTICAST_TTL 1-48 Overview A-1 PB_DIAGS 1-48 PORT_GROWTH_PERIODS 1-44 PORT_NONE_CONSUMED 1-44 PORT_PERIOD_SECS 1-44 PROJECT_ID 1-49 PROWLER_CACHE_SIZE 1-49 PTDL_ENABLE_MEASUREMENTS 1-49 PTDL_QUANTIZATION 1-50 PTMDP_DO_EU_CONV 1-50 PTMDP_DO_SAVEPOINT_CACHE 1-50 PTMDP_DO_SAVEPOINT_COMPACT 1-51 PTMRP 1-51 PTX_MAX_CACHED_POINTS 1-51 RAW_LIMIT_ALARM 1-52 REDUND_LINK_SLEEP 1-52 REPEAT_TOUT 1-52 RTR_ACCEPT_CONN 1-52 RTR_DISABLE_BCAST 1-53 RTR_MAX_OUTMESSAGE_COUNT 1-53 Sample File 1-62 SECURE_SOCKETS 1-54 SHORT_FILENAMES 1-55 SOCK_GROWTH_PERIODS 1-44 SOCK_NONE_CONSUMED 1-44 SOCK_PERIOD_SECS 1-44 STARTUP_TIMEOUT 1-55 SVC_RETRY_COUNT 1-56 SVC_RETRY_DELAY 1-56 SYSNAME 1-56 TERMSERV_ALLOW_SETPOINTS 1-56 UR_LOGIN_FAILURES 1-57 GR_SCREEN Import/export fields E-26 Granting client dial-in permission RAS, Windows NT server F-7 Graphic Select for class object screen 12-13 Greater Than Trigger point 6-22 Greater Than Equal Trigger point 6-22
GFK-1180K
Index
Index-xix
Group Log Add points through Database Logger 26-59 Logging conditions 26-62 Logging properties 26-65 Maintenance actions 26-65 Maintenance events 26-64 Open 26-61 Table logging properties 26-63 Tasks to configure properties 26-60 Group Point Logs Database Logger defaults 26-28 Group Points Open log report 26-118 Report logged data 26-118 Table indexes columns rows 26-58 Table schema 26-58 View logged data 26-120 Group Table Indexes columns rows 26-58 GROUP_LOG Add point alarms through Point dialog 26-73 GSM_ANNUN_ALARM_H1 1-34 GSM_ANNUN_ALARM_H2 1-34 GSM_ANNUN_ALARM_L1 1-35 GSM_ANNUN_ALARM_L2 1-35 GSM_ANNUN_DIG_OFF 1-36 GSM_ANNUN_DIG_ON: 1-36 GSM_ASC_FONT_NAME 1-37 GSM_ASC_FONT_SIZES 1-37 GSM_ASC_SCALE 1-38 GSM_CACHE_SIZE 1-38, 1-40 GSM_EXPONENT_PRECISION 1-39 GSM_GLOBAL_SCRIPT 1-39 GSM_OVERRIDE_POINT_FMT 1-40 GSM_SPCONFIRM_DEFAULT 1-41 GSM_STALE_COLOR_KEY 1-41 GSM_TERMSERV_CACHE_SIZE 1-42 GSM_UNAVAIL_COLOR_KEY 1-42 GSM_UNAVAILABLE_TIMELIMIT 1-42 Guidelines Database queue size 26-23 Disk scan rate 26-22 Enumerated points 6-37 Maintenance action export path 26-23 Point data logging scan rate 26-23
HDA Global Parameter 1-43 HDA_PTDL_OFFSET HDA 1-43 Help - CWSERV System Topic B-14 Help File And alarms 8-29 Help File Conventions Point class 11-77 Help Menu Login panel 32-21 Histogram Point 7-42 Hotline Phone numbers 1-2 How Client Package Distribution Works 33-11 How Configuration Updates Are Handled 3-24
I
Icon 30-27 Alarm Limit Changed 30-27 Alarm Sound Manager on Windows task bar 21-14 Database Logger 26-4 For tables in Database Logger 26-5 Invalid point 30-12 Manual mode 30-20, 30-25 Point cross reference 14-2 ID For alarm class 18-4 ie_deflds.cfg E-4 Changing information in E-5 ie_formats.cfg E-5 Changing information in E-6 IFELSE Format 7-51 Import Class into a project 12-5 Point class 11-79 Import options Device properties, CIMPLICITY HMI and Control C-3 Import Procedure Import/Export E-8 Import, Process CIMPLICITY HMI and Control C-7 Import, Rules CIMPLCITIY HMI and Control C-7
H
Handling transaction log SQL server 27-11 Hardware And Database Logger performance 26-3 Hardware Requirements Alarm Sound Manager 21-1
Index-xx
GFK-1180K
Import/Export E-1 Configuration Files E-4 Data file format E-2 Deleting configuration data E-14 Export field formats file E-5 Export procedure E-11 Exporting configuration data E-11 Field names E-15 Required E-15 Import Field Defaults File E-4 Importing configuration data E-8 Introduction E-1 Log file E-7 Log file format E-7 Log file name E-7 Logicmaster 90 support E-37 Logicmaster Fields ADDR E-37 DESC E-37 ELEMENTS E-37 PT_ID E-37 PT_TYPE E-37 Optional field names E-15 Sample data file E-2 Sample Logicmaster File E-37 Wildcards for delete E-14 Wildcards for export E-13 Import/export Fields ACCESS E-17 ACCESS_FILTER E-17 ACK_TIMEOUT E-17 ADDR E-17 ADDR_OFFSET E-18 ADDR_TYPE E-18 ALM_CLASS E-18 ALM_CRITERIA E-18 ALM_DEADBAND E-19 ALM_DELAY E-19 ALM_HIGH_1 E-19 ALM_HIGH_2 E-19 ALM_HLP_FILE E-19 ALM_LOW_1 E-20 ALM_LOW_2 E-20 ALM_MSG E-20 ALM_ROUTE_OPER E-20 ALM_ROUTE_SYSMGR E-20 ALM_ROUTE_USER E-21 ALM_STR E-21 ALM_TYPE E-21 ANALOG_DEADBAND E-21 BFR_COUNT E-21 BFR_DUR E-22 BFR_EVENT E-22 BFR_EVENT_PT_ID E-22 BFR_EVENT_TYPE E-22
BFR_EVENT_UNITS E-22 BFR_GATE_COND E-22 BFR_SYNC_TIME E-23 CALC_TYPE E-23 CONV_LIM_HIGH E-23 CONV_LIM_LOW E-23 CONV_TYPE E-24 DELETE_REQ E-24 DESC E-24 DEVIATION_PT E-24 DEVICE_ID E-24 DISP_LIM_HIGH E-25 DISP_LIM_LOW E-25 DISP_TYPE E-25 ELEMENTS E-25 ENG_UNITS E-25 EQUATION E-26 FW_CONV_EQ E-26 GR_SCREEN E-26 INIT_VAL E-26 JUSTIFICATION E-27 LEVEL E-27 LOCAL E-27 LOG_ACK E-27 LOG_DEL E-27 LOG_GEN E-27 LOG_RESET E-27 MAX_STACKED E-28 MEASUREMENT_UNIT_ID E-28 POSS_AFTER_SET E-28 PRECISION E-28 PROC_ID E-28 PT_ENABLED E-29 PT_ORIGIN E-29 PT_SET_INTERVAL E-29 PT_SET_TIME E-30 PT_TYPE E-30 PTMGMT_PROC_ID E-29 RANGE_HIGH E-30 RANGE_LOW E-30 RAW_LIM_HIGH E-30 RAW_LIM_LOW E-30 REP_TIMEOUT E-31 RESET_ALLOWED E-31 RESET_COND E-31 RESET_PT E-31 RESET_TIMEOUT E-32 RESOURCE_ID E-32 REV_CONV_EQ E-32 ROLLOVER_VAL E-32 SAFETY_PT E-33 SAMPLE_INTV E-33 SAMPLE_INTV_UNIT E-33 SCAN_RATE E-33 SETPOINT_HIGH E-34
GFK-1180K
Index
Index-xxi
SETPOINT_LOW E-34 TIME_OF_DAY E-34 TRIG_CK_PT E-34 TRIG_PT E-34 TRIG_REL E-35 TRIG_VAL E-35 UPDATE_CRITERIA E-35 VARIANCE_VAL E-36 VARS E-36 Import/Export Fields DISP_WIDTH E-25 PT_ID E-15 PT_ORIGIN E-15 Importing configuration data E-8 Incorrect information conflicts CIMPLICITY HMI and Control C-10 Indexes In alarm logging tables 26-72 In application logging tables 26-109 In data logging tables 26-31 In event logging tables 26-88 In event manager logging tables 26-100 In group logging tables 26-58 InetPub\Scripts\CimGate.dll G-3 InetPub\wwwroot\CIMPLICITY\HMI\*.html G-3 InetPub\wwwroot\CIMPLICITY\HMI\CimData.jar G-3 INIT_STATE B-6 INIT_VAL Import/export fields E-26 INIT_VALUE Point attributes 10-32 Initialization Specifications for a virtual point 7-6 Text points 7-7 Initialized Initialization option 7-6 In-place edit setpoint actions 29-15 Insert Triggers And Bulk insertion 26-3 Insertion Peak performance bulk 26-3 Install Shortcut Of Point Control Panel file 30-8 Installation Upgrade licenses H-13 Installation procedure WebGateway G-2 Installing WebGateway G-2 Installing the RAS Windows NT client F-9 Windows NT server F-4 INT 6-4 Integrated Functionality Machine Edition point data D-3
Integration Machine Edition Point Data D-1 Machine Edition point data architecture D-2 Set up Machine Edition D-5 Interval Disk scan rate 26-22 Timer/counter point 7-40 Intervals Point data logging conditions 26-36 Introduction Site wide installation 33-9 Invalid Point Icon 30-12 In point cross reference 14-6 IPC for Point Management 1-44 IPC_BCAST_INTERVAL 1-43 IPC_QUEUE_SIZE 1-45
J
Job Creating for CIMPLICITY HMI Installation Site wide installation 33-16 Justification For an analog point 8-3 JUSTIFICATION Import/export fields E-27 Just-in-Time Data Items Class 11-44
L
LAST_UPD_MAN Point attributes 10-20 Layers CIMPLICITY programs 3-23 Left Justification for an analog point 8-3 Left Pane Changing the view 2-7 Create new record or file from 2-29 In point cross reference window 14-6 LENGTH B-4 Less Than Trigger point 6-22 Less Than Equal Trigger point 6-22 Level Device point security 6-20 Virtual point security 7-17 LEVEL Import/export fields E-27 Point attributes 10-32 Level Privilege 24-5
Index-xxii
GFK-1180K
License Installing for upgrade H-13 Transfer from one computer to another H-21 Transfer via the network H-18, H-21 Licenses Running without authorization H-32 Upgrading CIMPLICITY HMI H-11 Limitations RAS F-15 String substitution 11-33 Limits Analog display 8-6 Array limits for device points 6-7 Basic alarm 8-12 Range 8-7 Setpoint 8-9 Tab 8-7 Limits Button 30-27 Linear Conversion for a device point 6-34 List Alarm Sound Manager projects 21-4 All files for an object 2-9 All points displayed in the Workbench 9-1 All records for an object 2-9 Customize point list in the workbench 9-1 Filter in Database Logger 26-15 Of global parameters 1-11 Points in point cross reference 14-6 Resorting in point cross reference 14-6 Select points in the Workbench 9-2 Selected files for an object 2-10 Selected records for an object 2-10 Load Profile in Alarm Sound Manager 21-6 LOCAL Import/export fields E-27 Point attributes 10-33 Locate Glb_parms.idt 1-60 Location MS Query for logging reports 26-112 Log Select to log point alarms 8-28 Log and error files Viewing J-1 Log file format Import/Export E-7 Log file name Import/Export E-7 Log On As CIMPLICITY service 26-125 Log Record Allowed size 26-9 LOG_ACK Import/export fields E-27
log_action In Alarm Report 26-123 LOG_DEL Import/export fields E-27 LOG_GEN Import/export fields E-27 Log_names.cfg 33-5 LOG_OPT 1-45 LOG_RESET Import/export fields E-27 logged_by In Alarm Report 26-123 Logging Add alarms through Database Logger 26-74 Add data points through Database Logger 26-33 Add event alarms through Database Logger 26-90 Add event alarms through Point Properties dialog 26-89 Add group of points through Point Properties dialog 26-32 Add group points through Database Logger 26-59 Add point alarms through Point Properties dialog 26-73 group points 26-55 Point data 26-29 Logging Conditions ALARM_LOG 26-77 Configure for a single alarm 26-83 Configure for a single event alarm 26-98 Configure for a single point 26-50 Data log 26-36 Group log 26-62 Logging Count Maintenance event 26-42 Logging Data Tables Maintenance events 26-41 Logging Database Reconcile with table 26-17 Logging In 3-25 Logging in to a project Login panel 32-19 Logging out of a project Login panel 32-18 Logging Properties Default in Database Logger 26-21 For alarm logs 26-80 For event alarm logs 26-95 For point data logs 26-45 Logging Properties Dialog Box Open 26-21
GFK-1180K
Index
Index-xxiii
Logging Reports Alarms 26-121 And MS Query 26-111 Automatic printing 26-124 Generate Alarm Report 26-123 Generate Data Report 26-116, 26-119 Group points 26-118 MS Query path 26-112 Parameters for group point logs 26-119 Parameters for point logs 26-116 Points 26-115 Shipped with CIMPLICITY 26-110 Logging Table Close in Database Logger 26-19 Copy to new table 26-12 Create new 26-10 Delete in Database Logger 26-14 Open 26-11 Reconcile with logging database 26-17 Rename in Database Logger 26-13 Logging Tables Maintenance actions 26-43 Logical Operators and custom conversion 6-36 Operators for expressions 7-52 Logical Names 33-2 Allen Bradley Communications 33-4 Editing the file 33-5 Log_names.cfg 33-5 Mitsubishi TCP/IP Communications 33-5 Modbus Plus Communications 33-4 SNP Communications 33-5 Logicmaster 90 support Import/Export E-37 Login Information Deleting 33-6 Login Panel 32-12 Edit menu 32-20 File menu 32-20 Help Menu 32-21 Logging in to a project 32-19 Logging out of a project 32-18 Managing saved logins 32-15 Menu options 32-20 Password, changing 32-14 Project Menu 32-20 Shortcut keys 32-21 Start 32-13 Toolbar buttons 32-21 View Menu 32-21 Login Password Security features 33-18 LOGIN_RETRY_PERIOD 1-46
M
Machine Edition Enterprise Server connectivity D-2 Integrated functionality D-3 Integration handling D-3 Point data integration D-1 Point data integration architecture D-2 Set up for data point integration D-5 Viewer connectivity D-3 Maintain PtXRef database 14-11 Maintenance Action Export Path 26-23 Maintenance Actions Trigger log report printing 26-128 Maintenance Events For alarms 26-79 For event alarms 26-94 For point data logs 26-41 For point groups 26-64 Notes about timed/gated 26-51 Managing Saved Logins 32-15 Manual Reset for an alarm 8-35 Manual Mode Description 6-44 Icon 30-20, 30-25 Manual Mode Points Add to the Point Control Panel 30-19, 30-25 Disable in the Point Control Panel 30-21 Enable in the Point Control Panel 30-20 Manual Points in the PCP Overview 30-19 Mapping Colors in rgb.dat Alarm class configuration 18-9 Mappings Color defaults for alarm class 18-9 New colors for alarm class 18-9 Marquee driver Global parameters list 1-58 Max Capture Point 7-31 Max Count For a device point trend history 6-18 For a virtual point trend history 7-16 Max Duration For a device point trend history 6-18 For a virtual point trend history 7-16 max number of stored records Default store and forward 26-27 MAX_STACKED Import/export fields E-28 MAX_TREND_BUF 1-46 MCP_PROC_DOWN 20-3 MDAC From Microsoft 27-6
Index-xxiv
GFK-1180K
Measurement System Adding 31-4 Copying 31-5 Defining properties 31-4 Renaming 31-5 Measurement Systems Configuring 31-2 Measurement Unit Copying 31-10 Defining properties 31-6 Editing properties 31-7 Equivalent unit definition 31-7 Equivalent unit id 31-8 Forward equation 31-8 Justification 31-9 Precision 31-9 Renaming 31-10 Reverse equation 31-8 Type 31-9 Width 31-9 Measurement Units About 31-1 Active measurement system, about 31-12 Configuring 31-2 Creating 31-6 Guidelines 31-14 Guidelines, Basic control engine 31-19 Guidelines, CimEdit management of animated objects 31-17 Guidelines, CimView scripts 31-18 Guidelines, Derived points 31-16 Guidelines, Event manager 31-19 Guidelines, Floating point vs. integer 31-14 Starting 31-3 MEASUREMENT_UNIT_ID Import/export fields E-28 Point attributes 10-33 Menu Show Users help 32-9 Show Users search 32-10 Show Users window 32-10 Menu options Login panel 32-20 Status log viewer J-4 Menu Options Show Users 32-8 Merant Datadirect Connect ODBC driver for Oracle 27-6 Message Advanced alarm 8-15 Basic alarm 8-11 message Box In Alarm Sound Manager 21-13 Microsoft MDAC 27-6
Microsoft Access note Database logger' 27-13 Microsoft Excel Example - CWSERV command B-2 Microsoft System Management Server About 33-10 Min Capture Point 7-33 Mitsubishi Serial Global parameters list 1-58 Mitsubishi TCP/IP Communications List of logical names 33-5 Modbus Plus Global parameters list 1-58 Modbus Plus Communications List of logical names 33-4 Modbus TCP/IP Global parameters list 1-58 Modify Glb_parms.idt 1-60 Open record or file for editing 2-30 Points through the point cross reference window 14-10 PtXRef database 14-11 Modify Alarm Setups Privilege 24-4 Modify Manual Mode Privilege 24-5 Modifying an alarm Alarm block group 22-8 Modifying Point Data in CWSERV B-8 Implementing a macro B-9 Macro Format B-8 Performance considerations B-8 Monitor Points runtime values 2-35 Runtime 2-32 More about redundant alarm printers 23-10 MS Query For logging reports 26-111 Multicast Default address 3-5, 1-47 MULTICAST_HOSTNAME 1-46 MULTICAST_IP_ADDR 1-47 MULTICAST_TTL 1-48 Multicasting Through Project Properties dialog 3-5 Multiple Open Windows 2-5 Mute Alarm sounds 21-13 Alarms in Alarm Sound Manager 21-9 Clear for new alarms 21-9
GFK-1180K
Index
Index-xxv
N
Name Finding 2-12 Node and project 3-4 Name Object in CimEdit Class 11-68 Naming Points 4-2 Reserved words 4-3 Need Update Point field 2-26 Network Options CIMPLICITY options 3-16 Network Printer Flushing alarms 23-12 Networking considerations RAS F-14 RAS, Client has network card configured F-14 New Alarm Class Configuration dialog opened 18-2 Class attribute 11-17 Class object 12-7 Create logging table 26-10 Creating new device points 6-2 Creating virtual points 7-2 Global parameter 1-7 Logging table copied from existing 26-12 Quick device setup 5-3 Record or file 2-29 New Name CIMPLICITY HMI project 2-20 New point conflicts CIMPLICITY HMI and Control C-9 New Project Copy from an existing project 2-19 New Project Options 3-9 No Limit Default store and forward 26-27 Node Name And project name 3-4 None Initialization option 7-6 Trigger point 6-22 Numeric Data Item $ADDRESS_ADJ 11-37 $ALARM_DELAY 11-37 $ALARM_HIGH 11-37 $ALARM_LOW 11-37 $CONV_LIMIT_HIGH 11-37 $CONV_LIMIT_LOW 11-37 $DISPLAY_HIGH 11-37 $DISPLAY_LOW 11-37 $FORMAT_JUST 11-37 $FORMAT_PREC 11-37 $FORMAT_WIDTH 11-37
$LEVEL 11-37 $RANGE_HIGH 11-37 $RANGE_LOW 11-37 $RAW_LIMIT_HIGH 11-37 $RAW_LIMIT_LOW 11-37 $SETPOINT_HIGH 11-37 $SETPOINT_LOW 11-37 $TREND_DURATION 11-37 $TREND_SAMPLES 11-37 $WARNING_HIGH 11-37 $WARNING_LOW 11-37 Numeric Data Item Attributes In expressions 11-37 Numeric Expressions In data item fields 11-36
O
Object Add class object to project 12-10 Assign attribute values to class object 12-8 Class object dialog box tabs 12-8 Configuration class objects 12-5 Configure properties for class object 12-8 Create class object 12-7 Create class object CimEdit screen 12-13 Display in left pane 2-7 General values in a class 12-10 Object Builder Group For classes 11-21 Object Evolution Class object 12-3 Objects Definitions class objects 12-2 Grouped on a class CimEdit screen 11-66 ODBC configuration 27-1 Drivers 27-2 ODBC Configuration Custom data sources 27-3 Data sources 27-2 Microsoft Access data sources 27-6 Moving projects 27-3 ODBC Source For point data logs 26-46 OMRON Serial Global parameters list 1-58 OMRON TCP/IP Global parameters list 1-58 On and Off Manual mode 6-44 On Change Trigger point 6-22 On Demand On Change 6-10 On Demand On Scan 6-10
Index-xxvi
GFK-1180K
On Digital Point Only Timed/gated 26-52 On Digital Point State Data log maintenance event 26-42 For data log tables 26-36 Point data logging 26-37 On Point Alarm State For data log tables 26-36 Point data logging 26-38 On Point Value Update For data log tables 26-36 On Scan 6-10 On Update alarming 8-23 One Page Button 30-9 Open A new Point Control Panel file 30-4 Alarm Class Configuration dialog 18-2 Alarm Sound Manager dialog 21-3 ALARM_LOG 26-76 Any Point Control Panel file 30-6 CIMPLICITY HMI browse windows 2-13 CimView 29-2 CimView screen 2-33 Data log 26-35 Database Logger 26-4 Database logging table 26-11 Different project in point cross reference window 14-13 EVENT_LOG 26-92 Field Chooser dialog box 2-15 Group log 26-61 Logging Properties dialog box 26-21 Multiple windows 2-5 New Alarm Class dialog 18-2 Point Control Panel 30-2 Point cross reference 14-2 Point enumeration application 6-38 Point setup dialog box 4-5 Project 3-1 Quick Trend 2-36 Recently used Point Control Panel file 30-5 Runtime windows 2-33 Show Users project 32-4 SQLALARM.XLS 26-121 SQLALARM97.XLS 26-121 SQLDATA.XLS 26-115 SQLDATA97.XLS 26-115 SQLGROUP.XLS 26-118 SQLGROUP97.XLS 26-118 Workbench 2-2 Open In the PCP A point's Point Properties dialog box 30-23 Operations Overview for expressions 7-48
Operators Arithmetic for expressions 7-50 Bitwise for expressions 7-51 Conversion for expressions 7-52 Logical for expressions 7-52 Relational for expressions 7-53 Scientific for expressions 7-54 Valid for custom conversion 6-36 Option Button All subsystems 14-4 Selected subsystems 14-4 Options For alarms 8-33 Options Button Select subsystems 14-11 Oracle Allow service to interact with desktop 27-7 Configuration for CIMPLICITY HMI 27-7 Configuring for CIMPLICITY HMI 27-6 Set up in CIMPLICITY HMI software 27-8 Versions supported 27-6 Oracle requirements Database logger 27-8 Out of Range 7-55 Output and error files System, Checking J-15 Output and error files, Project Checking J-16 Overview Advanced device point configuration 6-15 Advanced device point specifications 6-20, 7-19 Advanced virtual point configuration 7-12 Alarm limit values 8-25 Alarm logging 26-69 Alarms 8-10 Class-object evolution and construction 11-2 Database Logger 26-1 Database Logger file management functions 26-10 Default Database Logger logging properties 26-21 Device point configuration 6-1 Event alarm logging 26-85 Event Management logging 26-100 Expression operations 7-48 Global parameters A-1 Logging reports 26-110 Manual points in the PCP 30-19 Point class 4-2 Point Cross Reference 14-1 Point cross reference window panes 14-4 Point data logging 26-29, 26-30 Point group logging 26-55 Point type 4-2 Point View 8-2 Point view - limits and alarms 8-1 Quick device setup 5-1
GFK-1180K
Index
Index-xxvii
Runtime access 2-32 Trigger update options for device point example 6-24 Trigger update options for virtual point example 7-45 Understanding points 4-1 Virtual Points 7-1 Workbench 2-1 Workbench point display 9-1
P
Pane Left 2-7 Right 2-8 Panes In point cross reference window 14-4 Left in point cross reference window 14-6 Workbench 2-3 Parameters Default for Database Logger 26-22 For logged data reports 26-116 For logged trend reports 26-119 Password Logging default 26-26 Password, Changing Login panel 32-14 Path Maintenance action export default 26-23 MS Query for logging reports 26-112 PB_DIAGS 1-48 Performance Bulk insertion peak 26-3 Database Logger 26-3 Periodic And on digital point state 26-53 And Synchronized for timed/gated 26-52 Data log maintenance event 26-42 Only for time/gated 26-51 Point data logging conditions 26-36 Synchronized and on digital point state 26-54 Phone numbers Distributors 1-1 Phone Numbers Hotline 1-2 Ping RAS, Testing the connection F-13 Ping, Client RAS, Testing the connection F-13 Ping, Server RAS, Testing the connection F-14 Place Shortcut Of Point Control Panel file 30-8 Plan Class 11-8
Point Associate with an enumeration set 6-40 Dynamic configuration restrictions 2-27 Invalid 14-6 Machine and Plant Editions product variations D-3 Machine Edition data integration D-1, D-2 Machine Edition product integration updates D-4 Monitoring runtime values 2-35 Security level for device point 6-20 Security level for virtual point 7-17 Set up Machine Edition for integration D-5 Point Alarm Class Colors 8-19 Point Alarms Add to logging through Point Properties dialog 26-73 Point Attribute Security 10-41 Point Attributes $RAW_VALUE 10-22 ACCESS_FLAG 10-23 ACK_TOUT 10-23 ADDR 10-23 ADDR_OFFSET 10-23 ALARM_CRITERIA 10-24 ALARM_DELAY 10-24 ALARM_HIGH 10-24, 10-25 ALARM_LOW 10-25 ALARM_STATE 10-26 ANALOG_DEADBAND 10-26 Applied 10-11 CALCULATION_TYPE 10-27 CLR_TOUT 10-27 CONV_TYPE 10-27 DEADBAND 10-28 DEL_OPT 10-28 DESCRIPTION 10-28 DEVIATION_PTID 10-29 DEVICE_ID 10-29 DISP_LIM_HIGH 10-29 DISP_LIM_LOW 10-30 DP_FLAG 10-30 EU_EXPRESSION 10-31 EU_LABEL 10-30 EU_REV_EXP 10-31 EXTRA 10-31 FLAGS 10-31 FORMAT_PRC 10-32 FORMAT_WID 10-32 FR_ID 10-32 INIT_VALUE 10-32 LAST_UPD_MAN 10-20 LEVEL 10-32 LOCAL 10-33 MEASUREMENT_UNIT_ID 10-33 POINT_SET_INTERVAL 10-34
Index-xxviii
GFK-1180K
POINT_SET_TIME 10-34 POINT_STATE 10-34 PROCESS_ID 10-33 PTMGMT_PROCESS_ID 10-33 QUALITY 10-17 QUALITY.ALARMED 10-18 QUALITY.ALARMS_ENABLED 10-19 QUALITY.DISABLE_WRITE 10-19 QUALITY.IS_AVAILABLE 10-19 QUALITY.IS_IN_RANGE 10-20 QUALITY.MANUAL_MODE 10-18 QUALITY.STALE_DATA 10-20 RANGE_HIGH 10-35 RANGE_LOW 10-35, 10-36 RATE_TIME_INTERVAL 10-34 REP_TOUT 10-36 RESET_POINT_ID 10-36 SAFETY_CHECK_PTID 10-39 SCAN_POINT 10-37 SCAN_RATE 10-37 SETPOINT_HIGH 10-37, 10-38 SETPOINT_LOW 10-38 TIMESTAMP 10-21 TRIG_TYPE 10-39 TRIG_VALUE 10-40 TRIGGER_POINT 10-39 VARIANCE_VALUE 10-40 WARNING_HIGH 10-40 WARNING_LOW 10-41 Point Bridge Configuring points 33-29 Device point restrictions 6-12 Point configuration details 33-30 Point by Address privilege 24-5 Point Class Definitions 11-81 Help file conventions 11-77 Import 11-79 Plan 11-8 Sample 11-2 Point Configuration Configuring Point Bridge Points 33-29 In point cross reference 14-1 Point bridge point configuration details 33-30 Point conflicts, Incorrect information CIMPLICITY HMI and Control C-10 Point conflicts, New point CIMPLICITY HMI and Control C-9 Point conflicts, Resolving CIMPLICITY HMI and Control C-8 Point Control Panel About 30-1 Drag points into 2-36 Open 2-36, 30-2
Point Control Panel Alarm Changes Security audit trail 33-20 Point Cross Reference Build database 14-3 Open 14-2 Overview 14-1 Points list 14-6 View options 14-7 Window panes 14-4 Point Data Being Logged Logging condition 26-37 Point Enumeration Application examples 6-42 Associate a point with a set 6-40 Create a set 6-38 Guidelines 6-37 Overview 6-37 Point Log Deadband 26-37 Point Logs Database Logger defaults 26-28 Point Management And IPC global parameters 1-44 Point Object Alarm routing tab values 12-8 Point Privileges Disable / modify alarms 24-5 Point Properties Detail tab 30-22 Open in the PCP 30-23 Point Properties Button 30-22 Point Properties Dialog Add event alarms to log 26-89 Add point alarms to log 26-73 Add points to log 26-32 Point System $ALARM.ACKED 13-2 $ALARM.ACTIVE 13-2 $ALARM.TOTAL 13-2 $ALARM.UNACKED 13-2 $CLASS.ALARMS 13-2 $CLASS.UNACKED 13-2 $LOCAL.COMPUTER 13-2 $LOCAL.DATE.AMPM 13-3 $LOCAL.DATE.DATETIME 13-4 $LOCAL.DATE.DAY 13-3 $LOCAL.DATE.DAYOFWEEK 13-3 $LOCAL.DATE.DAYOFYEAR 13-3 $LOCAL.DATE.HOUR 13-3 $LOCAL.DATE.HOUR12 13-3 $LOCAL.DATE.MINUTE 13-3 $LOCAL.DATE.MONTH 13-4 $LOCAL.DATE.SECOND 13-4 $LOCAL.DATE.SECONDOFDAY 13-4 $LOCAL.DATE.WEEK 13-4
GFK-1180K
Index
Index-xxix
$LOCAL.DATE.YEAR 13-4 $LOCAL.WINUSER 13-4 $PROJECT 13-5 $PROJECT.AMPM 13-5 $PROJECT.AVAILABLE 13-5 $PROJECT.COMPUTER 13-5 $PROJECT.DATE.DAY 13-5 $PROJECT.DATE.DAYOFWEEK 13-5 $PROJECT.DATE.DAYOFYEAR 13-6 $PROJECT.DATE.HOUR 13-6 $PROJECT.DATE.HOUR12 13-6 $PROJECT.DATE.MINUTE 13-6 $PROJECT.DATE.MONTH 13-6 $PROJECT.DATE.SECOND 13-6 $PROJECT.DATE.SECONDOFDAY 13-6 $PROJECT.DATE.WEEK 13-7 $PROJECT.DATE.YEAR 13-7 $PROJECT.DATETIME 13-7 $PROJECT.DEVICES 13-7 $PROJECT.LOGGEDIN 13-7 $PROJECT.ROLE 13-8 $PROJECT.ROLE.LEVEL 13-8 $PROJECT.USER 13-8 $PROJECT.USER.ALARMS 13-8 $PROJECT.USERS 13-7 Point Topic Attributes B-3 ALARM_ENABLED B-6 ALARM_HIGH B-5 ALARM_LOW B-5 DISP_FORMAT B-4 DISP_HIGH B-5 DISP_LOW B-5 ELEMENTS B-4 EU_LABEL B-5 INIT_STATE B-6 LENGTH B-4 RAW_VALUE B-3 SIZE B-4 STATE B-3 TYPE B-4 VALUE B-3 WARN_ENABLED B-6 WARNING_HIGH B-5 WARNING_LOW B-5 Point Value Group point logging attributes 26-63 Point data logging attributes 26-40 Point_Id In Data Report 26-117 In Database Logger Group Report 26-120 POINT_SET_INTERVAL Point attributes 10-34 POINT_SET_TIME Point attributes 10-34
POINT_STATE Point attributes 10-34 POINTLOG.MDB 26-25 Points Add to data logging through Database Logger 26-33 Add to data logging through Point Properties dialog 26-32 Add to group log through Database Logger 26-59 Availability with enable stale data 17-6 Configure a connection 26-35 Configure group log properties 26-60 Data logging conditions 26-36 Data table indexes columns rows 26-31 Data table logging attributes 26-40 Deleting from the Point Control Panel 30-18 Focusing on in point cross reference 14-9 Group logging conditions 26-62 Group logging overview 26-55 Lists in point cross reference 14-6 Logging overview 26-29 Open log report 26-115 Report logged data 26-115 Set in the PCP 30-23 Table group logging attributes 26-63 Timed/gated logging notes 26-51 Timed/gated maintenance notes 26-51 Type in point cross reference 14-7 View logged data 26-117 Viewing in cross reference 14-5 Points for the Point Control Panel Add from the Workbench 30-14 Add using the Point Browser 30-12 From another PCP 30-15 Points in the PCP Alarm tab 30-26 Poll After Set 6-23 Poll Once 6-11 POLL_AFTER_SET Import/export fields E-28 Port Dynamic configuration 2-27 General properties 17-5 Port specific properties 17-7 Quick setup for a project 5-3 Port Attributes Description 17-2 Port Id 17-2, 17-3 Protocol 17-3 Protocol Id 17-2 Port configuration Changing protocols 17-8 Port Configuration 17-1, 17-2 Creating A New Port 17-3 Opening an existing Properties dialog box 17-4
Index-xxx
GFK-1180K
Port General Properties Description 17-5 Enable 17-5 Enable stale data 17-6 Retry Count 17-5 Scan Rate 17-5 PORT_GROWTH_PERIODS 1-44 PORT_NONE_CONSUMED 1-44 PORT_PERIOD_SECS 1-44 Ports About 17-1 Displaying 17-2 PPL File Point Control Panel 30-4 PRECISION Import/export fields E-28 prev_state In Alarm Report 26-123 Preview Point Control Panel File Before printing 30-9 Previous Value Group point logging attributes 26-63 Point data logging attributes 26-40 Primary Key Index Data tables 26-31 Group point table 26-58 Print A Point Control Panel file 30-10 Alarms on network printer additional steps 23-12 Preview Point Control Panel file 30-9 Setup for Point Control Panel 30-10 Printing Automatic for logging reports 26-124 Printing the status log file J-10 Priority Alarm sound example 21-8 Project default for alarm sound 21-7 Projects in Alarm Sound Manager 21-4 Select for Alarm Sound Manager 21-7 Privileges Configuration 24-7 For applications 24-4 For the Action Calendar 24-6 PROC_ID Import/export fields E-28 Procedure Alarm class configuration 8-18 Associate a CimView screen with a point 8-2 Basic alarm configuration 8-10 Begin dynamic configuration 2-27 Begin dynamic configuration in the Database Logger 26-16 Configuration update 2-26 Configure a delta Accum calculation 7-23 Configure a histogram calculation 7-42
Configure a Min Capture point calculation 7-33 Configure a timer/counter point 7-40 Configure a Trans-High Accum point 7-35 Configure absolute alarms 8-21 Configure an equation point 7-20 Configure an equation w/override points 7-37 Configure automatic alarm acknowledgement 8-34 Configure automatic alarm reset 8-35 Configure average calculation 7-29 Configure BEU for a device point 6-31 Configure custom conversion for a device point 6-35 Configure deviation alarming 8-22 Configure linear conversion for a device point 6-34 Configure manual alarm reset 8-35 Configure max capture point calculation 7-31 Configure rate of change alarming 8-24 Configure setpoint limits 8-9 Configure trigger settings for a device point 6-22 Configure Value Accum calculation 7-27 Create a new role to view alarms 8-32 Create an expression 7-47 Create new device point 6-2 Create new record or file 2-29 Create new virtual point 7-2 Creating diagnostic point using custom addressing 6-13 Define an advanced alarm message 8-15 Device addressing 6-8 Display the conversion tab for device points 6-30 Display the Limits tab 8-7 Display the View tab 8-3 Drag points into Point Control Panel 2-36 Enable data logging for device points 6-19 Enable data logging for points 8-28 Enable data logging for virtual points 7-17 Enable or disable a device point and/or its alarm 6-16 Enable or disable a virtual point and/or its alarm 7-14 Enter standard addressing specifications 6-14 General basic information for a device point 6-3 General basic information for an analog point 7-3 Initialization for analog and Boolean virtual points 7-6 Open a CimView screen 2-33 Open runtime window 2-34 Open the point setup dialog box 4-5 Put device tab in Advanced mode 6-21 Put general tab for device points in advanced mode 6-15 Put general tab for virtual points in advanced mode 7-13 Quick device setup for a project 5-3 Run project 2-17 Select an analog point justification 8-3 Select fields to display 2-15 Select point fields to display in the Workbench 9-6
GFK-1180K
Index
Index-xxxi
Select record or file to be changed 2-30 Set security criteria for points 4-6 Specify a maximum alarm stack 8-36 Specify a safety point for a device point 6-17 Specify a safety point for a virtual point 7-14 Specify an auto alarm repeat 8-34 Specify an availability trigger for a device point 6-17 Specify an availability trigger for a virtual point 7-15 Specify length of an alarm delay 8-27 Specify range limits 8-7 Specify trending data a virtual point 7-16 Specify trending data for a device point 6-18 Store virtual point values 7-9 View a points runtime values 2-36 View all the points in a project 9-1 View selected points in the Workbench 9-2 Procedures Select all records for display 2-9 Select files for display 2-9, 2-10 Select selected records for display 2-10 Process Control 32-22 Get started 32-22 Release the connection 32-29 Using 32-24 Release 32-29 Process Control privilege 24-4 Process log files Backup files J-16 Process names in status log J-14 PROCESS_ID Point attributes 10-33 Profile Add projects to Alarm Sound Manager 21-4 Alarm Sound Manager startup 21-11 Load in Alarm Sound Manager 21-6 Save in Alarm Sound Manager 21-6, 21-10, 21-12 Program Layers in CIMPLICITY 3-23 Program control Stopping a running process 32-28 Stopping all running processes 32-29 Program Control 32-22 CIMPLICITY HMI processes 32-26 Orderly startup and shutdown 32-27 Refreshing the process list 32-29 Start a halted process 32-27 Start all halted processes 32-28 Project 3-4 Change in point cross reference window 14-13 Machine Edition acknowledgement time D-4 Machine Edition broadcast D-4 Multicasting through Project Properties dialog 3-5 Open in point cross reference window 14-2 Priorities for alarm sound 21-7 Rename 2-20
Run 2-17 Stop 2-22 Switch to another 2-18 Update 2-25 PROJECT In Data Report 26-117 Project log and error files J-1 Project login/logout Security audit trail 33-21 Project Menu Login panel 32-20 Show Users 32-9 Project Name And node 3-4 Group point logging attribute 26-64 Point data logging attribute 26-41 Project Properties Enable Project Broadcast 3-5 General 3-4 Options 3-4, 3-5 Protocols 3-4 Setting 3-3 Settings tab 3-7 Project setup For WebGateway G-4 PROJECT_ID 1-49 Projects And Alarm Sound Manager startup 21-11 Projects List Alarm Sound Manager dialog 21-4 Properties Configure for alarm logging 26-75 Configure for event alarm logging 26-91 Configure for Event Management action logging 26-103 Configure for group point logging 26-60 Configure for point data logging 26-35 Viewing for point 14-10 Protocol Changing for port 17-8 Quick enable in a project 5-2 PROWLER_CACHE_SIZE 1-49 PT_ENABLED Import/export fields E-29 PT_ID E-15, E-37 PT_ORIGIN E-15 Import/export fields E-29 PT_SET_INTERVAL Import/export fields E-29 PT_SET_TIME Import/export fields E-30 PT_TYPE E-37 Import/export fields E-30 PTDL_ENABLE_MEASUREMENTS 1-49 PTDL_QUANTIZATION 1-50
Index-xxxii
GFK-1180K
PTMDP_DO_EU_CONV 1-50 In the Expression Editor 7-47 PTMDP_DO_SAVEPOINT_CACHE 1-50 PTMDP_DO_SAVEPOINT_COMPACT 1-51 PTMGMT_PROC_ID Import/export fields E-29 PTMGMT_PROCESS_ID Point attributes 10-33 PTMRP 1-51 PTX_MAX_CACHED_POINTS 1-51 PtXRef Add subsystems to 14-11 Build 14-3 Build database again 14-11 Rebuild database 14-12 Refresh point cross reference view 14-8 Staying current 14-11 PtXRef Database Full View 14-5 Text View 14-5 Tree View 14-5
R
R1 And linear conversion 6-35 R2 And linear conversion 6-35 Range Configuring limits 8-7 Range Low/High Limits 8-7 RANGE_HIGH Import/export fields E-30 Point attributes 10-35 RANGE_LOW Import/export fields E-30 Point attributes 10-35, 10-36 RAS About F-1 About the example F-2 CIMPLICITY options, Server F-14 Client setup, Windows 95 F-11 Client setup, Windows NT F-9 Configuring automatic startup, Windows NT server F-7 Configuring the CIMHOSTS.TXT file F-13 Further configuration, Windows NT client F-11 Further configuration, Windows NT server F-7 Granting client dial-in permission, Windows NT server F-7 Installing, Windows NT client F-9 Installing, Windows NT server F-4 Limitations on support F-15 Networking considerations F-14 Requirements F-3 Server setup, Windows NT F-4 Testing the connection F-13 Testing the connection, Ping F-13 Testing the connection, Ping on client F-13 Testing the connection, Ping on server F-14 Rate Blink for alarm class 18-5 Blink for point alarm class 8-19 Disk scan 26-22 Scan point data logging in Database Logger 26-23 Rate of Change Alarming 8-24 RATE_TIME_INTERVAL Point attributes 10-34 Raw Value And linear conversion 6-35 Group point logging attributes 26-63 Point data logging attributes 26-40 RAW_LIM_HIGH Import/export fields E-30
Q
Quality Group point logging attribute 26-63 Point data logging attribute 26-41 Point support at runtime 6-44 QUALITY Point attributes 10-17 QUALITY.ALARMED Point attributes 10-18 QUALITY.ALARMS_ENABLED Point attributes 10-19 QUALITY.DISABLE_WRITE Point attributes 10-19 QUALITY.IS_AVAILABLE Point attributes 10-19 QUALITY.IS_IN_RANGE Point attributes 10-20 QUALITY.MANUAL_MODE Point attributes 10-18 QUALITY.STALE_DATA Point attributes 10-20 Queue Size Specifying in Database Logger 26-22 Queue size, Modifying Alarm printer configuration 23-13 Quick Device setup 5-1 Port setup for a project 5-3 Quick Trend Open 2-36
GFK-1180K
Index
Index-xxxiii
RAW_LIM_LOW Import/export fields E-30 RAW_LIMIT_ALARM 1-52 RAW_VALUE B-3 Point attributes 10-22 REAL 6-4 Rebuild PtXRef database 14-12 Reconcile Upgrade indexes 26-19 Reconcile Table and Logging Database In Database Logger 26-17 Reconfigure a Point Through the Point Control Panel 30-23 Reconnect wait period Database logger, Database disconnect recover 27-15 Record Allowed size in log 26-9 Create new 2-29 Finding its name 2-12 Select for display 2-9 Select to change 2-30 Reduce CimView screen display size 29-9 REDUND_LINK_SLEEP 1-52 Redundant Alarm Printers More about 23-10 Ref Count 14-7 reference In Alarm Report 26-123 Referencing CWSERV from a Networked NT Client B-16 Refresh Screen in point cross reference window 14-8 Workbench window 2-6 Refreshing the process list 32-29 Registering CIMPLICITY HMI Running without authorization H-32 Registration CIMPLICITY System Authorization code H-7 CIMPLICITY upgrades H-11 Functional upgrades H-11 Lower than version 3.0 upgrades H-15 Prepare for CIMPLICITY H-2, H-18 Remove for CIMPLICITY H-32 V3.0 or higher H-13 Version 4+ upgrades H-13 Related Operators and custom conversion 6-36 Relation And trigger points 6-22 Relational Operators for expressions 7-53 Remote Access of CWSERV on Windows NT B-15 Remote Access Server See RAS
Remote configuration CIMPLICITY HMI and Control C-11 Remote configuration, Example CIMPLICITY HMI and Control C-11 Remote project Enterprise projects 33-28 General properties 33-27 Remote Projects 33-25 Creating 33-26 Remove CIMPLICITY Registration H-32 Remove Points From the Point Control Panel 30-18 Removing Saved logins 32-17 Windows 95 Registry Information 33-7 Windows NT Registry Information 33-8 Removing an alarm Alarm block group 22-7 Removing CIMPLICITY software I-1 From Windows 98 I-1 From Windows NT I-2 Removing Registry Information 33-7 Rename CIMPLICITY HMI project 2-20 Table in Database Logger 26-13 REP_TIMEOUT Import/export fields E-31 REP_TOUT Point attributes 10-36 Repeat Alarm Manager sound 21-9 REPEAT_TOUT 1-52 Repeats For alarms 8-34 Reports Alarm logged data 26-121 Automatic printing 26-124 Generate Alarm Report 26-123 Generate Data Report 26-116, 26-119 Group point logged data 26-118 MS Query for logging reports 26-111 Point logged data 26-115 With CIMPLICITY for logging 26-110 Reports, Automatic printing, Script Database logger 26-126 Requirements Hardware for Alarm Sound Manager 21-1 RAS F-3 Reserved Characters when naming points 4-4 Words when naming points 4-3 Reset Condition And value Accum points 7-27
Index-xxxiv
GFK-1180K
Reset Point And average points 7-30 And delta Accum point 7-25 And max capture point 7-32 And Min Capture point 7-34 And Trans High Accum point 7-36 And Value Accum point 7-28 Reset Procedures For alarms 8-35 RESET_ALLOWED Import/export fields E-31 RESET_COND Import/export fields E-31 RESET_POINT_ID Point attributes 10-36 RESET_PT Import/export fields E-31 RESET_TIMEOUT Import/export fields E-32 Resolving point conflicts CIMPLICITY HMI and Control C-8 Resolving problems About CIMPLICITY HMI log files J-1 Backup process log files J-16 Checking project output and error files J-16 Checking system output and error files J-15 Project log files J-1 System log files J-1 Viewing log files J-1 Resource Group point logging attribute 26-63 In Alarm Report 26-123 Point data logging attribute 26-41 Resource Attributes Alarm Mgr 16-2 Description 16-2 Resource ID 16-2 Resource Type 16-2 Resource configuration Adding a new user 16-4 Adding a user 16-4 Deleting a user 16-4 Resource definition 16-3 Viewing user properties 16-4 Resource Configuration 16-1 Creating a resource 16-2 RESOURCE_ID Import/export fields E-32 Resources About 16-1 Configuring 16-2 Responses 6-12
Restrictions Device points 6-12 Dynamic class configuration 2-27 Dynamic point configuration 2-27 Dynamic port configuration 2-27 On characters when naming points 4-4 On words when naming points 4-2 Remote project dynamic configuration 2-27 Retries 6-12 REV_CONV_EQ Import/export fields E-32 Reverse Custom device point conversion 6-36 Review Point in point cross reference window 14-9 Rgb.dat File And alarm classes 18-9 Right Justification for an analog point 8-3 Right Pane Changing the view 2-8 Field selection 2-15 Point cross reference window 14-9 Role configuration Creating a new role 24-2 Role Configuration 24-1 Application privileges 24-4 Calendar privileges 24-6 Configuration privileges 24-7 Role Privileges Calendar area resource security 24-6 Calendar configuration 24-6 Delete Alarm 24-4 Disable / modify alarms 24-5 Dynamic Configuration 24-4 Level 24-5 Modify alarm setups 24-4 Modify Manual Mode 24-5 Point by Address 24-5 Process Control 24-4 Script control 24-5 Security features 33-18 Set Point 24-5 Setpoint Audit Trail 24-5 Trigger event 24-5 Roles About 24-1 Assigned to view alarms 8-30 Create new for viewing alarms 8-32 Removing from viewing alarms 8-31 ROLLOVER_VAL Import/export fields E-32 Round Timestamps filter 26-24
GFK-1180K
Index
Index-xxxv
Routing Alarms 8-30 Rows In alarm logging tables 26-72 In application logging tables 26-109 In data logging tables 26-31 In event logging tables 26-88 In event Manager logging tables 26-100 In group logging tables 26-58 RTR_ACCEPT_CONN 1-52 RTR_DISABLE_BCAST 1-53 RTR_MAX_OUTMESSAGE_COUNT 1-53 Run CIMPLICITY HMI project 2-17 Run a Program Logging maintenance action 26-44 Running Without Authorization H-32 Runtime Access overview 2-32 Availability triggers and device points 6-17 Availability triggers and virtual points 7-15 Monitor a points values 2-35 Notes for virtual points 7-55 Opening a CimView window 2-33 Opening windows 2-33 Point quality support 6-44 Unavailable values 8-8 Runtime Attribute TIMESTAMP 10-21
S
Safety Points For device points 6-17 For virtual points 7-14 SAFETY_CHECK_PTID Point attributes 10-39 SAFETY_PT Import/export fields E-33 Sample CWSERV Commands B-2 Sample File Glb_parms.idt 1-62 Sample Point Class 11-2 Sample Spreadsheets and Macros for CWSERV B-10 Array point example B-11 Single point example B-10 SAMPLE_INTV Import/export fields E-33 SAMPLE_INTV_UNIT Import/export fields E-33 Save Alarm sound profile 21-6, 21-10, 21-12 Copy of Point Control Panel file 30-8 Point Control Panel file 30-7 Save Deleted in File 26-43
Saved Initialization option 7-6 Saved Logins Adding 32-15 Managing 32-15 Removing 32-17 Saved or Initialized Initialization option 7-6 Saving the status log as a text file J-9 Scan Disk Rate 26-22 Scan Rate And base rate 6-23 Point data logging 26-23 SCAN_POINT Point attributes 10-37 SCAN_RATE Import/export fields E-33 Point attributes 10-37 Schema ALARM_LOG tables 26-72 DATA_LOG tables 26-31 EM_LOG tables 26-100 EVENT_LOG tables 26-88 GROUP_LOG table 26-58 Scientific Operators for expressions 7-54 Width for an analog point 8-4 Screen Configure for a class 11-65 For a class 11-64 Refresh in the Workbench 2-6 Script Automatically print report 26-126 Create for a class 11-48 Script control privilege 24-5 Script, Creating for automatic report 26-126 Scripts In classes 11-46 In point cross reference 14-1 Write for a class 11-49 Search For a record or file 2-10 Show Users information 32-7 Search Aids Browser windows 9-5 Wildcard characters 9-4 Search String Wildcards Database logger 26-15 Second Converted Value And linear conversion 6-35 Secondary Index Data table 26-31 SECURE_SOCKETS 1-54
Index-xxxvi
GFK-1180K
Security Level for device point 6-20 Level for virtual point 7-17 Machine Edition product integration D-3 Point attribute 10-41 Setpoint 4-5 Security Audit Trail Dynamic configuration changes 33-21 Point control panel alarm changes 33-20 Project login/logout 33-21 Security features 33-19 Setpoint downloads 33-20 Security Features About 33-18 Login password 33-18 Role privileges 33-18 Security audit trail 33-19 Security audit trail dynamic configuration changes 33-21 Security audit trail setpoint downloads 33-20 Security audit trail, Point control panel alarm changes 33-20 Security audit trail, Project login/logout 33-21 Setpoint password 33-19 Setpoint security 33-19 Select Another project 2-18 CimView screen for a selected point 2-36 Field in right pane 2-15 Selected Subsystems Option button 14-4 Selecting a status log printer J-11 Selecting a status log to view J-7 Serial alarm printers Additional configuration 23-11 Series 90 TCP/IP Global parameters list 1-58 Server setup RAS, Windows NT F-4 Services And Oracle 27-7 Set Created for point enumeration 6-38 Set Point privilege 24-5 Set Value Array in the Point Control Panel 30-30 setCaption (Method) WebGateway, Web data applet G-9 Setpoint Configure limits 8-9 Security 4-5 Setpoint audit trail privilege More about 24-6 Setpoint Audit Trail privilege 24-5
Setpoint Downloads Security audit trail 33-20 Setpoint Low/High Limits 8-9 Setpoint Object Selected with keyboard 29-14 Setpoint Object Selected With the Mouse 29-14 Setpoint Password Security features 33-19 Setpoint Privilege Machine Edition product integration D-3 Setpoint Security Security features 33-19 SETPOINT_HIGH Import/export fields E-34 Point attributes 10-37, 10-38 SETPOINT_LOW Import/export fields E-34 Point attributes 10-38 setPointID (Method) WebGateway, Web data applet G-11 Setpoints In the Point Control Panel 30-23 Setting CIMPLICITY Startup Options Windows 98 CimView autostart 3-20 Setting Project Properties 3-3 Setting Runtime alarm properties 20-11 Setting runtime user properties 25-8 Settings Tab Project Properties 3-7 Setup Alarm Sound Manager 21-5 Hardware in quick device setup 5-1 Quick device setup 5-1 Quick device setup for a project 5-3 Quick port setup for a project 5-3 Quick protocol setup 5-2 Setup Printer For Point Control Panel 30-10 Setup Program Begin for CIMPLICITY registration H-2, H-18 SHORT_FILENAMES 1-55 Shortcut For Point Control Panel file 30-8 Shortcut keys Status log viewer J-6 Shortcut Keys Login panel 32-21 Show Users 32-11 Workbench 2-4 Show Only Used Points Check box 14-7 Help Menu 32-9 Search Menu 32-10
GFK-1180K
Index
Index-xxxvii
Show Users 32-2 Change view options 32-4 Close a project view 32-8 Help Menu 32-9 Menu options 32-8 Open a project 32-4 Project Menu 32-9 Search for user information 32-7 Search Menu 32-10 Shortcut keys 32-11 Starting 32-2 Toolbar buttons 32-11 View Menu 32-9 Window Menu 32-10 Window Menu 32-10 Single Alarm Configure logging conditions 26-83 Single Event Alarm Configure logging conditions 26-98 Single Point Configure logging conditions 26-50 Single Point Example - CWSERV B-10 SINT 6-4 Site Wide Installation Creating application source directory 33-13 Creating job for CIMPLICITY HMI installation 33-16 Creating SMS package for CIMPLICITY HMI installation 33-15 Introduction 33-9 Site Wide Installation Procedure CIMPLICITY HMI 33-13 Size Database Queue 26-22 Of log record 26-9 SIZE B-4 Smarteye Global parameters list 1-59 SMS package Creating for CIMPLICITY HMI site wide installation 33-15 SNF file format E-2 SNP Communications List of logical names 33-5 SOCK_GROWTH_PERIODS 1-44 SOCK_NONE_CONSUMED 1-44 SOCK_PERIOD_SECS 1-44 Sort Points in point cross reference view 14-7 Sound Beep for an alarm 18-8 Default project priority 21-7 Enable in Alarm Sound Manager 21-9 For alarm class 18-6 Hardware requirements for alarms 21-1
Message box 21-13 Mute for alarms 21-13 Open Alarm Sound Manager dialog 21-3 Priorities 21-7 Repeat alarms 21-9 Stop for an alarm 21-9 Wave for an alarm 18-7 Source For logged point reports 26-116 For points 4-2 Point data logs 26-46 Specific Point Data logging condition 26-37 Specifications Configure for alarm class 18-4 SQL Server And bulk insertion 26-3 Configuring additional locks 27-9 Database management 27-9 Handling transaction log 27-11 Truncating transaction log as CIMPLICITY maintenance action 27-12 Truncating transaction log as system default 27-11 SQLALARM.XLS And logged alarm reports 26-121 Open 26-121 SQLALARM97.XLS And logged alarm reports 26-121 Open 26-121 SQLDATA.XLS And logged point reports 26-115 Open 26-115 SQLDATA97.XLS And logged point reports 26-115 Open 26-115 SQLGROUP.XLS And logged group point reports 26-118 Open 26-118 SQLGROUP97.XLS And logged Trend reports 26-118 Open 26-118 Stack Maximum alarm 8-36 Stale Data Enable for a port 17-6 Standard Domain address 6-14 Standard Alarms 20-2 $ALARM_DISABLED 20-2 $ALARM_ENABLED 20-2 $ALARM_MODIFIED 20-2 $ALARM_RAWLIM 20-2 $ALARM_RESTORED 20-2 $AM_STATUS 20-2 $DEVICE 20-2
Index-xxxviii
GFK-1180K
$DEVICE_DOWN 20-2 $DEVICE_FAILOVER 20-3 $DL_FILE_FULL 20-3 $DOWNLOAD 20-3 $DYN_CFG 20-3 $GMR_DEV_DOWN 20-3 $GMR_POINT_DISCREPANCY 20-3 $LOGON 20-3 $LOGOUT 20-3 $REDUND_DEV_DOWN 20-3 $RTR_LINK_DOWN 20-3 AMSI_ALARM 20-3 DB_CONN_DOWN 20-3 DB_START_FORWARD 20-3 MCP_PROC_DOWN 20-3 Start A halted process 32-27 Alarm Sound Manager with Windows startup 21-11 All halted processes 32-28 CIMPLICITY HMI project 2-17 Login panel 32-13 Point Control Panel 30-3 Point cross reference 14-2 Project CIMPLICITY options list 3-14 Workbench 2-2 Start as a Viewer CIMPLICITY options 3-13 Starting CimView Screens at Boot Windows 98 3-18 Starting CWSERV B-7 Startup Options CIMPLICITY options 3-15 startup.exe 3-28 STARTUP_TIMEOUT 1-55 State Colors for alarm class states 18-5 Colors for point alarm class states 8-19 STATE B-3 States Changing color in the Point Control Panel 30-17 Status bar In Workbench 2-4 Status log viewer Displaying message details J-8 Filtering messages J-12 Finding messages J-13 Finding the next message J-14 Help menu J-5 Log menu J-4 Menu options J-4 Printing the log file J-10 Process names J-14 Saving status log as a text file J-9 Selecting a log to view J-7 Selecting a printer J-11
Shortcut keys J-6 Toolbar buttons J-6 Using J-2 View menu J-5 Which status log file gets displayed J-3 Steps Alarm audio support configuration 21-2 Alarm class configuration 18-2 Automatically print log reports 26-124 Create reports for logged alarms 26-121 Create reports for logged group points 26-118 Create reports for logged points 26-115 Stop Project 2-22 Sound for an alarm 21-9 Stop a Project CIMPLICITY options 3-14 Stopping a running process 32-28 Stopping all running processes 32-29 Store Virtual point values 7-9 Store Alarm Comments More about 20-11 Store and forward Database logger, Database disconnect recovery 27-15 Store and Forward Logging default 26-27 Store and forward, Changing defaults, Database disconnect recovery 27-18 Store and forward, Enabling Database logger, Database disconnect recovery 27-16 Store and forward, Filenames Database logger, Database disconnect recovery 27-17 Store and forward, Maximum records Database logger, Database disconnect recovery 27-18 STRING 6-5 String Expressions For data items 11-32 In data items 11-32 String Index 8-16 String Substitution Limitations 11-33 Supported for data items 11-33 STRING_20 6-5 STRING_8 6-5 Substitution String for data items 11-33 Support Hotline 1-2 Point quality 6-44 Supported device protocols CIMPLICITY HMI and Control C-2 SVC_RETRY_COUNT 1-56 SVC_RETRY_DELAY 1-56
GFK-1180K
Index
Index-xxxix
Switch Projects 2-18 Synchronized And On Digital Point State 26-53 Data log maintenance event 26-42 Only for timed/gated 26-51 Point data logging 26-36 SYSNAME 1-56 System CIMPLICITY boot options 3-17 Node and project names 3-4 System - CWSERV System Topic B-13 System Account CIMPLICITY service 26-125 System Alarms ALARM_LOG 26-71 EVENT_LOG 26-87 System Authorization Code For CIMPLICITY H-7 System Key Code Generate for CIMPLICITY registration H-6 System log and error files J-1 System Management About 33-1 Deleting Login Information 33-6 Editing global parameters 1-60 Global parameters for device communications 1-58 Global parameters sample file 1-62 Removing CIMPLICITY Software Windows 95 Registry Information 33-7 Removing CIMPLICITY Software Windows NT Registry Information 33-8 Removing registry information 33-7 Removing Windows 95 Registry information 33-7 Removing Windows NT Registry information 33-8 System Parameters Editing the logical names file 33-5 Logical names See also Logical names System Point $ALARM.ACKED 13-2 $ALARM.ACTIVE 13-2 $ALARM.TOTAL 13-2 $ALARM.UNACKED 13-2 $CLASS.ALARMS 13-2 $CLASS.UNACKED 13-2 $LOCAL.COMPUTER 13-2 $LOCAL.DATE.AMPM 13-3 $LOCAL.DATE.DATETIME 13-4 $LOCAL.DATE.DAY 13-3 $LOCAL.DATE.DAYOFWEEK 13-3 $LOCAL.DATE.DAYOFYEAR 13-3 $LOCAL.DATE.HOUR 13-3 $LOCAL.DATE.HOUR12 13-3 $LOCAL.DATE.MINUTE 13-3 $LOCAL.DATE.MONTH 13-4
$LOCAL.DATE.SECOND 13-4 $LOCAL.DATE.SECONDOFDAY 13-4 $LOCAL.DATE.WEEK 13-4 $LOCAL.DATE.YEAR 13-4 $LOCAL.WINUSER 13-4 $PROJECT 13-5 $PROJECT.AMPM 13-5 $PROJECT.AVAILABLE 13-5 $PROJECT.COMPUTER 13-5 $PROJECT.DATE.DAY 13-5 $PROJECT.DATE.DAYOFWEEK 13-5 $PROJECT.DATE.DAYOFYEAR 13-6 $PROJECT.DATE.HOUR 13-6 $PROJECT.DATE.HOUR12 13-6 $PROJECT.DATE.MINUTE 13-6 $PROJECT.DATE.MONTH 13-6 $PROJECT.DATE.SECOND 13-6 $PROJECT.DATE.SECONDOFDAY 13-6 $PROJECT.DATE.WEEK 13-7 $PROJECT.DATE.YEAR 13-7 $PROJECT.DATETIME 13-7 $PROJECT.DEVICES 13-7 $PROJECT.LOGGEDIN 13-7 $PROJECT.ROLE 13-8 $PROJECT.ROLE.LEVEL 13-8 $PROJECT.USER 13-8 $PROJECT.USER.ALARMS 13-8 $PROJECT.USERS 13-7 System Utilities About 32-1 Login panel See Login panel Process control 32-22 Show Users 32-2 Using Program Control 32-22
T
Tab Advanced alarm 8-13 Advanced device 6-21 Advanced general for device points 6-15 Advanced general for virtual points 7-12 Advanced virtual 7-12 Basic alarm 8-10 Basic device 6-8 Basic general for device points 6-3 Basic general for virtual points 7-3 Basic virtual 7-6 Conversion for device points 6-30 Limits 8-7 View 8-3
Index-xl
GFK-1180K
Table Close in Database Logger 26-19 Copy in Database Logger 26-12 Create new for logging 26-10 Delete in Database Logger 26-14 Group logging conditions for points 26-62 Logging conditions for alarms 26-77 Logging conditions for point data 26-36 Open in Database Logger 26-11 Reconcile with logging database 26-17 Rename in Database Logger 26-13 Upgrade indexes to 5.5 26-19 Table characteristics Database logger 27-13 Table Logging Attributes Alarm logs 26-78 Data point logs 26-40 Event alarm logs 26-93 Group point logs 26-63 Tables Maintenance actions 26-43 Maintenance events for alarms 26-79 Maintenance events for event alarms 26-94 Maintenance events for point data 26-41 Maintenance events for point groups 26-64 Table logging attributes for alarms 26-78 Table logging attributes for event alarms 26-93 Table logging attributes for group points 26-63 Table logging attributes for point data 26-40 Tabs In Class object dialog boxes 12-8 Task Bar Alarm Sound Manager icon 21-14 Tasks Configure alarm logging properties 26-75 Configure event alarm logging properties 26-91 Configure Event Management action logging properties 26-103 Configure group point logging properties 26-60 Configure point data logging properties 26-35 TERMSERV_ALLOW_SETPOINTS 1-56 Testing the connection RAS F-13 Testing the connection, Ping RAS F-13 Testing the connection, Ping on client RAS F-13 Testing the connection, Ping on server RAS F-14 Testing the connections WebGateway G-5 Text Enumerated point values 6-37 Virtual point initialization 7-7
Text View In point cross reference 14-5 Review point information in text view pcr window 14-10 TIME In Data Report 26-117 Time Last Logged Group point logging attribute 26-63 Point data logging attribute 26-41 TIME_OF_DAY Import/export fields E-34 Timed Gated Logging For data log tables 26-36 Timed/Gated Logging notes 26-51 Maintenance notes 26-51 Timer/Counter Point 7-39 Timestamp In Alarm Report 26-123 In Data Report 26-117 In database Logger Group Report 26-120 TIMESTAMP Point attributes 10-21 Timestamp Filtering 26-24 Toolbar View options button 14-7 Toolbar buttons Status log viewer J-6 Toolbar Buttons Login panel 32-21 Show Users 32-11 Toolbars Workbench 2-3 Tools Alarm Sound Manager runtime 21-13 Finding record or file names 2-12 For record and file configuration 2-28 Runtime monitoring 2-32 Topics - CWSERV System Topic B-13 Trans High Accum Points 7-35 Transaction Log Truncating as CIMPLICITY maintenance action 27-12 Truncating as system default 27-11 Transfer License from one computer to another H-21 Transfer CIMPLICITY License H-21 Transfer CIMPLICITY license via the network H-18 Transmissions 6-12 Tree View In point cross reference 14-5 Review point information 14-10 Trend History For a device point 6-18 For a virtual point 7-16
GFK-1180K
Index
Index-xli
Trend Report Charts 26-121 Database logger 26-118 TRIG_CK_PT Import/export fields E-34 TRIG_PT Import/export fields E-34 TRIG_REL Import/export fields E-35 TRIG_TYPE Point attributes 10-39 TRIG_VAL Import/export fields E-35 TRIG_VALUE Point attributes 10-40 Trigger Example with virtual points 7-46 Report printing 26-128 Trigger event privilege 24-5 Trigger Function Explanation for device points 6-24 Explanation for virtual points 7-45 Trigger Point And equation w/override points 7-38 And min capture point 7-34 And Trans High Accum point 7-36 Equal relation 6-22 Greater than equal 6-22 Greater than relation 6-22 Less than 6-22 Less than equal 6-22 None relation 6-22 On change 6-22 Trigger Points For device points 6-21 For virtual points 7-20 TRIGGER_POINT Point attributes 10-39 Triggered Maintenance For data logs 26-42 Troubleshooting WebGateway G-7 Truncate Timestamps filter 26-24 Trusted User access 28-3 TWIPS Definition 1-38 Two Pages Button 30-9 Type Of points 4-2 TYPE B-4
U
UDINT 6-4 UINT 6-4 Uninstall CIMPLICITY in Windows NT I-2 Unregister CIMPLICITY H-32 Unsolicited 6-10 Unsolicited On Change 6-11 Update Criteria for a device point 6-10 Project after a change 2-25 Update Criteria And trigger function for device points 6-24 And trigger function for virtual points 7-45 UPDATE_CRITERIA Import/export fields E-35 Upgrade CIMPLICITY HMI H-11 Functional registration H-11 Installing licenses H-13 Lower than version 3.0 registration H-15 Table indexes to 5.5 26-19 V3.0 or higher registration H-13 Version 4+ registration H-13 UR_LOGIN_FAILURES 1-57 Used Points Viewing 14-5 User Account CIMPLICITY service 26-124 User Attributes Role Id 25-2 User Id 25-2 User Name 25-2 User configuration 25-1 Creating a new user 25-3 Setting runtime user properties 25-8 User Configuration Modifying an existing user 25-4 Runtime login failures 25-9 User Flags Group point logging attribute 26-64 Point data logging attribute 26-41 User General Properties 25-5 Password 25-5 Password Needed 25-5 Role 25-5 User Name 25-6 User Identification Automatic access 28-3 User Information Preparing for CIMPLICITY registration H-4 User properties Runtime 25-8
Index-xlii
GFK-1180K
User Resource Properties 25-7 Adding a single resource 25-7 Adding all Resource 25-7 Remove a Resource 25-7 Users About 25-1 Default User 25-1 Roles and Privileges 25-1 Security 25-1 View of Resources 25-1 Using CimView See CimView Using CWSERV With Microsoft Excel B-6 Using the CIMPLICITY To Windows Server B-1 USINT 6-4
V
VAL In Data Report 26-117 Valid Operators and custom conversion 6-36 validating project connections WebGateway G-5 Validating web connections WebGateway. G-6 Value Add a global parameter 1-7 Edit for global parameter 1-4 VALUE B-3 Value Accum Point 7-27 Values Assign to a class object 12-8 Enumerated for points 6-37 General for class object 12-10 Store for virtual points 7-9 Variables $CLASS 11-32 $ID 11-32 $OBJECT 11-32 VARIANCE_VAL Import/export fields E-36 VARIANCE_VALUE Point attributes 10-40 Variations Handling Machine Edition integration D-3 VARS Import/export fields E-36 Version Upgrade 4+ Registration H-13 Version Upgrade From lower than 3.0 Registration H-15 Version Upgrade From V3.0 or higher registration H-13
View A point in point cross reference 14-9 All files for an object 2-9 All records for an object 2-9 Change the left pane 2-7 Change the right pane 2-8 Global parameters in the Workbench A-2 Logged alarm data 26-123 Logged group point data 26-120 Logged point data 26-117 Open tab 8-2 Point Control Panel 2-36 Point cross reference window 14-4 Point information in tree view pcr window 14-10 Refresh in point cross reference window 14-8 Selected files for an object 2-10 Selected records for an object 2-10 View Menu Login panel 32-21 Show Users 32-9 View Options change in Show Users 32-4 Dialog box 14-7 Viewer Connectivity with Machine Edition point data D-3 Viewing log and error files J-1 Viewing user properties for a resource 16-4
W
WARN_ENABLED B-6 Warning Update 2-25 WARNING_HIGH B-5 Point attributes 10-40 WARNING_LOW Point attributes 10-41 WARNING_LOW B-5 Wave Sound for an alarm class 18-7 Web server requirements WebGateway G-2 WebGateway About G-1 Components G-3 Error messages G-7 Error messages, #ERROR!ARAYNOTALLOWED G-7 Error messages, #ERROR!ARRAYOUTOFBOUNDS G-7 Error messages, #ERROR!BADSERVERRESPONSE G-7 Error messages, #ERROR!CIMPLICITYNOTRUNNING G-7 Error messages, #ERROR!INVALIDPOINTID G-8
GFK-1180K
Index
Index-xliii
Error messages, #ERROR!NOTIMPLEMENTED G-8 Error messages, #ERROR!NOTLICENSED G-8 Error messages, #ERROR!POINTIDSYNTAX G-8 Error messages, #ERROR!POINTUNAVAILABLE G-8 Error messages, #ERROR!SERVERNEEDSRESTART G-8 Error messages, #ERROR!URLEXCEPTION G-8 Installation procedure G-2 Installing G-2 Project setup for G-4 Testing the connections G-5 Troubleshooting and error messages G-7 Troubleshoting custom HTML pages G-7 Validating project connections G-5 Validating web connections G-6 Web data applet G-9 Web data applet, appendCaption (Method) G-9 Web data applet, clearPoints (Method) G-11 Web data applet, getCaption (method) G-9 Web data applet, getPointStatus (read only property) G-12 Web data applet, getPointValue (read only property) G-12 Web data applet, pointGet (Method) G-10 Web data applet, pointSet (Method) G-11 Web data applet, setCaption (method) G-9 Web data applet, setPointID (Method) G-11 Web server requirements G-2 Which status log file gets displayed J-3 Width Display for an analog point 8-4 Wild Card Characters For finding points in the Workbench 9-4 Wildcards Database logger 26-15 Window Open browse 2-13 Open multiple 2-5 Point cross reference 14-2 Refresh 2-6 Windows Alarm Sound Manager icon 21-14 Start Alarm Sound Manager at startup 21-11 Windows 95 Removing Registry Information 33-7 Windows 98 Removing CIMPLICITY software from I-1 Windows NT Removing CIMPLICITY software from I-2 Removing Registry Information 33-8 WORD 6-5 Words Reserved when naming points 4-3
Workbench Add global parameter 1-7 Add points to the Point Control Panel 30-14 Delete global parameter 1-9 Edit global parameter 1-4 Global parameters application A-2 Shortcut Keys 2-4
Z
Zero Justification for an analog point 8-3 Zoom CimView screen display size 29-9
Index-xliv
GFK-1180K