40 0 7MB
Preface, Contents Product Overview
SICAM SICAM PAS CC
Installation and Uninstallation Working with SICAM PAS CC Graphic Objects
V6.00
Detailed Information Regarding SICAM PAS CC
Human Machine Interface
Client-Server Systems Double/Redundant Configuration WinCC Web Navigator Time Synchronization Structures Character Conversion Additional Information in Message Lists Literature, Index
E50417-H8976-C284-A5
1 2 3 4 5 6 7 8 9 A B C
Note For your own safety, please observe the Notes and Warnings in the Preface.
Open Source Software used in the product The product contains, among other things, Open Source Software, licensed under an Open Source Software License and developed by third parties. These Open Source Software files are protected by copyright. Your rights to use the Open Source Software beyond the mere execution of Siemens´ program, is governed by the relevant Open Source Software license conditions. Your compliance with those license conditions will entitle you to use the Open Source Software as foreseen in the relevant license. In the event of conflicts between Siemens license conditions and the Open Source Software license conditions, the Open Source Software conditions shall prevail with respect to the Open Source Software portions of the software. A list of the Open Source Software programs contained in this product and the Open Source Software licenses are available. Furthermore the license conditions can be found at the following internet websites:
• 7-Zip Copyright (C) 1999-2007 Igor Pavlov, http://www.7-zip.org/license.txt If programs contained in this product are licensed under GNU General Public License (GPL), GNU Lesser General Public License (LGPL) and this software is not already delivered in source code form together with the device, you can download the source code and the copyright notices of the relevant software from the internet at:
• http://www.7-zip.org/
Disclaimer of Liability Although we have carefully checked the contents of this publication for conformity with the hardware and software described, we cannot guarantee complete conformity since errors cannot be excluded. The information provided in this manual is checked at regular intervals and any corrections that might become necessary are included in the next releases. Any suggestions for improvement are welcome. Subject to change without prior notice. Document Release V06.01.00 Edition 05.2007
Siemens Aktiengesellschaft
Copyright Copyright © Siemens AG 2006 The reproduction, transmission or use of this document or its contents is not permitted without express written authority. Offenders will be liable for damages. All rights, including rights created by patent grant or registration of a utility model or design, are reserved. Registered Trademarks SIMATIC®, SIMATIC NET®, SIPROTEC®, DIGSI®, SICAM® and SINAUT® are registered trademarks of SIEMENS AG. All other product and brand names in this manual might be trademarks, the use of which by third persons for their purposes might infringe the rights of their respective owners.
Order No.: E50417-H8976-C284-A5
Preface Purpose of this manual In this manual, you will find: Instructions for installation, Information about commissioning and Details on the funtionality of SICAM PAS CC
Target audience The manual is intended for commissioning engineers, programmers and users of SICAM PAS CC. Basic knowledge of SIMATIC WinCC is required. Scope of validity of this manual SICAM PAS CC V6.00. Further support Should you have any further questions concerning SICAM, please contact your local Siemens representative. Hotline Our Customer Support Center provides around-the-clock support. Phone: ++49 -180 - 5 24 70 00 Fax: ++49 -180 - 5 24 24 71 e-mail: [email protected] Training courses If you are interested in our current training program, please contact our training center: Siemens AG Power Transmission and Distribution Power Training Center Humboldtstr. 59 90459 Nuremberg Germany Phone: ++49 - 911 - 4 33 70 05 Fax: ++49 - 911 - 4 33 79 29 Internet: www.ptd-training.com
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
3
Preface
Notes on Safety This manual does not constitute a complete catalog of all safety measures required for operating the equipment (module, device) in question because special operating conditions might require additional measures. However, it does contain notes that must be adhered to for your own personal safety and to avoid damage to property. These notes are highlighted with a warning triangle and different keywords indicating different degrees of danger. Danger means that death, severe injury or substantial damage to property will occur if the appropriate safety measures are not taken. Warning means that death, severe injury or substantial damage to property can occur if the appropriate safety measures are not taken. Caution means that minor injury or damage to property can occur if the appropriate safety measures are not taken.
Caution means that damage to property can occur if the appropriate safety measures are not taken.
Note is important information about the project, the handling of the product, or the part of the documentation in question to which special attention must be paid. Qualified Personnel Commissioning and operation of the equipment (module, device) described in this manual must be performed by qualified personnel only. As used in the safety notes contained in this manual, qualified personnel are those persons who are authorized to commission, release, ground and tag devices, systems, and electrical circuits in accordance with safety standards. Use as Prescribed The equipment (device, module) must not be used for any other purposes than those described in the Catalog and the Technical Description. If it is used together with third-party devices and components, these must be recommended or approved by Siemens. Correct and safe operation of the product requires adequate transportation, storage, installation, and mounting as well as appropriate use and maintenance. During the operation of electrical equipment, it is unavoidable that certain parts of this equipment will carry dangerous voltages. Severe injury or damage to property can occur if the appropriate measures are not taken:
• Before making any connections at all, ground the equipment at the PE terminal. • Hazardous voltages can be present on all switching components connected to the power supply. • Even after the supply voltage has been disconnected, hazardous voltages can still be present in the equipment (capacitor storage).
• Equipment with current transformer circuits must not be operated while open. • The limit values indicated in the manual or the operating instructions must not be exceeded; this also refers to testing and commissioning.
4
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Preface
Overview of the Documentation This section provides an overview of the information or guidelines included in the different documents.
Planning • Which hardware and software components must be used to meet the requirements of a specific project?
• Can existing components be integrated? • Can I use my PC? • Which communication interfaces are available? • Can redundant system components be set up? • Does the system provide features for monitoring the communication network? • What system knowledge is required for managing the system? /2/ SICAM PAS, Overview /3/ SICAM PAS, Installation Manual /5/ SICAM PAS, Manual Human Machine Interface SICAM PAS CC /9/ SICAM Diamond, Manual /6/ SICAM, Manual Measured/Metered Value Processing Utility SICAM Valpro /7/ SICAM, Manual Fault Record Processing Utility SICAM PAS Recpro /8/ SICAM PAS, Automation Blocks
Ordering information • Who can I contact for technical and administrative questions? /2/ SICAM PAS, Overview /9/ SICAM Diamond, Manual
Software installation • How do I proceed to install the software? • Which authorization rules have to be adhered to? • Are dongles required? • Which requirements must be met? /3/ SICAM PAS, Installation Manual /5/ SICAM PAS, Manual Human Machine Interface SICAM PAS CC /9/ SICAM Diamond, Manual /6/ SICAM, Manual Measured/Metered Value Processing Utility SICAM Valpro /7/ SICAM, Manual Fault Record Processing Utility SICAM PAS Recpro /4/ SICAM PAS, Configuration and Operation
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
5
Preface
Configuration • Who can/may configure the system? • Which order must be adhered to for configuring the system? • Where can individual parameters be specified? • Which features are included as blocks in the scope of delivery? • Which tools are available for data test purposes? • How is data documented? • How can data be archived? /2/ SICAM PAS, Overview /4/ SICAM PAS, Configuration and Operation /8/ SICAM PAS, Automation Blocks Onine Help
Human Machine Interface (HMI) • Which solutions are provided by the system? • How can the system’s user interface be designed? • How can the interface towards the SICAM PAS Station Unit be designed? • Who can/may operate the system? /2/ SICAM PAS, Overview /4/ SICAM PAS, Configuration and Operation /5/ SICAM PAS, Manual Human Machine Interface SICAM PAS CC /9/ SICAM Diamond, Manual /6/ SICAM, Manual Measured/Metered Value Processing Utility SICAM Valpro /7/ SICAM, Manual Fault Record Processing Utility SICAM PAS Recpro /1/ SIMATIC HMI WinCC V6 Basic Documentation Online Help
Measured-value and metered-value archives • Which functions are provided by the SICAM PAS system? • Which data volume can be stored in which format? • Which evaluation functions are supported? /2/ SICAM PAS, Overview /5/ SICAM PAS, Manual Human Machine Interface SICAM PAS CC /6/ SICAM, Manual Measured/Metered Value Processing Utility SICAM Valpro /7/ SICAM, Manual Fault Record Processing Utility SICAM PAS Recpro /1/ SIMATIC HMI WinCC V6 Basic Documentation
6
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Preface
Diagnostics / Debugging • Does the system require maintenance? • What are the causes of a system error message and how can the problem be fixed? • Where can additional error messages be configured? /2/ SICAM PAS, Overview /5/ SICAM PAS, Manual Human Machine Interface SICAM PAS CC /9/ SICAM Diamond, Manual Online Help
Fault-record evaluation • Which functions are provided by the SICAM PAS system? • How can they be configured? • Which evaluation functions are supported? /7/ SICAM, Manual Fault Record Processing Utility SICAM PAS Recpro /4/ SICAM PAS, Configuration and Operation
Information regarding Security • How do I set up a network? • How do I encrypt data traffic? • How do I increase the security in operation? /10/ SICAM PAS, Security
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
7
Preface
8
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Contents
1
Product Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
13
2
Installation and Uninstallation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
17
2.1
Installation Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
18
2.2
Sequence of Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
19
2.3 2.3.1 2.3.2
Installing SIMATIC WinCC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Licensing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
20 20 21
2.4 2.4.1 2.4.2
Installing SICAM PAS CC Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Licensing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
22 22 23
2.5 2.5.1 2.5.2
Uninstalling SICAM PAS CC Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Removing the License . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Uninstallation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
24 24 24
2.6 2.6.1 2.6.2
Uninstalling SIMATIC WinCC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Removing the license . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Uninstalling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
25 25 25
Working with SICAM PAS CC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
27
3.1
Demo Project. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
28
3.2 3.2.1 3.2.2 3.2.3 3.2.4
Creating a New Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Creating a new WinCC project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Defining the Computer Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Adding a Communication Driver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Starting the SICAM PAS Wizard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
31 32 33 38 40
3.3 3.3.1 3.3.2 3.3.3 3.3.4 3.3.5
Creating a Control Diagram. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Creating a New Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Using SICAM PAS IndustrialX Controls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Using Connectors and Nodes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Showing a Measured Value. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Inserting an Acknowledge Button . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
53 55 57 59 60 62
3.4
Creating an Overview Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
65
3.5
Creating a List View . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
70
3.6 3.6.1 3.6.2
Creating a Button Bar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Inserting an Event List Button . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Inserting a Quit button . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
72 72 74
3
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
9
4
5
10
3.7
Creating a Start Picture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
75
3.8
Setting up User Authorizations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
79
Graphic Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
83
4.1 4.1.1 4.1.2
Design of Graphic Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SICAM PAS Graphic Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . IndustrialX Controls. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
84 84 85
4.2
Using Graphic Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
86
4.3 4.3.1 4.3.2 4.3.3 4.3.4 4.3.5 4.3.6 4.3.7 4.3.8 4.3.9 4.3.10 4.3.11 4.3.12 4.3.13
Circuit Breaker and Disconnector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Graphical Representation of Circuit Breakers and Disconnectors . . . . . . . . . . . Tag Connection of the Circuit Breakers and Disconnectors . . . . . . . . . . . . . . . . Color of the Circuit Breaker and the Disconnector . . . . . . . . . . . . . . . . . . . . . . . Advanced Properties of the Circuit Breaker and Disconnector . . . . . . . . . . . . . . Synchronized Switching . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Runtime Dialogs of Circuit Breakers and Disconnectors . . . . . . . . . . . . . . . . . . Substituting the Switch Position . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Defining Object Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Circuit Breaker/Disconnector with C Script . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Indirect Addressing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Operation via Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Controlling Runtime Dialogs for Controls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Response to the Change of the CommandID Attribute. . . . . . . . . . . . . . . . . . . .
87 89 90 92 95 97 99 105 106 110 112 114 118 120
4.4 4.4.1 4.4.2
Bay Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Properties of the Bay Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Tag Connection to Bay Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
122 123 126
4.5 4.5.1
Display of Measured-Values Using the Script/Project Function . . . . . . . . . . . . . . . . Defining the Measured-Value Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
128 128
4.6 4.6.1 4.6.2 4.6.3 4.6.4 4.6.5 4.6.6
Topological Coloring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Circuit Breaker/Disconnector and Bay Overview . . . . . . . . . . . . . . . . . . . . . . . . Feeder and Ground Disconnector. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Connectors and Nodes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SICAM Toolbar V6.0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Using Topological Coloring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Notes on Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
131 132 133 137 138 140 146
Detailed Information Regarding SICAM PAS CC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
149
5.1
SICAM PAS Channel DLL - Tag Management. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
150
5.2 5.2.1 5.2.2 5.2.3
Alarm Logging. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Alarm Logging System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SICAM PAS Normalization DLL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Using the Alarm Logging Extension . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
152 152 153 156
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
6
7
8
9
5.3 5.3.1 5.3.2 5.3.3 5.3.4 5.3.5 5.3.6
SICAM Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Substitute Values. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . General SICAM Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Using SICAM Functions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Global Actions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Testing SICAM Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
157 157 164 169 172 173 174
5.4 5.4.1 5.4.2 5.4.3 5.4.4 5.4.5
System Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Administrative Tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Cause Identifier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Message List Filter. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Switching Authority . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Bay/Telecontrol Blocking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
176 176 178 179 183 186
5.5 5.5.1 5.5.2 5.5.3
Language Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Language Setting for SICAM PAS Graphic Objects . . . . . . . . . . . . . . . . . . . . . Showing Texts in Runtime Dialogs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Switching the Language During Runtime . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
188 188 190 194
5.6 5.6.1 5.6.2 5.6.3
Group Parameterization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Performing Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Performing the Group Parameterization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Application Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
196 196 199 203
5.7
Monitoring WinCC Tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
207
Client-Server Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
209
6.1
Configuration of the Diagram Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
210
6.2
Configuration of Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
211
6.3
Configuration of SIMATIC WinCC Components . . . . . . . . . . . . . . . . . . . . . . . . . . .
212
Double/Redundant Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
215
7.1
Connection to Two SICAM PAS Full Servers . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
216
7.2 7.2.1
Redundant SICAM PAS CC System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Synchronization of SICAM Acknowledgement Data . . . . . . . . . . . . . . . . . . . . .
220 225
WinCC Web Navigator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
231
8.1
Prerequisites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
232
8.2 8.2.1 8.2.2 8.2.3 8.2.4 8.2.5
WinCC Web Navigator with SICAM PAS CC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Making SICAM PAS CC Plug-Ins Available. . . . . . . . . . . . . . . . . . . . . . . . . . . . Publishing Process Diagrams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Installing Users for the WinCC Web Navigator . . . . . . . . . . . . . . . . . . . . . . . . . Configuring the WinCC Web Navigator Server . . . . . . . . . . . . . . . . . . . . . . . . . Configuring the WinCC Web Navigator Client . . . . . . . . . . . . . . . . . . . . . . . . . .
233 233 234 236 237 238
Time Synchronization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
239
9.1
Installing the Network Time Protocol Daemon . . . . . . . . . . . . . . . . . . . . . . . . . . . .
241
9.2
Network Time Protocol Daemon . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
242
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
11
A
B
C
9.3 9.3.1 9.3.2
Clock Driver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Driver for the Hopf6039 card. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Shared Memory Clock Driver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
244 244 247
9.4
Configuration File for NTPD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
248
9.5 9.5.1 9.5.2
Sample Configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PCI Card as Timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . External Radio Clock as Timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
251 251 256
Structures. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
261
A.1
External structure types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
262
A.2
Structure layout. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
263
A.3 A.3.1 A.3.2 A.3.3 A.3.4 A.3.5 A.3.6 A.3.7 A.3.8
Structure elements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Value type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Cause . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Additional cause . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Counter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Alarm. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . IXHook . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
269 269 273 274 276 278 280 280 280
Character Conversion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
281
B.1
Process Tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
282
B.2
Archive Tags. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
287
Additional Information in Message Lists. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
291
Literature Index
12
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Product Overview
1
What is SICAM PAS CC? SICAM PAS CC is the Human Machine Interface (HMI) for the SICAM PAS power automation system. SICAM PAS CC comprises the SIMATIC WinCC process visualization system and the SICAM PAS CC components.
SIMATIC WinCC SIMATIC WinCC provides standard function modules for the display of graphic diagrams and views for alarming, archiving and logging. Based on its powerful process interface, fast display refresh rates and safe data archiving functions, it provides for high availability. SICAM PAS CC components SICAM PAS CC comprises the following components: the SICAM PAS graphic object library, the alarm logging extension, the SICAM PAS Wizard, the SICAM functions, the SICAM PAS normalization DLL, the SICAM PAS channel DLL, SICAM Valpro (evaluation of archives for measured and metered values) and SICAM Recpro (fault-record evaluation)
SICAM PAS graphic object library The SICAM PAS graphic object library includes objects for the representation of typical substation control and protection equipment (e. g. switchgears). These graphic objects are used for the creation of station diagrams. The graphic object library holds several typical graphic objects for each piece of substation control and protection equipment. Graphic objects can be dragged and dropped from the library to a station diagram. They already include dynamic display properties. For example, a circuit breaker provides all dynamic features required for the representation of the process states ON, OFF, Disturbed, Not Topical, PAS not OK, Bay Blocking, Substituted and Telecontrol Blocking.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
13
Product Overview
Alarm logging extension The alarm logging extension ensures that data is logged and archived in correct chronological order. The SICAM PAS normalization DLL evaluates the data and assigns it related items of process information. In order to assign process information, the normalization DLL accesses the SIMATIC WinCC text library. Texts can be customized in the text library to meet individual requirements. SICAM PAS Wizard The SICAM PAS Wizard supports you in the creation of a new PAS project or in updating an already existing project. The following tasks can be performed with the SICAM PAS Wizard: Creating SICAM PAS-specific structure types
You can create the structure types required for structured tags in a SICAM PAS system. These structure types are necessary for data exchange with SICAM SAS. Importing tags from SICAM PAS
Information from SICAM PAS is transferred to SICAM PAS CC. This enables you to visualize SICAM PAS information under SICAM PAS CC, i. e. for use in process diagrams. Creating administrative tags for SICAM PAS. Creating the SICAM PAS-specific alarm logging system
Create an alarm logging system under SICAM PAS CC which meets the requirements of SICAM PAS. The SICAM PAS graphic object library holds SICAM-specific objects for: the event list the warning message list the protection message list
These SICAM-specific lists are stored in the graphic object library. You can import alarms from SICAM PAS into this alarm logging system. Importing alarms/messages from SICAM PAS
Alarms/messages from SICAM PAS are transferred to SICAM PAS CC. Thus, alarms from SICAM PAS can be shown under SICAM PAS CC in the alarm logging system. Importing the SICAM PAS graphic object library into the project
Load the SICAM PAS graphic object library into your current project. Use the graphic object library for visualizing station diagrams under SICAM PAS CC.
14
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Product Overview
Creating measured-value and metered-value archives for SICAM PAS process data
Create an archiving system under SICAM PAS CC. The SICAM PAS CC archiving system comprises: a measured-value archive and a metered-value archive
You can import metered-value tags and measured-value tags from SICAM PAS into this archiving system. SICAM functions The SICAM functions (C scripts) complement the library of SIMATIC WinCC functions. They are available as project-specific functions in the corresponding folders. Use the SICAM functions in station diagrams. For example, you can execute commands via these actions. SICAM Valpro SICAM Valpro has been designed for the processing, display and printing of archived measured and metered values. SICAM Valpro interacts with the SICAM PAS CC archiving system. SICAM Valpro can be used independently of SICAM PAS CC. SICAM Valpro is described in a separate manual (refer to SICAM, Manual Measured/Metered Value Processing Utility SICAM Valpro, /6/). SICAM Recpro The SICAM Recpro component of SICAM PAS CC serves for the management, archiving and display of fault records. SICAM Recpro can be used independently of SICAM PAS CC. SICAM Recpro is described in a separate manual (refer to SICAM, Manual Fault Record Processing Utility SICAM PAS Recpro, /7/). Redundant SICAM PAS CC system To provide fail safety, SICAM PAS CC can be implemented in double/redundant configuration. If one of the two servers fails, the client computers automatically switch over from the failed server to the active server. Based on this concept, proper process monitoring and operation is always ensured.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
15
Product Overview
16
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Installation and Uninstallation
2
Overview SICAM PAS CC can be installed and uninstalled using a setup routine. Contents 2.1
Installation Requirements
18
2.2
Sequence of Installation
19
2.3
Installing SIMATIC WinCC
20
2.4
Installing SICAM PAS CC Components
22
2.5
Uninstalling SICAM PAS CC Components
24
2.6
Uninstalling SIMATIC WinCC
25
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
17
Installation and Uninstallation 2.1 Installation Requirements
2.1
Installation Requirements
Operating system SICAM PAS CC is a 32-bit application designed for use with one of the following operating systems: Windows 2000 Professional Windows 2000 Server Windows XP Professional (depending on the requirements of SIMATIC WinCC) Windows 2003 Server or 2003 Server R2 (depending on the requirements of
SIMATIC WinCC) For more detailed information on the required service packs/hotfixes, refer to the product information and the readme file. Software components To run SICAM PAS CC, the following software components must be installed: SIMATIC WinCC V6.0 with Service Pack 3 or 4 SIMATIC WinCC V6.2
Basic hardware PC equipped with: Processor: Client: Pentium III, 800 MHz Server: Pentium IV, 1,400 MHz Central archive server: Pentium IV, 2,500 MHz RAM: Client: 512 MByte Server: 1 GByte Central archive server:
≥ 1 GByte
Hard disk free capacity: Client: 1.5 GByte Server: 10 GByte Central archive server: 80 GByte Graphics card: 32 MByte, True Color 1024 x 768 Monitor suitable for graphics card Disk drive for Authorisation CD-ROM drive Keyboard Mouse
18
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Installation and Uninstallation 2.2 Sequence of Installation
2.2
Sequence of Installation
SICAM PAS CC comprises the following two software packages: SIMATIC WinCC and SICAM PAS CC components
Install the two software packages one after the other. Order The components must be installed in the following order:
• Install the SIMATIC WinCC process visualization system. • License SIMATIC WinCC to make the program executable. • Install the SICAM PAS CC components. • License the SICAM PAS CC components to make them executable.
Note To ensure that all components can function properly, they must be installed in the following order: Install the program package using the setup routine and exit the setup routine afterwards. Enter the license code for the program components.
• Install the program package using the setup routine and exit the setup routine afterwards. • License the program components.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
19
Installation and Uninstallation 2.3 Installing SIMATIC WinCC
2.3
Installing SIMATIC WinCC
Overview Install SIMATIC WinCC on your PC using a setup routine. Local administrator rights are required to perform the installation. Following installation, SIMATIC WinCC must be licensed in order to make the software executable.
Note On a PC with a license installed, do not run any routines which would modify the partitioning or the structure of the hard disk(s). Hard-disk maintenance routines, e. g. routines for the repair, defragmentation and partitioning of a hard disk, must be avoided. If you use routines of this type, you run the risk of losing your license! Make sure you remove your license temporarily prior to running a hard disk maintenance routine!
2.3.1
Installation In order to be able to install SIMATIC WinCC, MS Message Queuing and the SQL Server 2000 instance WinCC must be installed first. To install these components, follow the instructions on the SIMATIC WinCC installation CD.
Installation To install SIMATIC WinCC, proceed as follows:
• Insert the SIMATIC WinCC CD ROM into your CD-ROM drive. This starts the installation.
Note If the installation does not start automatically, proceed as follows:
• Click Start > Run. • Enter X:\Start. In this input sequence, X is the letter of your CD-ROM drive. • Click OK. • Select Install SIMATIC WinCC.
20
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Installation and Uninstallation 2.3 Installing SIMATIC WinCC
• Follow the installation instructions until the Setup Type window opens. Next, select the Typical Installation.
• Continue to follow the instructions until the setup routine requests your license. • Answer the question whether the license shall be installed during the general installation procedure with No. The setup routine skips the licensing.
• Restart the computer after the installation is completed.
2.3.2
Licensing By installing the license, you transfer it from the floppy disk to your PC.
Licensing To install your SIMATIC WinCC license, proceed as follows:
• Insert the license floppy disk included in the scope of delivery. Make sure that the floppy disk is not write-protected.
• Click Start > SIMATIC > License Management > Automation License Manager.
• Transfer the license from the floppy disk to your hard disk.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
21
Installation and Uninstallation 2.4 Installing SICAM PAS CC Components
2.4
Installing SICAM PAS CC Components
Overview You can install SICAM PAS CC components on your PC by means of a setup routine. During the installation procedure, the setup routine will transfer all the necessary data to your PC. Following installation, the SICAM PAS CC components must be licensed in order to make them executable.
Note On a PC with a license installed, do not run any routines which would modify the partitioning or the structure of the hard disk(s). Hard-disk maintenance routines, e. g. routines for the repair, defragmentation or partitioning of your hard disk, must be avoided. If you use routines of this type, you run the risk of losing your license! Make sure you remove your license temporarily prior to running a hard disk maintenance routine!
2.4.1
Installation
Installation To install the SICAM PAS CC components:
• Insert the CD ROM holding your SICAM PAS CC components into your CD-ROM drive. This starts the installation.
Note If the installation does not start automatically, proceed as follows:
• Click Start > Run. • Enter X:\Start. In this input sequence, X is the letter of your CD-ROM drive. • Click OK. The serial number is requested during installation. The serial number specifies which SICAM PAS CC components can be installed. It always consists of 8 characters. You can select the appropriate components during the installation procedure.
• Follow the installation instructions.
22
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Installation and Uninstallation 2.4 Installing SICAM PAS CC Components
Note To install only the SICAM PAS CC components Valpro and/or Recpro, SIMATIC WinCC does not need to be installed on your PC. During the installation, select only the Valpro/Recpro component.
2.4.2
Licensing By installing the license, you transfer it from the license floppy disk to your PC.
Licensing To install the license for your SICAM PAS CC components:
• Insert the license floppy disk included in the scope of delivery. Make sure that the floppy disk is not write-protected.
• Click Start > SIMATIC > License Management > Automation License Manager.
• Transfer the license from the floppy disk to your hard disk.
Note To use SIMATIC WinCC V6.0 SPx, version V3.0 of the Automation License Manager must be installed. This component is available on your SICAM PAS CC CD.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
23
Installation and Uninstallation 2.5 Uninstalling SICAM PAS CC Components
2.5
Uninstalling SICAM PAS CC Components
Overview You can remove the SICAM PAS CC components from your PC using the uninstall routine. All data installed by the SICAM PAS CC setup routine will be deleted during uninstallation. You can remove the license for SICAM PAS CC without using the uninstall routine.
2.5.1
Removing the License By removing the license, you transfer it from your PC back to the floppy disk.
Note The license can also be transferred to another removable medium, e. g. a memory stick.
Removing the license To remove the license of your SICAM PAS CC components:
• Insert the license floppy disk included in the scope of delivery. Make sure that the floppy disk is not write-protected.
• Click Start > SIMATIC > License Management > Automation License Manager.
• Transfer the license from your hard disk back to the floppy disk.
2.5.2
Uninstallation
Uninstallation To uninstall the SICAM PAS CC components:
• Click Start > Settings > Control Panel > Add/Remove Programs. • Select SICAM PAS CC in the list of programs. • Click the Remove button to start the uninstall routine. • Follow the uninstallation instructions. Protection against file loss The uninstall routine provides protection against file loss: It does not remove any files created by you. Directories including such files will therefore remain on your hard disk.
24
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Installation and Uninstallation 2.6 Uninstalling SIMATIC WinCC
2.6
Uninstalling SIMATIC WinCC
Overview SIMATIC WinCC can be removed from your PC using the uninstall routine. During this procedure, all data installed by the setup routine of SIMATIC WinCC will be deleted. You can remove the license for SIMATIC WinCC without using the uninstall routine.
2.6.1
Removing the license By removing the license, you transfer it from your PC back to the floppy disk.
Removing the license To remove the license for SIMATIC WinCC, proceed as follows:
• Insert the license floppy disk included in the scope of delivery. Make sure that the floppy disk is not write-protected.
• Click Start > SIMATIC > License Management > Automation License Manager.
• Transfer the license from your hard disk back to the license floppy disk.
2.6.2
Uninstalling
Uninstalling To uninstall SIMATIC WinCC, proceed as follows:
• Click Start > Settings > Control Panel > Add/Remove Programs. • Select SIMATIC WinCC in the list of programs. • Click the Remove button to start the uninstall routine. • Follow the uninstallation instructions. Protection against file loss The uninstall routine provides protection against file loss: It does not remove any files created by you. Directories including such files will therefore remain on your hard disk.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
25
Installation and Uninstallation 2.6 Uninstalling SIMATIC WinCC
26
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Working with SICAM PAS CC
3
Overview This chapter helps you to familiarize yourself with SICAM PAS CC and to learn how to use this sophisticated component. To do this, create a sample project. The sample project is similar to the demo project which is available after the installation of SICAM PAS CC. As each section is based on the previous one, you must work through them one after the other. Contents 3.1
Demo Project
28
3.2
Creating a New Project
31
3.3
Creating a Control Diagram
53
3.4
Creating an Overview Diagram
65
3.5
Creating a List View
70
3.6
Creating a Button Bar
72
3.7
Creating a Start Picture
75
3.8
Setting up User Authorizations
79
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
27
Working with SICAM PAS CC 3.1 Demo Project
3.1
Demo Project
Overview As soon as SICAM PAS CC has been installed, a WinCC demo project is available under ...\SICAM\PAS CC\Samples\. All major functions of SICAM PAS CC are implemented in this demo project. This chapter provides an example for the realization of some functions from the demo project. The screenshots provide a concise overview of the project structure. Start picture The start picture shows a bar with different icons, the project name and different window sections (called "picture windows") in which the required project diagrams (e. g. overview diagram, control diagram) can be shown as required. It is 1024 x 768 pixels in size. The bar shown in the upper part of the screen consists of several icons which you can click e.g. in order to switch between different views (e. g. control diagram, event list). Additionally, you can click these icons to start the SICAM PAS CC components SICAM Valpro and SICAM Recpro. To quit the runtime component of your WinCC project, click on Quit.
Basicview.tif
Figure 3-1
28
Start picture
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Working with SICAM PAS CC 3.1 Demo Project
Overview diagram This diagram provides an overview of the station. It shows two busbars and several feeders. A control diagram of each feeder can be displayed by clicking on the corresponding icons.
Overview.tif
Figure 3-2
Overview diagram
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
29
Working with SICAM PAS CC 3.1 Demo Project
Control diagram This control diagram shows details regarding the station sections to be controlled and the graphic objects with their related functions, e. g. for the representation of changes in color, flashing, etc. Besides this, you can perform switching actions using the control elements (SICAM controls) available in this diagram.
Detail.tif
Figure 3-3
Control diagram with control elements and indicators
Control elements Click on the icon of a switch to open the dialog window with all related control elements.
30
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Working with SICAM PAS CC 3.2 Creating a New Project
3.2
Creating a New Project
For each new WinCC project, you must perform frequently repeated operator actions. These actions must be performed in the correct order, because each step is based on the previous one.
Note The SICAM PAS Wizard supports you in creating a new WinCC project. This wizard is an autonomous application started via the WinCC Explorer. To start the SICAM PAS Wizard:
• In the WinCC Explorer, double-click on SICAM PAS Wizard. How to proceed To create a new WinCC project, you must execute the following steps one after the other:
• Create a new WinCC project. • Define the computer properties. Select the WinCC components to be started during runtime. Set the desired runtime language. During the import, the data is imported in the selected runtime language.
• Define the communication channel. By selecting a communication driver, you define the transmission path to SICAM PAS (SICAM PAS Protocol Suite).
• Start the SICAM PAS Wizard. The SICAM PAS Wizard supports you in creating a WinCC project by importing data from SICAM PAS. You can visualize items of information from SICAM PAS under SICAM PAS CC, i. e. for use in process diagrams. Additionally, the wizard integrates the SICAM PAS graphic object library into the new WinCC project.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
31
Working with SICAM PAS CC 3.2 Creating a New Project
3.2.1
Creating a new WinCC project
How to proceed To create a new WinCC project, click on File > New in the WinCC Explorer. Creating a new project To create a new project, proceed as follows:
• Click File > New in the WinCC Explorer. • Select your project type from the WinCC Explorer window, e. g. single-user project, and then click OK to confirm.
pascc301.tif
Figure 3-4
Selecting a single-user project
• The Create a New Project dialog opens. Specify a project path and enter the project name.
pascc302.tif
Figure 3-5
Creating a new project
• Click Create to create the new project.
32
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Working with SICAM PAS CC 3.2 Creating a New Project
3.2.2
Defining the Computer Properties
How to proceed To define the computer properties, proceed as follows:
• Open the Computer Properties dialog in the WinCC Explorer. • Enter the computer name in the General tab. • Activate the required runtime components in the Startup tab. • Select the language of the runtime system in the Parameters tab. • Set the desired parameters in the Graphics Runtime tab. Opening the dialog window for setting the computer properties Proceed as follows to open the Computer Properties dialog:
• Select the Computer level in the WinCC Explorer. • Right-click on the name of the computer. • Select Properties in the context menu.
pascc303.tif
Figure 3-6
Opening the Computer Properties dialog
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
33
Working with SICAM PAS CC 3.2 Creating a New Project
Checking the computer name
• In the Computer Properties dialog, click the General tab. Next, check whether the correct name of your computer is indicated in the Computer Name input box. When you create a new WinCC project, the computer name is entered automatically.
• Enter the name of your computer unless the name has already been entered automatically.
pascc304.tif
Figure 3-7
34
Checking the computer name
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Working with SICAM PAS CC 3.2 Creating a New Project
Activating runtime components To activate the runtime components, proceed as follows:
• In the Computer Properties dialog, click the Startup tab. • In the Start Sequence of WinCC Runtime selection box, you can select each runtime component by clicking on the corresponding checkbox. Select further components (if required).
pascc305.tif
Figure 3-8
Activating all runtime components
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
35
Working with SICAM PAS CC 3.2 Creating a New Project
Defining the runtime language It is important to define the runtime language before starting the SICAM PAS Wizard. You specify in which language column of the text library the message texts will be arranged and in which language e. g. the message classes will be created. To define the runtime language:
• In the Computer Properties dialog, click the Parameters tab. • Select the desired language from the Default Language at Runtime drop-down list box.
pascc365.tif
Figure 3-9
36
Defining the runtime language
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Working with SICAM PAS CC 3.2 Creating a New Project
Setting the parameters of the graphics runtime To set the parameters of the graphics runtime:
• In the Computer Properties dialog, click the Graphics Runtime tab.
pascc306.tif
Figure 3-10 Setting parameters of the graphics runtime
Note After you have created a start picture in the Graphics Designer, enter its name (e. g. start.PDL) in the Start Picture input box of the Graphics Runtime tab.
• Click OK to close the dialog window.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
37
Working with SICAM PAS CC 3.2 Creating a New Project
3.2.3
Adding a Communication Driver
How to proceed To import process tags into the Tag Management, you must add a communication driver. With this step, you define the transmission path to SICAM PAS. Adding a communication driver To add a communication driver to the tag management, proceed as follows:
• Right-click on Tag Management in the WinCC Explorer and select Add New Driver from the context menu.
pascc307.tif
Figure 3-11 Tag Management context menu
• In the Add New Driver window, select the desired communication driver (SICAM PAS Protocol Suite.CHN) and click Open to apply your settings.
pascc308.tif
Figure 3-12 Selecting a communication driver
38
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Working with SICAM PAS CC 3.2 Creating a New Project
Tag management with communication driver In the Tag Management window, you can now view the new communication driver:
pascc309.tif
Figure 3-13 Tag Management with communication driver
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
39
Working with SICAM PAS CC 3.2 Creating a New Project
3.2.4
Starting the SICAM PAS Wizard
Initializing the project The SICAM PAS Wizard supports you in initializing your WinCC project. It creates a new station in the project or updates an existing station. To do this, it performs the following tasks: Creating SICAM PAS-specific structure tags Importing tags from SICAM PAS Creating administrative tags for the SICAM PAS system Creating the SICAM PAS-specific alarm system Importing alarm messages from SICAM PAS Importing the SICAM PAS graphic object library into the project Creating measured-value and metered-value archives for SICAM PAS process data Creating the SICAM PAS-specific text library
Creating structure tags These structure tags are required to exchange data with SICAM PAS. They include the complete structure of a structured tag in SICAM PAS CC. The different tags are assigned individual structure tags (see Appendix A).
Note The structure types of existing projects are not automatically modified for version V6.00. In order to be able to use the Substitute function, new structure types are required. To create new structure types:
• Delete the process tags using the SICAM PAS Wizard. • Delete the structure types manually. • Import the process tags using the SICAM PAS Wizard. The new structure types are created during this process.
40
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Working with SICAM PAS CC 3.2 Creating a New Project
Importing tags The SICAM PAS Wizard imports the tags from a file provided by SICAM PAS. This file has the extension PXD (e. g. Station1.PXD). The tags are automatically assigned to the corresponding structure type. Each tag includes several elements. Examples of elements in monitoring direction: the current process value the status (e. g. not updated, invalid, overflow) the tag type the cause (e. g. spontaneous, periodic, polled) the additional cause and the counters which are counted up upon a tag change
The name of the tag imported into SIMATIC WinCC corresponds to the name specified in SICAM PAS for the tag management of SICAM PAS CC. Special characters are already replaced by PAS UI-Configuration. Remaining tags will replaced by the SICAM PAS Wizard during the import process (see Appendix B). Additionally, tags are structured in groups. The name of a group corresponds to the hierarchical name without considering the last hierarchical level. Creating administrative tags The SICAM PAS Wizard creates internal and external SICAM PAS CC tags. Internal tags are stored in a SICAMAdmin group. External tags are stored in a channel-specific SICAMAdmin_xxx group. Creating an alarm logging system The SICAM PAS Wizard allows you to create an alarm system under SICAM PAS CC that meets the requirements of a SICAM PAS system. The alarm logging system consists of alarm message blocks, classes, alarm sequence logs and texts. The related SICAM-specific objects for event list warning message list protection message list
can be viewed in the Graphics Designer under View > Library > Project Library > Alarm Logging Templates > PAS CC V6.x. Importing alarm messages The SICAM PAS Wizard imports alarm messages from the PXD file. The name of the alarm imported into SICAM PAS CC corresponds to the name configured in PAS UI-Configuration. Additionally, each imported alarm has a unique number. The SICAM PAS normalization DLL is assigned, the value text group 0 is assigned, the specific properties are defined, and the message class SICAM PAS Event or SICAM PAS Event DM/WM/RM is assigned. The message number is composed of the project ID * 10,000,000 and the value ID.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
41
Working with SICAM PAS CC 3.2 Creating a New Project
Importing the graphic object library The SICAM PAS Wizard loads the SICAM PAS graphic object library into the current project. When importing the graphic object library, administrative tags are created, and the SICAM functions (C scripts) are copied into the project. Creating an archiving system Process data from SICAM PAS can be archived in this archiving system. The SICAM PAS archiving system comprises: a process value archive for measured values a process value archive for metered values
The archives are created on the hard disk of the PC on which SICAM PAS CC is installed. Their size is only limited by the capacity of the hard disk. Starting the PAS Wizard Start the SICAM PAS Wizard under SICAM PAS CC in the WinCC Explorer. To start the SICAM PAS Wizard:
• In the WinCC Explorer, double-click on SICAM PAS Wizard.
pascc310.tif
Figure 3-14 Calling up the SICAM PAS Wizard
Note While the SICAM PAS Wizard is active, do not start any editors in SIMATIC WinCC. Otherwise, the connection of the wizard to a component will be aborted, and errors can occur during the import/update process.
42
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Working with SICAM PAS CC 3.2 Creating a New Project
The SICAM PAS Wizard is started.
pascc311.tif
Figure 3-15 Continuing the process in the SICAM PAS Wizard
• Click Next to continue. Entering the station name
• To add a new station to the project, select Create New Station in Project under Select Station.
• Enter a unique station name into the input box (e. g. Station1). The station name is suggested as the name for the logic link in the SICAM PAS channel DLL.
Note If you do not want to create a new station, but update an existing station, proceed as follows:
• Select existing station and • then select a station from the list. To perform an update, the import file must be from the same SICAM PAS project and should therefore have the same file name.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
43
Working with SICAM PAS CC 3.2 Creating a New Project
Selecting parameters
• Select the desired special-character replacement from the drop-down list box. This selection ensures that the SICAM PAS Wizard replaces those special characters in tag names which are incompatible with SICAM PAS CC by SICAM PAS CC-compatible characters.
Note When editing old projects, you must select an option for the replacement of special characters which complies with the origin of the diagrams used in the project. If special characters are replaced incorrectly, different tag names can be created, which could possibly cause problems concerning interconnections in these diagrams.
• Select SICAM Report Output in order to ensure that the SICAM PAS Wizard starts the SICAM PAS Reporter. To provide a concise overview, you can specify that only warnings/ errors are shown in the list.
pascc312.tif
Figure 3-16 Entering the station name and selecting parameters
• Click Next to continue.
44
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Working with SICAM PAS CC 3.2 Creating a New Project
Specifying components In the following dialog window, you can specify which components the SICAM PAS Wizard is to import from SICAM PAS to SICAM PAS CC.
• Select Create SICAM Components in Project to provide the prerequisites for the use of SICAM PAS CC components in multi-client projects on the client PC or to create SICAM PAS extensions in the WinCC project without import data from SICAM PAS.
• Select Import/Update. The components are now imported into the new station. • Enter the complete path to the SICAM PAS data directory (e. g. ...\station1). To do this, click the ... to open the path selection window.
• Select the file (e. g. station1.PXD) holding the corresponding SICAM process tags from the drop-down list box.
• Select SICAM process tags. • Select SICAM Archives to create the archives in your WinCC project. • Select SICAM Messages.
Note When updating an existing station, all input boxes are set to default values. To perform an update, the import file must be from the same SICAM PAS project and should therefore have the same file name.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
45
Working with SICAM PAS CC 3.2 Creating a New Project
pascc313.tif
Figure 3-17 Defining the path and the name of the import components
• Click Next.
Note If Delete is selected in window 2/5 of the SICAM PAS Wizard, windows 3/5 and 4/5 will be skipped.
46
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Working with SICAM PAS CC 3.2 Creating a New Project
Setting station parameters The station parameters can be set in the dialog shown below. The entries for Channel Unit and Logical Connection are set by default and can be applied for the first station without changes.
pascc314.tif
Figure 3-18 Setting station parameters
• Click Next.
pascc320.tif
Figure 3-19 Note regarding connection parameters
Set the connection parameters as soon as you have completed all steps of the SICAM PAS Wizard (refer to Page 51).
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
47
Working with SICAM PAS CC 3.2 Creating a New Project
Initializing the project In the following dialog, you can specify the initialization of the WinCC project.
• Select on Import SICAM graphic object library in order to import the graphic object library (including IndustrialX Controls) and the SICAM PAS administrative tags into the WinCC project.
• Select Create SICAM text library, to create the text library in the WinCC project.
Note If Create SICAM alarm system is selected, the option Create SICAM text library has to be selected as well during the first run.
• Select Create SICAM alarm system in order to create the alarm logging system in the WinCC project.
pascc315.tif
Figure 3-20 Defining the project initialization
• Click Next.
48
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Working with SICAM PAS CC 3.2 Creating a New Project
Summary The following window shows a summary of the previously performed settings. Check them for correctness.
Note If one your settings proves to be incorrect, click Back to return to the previous dialog and correct it.
pascc316.tif
Figure 3-21 Checking the settings
• Click Finish to continue. The SICAM PAS Wizard now executes the selected steps. In the Report, you can check the progress and view error messages and warnings.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
49
Working with SICAM PAS CC 3.2 Creating a New Project
Viewing the report As soon as all steps have been completed, you can view the report.
• To do this, select the Overview tab in the Report window. The number of errors and warnings is indicated in the Quit: row under Messages.
• Click Close to close the report.
pascc317.tif
Figure 3-22 Viewing the report
Note If the report shows error messages or warnings, you should save these messages in order to be able to view and edit them later. If errors have occurred, the SICAM PAS Wizard requests you to delete the affected components during the next run.
Note The SICAM PAS Wizard saves its messages in the GWLog.txt file under the path of the project (e. g. ...\project1). The SICAM PAS Wizard overwrites this file upon each run. Save this file if required.
50
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Working with SICAM PAS CC 3.2 Creating a New Project
Setting the connection parameters When creating a new station, the SICAM PAS Wizard creates a new connection. The connection parameters are set to default values. Be aware that the connection parameters must correspond to the values specified in SICAM PAS. To check the connection parameters:
• In the WinCC Explorer, right-click on PAS Data Server. Next, select Properties from the context menu.
pascc321.tif
Figure 3-23 PAS Data Server, open Properties
The Channel Unit Properties dialog opens.
• Click the Properties button. The Connection Properties dialog opens.
pascc318.tif
Figure 3-24 Setting the connection parameters
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
51
Working with SICAM PAS CC 3.2 Creating a New Project
• Select the connection from the server list. • Click Properties to set the IP address of the corresponding SICAM PAS Full Server. The PAS Connection dialog opens.
Note If the SICAM PAS Full Server and the SIMATIC WinCC are installed on the same PC, it is not necessary to enter an IP address.
pascc322.tif
Figure 3-25 Entering an IP address
• Enter the IP address of the SICAM PAS Full Server. • Confirm your settings with OK.
52
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Working with SICAM PAS CC 3.3 Creating a Control Diagram
3.3
Creating a Control Diagram
Purpose A control diagram shows details regarding the station sections to be controlled and the display objects together with their respective functions for color changes or blinking, etc. Proceed as follows to execute a configured switching action: Select a switch
Click on the switch icon to open the dialog for selecting the switching direction. Select the switching direction
To select the switching direction, click on the corresponding button in the dialog in order to create the command and to display the buttons for issuing or canceling the command. Issue the command
Click the Acknowledge button in the dialog to issue the command. The dialog closes if no additional operator action is performed within 30 seconds after clicking on a switch object. Besides the single-step switching operation described above, two-step and synchronized switching operations are also possible (refer to Section 4.3). The different states of a switch are indicated by small, colored rectangles. A specific color can be selected for the following states: Not topical PAS not OK Bay blocking Substituted Telecontrol blocking
The switch object blinks spontaneously if the value of the assigned tag changes and if Spontaneous was entered as cause. When the command is issued, the switch object starts to blink in the set status as soon as the target switching direction (ON or OFF) has been selected. It stops blinking when the command has been executed completely or aborted. In the target status, the blinking frequency is half the frequency for a spontaneous cause. Switching device objects Use IndustrialX Controls from the SICAM PAS graphic object library as circuit breaker or disconnector objects. Since the above-mentioned functions are already integrated in these controls, you can create a fully functional user interface within a short time. Ground disconnectors and feeders To perform the topological coloring, use IndustrialX Controls from the SICAM PAS graphic object library as ground disconnectors/feeders. Connectors and nodes To realize the topological coloring, use connectors and nodes from the SICAM PAS graphic object library.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
53
Working with SICAM PAS CC 3.3 Creating a Control Diagram
Detail1.tif
Figure 3-26 Control diagram with circuit breaker and indicator
How to proceed To create the control diagram:
• Create a new diagram under the name Detail_E01.PDL. • To do this, insert the objects from the SICAM PAS graphic object library. To control and show objects in the control diagram, the individual objects must be assigned tags.
54
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Working with SICAM PAS CC 3.3 Creating a Control Diagram
3.3.1
Creating a New Diagram To create a new control diagram:
• Right-click on Graphics Designer in the WinCC Explorer and select Open from the context menu.
pascc331.tif
Figure 3-27 Graphics Designer context menu
• This opens the Graphics Designer with an empty workspace. • Click File > Save as.... As File Name, enter Detail_E01.PDL in the file selection window. Defining properties of diagrams Define the properties of Detail_E01.PDL
• Right-click on the workspace and select Properties in the context menu. The Object Properties dialog opens.
• In the Properties tab, select the object property Geometry. To create a diagram with a size of 900 x 700 pixels:
• Double-click Picture Width and enter 900 in the dialog. Click OK to confirm. • Double-click Picture Height and enter 700 in the dialog. Click OK to confirm.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
55
Working with SICAM PAS CC 3.3 Creating a Control Diagram
• Close the Object Properties window.
pascc332.tif
Figure 3-28 Defining the diagram size
Setting the grid To facilitate your work, you should set the grid:
• To open the Settings window, click on View > Grid. • Apply all settings as shown in Figure 3-29.
pascc333.tif
Figure 3-29 Settings for the workspace
56
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Working with SICAM PAS CC 3.3 Creating a Control Diagram
3.3.2
Using SICAM PAS IndustrialX Controls Circuit breakers, disconnectors, ground disconnectors and feeders are implemented as IndustrialX Controls. When creating the diagram, insert these controls and link them using connectors. Ground disconnectors and feeders must be positioned analogous to the controls (switching objects). For more detailed information regarding the setting of parameters, refer to Section 4.6.2.
Positioning a switching device object To position an IndustrialX Control from the graphic object library on the workspace, proceed as follows:
• To open the Library window, click View > Library. • To show a preview of the graphic objects, click Preview in the toolbar of the Library window. • Select SICAM CB under Switching Devices > PAS CC V6.x.
• Hold down the mouse button and move the cursor over the workspace until the graphic object has reached the desired position.
pascc335.tif
Figure 3-30 Positioning a graphic object
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
57
Working with SICAM PAS CC 3.3 Creating a Control Diagram
Setting the parameters of a switching device object To define the properties of your switching device objects, open the SICAM PAS CC CB/ DIS Properties dialog.
• Double-click on the graphic object. The SICAM PAS CC CB/DIS Properties dialog opens. The following five tabs are available in this dialog window: In the Style tab, you can e. g. define the style and the alignment of the circuit breaker (refer
to Section 4.3.1). In the Tag Connection tab, you can assign the circuit breaker specific tags, enter the tooltip
text and define the WinCC update cycle (refer to Section 4.3.2). In the Color tab, you can assign specific colors for switch positions and circuit breaker states
(refer to Section 4.3.3). In the Advanced tab, you can define further properties of your circuit breaker (refer to
Section 4.3.4). In the Synchronization tab, you can define the control (switching object) for synchronized
switching, e. g. in order to connect two busbars (refer to Section 4.3.5). A brief description of the object is available in the About tab.
• Define the settings and then click OK to apply the properties. Specifying further properties Specify further properties of the circuit breaker and disconnector objects in the context menu.
• Right-click on the graphic object. The context menu opens. • Select the Properties menu item. The Object Properties dialog opens. • Select the desired object property (e. g. Geometry) in the Properties tab. • Double-click on the attribute to modify the corresponding parameter.
pascc343.tif
Figure 3-31 Specifying object properties
• Close the Object Properties window.
58
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Working with SICAM PAS CC 3.3 Creating a Control Diagram
3.3.3
Using Connectors and Nodes
Positioning connectors and nodes After you have added and defined all IndustrialX Controls, you can add the lines (connectors and nodes). Connectors and nodes for topological coloring are available in the folder Topology\PAS CC V6.x of the SICAM graphic object library. Using these graphic objects, you can show the states of lines in different colors during runtime. For more detailed information regarding topological coloring, refer to Section 4.6.
Note You can also use simple lines or rectangles to represent connectors and nodes, but these lines and rectangles do not support topological coloring.
To position connectors and nodes from the graphic object library on the workspace, proceed as follows:
• To open the Library window, click View > Library. • Select a connector/node under Topology > PAS CC V6.x. • Hold down the mouse button and move the cursor over the workspace until the graphic object has reached the desired position. Creating event functions and scripts for topological coloring When you have linked the graphic objects to the connectors, you must create the event functions and scripts.
• Click the corresponding icon in the SICAM toolbar. First, the diagram is checked for correctness. The connection scripts are created afterwards. You can view the progress in the Reporter. For more detailed information on error messages, refer to Section 4.6.6.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
59
Working with SICAM PAS CC 3.3 Creating a Control Diagram
3.3.4
Showing a Measured Value
Purpose Show a measured value of SICAM PAS in the control diagram. Table 3-1
State-dependent display of measured values
Color
Meaning
Black
Normal display
Cyan (turquoise)
Not topical
Gray
Not linked to a tag
Dark cyan (petrol)
PAS not OK
Red
Limit Max 1 exceeded
Blue-gray
Below Limit Min 1
Pink
Overflow
Blue
Substituted
The colors listed in the table are default settings. They can be modified in the object properties of the measured-value display. Inserting a measured-value object Open the Graphics Designer and insert a display field into your control diagram:
• To open the Library window, click View > Library. • To show a preview of the graphic objects, click Preview in the toolbar of the Library window. • Select PASCC Measured Value V6.0 Integrated C Script under Measured/Metered Values > PAS CC V6.0.
• Hold down the mouse button and move the cursor until the graphic object has reached the desired position.
60
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Working with SICAM PAS CC 3.3 Creating a Control Diagram
Connecting a tag
• Right-click the I/O field and select Properties from the context menu. • In the Object Properties dialog, Properties tab, select SICAM. • Right-click the bulb icon in the Value (*.Counter) row of the Dynamic column. Select Tags... from the context menu.
• Select the desired tag and click OK.
Note Use the Filter box to restrict the number of listed tags: For example, enter *.Counter to show only new structure elements of the type COUNTER.
pascc356.tif
Figure 3-32 Connecting a tag
• Define further settings (e. g. Unit, Tooltip Text). • Close the Object Properties window. Substituting measured values Measured values can be substituted (manually updated) by the measured-value object during runtime (refer to Section 5.3.2.2).
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
61
Working with SICAM PAS CC 3.3 Creating a Control Diagram
3.3.5
Inserting an Acknowledge Button
Inserting an acknowledge button The circuit breaker blinks spontaneously when the state of the assigned tag changes in monitoring direction with the cause Spontaneous. This spontaneous blinking must be acknowledged. To be able to acknowledge the blinking of the switch, insert a button from the SICAM PAS graphic object library into the diagram.
• To open the Library window, click View > Library. • To show a preview of the graphic objects, click Preview in the toolbar of the Library window. • Under Controls, select Button Acknowledge Blinking. • Hold down the mouse button and move the cursor until the graphic object has reached the desired position.
pascc357.tif
Figure 3-33 Inserting an acknowledge button
62
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Working with SICAM PAS CC 3.3 Creating a Control Diagram
Defining a tooltip text for a button To define a tooltip text for a button, proceed as follows:
• Right-click the button and select Properties in the context menu. • In the Properties tab card, select Miscellaneous. • Double-click the Tooltip Text attribute to open the Text Input window. • Enter the tooltip text into the Enter a value input box and click OK to confirm.
pascc358.tif
Figure 3-34 Defining a tooltip text for a button
The setting of the button properties ensures that the button can be activated via a mouse click or by pressing a key on your keyboard. Instead of an acknowledge button, you can also use the integrated dialogs of the controls (refer to Section 4.3.6).
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
63
Working with SICAM PAS CC 3.3 Creating a Control Diagram
Completing the control diagram
• Complete the control diagram e. g. by inserting labels. • Save the completed diagram.
pascc344.tif
Figure 3-35 Control diagram
64
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Working with SICAM PAS CC 3.4 Creating an Overview Diagram
3.4
Creating an Overview Diagram
Overview diagram The diagram hv_overview.pdl shows an overview of your system. Fields which include several circuit breakers and disconnectors are shown with a graphic object.
overview1.tif
Figure 3-36 Overview diagram
To create the overview diagram, you must
• create a new diagram hv_overview.PDL (width 900 and height 700), • draw the diagram and insert objects and icons, e. g. bay overview objects and labels. Using bay overview objects The graphic object library holds IndustrialX Controls which indicate the state of an entire bay using specific colors. Use these IndustrialX Controls in the overview diagram of the sample project.
Note To show lines, you can also use graphic objects of the type Connector instead of simple rectangles or lines (refer to Section 4.6). With these graphic objects, you can show the states of lines in different colors during runtime.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
65
Working with SICAM PAS CC 3.4 Creating an Overview Diagram
Positioning a bay overview object To position an IndustrialX Control from the graphic object library on the workspace, proceed as follows:
• To open the Library window, click View > Library. • To select the icon preview, click the Preview icon in the toolbar of the Library window. • Select the graphic object SICAM boxed under Overview Objects/PAS CC V6.x/ in the project library.
• Hold down the mouse button and move the pointer over the workspace until the icon has reached the desired position.
pascc323.tif
Figure 3-37 Bay overview icons in the graphic object library
Defining a bay overview object To define the properties of the bay overview, the SICAM PAS CC BAY Properties dialog must be opened.
• To do this, ouble-click the bay overview icon. The SICAM PAS CC BAY Properties dialog opens.
• Define the tag connection (refer to Section 4.4.2). • Important: Delete the default tag link for switchgears which do not actually exist in the bay. • Click OK to close the dialog window. For more detailed information on the Bay Overview graphic object, refer to Section 4.4.
66
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Working with SICAM PAS CC 3.4 Creating an Overview Diagram
Inserting a button Insert a Button object into the hv_overview.pdl diagram. Click this button to show the detail_E01.pdl control diagram.
• Select the Button object in the object palette under Windows Objects. • Create the button at the desired position.
pascc326.tif
Figure 3-38 Inserting a button
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
67
Working with SICAM PAS CC 3.4 Creating an Overview Diagram
Configuring a button The Button Configuration dialog opens.
pascc327.tif
Figure 3-39 Configuring a button
• Define the text, the font and the color. • Under Change Diagram on Mouse Click, select the diagram detail_E01.PDL. • Next, click OK to confirm your settings.
68
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Working with SICAM PAS CC 3.4 Creating an Overview Diagram
Defining a tooltip text for a button To define a tooltip text for a button, proceed as follows:
• Right-click the button and click on Properties in the context menu. • In the Properties tab card, select Miscellaneous. • Double-click the Tooltip Text attribute to open the Text Input window. • Enter the tooltip text into the Enter a value input box and click OK to confirm.
pascc328.tif
Figure 3-40 Defining a tooltip text for a button
• Click OK to apply the settings.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
69
Working with SICAM PAS CC 3.5 Creating a List View
3.5
Creating a List View
You want to define that the event list is displayed after clicking the Event List button. To do this, you must create the view eventlist.PDL and insert the object SICAM PAS CC V6 Event List. Later, the buttonbar.PDL file must be completed by the corresponding Button object. Creating an event list In the eventlist.pdl view, insert SICAM PAS CC V6 Event List.
pascc375.tif
Figure 3-41 View showing an event list
To create the event list view, proceed as follows:
• Create the eventlist.pdl view (width 900 and height 700) • and insert the object SICAM PAS CC V6 Event List.
70
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Working with SICAM PAS CC 3.5 Creating a List View
Inserting an event list To insert an event list, proceed as follows:
• To open the Library window, click View > Library. • To show a preview of the graphic objects, click Preview in the toolbar of the Library window. • Select the object SICAM PAS CC V6 Event List under Alarm Logging Templates > PAS CC V6.x in the Project Library.
• Hold down the mouse button and move the cursor over the workspace until the graphic object has reached the desired position.
• Save the view under eventlist.pdl.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
71
Working with SICAM PAS CC 3.6 Creating a Button Bar
3.6
Creating a Button Bar
In the button bar, you can arrange all buttons of the project. These buttons can be used to switch to a different view (e. g. overview diagram, list view) or to quit the runtime system.
pascc330.tif
Figure 3-42 Button bar with various buttons
To create the button bar, proceed as follows:
• Create a new view buttonbar.PDL. • Next, insert the buttons with their different functions.
3.6.1
Inserting an Event List Button • Create a new view named buttonbar.PDL (width 900 and height 100). • Select the Button object in the object palette under Windows Objects. • Create the button at the desired position. The Button Configuration dialog opens.
pascc359.tif
Figure 3-43 Configuring a button
72
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Working with SICAM PAS CC 3.6 Creating a Button Bar
• Define the object properties (e. g. text, color). • Leave the input box Display Changeover on Mouse Click empty. Afterwards, you must set the switching between different views/diagrams as C action.
• Click OK to close the dialog window. Defining dynamic display properties Via the dynamic properties of the button, specify the action for displaying the event list (eventlist.pdl).
• Double-click the new button. The Object Properties dialog opens.
pascc364.tif
Figure 3-44 Defining the object properties
• Click on the Events tab and then click on Mouse. • Right-click on the flash icon next to Mouse Action. • Select C Action from the context menu. The Edit Action window opens.
pascc384.tif
Figure 3-45 Defining dynamic display properties
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
73
Working with SICAM PAS CC 3.6 Creating a Button Bar
• In the Edit Action window, enter the row SetPropChar("start.pdl","PictureWindow2", "PictureName","eventlist.pdl"); between the brackets.
• Click OK to apply the settings. • If you are requested to recompile, confirm with Yes. • To insert the HV Overview button, proceed in the same way as for the Event List button. This button can be used later for showing the diagram hv_overview.PDL.
3.6.2
Inserting a Quit button To add the Quit Button to the button bar, click Project Library > Control Elements. This button serves to deactivate the project.
Note If you do not want to use the preconfigured button to quit WinCC Runtime, use the Complete C code stored in the script of the button.
74
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Working with SICAM PAS CC 3.7 Creating a Start Picture
3.7
Creating a Start Picture
Start picture Divide the start picture into two window sections (designated "picture windows"). The upper section shows the button bar (buttonbar.PDL). In the lower section, you can switch between the overview diagram (hv_overview.PDL), the control diagram (detail_E01.PDL) and the list view (eventlist.PDL) during runtime. The start picture is shown during runtime. It is 900 x 800 pixels in size.
pascc390.tif
Figure 3-46 Example of a start picture
Overview To create the start picture:
• Create a new display named start.PDL (width 900 and height 800). • Create separate picture windows for buttonbar.PDL (900 x 100) and hv_overview.PDL (900 x 700).
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
75
Working with SICAM PAS CC 3.7 Creating a Start Picture
Positioning picture windows Proceed as follows to position a picture window:
• In the Object Palette under Smart Objects, select Picture Window. As soon as you move your cursor over the workspace, it changes its shape to a cross-hair with an object icon appended.
• At the desired position, hold down the mouse button and move the cursor until the Picture Window object has reached the desired size. .
pascc391.tif
Figure 3-47 Inserting a picture window
Setting the parameters of a picture window Proceed as follows to set the parameters of a picture window:
• Right-click the picture window and select Properties from the context menu. The Object Properties dialog opens.
Note In the text box, you can view the picture name (e. g. PictureWindow1 or PictureWindow2) which has been automatically assigned by SIMATIC WinCC.
76
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Working with SICAM PAS CC 3.7 Creating a Start Picture
Specifying the picture to be shown on screen Proceed as follows to specify which picture shall be shown on screen:
• Right-click the picture window and select Properties in the context window. The Object Properties dialog opens.
• In the Properties tab card, select Miscellaneous. • Double-click the attribute to be changed, i.e. Picture Name. A file selection window opens and shows the names of all pictures in the project.
• Select buttonbar.pdl and click OK to confirm.
pascc392.tif
Figure 3-48 Specifying the picture to be shown
• In order to ensure that the picture window remains open, set the Display attribute to Yes. • Apply all parameters by closing the Object Properties window.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
77
Working with SICAM PAS CC 3.7 Creating a Start Picture
Second picture window
• Create the second picture window. • Assign the picture hv_overview.pdl to PictureWindow2. Defining the start picture of WinCC Runtime Proceed as follows to open the Computer Properties dialog:
• Select the Computer level in the WinCC Explorer. • Right-click the computer name to open the context menu of the desired computer. Select Properties in the context menu.
• In the Computer Properties dialog, select the Graphics Runtime tab card. Next, enter your start picture start.pdl in the Start Picture input box. Activating the project To activate the created project, select File > Activate. You can now check whether the configured user interface meets your requirements.
78
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Working with SICAM PAS CC 3.8 Setting up User Authorizations
3.8
Setting up User Authorizations
The User Administrator editor serves to specify user groups and users and to assign them user authorizations. If a registered user calls up a function, the User Administrator checks whether the user has been assigned the required user rights. If this is not the case, it prevents the access to the function concerned. User authorization is a feature of SIMATIC WinCC. Calling up the user administrator Open the User Administrator to set up a new user group or a new user.
• In the WinCC Explorer, right-click on the User Administrator level. • Select Open from the context menu. Setting up a user group When creating a new project, the Administrator Group is automatically created with the Administrator user. Create a new user group and assign the required rights. The rights of the group apply for all users belonging to the corresponding group.
• Select User > Add Group. • Enter the name of the new user group (e. g. Group1). • Assign the group rights by double-clicking on the desired row in the Authorization column.
Note The entry into the No. row (e. g. 3) corresponds to the PermissionLevel in the object properties of the IndustrialX Controls.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
79
Working with SICAM PAS CC 3.8 Setting up User Authorizations
pascc380.tif
Figure 3-49 Assigning group rights
Setting up a user Set up a user in the new group and assign him specific rights.
• Select the new group. • Select User > Add User to open the Add a New User dialog. • In the Login input box, enter the user name (e. g. User1). • Enter a password and repeat it. • Select Copy Group Settings Also to assign the user all rights of the corresponding group.
pascc381.tif
Figure 3-50 Setting up a new user
80
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Working with SICAM PAS CC 3.8 Setting up User Authorizations
Assign the user additional rights (e. g. Action Editing).
pascc382.tif
Figure 3-51 Assigning user rights
Assigning an authorization for a circuit breaker You can assign authorizations for various different objects, such as circuit breakers and buttons, in the Object Properties window. Proceed as follows to assign an authorization for a circuit breaker:
• In the Graphics Designer, right-click on the corresponding circuit breaker. • Select Properties in the context menu. • In the Properties tab card, click Control Properties, • Double-click on the attribute PermissionLevel and enter the value. If the value is 0, no access protection is defined. Assigning an authorization for a button Proceed as follows to assign an authorization for a Button:
• In the Graphics Designer, right-click on the corresponding button. • Select Properties in the context menu. • Click on Miscellaneous in the Properties tab. • Double-click on Authorization and select an entry. In this context, the entry corresponds to the value 0.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
81
Working with SICAM PAS CC 3.8 Setting up User Authorizations
82
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Graphic Objects
4
Overview The SICAM PAS graphic object library includes graphic objects for the representation of typical substation control and protection equipment (e. g. switchgears, displays). Additionally, graphic objects are available for topological coloring. You can use these graphic objects to create station diagrams in the Graphics Designer. Contents 4.1
Design of Graphic Objects
84
4.2
Using Graphic Objects
86
4.3
Circuit Breaker and Disconnector
87
4.4
Bay Overview
122
4.5
Display of Measured-Values Using the Script/Project Function
128
4.6
Topological Coloring
131
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
83
Graphic Objects 4.1 Design of Graphic Objects
4.1
Design of Graphic Objects
The SICAM PAS graphic object library holds graphic objects for the representation of the components of a power network. These objects are required for the creation of station diagrams. IndustrialX Controls are a special type of graphic object.
4.1.1
SICAM PAS Graphic Objects
Design A SICAM PAS graphic object serves for the graphical representation of electrical equipment using dynamic display features. Graphical representation The graphical representation of the SICAM PAS graphic objects (e. g. circuit breakers) is realized according to the international standards ANSI/IEEE 315 1975 (R1995) and ANSI/IEEE 315A 1986 (R1995). The graphic object library holds several typical graphic objects for each element. The objects can be shown in different line widths. Dynamic display properties Some graphic objects already include dynamic display properties. With these dynamic properties, you can visualize the different states of a system in control and monitoring direction. The typical dynamic display properties of a graphic object are defined by default. Finally, you only have to link the dynamic properties to the process via tags. There are three different ways to set the parameters for dynamic display properties: via the Dynamic dialog via a C action or via a VBS action (Visual Basic action)
Dynamic dialog In the Dynamic dialog, you can specify the dynamic display properties and thus the process interfacing (referred to as "tag connection"). To do this, you insert the available dynamic display properties into a predefined frame.
84
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Graphic Objects 4.1 Design of Graphic Objects
C action The C action provides more flexibility in the definition of dynamic display properties than the Dynamic dialog. You can use all functions provided by SIMATIC WinCC, including SICAM PAS processing functions. Graphic object library In the SICAM PAS graphic object library, some dynamic display properties of graphic objects are defined via the Dynamic dialog; others are defined via the C action. You can use the corresponding graphic objects alternatively.
4.1.2
IndustrialX Controls Circuit breakers/disconnectors, feeders, ground disconnectors, connectors, nodes and the bay overview are implemented as IndustrialX Controls.
Design An IndustrialX Control is a Windows control element whose properties (e. g. graphical representation, tag connection) can be defined via a dialog. Graphical representation An IndustrialX Control (e. g. a circuit breaker) can be graphically represented in various different manners. The shape, line width and orientation of the graphic object can be specified by the user. The colors for the representation of the value and the status are selectable. Furthermore, the graphic object can be designed individually. Process interfacing The tag connection of the IndustrialX Controls is performed in a tag selection dialog window. The time interval of the update cycle is adjustable. Synchronized switching Synchronized switching is possible, provided that the bay device supports this function. Select one of the protocols from the drop-down list box Synchronization Model and specify the tags. This type of synchronization is only possible if the communication protocols IEC 61850 and SINAUT LSA ILSA are used. Further setting options The status display for circuit breakers and disconnectors can be shown or hidden. 3-D representation is possible. Dialogs can be anchored at any position on the diagram. Spontaneous blinking, setpoint blinking and SET = ACTUAL switching can be enabled. The use of integrated switching dialogs can be disabled. Writing of command tags can also be disabled and replaced by customer-specific actions.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
85
Graphic Objects 4.2 Using Graphic Objects
4.2
Using Graphic Objects
To use graphic objects from the SICAM PAS graphic object library in your project, you must link the SICAM PAS graphic object library to the project first. Afterwards, you can position graphic objects in station diagrams, set parameters for dynamic display properties and visualize the different states of the station. Graphic object library Use the SICAM PAS Wizard to integrate the SICAM PAS graphic object library into the current project. Showing the graphic object library To show the graphic object library, select View > Library. The SICAM PAS graphic objects are available under Project Library. Positioning graphic objects Using the Graphics Designer of SIMATIC WinCC, you can copy graphic objects via Drag & Drop from the library into a station diagram. Defining graphic objects Link graphic objects to the related process tags using the SIMATIC WinCC Graphics Designer.
86
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Graphic Objects 4.3 Circuit Breaker and Disconnector
4.3
Circuit Breaker and Disconnector
The Circuit Breaker and the Disconnector are available as switching devices. They are stored in the Switching Device Objects folder under Controls in the SICAM PAS graphic object library. These IndustrialX Controls already include typical functions. Graphical representation The SICAM PAS graphic object library provides circuit breakers and disconnectors in five different representation styles: Table 4-1
Graphical representation of circuit breakers
Circuit breaker
Representation
SICAM CB
in SICAM style
DIN CB
according to DIN 42200
IEC 445 CB
according to IEC 445
LSA CB
according to LSA
Bitmap CB
individual design
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Graphic
87
Graphic Objects 4.3 Circuit Breaker and Disconnector
Table 4-2
88
Graphical representation of disconnectors
Disconnector
Representation
Graphic
SICAM DIS
in SICAM style
DIN DIS
according to DIN 42200
IEC 445 DIS
according to IEC 445
LSA DIS
according to LSA
Bitmap DIS
individual design
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Graphic Objects 4.3 Circuit Breaker and Disconnector
4.3.1
Graphical Representation of Circuit Breakers and Disconnectors Each circuit breaker and disconnector must be assigned several properties.
• Double-click the graphic object. The SICAM PAS CC CB/DIS Properties dialog opens. • The properties can be found in the Style tab.
pascc336.tif
Figure 4-1 Specifying the style
Type The types Circuit Breaker or Disconnector can be selected for the graphic object. Standard The following five options are available for the representation of a graphic object: SICAM DIN 42200 IEC 445 LSA Bitmap
With the Bitmap style, specific diagrams can be displayed depending on the switch position. Line width The line width of the graphic objects can be adjusted in steps from 1 to 11. Step 1 represents the smallest line width. The adjustment of the line width is possible for all representation styles according to DIN 42200, IEC 445 and LSA. Orientation For all representation styles apart from Bitmap, the orientation angles 0°, 90°, 180°, and 270° can be defined.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
89
Graphic Objects 4.3 Circuit Breaker and Disconnector
4.3.2
Tag Connection of the Circuit Breakers and Disconnectors Each circuit breaker and each disconnector must be assigned tags.
• Double-click the graphic object. The SICAM PAS CC CB/DIS Properties dialog opens. • The interfacing to the process is defined in the Tag Connection dialog.
pascc337.tif
Figure 4-2 Tag connection
Monitoring direction Click the Browse button next to the edit box. The Tags dialog opens. Select the corresponding tag from the list and confirm with OK. Command direction If a command tag related to a indication tag is indicated in the SICAM PAS import data record, the command tab is determined automatically when the indication tag is selected. In this case, the command tag is entered into the Command Direction edit box. To select a tag, proceed as described under Monitoring Direction.
Note If you do not want to use the function provided in command direction, delete the predefined tag.
90
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Graphic Objects 4.3 Circuit Breaker and Disconnector
Acknowledge tag for spontaneous blinking You can keep the predefined tag Quit Blinking or select another tag. Click the Browse button next to the edit box to select another tag. The Tags dialog opens. Select the corresponding tag from the list and confirm with OK. You can also assign a tag to several switching elements in order to form a group. Spontaneous blinking can be acknowledged simultaneously for all switching elements of the group. Tooltip text Enter a text in the edit box. This text is displayed as Tooltip in the active project. WinCC update cycle The WinCC update cycle of the tags can be adjusted in time intervals from 250 milliseconds to one hour. Furthermore, the setting Upon Change is possible. 2 seconds is the default setting.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
91
Graphic Objects 4.3 Circuit Breaker and Disconnector
4.3.3
Color of the Circuit Breaker and the Disconnector
Switch position In the normal state, the color of a graphic object is determined by its value. A specific color is set by default for each individual value. The color can also be selected from a color palette. In the Color tab, colors can be assigned to the switch positions and states of the circuit breaker/ disconnector.
• Double-click the graphic object. The SICAM PAS CC CB/DIS Properties dialog opens. • Select the Color tab.
pascc339.tif
Figure 4-3 Assigning colors
The default colors are: Table 4-3
92
Switch position
Value
Color
ON 10, value=2
Red
OFF 01, value=1
Green
Disturbed 00, value=0
Yellow
Disturbed 11, value=3
Yellow
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Graphic Objects 4.3 Circuit Breaker and Disconnector
The shape of the graphic object in the representations according to DIN 42200, IEC 445 and LSA depends on the value.
The following shapes of the graphic object are predefined in the representation according to DIN 42200 and IEC 445: Table 4-4
Default colors according to DIN 42200 and ICE 445
Value
Type
ON 10, value=2
Switch closed
OFF 01, value= 1
Switch open
Disturbed 00, value=0
Switch ON/OFF dashed
Disturbed 11, value=3
Switch ON/OFF dashed
The following colors are set by default in the representation according to LSA: Table 4-5
Default colors according to LSA
Value
Type
ON 10, value=2
Filled
OFF 01, value= 1
Not filled
Disturbed 00, value=0
Half filled
Disturbed 11, value=3
Half filled
A red cross is shown for values which are not listed in the tables (e. g. the value 4). Switch status The switch status is indicated by small, colored rectangles next to the switch. A specific color is set by default for each individual state. It is also possible to select a color from the palette.
pascc340.tif
Figure 4-4 Switch and switch state
The following colors of the rectangles are set by default for the representation of the individual
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
93
Graphic Objects 4.3 Circuit Breaker and Disconnector
states: Table 4-6
Switch state
State
Color
Meaning
Not topical
Cyan (turquoise)
The device status is not topical.
PAS not OK
Dark cyan (petrol)
The connection between SICAM PAS CC and SICAM PAS is faulted.
Bay blocking
Red
Alarms/messages from this bay are no longer transferred to the SICAM PAS.
Substituted
Blue
Since the connection to the primary system is interrupted, the switch position was set manually.
Telecontrol blocking
Red
Alarms/messages from this bay are no longer transferred to the control center.
Background The background color of the graphic object can be set individually. Gray is the default setting.
94
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Graphic Objects 4.3 Circuit Breaker and Disconnector
4.3.4
Advanced Properties of the Circuit Breaker and Disconnector
In the Advanced tab, you can define additional properties for your circuit breaker/disconnector.
• Double-click the graphic object. The SICAM PAS CC CB/DIS Properties dialog opens. • Select the Advanced tab.
pascc342.tif
Figure 4-5 Advanced properties
Enable State Dialog The display of status information by clicking with the right mouse button can be enabled or disabled. 3-D Style If this option is selected, circuit breakers and disconnectors can simulate a three-dimensional effect when clicked.
Note The 3-D effect highlights the selected icon. This effect is required for operation without a mouse.
Fix Dialog Position The runtime dialogs can be anchored at a specified position on the display. Command execution timeout In the command execution timeout box, you must specify in seconds how long the system shall wait for the successful execution of a command. When this time interval has elapsed, the command process is terminated and a negative command termination is logged.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
95
Graphic Objects 4.3 Circuit Breaker and Disconnector
Authorization level Enter the Authorization Level. For example, select the value 3 for authorization level 3. For more detailed information regarding the setting and assignment of user authorizations, refer to Section 3.8. Enable spontaneous blinking Spontaneous blinking can be enabled or disabled. The circuit breaker or disconnector blinks spontaneously if the value of the assigned tag changes and if Spontaneous was entered as cause.
Note For the interpretation of spontaneous value changes, use the entries in the message list.
Enable setpoint blinking Setpoint blinking can be enabled or disabled. When the command is issued, the graphic object starts to blink in the defined state as soon as the target switching direction (ON or OFF) has been selected. The blinking stops when the command is terminated or aborted, i.e. in the following cases: after the abortion of the command output when the monitoring time for the command output has expired if Command Termination was entered as cause in the feedback message
Enable SET = ACTUAL Switching in the represented ACTUAL state can be enabled or disabled. Select this option to enable the switching direction independently of the switch position. For example, another switchon command can be issued for a switch which has already been switched on. Use integrated dialog boxes The display of switching dialogs during runtime can be enabled or disabled. Write command output Deselect Write Command Output to prevent writing to the defined tag. In this case, you have to define actions for the command output via the Object Properties, Events tab (refer to Section 4.3.4). Command model 'Select before operate' A switching operation can be executed in two steps. A select command is issued before the actual switching command. To issue the switching command, a positive acknowledgement must have been received for the select command.
96
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Graphic Objects 4.3 Circuit Breaker and Disconnector
4.3.5
Synchronized Switching In the Synchronization tab, you can define the control (switching object) for synchronized switching (e. g. in order to connect two busbars).
• Double-click the graphic object. The SICAM PAS CC CB/DIS Properties dialog opens. • Select the Synchronization tab.
Note Synchronized switching is supported for the communication protocols IEC 61850 and SINAUT LSA ILSA.
4.3.5.1 Synchronization with IEC 61850
pascc341.tif
Figure 4-6 Define synchronization
Synchronization model With the communication protocol IEC 61850, the user can specify whether circuit breakers shall be controlled in synchronized or unsynchronized mode. If synchronized switching is specified, further settings or dynamic display properties must be defined. Advanced control dialogs are displayed during runtime, and the user can determine how the switching operation is to be executed. Command execution timeout In the command execution timeout box (Advanced tab), you must specify in seconds how long the system has to wait for the successful execution of a command. When this time interval has elapsed, the command is terminated and the negative command termination is logged. Tag name information 'Sync not effective' The tag to be indicated includes information on whether the device synchronization is active or inactive. This tag must always be indicated.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
97
Graphic Objects 4.3 Circuit Breaker and Disconnector
Tag name command 'Sync not effective' A command tag can be indicated. This tag does not need to be defined if the synchronization function shall not be modified during runtime.
4.3.5.2 Synchronization via SINAUT LSA ILSA
pascc341a.tif
Figure 4-7 Define synchronization
Synchronization model With the communication protocol SINAUT LSA ILSA, the user can specify whether circuit breakers shall be controlled in synchronized or unsynchronized mode. If synchronized switching is specified, further settings or dynamic display properties must be defined. Advanced control dialogs are displayed during runtime and the user can determine how the switching operation shall be executed. Command execution timeout In the command execution timeout box (Advanced tab), you must specify in seconds how long the system shall wait for the successful execution of a command. When this time interval has elapsed, the command is terminated and the negative command termination is logged. Tag name command 'measurement interrogation' In the input box Tag Name Command ’Measurement Interrogation’, define the command tag which triggers a measurement in the synchronization unit. The measured values are updated; no switching operation is performed. Tag name command (not synchronized) Define the command tag for unsynchronized switching in the Tag Name Command (not synchronized) input box. If this tag is not defined, unsynchronized switching is not possible.
98
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Graphic Objects 4.3 Circuit Breaker and Disconnector
4.3.6
Runtime Dialogs of Circuit Breakers and Disconnectors Dialogs are available for performing switching actions, for status display and to acknowledge blinking. To call up these dialogs during runtime, click on the related graphic object.
Switching action Click the graphic object to open the dialog window for a switching action.
pascc501.tif
Figure 4-8 Switching dialog
Click ON or OFF to open the subsequent dialog in which the switching action must be enabled. Two-step switching action Click the graphic object to open the dialog window for a switching action.
pascc501.tif
Figure 4-9 Switching dialog
The select command is transmitted when the user clicks the ON or OFF button. The ON or OFF buttons are disabled until a feedback has been received.
pascc505.tif
Figure 4-10 Switching dialog, select command in progress
The select command can get a positive or negative acknowledgement. Depending on the acknowledgement, one of the following dialog windows opens.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
99
Graphic Objects 4.3 Circuit Breaker and Disconnector
pascc506.tif
Figure 4-11 Switching dialog, the selection is active
The check resulted in a positive acknowledgement. The actual switching command can be issued by clicking the Confirm button.
pascc507.tif
Figure 4-12 Switching dialog, the selection was rejected
The check resulted in a negative acknowledgement. The actual switching command cannot be issued. The switching action must be aborted. Synchronized switching action Based on the communication protocols IEC 61850 and SINAUT LSA ILSA, synchronized switching can be performed by means of dialog extensions. The execution of the synchronized switching action during runtime depends on the individual protocol. For this reason, a distinction is made between these protocols in the following subsections. Synchronized switching is supported by further communication protocols (e. g. IEC 60870-5-101 Master). In this context, however, the dialog extensions are not used. For more detailed information, refer to the protocol descriptions. The extended synchronization dialog is only shown if a communication protocol (not the option -nothing-) was selected from the drop-down list box Synchronization Model in the dialog window SICAM PAS CC CB/DIS Properties. Synchronized switching according to IEC 61850 This section describes the execution of a synchronized switching action based on the IEC 61850 communication protocol. Click the graphic object to open the dialog window for a synchronized switching action.
100
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Graphic Objects 4.3 Circuit Breaker and Disconnector
pascc508.tif
Figure 4-13 Switching dialog for synchronized switching, synchronization function disabled
When trying to enable the synchronization function (Sync effective), the corresponding dialog window opens.
pascc509.tif
Figure 4-14 Dialog window for enabling the synchronization function
Click Confirm to send a single command with the value OFF to the command tag Sync not effective. At the same time, all buttons are deactivated until a command feedback is received.
pascc510.tif
Figure 4-15 Switching dialog for synchronized switching, synchronization function deactivated
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
101
Graphic Objects 4.3 Circuit Breaker and Disconnector
As soon as a message has arrived via the indication tag Sync not effective, the Sync ON button is active and can be clicked.
pascc511.tif
Figure 4-16 Switching dialog for synchronized switching, button Sync ON activated
Clicking the Sync ON button only initiates synchronized switching. The switching command is issued as usual:
• Click the Sync ON button. The switching object blinks in the target state and the enable dialog opens.
• Click the Confirm button. The command is issued. This dialog window remains open until the synchronized switching action has been completed or aborted.
102
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Graphic Objects 4.3 Circuit Breaker and Disconnector
Synchronized switching action according to SINAUT LSA ILSA This section describes the execution of a synchronized switching action based on the SINAUT LSA ILSA communication protocol. Click the graphic object to open the dialog window for a synchronized switching action.
pascc508a.tif
Figure 4-17 Switching dialog for synchronized switching, synchronization function disabled
The option Sync. not effective deactivates the button Sync ON. Synchronized switching is not possible. The option Sync effective activates the button Sync ON. Clicking the Sync ON button now initiates synchronized switching. The switching command is issued as usual:
• Click the Sync ON button. The switching object blinks in the target state and the enable dialog opens.
• Click the Confirm button. The command is issued. This dialog window remains open until the synchronized switching action has been completed or aborted. If a command with synchronization has been transmitted, the synchronization can be aborted by clicking on Cancel Synchronization. Afterwards, the control sends a cancel command to the command tag. Click on Start meas to issue a command to the synchronization unit which triggers the measurement. The measured values are updated without performing a switching action.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
103
Graphic Objects 4.3 Circuit Breaker and Disconnector
Status The status dialog can be opened by clicking with the right mouse button, provided that the status display has been activated in the Properties dialog.
pascc503.tif
Figure 4-18 Status dialog
The current status is indicated by a checkmark. Click Substitute to open the dialog window for manually updating a switch position (refer to Section 4.3.7). Acknowledge blinking Click on a blinking graphic object to open the dialog for acknowledging blinking.
pascc504.tif
Figure 4-19 Acknowledge blinking
Click on This to acknowledge a status change or a spontaneous alarm for this switch. Click on All to use the Tag Acknowledge Blinking (under Properties) for acknowledging. All IndustrialX controls linked to this tag will also be acknowledged.
104
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Graphic Objects 4.3 Circuit Breaker and Disconnector
4.3.7
Substituting the Switch Position
pascc503a.tif
Figure 4-20 Substituting the switch position
In this dialog, you must specify how the switch position is to be substituted. Click Substitute to open the activation dialog. Click the Confirm button to execute the substitution.
Note New structure elements are required for the substitution. To continue to use projects from Version 5.x, these projects must be converted first. The WBCounter structure element is only available for newly created projects. Old projects can be updated by deleting the process tags (using the wizard) and the structure types (manually) and re-importing the process tags (using the wizard).
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
105
Graphic Objects 4.3 Circuit Breaker and Disconnector
4.3.8
Defining Object Properties The Object Properties dialog comprises the Properties and the Events tabs. The following section describes some parameters from these tabs. Proceed as follows to open the Object Properties dialog:
• Right-click on the graphic object. • Select Properties from the context menu. The Object Properties dialog opens. Properties tab
pascc512.tif
Figure 4-21 Object Properties, Properties tab
106
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Graphic Objects 4.3 Circuit Breaker and Disconnector
The following table provides a list of some important object properties of the circuit breakers/ disconnectors. Table 4-7
Object properties
Object Properties
Meaning
PermissionLevel
Assigns a permission level for the IndustrialX Control. Click the control to compare this value with the permission level in SIMATIC WinCC and to disable or enable operator actions.
EnableSwitching
This property generally enables or disables switching. Example of use: Enabling user-defined switching between several workstations.
LabelButton...
All properties whose name starts with Label... serve for the labeling of individual buttons.
UserStringID
This property can be used to show a text which the user has freely defined from a selection of default texts. The texts must be saved in the text files for language setting. The value of UserStringID corresponds to the number of the text in the text file. If the UserStringID has the value zero, no additional text is displayed (refer to Section 5.5.2).
Timeout
This property defines the time in seconds after which the command execution is aborted by SICAM PAS if no feedback is returned from the process. This value can also be modified using the Advanced properties page.
InputValue1 InputValue2
Input points for topological coloring.
DefaultElectricColor
This value defines the default color for topological coloring. This value is forwarded to the connectors if the input values of InputValue1/InputValue2 have not been initialized.
DefaultElectricColor OFF
This value defines the default color for topological coloring. It is forwarded to the related connectors if the graphic object is in OFF state.
EnableBlinkingOnNeg Confirm
If a switching command receives a negative acknowledgement (i. e. CO- is returned), the control switches from command blinking to fast blinking in order to indicate that an abnormal event has occurred. The default value is Yes. The switching object does not blink fast if this parameter has been set to No. In this case, the control switches to the actual position after a negative acknowledgement; command blinking is terminated.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
107
Graphic Objects 4.3 Circuit Breaker and Disconnector
Events Tab
pascc513.tif
Figure 4-22 Object Properties, Events tab
The IndustrialX Control triggers the events listed in the table. The name of the command tag and the name of the indication tag are assigned to the OnButton... events in the parameter list. These events are used for a switch with C script (refer to Section 4.3.9).
108
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Graphic Objects 4.3 Circuit Breaker and Disconnector
Table 4-8
Object Events
Object Event
Meaning
Clicked
This event is triggered by clicking on the Industrialx Control.
OnButtonON
This event is triggered by clicking the ON button in the switching dialog.
OnButtonOFF
This event is triggered by clicking the OFF button in the switching dialog.
OnButtonEXECUTE
This event is triggered by clicking on Confirm in the switching dialog.
OnButtonSYNC_ON
This event is triggered by clicking the SYNC ON button for synchronous switching in the switching dialog.
OnButtonCANCEL SYNC
This event is triggered by clicking the Cancel Synchronization button in the switching dialog for synchronous switching.
OnActivateSYNCFUNC
This event is triggered by activating the option Sync Effective under Synchronization Feature in the switching dialog for synchronous switching.
OnDeactivateSYNC FUNC
This event is triggered by activating the option Sync Not Effective under Synchronization Feature in the switching dialog for synchronous switching.
OnOutput1 OnOutput2
This event is triggered if a value change has occurred on InputValue1 or InputValue2 in the ON position.
OnILSAStartMes
This event is triggered by clicking the Start Meas button in the switching dialog for synchronous switching.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
109
Graphic Objects 4.3 Circuit Breaker and Disconnector
4.3.9
Circuit Breaker/Disconnector with C Script The default circuit breakers/disconnectors feature a predefined command output mechanism for issuing pulse switching commands. The pulse duration cannot be defined.
CB/DIS with C script The graphic object CB/DIS with C Script is available in addition to these circuit breakers/ disconnectors. The integrated command output mechanism of this object is disabled and emulated by means of a C script. This C script can be customized to meet specific requirements. For example, you can perform the following actions using the CB/DIS with C Script graphic object: link the command execution to a condition check for an interlock prior to command execution check the switching authority conditions prior to command execution
Example The example below illustrates a C script for a command execution subject to a condition. To customize the predefined C script:
• Open the Object Properties of the graphic object CB/DIS with C Script.
• In the Events tab, click on Object Events. • In the OnButtonON row, click with the right-click on the flash icon. Next, select C Action from the context menu. The C script is displayed.
110
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Graphic Objects 4.3 Circuit Breaker and Disconnector
pascc514.tif
Figure 4-23 OnButtonON C script, CB/DIS with Script graphic object
• Insert the selected rows into the C script. The MyEnableCommandExecutionTag WinCC tag must include the condition for the command execution.
• Close the C script.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
111
Graphic Objects 4.3 Circuit Breaker and Disconnector
4.3.10
Indirect Addressing The description in this section applies for IndustrialX Controls (Circuit Breakers/Disconnectors and Bay Overview) in SICAM PAS CC V5.0 or later versions.
Indirect Addressing Indirect addressing can be used with the attributes tagname, tagnameCMD, tagnameACK, tagnameSync and tagnameSyncCmd. The term "indirect addressing" signifies that the name of the SICAM tag is transferred in a string tag. If the first character of a tag name is a & (e. g. &TagnamePlaceholder), the control interprets the tag as string tag for indirect addressing. Indirect addressing can be specified in the Object Properties dialog or in the SICAM PAS CC CB/DIS Properties dialog.
To specify indirect addressing in the Object Properties dialog:
• Enter the name of the string tag in the Static column.
pascc516.tif
Figure 4-24 Object properties, defining indirect addressing
112
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Graphic Objects 4.3 Circuit Breaker and Disconnector
To define indirect addressing in the SICAM PAS CC CB/DIS Properties dialog:
• Enter the names of the string tags in the input boxes for the tag names in the Tag Connection tab card.
pascc517.tif
Figure 4-25 Properties of SICAM PAS CC CB/DIS, defining indirect addressing
Note In the SICAM PAS CC CB/DIS Properties dialog, the Browse button cannot be used, as
string tags are filtered in the selection dialog that opens. The indirect addressing is evaluated upon the start of the IndustrialX Control. The string tag
must therefore include the name of the SICAM tag before the WinCC diagram is opened.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
113
Graphic Objects 4.3 Circuit Breaker and Disconnector
4.3.11
Operation via Keyboard The graphic objects Circuit Breaker/Disconnector can be operated via the mouse or using the keyboard. To initiate a switching action using the keyboard, buttons must be inserted into the display, and a hotkey must be configured for each button. The switching action is initiated by pressing the configured key or key combination during runtime. Additionally, a user right can be assigned for the operation of the button. The runtime dialogs of controls are not displayed for operation via keyboard/buttons. An ordinary PC keyboard or a special function keyboard can be used. To use a function keyboard, the PC keyboard must be removed from the PC and the function keyboard must be plugged instead.
Configuring a button A specific button for each action must be inserted into the diagram (object palette > Windows object). The Button Configuration dialog opens as soon as the button has been inserted.
pascc440.tif
Figure 4-26 Configuring a button
• Enter the button text into the Text input box. • Next, click on Hotkey to define a hotkey for the button. • Click OK to close the dialog window. For more detailed information regarding the configuration of a button, refer to the WinCC Information System.
114
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Graphic Objects 4.3 Circuit Breaker and Disconnector
Defining a C script In order to be able to initiate an action via a button for Circuit Breaker/Disconnector, a C script has to be defined. When clicking on the button, the C script sets the attribute CommandID of the control to the defined value. The following table provides a list of all permissible integer values and their meaning. Table 4-9
Attribut CommandID
Value
Constant
Action of the control
0
COMMANDID_NOTHING
No action
1
COMMANDID_CANCEL
Cancel action
2
COMMANDID_SELECT_ON
Preselect switch position ON
3
COMMANDID_SELECT_OFF
Preselect switch position OFF
4
COMMANDID_EXECUTE
Enable switching action
5
COMMANDID_SINGLEACK
Acknowledge blinking for the selected switch
6
COMMANDID_MULTIACK
Acknowledge blinking for a group (refer to Section 4.3.2)
Note Since synchronized switching actions are very complex, control via buttons/the keyboard is not supported. The following example illustrates how the select command for ON can be initiated for the control CB1.
• Open the Object Properties of the button. • In the Properties tag, select Font. •
Next, enter CB1 ON for the Text attribute.
• Highlight the entry Mouse in the Events tab card.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
115
Graphic Objects 4.3 Circuit Breaker and Disconnector
pascc441.tif
Figure 4-27 Opening the editor
• Right-click on Mouse Action in the Action column. • Next, select C Action from the context menu. The editor opens.
pascc442.tif
Figure 4-28 Edit C action
• Edit the C script. • Compile the C script and click OK to close the editor. You can now add further buttons for deactivating, confirming and canceling the switching action and configure these buttons accordingly. In this case, the diagram looks as shown below.
116
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Graphic Objects 4.3 Circuit Breaker and Disconnector
pascc443.tif
Figure 4-29 Diagram with buttons for a switching action
Switching action during runtime During runtime, a switching action (OFF > ON) could be executed as follows: The switch is in OFF state. Click CB1 ON. The control starts to blink in setpoint state. Click CB1 Confirm. The switching command is executed. The control switches to the ON state. The switching action is completed.
Feedback messages regarding the switching action are shown in the event list.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
117
Graphic Objects 4.3 Circuit Breaker and Disconnector
4.3.12
Controlling Runtime Dialogs for Controls Runtime dialogs can be shown individually using an additional function. Depending on specific conditions, a runtime dialog can be shown or hidden. Some additional dialog windows, e. g. for user authentication, can pop up between the selection of the switch and the execution of the command. A runtime dialog can be shown due to a value change of the attribute CommandID (in the object properties of the control). The value of the attribute can be modified by means of a C script. The following table shows a list of required values. Table 4-10
CommandID attribute, additional values
Value
Constant
Action of the Control Element
20
COMMANDID_SHOWSWITCHINGDIALOG
Show the switching dialog
21
COMMANDID_SHOWSTATEDIALOG
Show the status dialog
Configuring the sequence
• Deselect Use Integrated Dialog Boxes in the properties of the control. This avoids the runtime dialog being displayed automatically.
• Open the Object Properties of the control. • Highlight Object Events in the Events tab card. • Right-click on Clicked in the Action column.
pascc450.tif
Figure 4-30 Opening the editor
• Next, select C Action from the context menu. The editor opens.
118
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Graphic Objects 4.3 Circuit Breaker and Disconnector
pascc451.tif
Figure 4-31 Editing a C script
The Clicked function has a parameter wmbutton. Via this parameter, you can check which mouse button has been clicked. Table 4-11
Parameter wmbutton
Value
Constant
Meaning
0x0201
WM_LBUTTONDOWN
the left mouse button was clicked
0x0204
WM_RBUTTONDOWN
the right mouse button was clicked
• Edit the C script. Add the SetPropWord() function, your test functions and all applicable conditions.
• Save and compile the script. Sequence during runtime The following sequence applies during runtime:
• Click on the control. • The runtime dialog is not shown, but the Clicked event is triggered. The C script is executed. • The functions defined in the C script are processed. Depending on the relevant conditions, the CommandID attribute is set in the properties of the control.
• The switching dialog is shown if the CommandID attribute includes the value 20.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
119
Graphic Objects 4.3 Circuit Breaker and Disconnector
4.3.13
Response to the Change of the CommandID Attribute As soon as a control has processed the value change of the CommandID attribute, it transmits a CommandResponse event. The event includes three parameters which provide information about the processed action. The CommandResponse function in the C script has the following structure: void CommandResponse(char* lpszDiagramName, char* lpszObjectName, long CommandID, long ResponseID, char* msg) { ... } The parameters lpszDisplayName and lpszObjectName are default parameters of WinCC and are not described in this section. The CommandID parameter includes the value of the CommandID attribute which has triggered the action. The value of the ResponseID parameter describes the result of the action. In case of error, the msg parameter includes an error description in text form. The following table provides a list of the ResponseIDs and their meanings. Table 4-12
120
ResponseID
Value
Constant
Action of the Control Element
0
RESPONSEID_OK
The action could be executed without errors.
1
RESPONSEID_NOT_IMPLEMENTD
The action specified via the CommandID attribute is not implemented.
2
RESPONSEID_NOT_SELECTED
The control has been enabled without preselecting the switch position (ON, OFF).
3
RESPONSEID_WRONG_MODE
The runtime dialog could not be displayed, as the control is in Synchronized Switching mode.
4
RESPONSEID_WRONG_STATE
The runtime dialog could not be displayed, as the control is in Fast Blinking mode. The blinking must be acknowledged first.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Graphic Objects 4.3 Circuit Breaker and Disconnector
Table 4-12
ResponseID
Value
Constant
Action of the Control Element
5
RESPONSEID_NO_CMD_TAG
For the control, no tag name has been selected in command direction.
6
RESPONSEID_SETISACTUAL_ VIOLATION
SET- ACTUAL violation For example, the user has tried to execute an OFF command although the ACTUAL position is OFF.
99
RESPONSEID_ANY_ERROR
Another error has occurred.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
121
Graphic Objects 4.4 Bay Overview
4.4
Bay Overview
The Overview folder in the SICAM graphic object library includes the user object Bay Overview. It is implemented as an IndustrialX Control and already contains typical functions. You can use a bay overview to show the status of an entire bay by means of a single graphic object. Graphical representation Four bay overview variants are available in the SICAM graphic object library: Table 4-13
122
Graphical representation of the bay overview
Bay Overview
Representation
Graphic
LSA rounded
LSA representation with circular symbol
LSA boxed
LSA representation with rectangular symbol
Sicam rounded
SICAM representation with circular symbol
Sicam boxed
SICAM representation with rectangular symbol
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Graphic Objects 4.4 Bay Overview
Maximum bay extension A bay overview diagram can show one single bay with the following maximum extension:
pascc515.tif
Figure 4-32 Maximum bay extension shown in one bay overview
4.4.1
Properties of the Bay Overview Each bay overview must be assigned several properties.
• Double-click the graphic object. The SICAM PAS CC BAY Properties dialog opens. • The properties are shown in the General tab.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
123
Graphic Objects 4.4 Bay Overview
Representation The following five options are available for the representation of a graphic object: SICAM boxed SICAM rounded LSA boxed LSA rounded Bitmap
In the Bitmap representation mode, individual diagrams can be shown depending on the value. The file formats BMP, WMF, EMF, JPG and GIF are supported for diagrams. Line width The line width of the graphic objects (LSA only) can be selected in steps from 1 to 10. Step 1 represents the smallest line width. WinCC update cycle The update cycle of the tags can be set in time intervals from 250 milliseconds to one hour. Furthermore, the setting Upon Change is available. 2 seconds is the default setting. Value In the normal state, the color and the shape of the graphic object depend on its value. A specific color is set by default for each individual value. It is also possible to select the color from a color palette. In the SICAM representation mode, only the color and not the shape is changed depending on the corresponding value. The following colors are defined by default for the graphic object in the SICAM and in the LSA representation modes: Table 4-14
124
Conventions of the SICAM and LSA representation modes
Value
Color
Meaning
ON
Red
The circuit breaker, the line disconnector and at least one busbar disconnector are switched on.
OFF
Green
The circuit breaker, the line disconnector or all busbar disconnectors are switched off.
Disturbed
Yellow
At least one of the connected devices in the bay is faulted.
Grounded
Pink
The bay is grounded.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Graphic Objects 4.4 Bay Overview
Value The following colors are defined by default in the representation mode according to LSA: Table 4-15
Conventions of the LSA representation
Value
Type
Meaning
ON
Filled
The circuit breaker, the line disconnector and at least one busbar disconnector are switched on.
OFF
Not filled
The circuit breaker, the line disconnector or all busbar disconnectors are switched off.
Disturbed
Half filled
At least one of the connected devices in the bay is faulted.
Grounded
Filled/ not filled
The bay is grounded.
State The switch state is indicated by small, colored rectangles next to the graphic object. A specific color is defined by default for each individual state. It is also possible to select a color from the palette. The color of the rectangles depends on the state of the corresponding switch: Table 4-16
State
State
Color
Meaning
Not topical
Cyan (turquoise)
At least one of the devices in the bay has the status Not Topical.
PAS not OK
Dark cyan (petrol)
The connection between SICAM PAS CC and SICAM PAS is faulted.
The default background color is gray. It can also be freely selected.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
125
Graphic Objects 4.4 Bay Overview
4.4.2
Tag Connection to Bay Overview The bay overview must be assigned tags.
• Double-click the graphic object. The SICAM PAS CC BAY Properties dialog opens. • Open the Tag Connection tab.
pascc324.tif
Figure 4-33 Defining the bay overview
Tag name of Busbar Disconnector 1 (BBDC1)
• Assign a tag to Busbar Disconnector 1 (BBDC1). • To do this, click Browse next to the edit box. The Tags dialog opens. • Select the corresponding tag from the list and click OK to confirm. Tag name of Busbar Disconnector 2 (BBDC2)
• Assign a tag to Busbar Disconnector 2 (BBDC2). • To do this, click Browse next to the edit box. The Tags dialog opens. • Select the corresponding tag from the list and click OK to confirm. Tag name of Busbar Disconnector 3 (BBDC3)
• Assign a tag to Busbar Disconnector 3 (BBDC3). • To do this, click Browse next to the edit box. The Tags dialog opens. • Select the corresponding tag from the list and click OK to confirm. Circuit breaker
• Assign a tag to the circuit breaker. • To do this, click Browse next to the edit box. The Tags dialog opens.
126
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Graphic Objects 4.4 Bay Overview
• Select the corresponding tag from the list and click OK to confirm. Line disconnector
• Assign a tag to the line disconnector. • To do this, click Browse next to the edit box. The Tags dialog opens. • Select the corresponding tag from the list and click OK to confirm. Ground disconnector
• Assign a tag to the ground disconnector. • To do this, click Browse next to the edit box. The Tags dialog opens. • Select the corresponding tag from the list and click OK to confirm.
Note Delete the default tag link for switching devices which do not exist in the bay.
• Double-click the tag to be deleted. The tag is selected. • Press the Del key to delete the selected tag. This ensures that the elements in question are no longer considered for the determination of the bay state, i. e. the value and the status of the bay overview are independent of the deleted elements.
Grounded only with CB closed Specify whether the grounding shall only be shown when the circuit breaker is closed. Tooltip text Enter a text in the edit box. This text is displayed as Tooltip in the active project.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
127
Graphic Objects 4.5 Display of Measured-Values Using the Script/Project Function
4.5
Display of Measured-Values Using the Script/Project Function
The folder PAS CC V5.1/V6.0 available in the graphic object library under Measured/Metered Values includes the user objects PAS CC Measured Value V6.0 Integrated C Script and PAS CC Measured Value V6.0 Project Function. These user objects already include typical functions. Use these objects to show measured values with an upper and a lower limit.
Note Use the objects Measured Value Integrated C Script to implement various functions by means of script changes to individual objects. Use the objects Measured Value Project Function in order to control the objects from a central level.
4.5.1
Defining the Measured-Value Output Proceed as follows to define the measured-value output:
• Right-click the object and select Properties from the context menu. • The parameters are located in the Properties tab under SICAM.
Note Scripts stored in the user objects must not be changed in the Events tab.
Value (*.Counter)
• Right-click the green bulb icon in the Value (*.Counter) row of the Dynamic column. Next, select Tag from the context menu in order to assign the output box a SICAM PAS tag (e. g. MW1.Counter).
Note For Value (*.Counter), the structure element Counter must always be used.
Limit Max/Min You can define two upper and two lower limits for the measured value. The text color changes when the value exceeds the first upper limit or falls below the first lower limit. The display starts to blink when the value exceeds the second upper limit or falls below the second lower limit.
• Double-click Limit Max/Min in the Attribute column. • Enter the limit value.
128
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Graphic Objects 4.5 Display of Measured-Values Using the Script/Project Function
Current For the Value (*.Counter) attribute, a parameter is entered in the Current column. With this parameter, you can define the refresh cycle of the measured value. The following parameter values can be defined: Picture Cycle, Window Cycle, Upon Change and time values between 250 milliseconds and one hour. Besides this, user cycles can be defined. 500 milliseconds is the default setting. The refresh cycle of the diagram can be defined using the attribute Update Cycle under Miscellaneous in the Properties of the diagram. Recommendation: 2 seconds.
• Double-click the entry in the Current column. Select the parameter from the drop-down list box which opens. Tooltip text The tooltip text provides the name of the object on which the mouse cursor is positioned during runtime.
• Double-click Tooltip Text in the Attribute column. • Enter the desired text. Divider The measured value is divided by the entered value and shown.
• Double-click Divider in the Attribute column. • Enter the desired value. Digits The measured value is shown with the number of entered digits.
• Double-click Digits in the Attribute column. • Enter the desired value.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
129
Graphic Objects 4.5 Display of Measured-Values Using the Script/Project Function
Font color value The font color and the background color of the value can be selected. White is the default setting for the background color. The font color depends on the state. A specific font color is set by default for each of the following states: Table 4-17
Font color value
Color
State
Meaning
Black
Normal state
Cyan (turquoise)
Not topical
The measured value is not topical.
Gray
Not Connected
The measured-value object is not linked to a tag.
Dark cyan (petrol)
PAS not OK
The connection between SICAM PAS CC and SICAM PAS is interrupted.
Red
Limit Max 1
The defined first upper limit of the measured value has been exceeded.
Blue-gray
Limit Min 1
The measured value has fallen below the defined first lower limit.
Pink
Overflow
A measured-value overflow has occurred.
Blue
Substituted
The measured value has been substituted.
Unit The font color and the background color of the unit can be selected. Red and gray are the default settings.
• Double-click Unit in the Attribute column. • Enter the text to be shown as unit. Value range of the measured-value object Figures with up to 7 digits can be shown using the measured-value object. The WinCC data type does not allow more digits. The substitute dialog is set for the display of 5 positions before and 2 positions after the decimal point. It has to be reconfigured if another format is required. The dialog is a user object which has been configured according to WinCC conventions. Substitute function refer to Section 5.3.2.2
130
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Graphic Objects 4.6 Topological Coloring
4.6
Topological Coloring
Overview Using topological coloring, the states of a power network can be represented by means of different colors in SICAM PAS CC. All adjacent graphic objects of a feeder are assigned the same color. The uniform color assignment is interrupted if a control element is open. In terms of topological coloring, a power network consists of lines (connectors), transformers, switches and further objects. To be able to forward information, the network components must be interconnected through their connecting points. Each connecting point consists of one input and one output. Connector
Connector
Information
Information
Node
Connector
Disconnector
Information
netzwerk1.tif
Figure 4-34 Network consisting of three connectors, two nodes and one disconnector
Incoming information is forwarded to the entire network and output via open connecting points. This mechanism works in any direction.
The following graphic objects support topological coloring: Circuit breakers and disconnectors Bay overview Feeders, ground disconnectors and connectors Connectors and nodes
Connectors in the SICAM graphic object library support the same functions as connectors in the SIMATIC WinCC object palette. The graphic objects Feeder, Ground Disconnector, Connector and Node are available in the Topology\PAS CC V6.x folder of the SICAM graphic object library.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
131
Graphic Objects 4.6 Topological Coloring
In order to create a station diagram, you insert the controls and feeders and link them to connectors. Run a test as soon as the diagram has been completed in order to ensure that the diagram does not include errors. Unless errors are detected, the connection scripts for the graphic objects are created automatically (refer to Section 4.6.4). The color is entered as an RGB value. The above-mentioned graphic objects are implemented as IndustrialX Controls which are able to receive and transmit the RGB value.
4.6.1
Circuit Breaker/Disconnector and Bay Overview A closed circuit breaker/disconnector works like a connector. An incoming value is transmitted to the output of the other connecting point. An open circuit breaker/disconnector does not forward any value. The value of the attribute DefaultElectricColorOFF is output when the graphic object is in the OFF state.
132
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Graphic Objects 4.6 Topological Coloring
4.6.2
Feeder and Ground Disconnector The Feeder graphic object is an active component that initiates coloring in the WinCC diagram. It transmits its value to the linked graphic objects. Each power network in which topological coloring is to be realized must have a feeder. The ground disconnector is a special feeder. It always transmits the RGB value for grounding to the linked graphic objects. As a connector, the object is passive, i. e. it only forwards RGB color information arriving at one of the inputs to the corresponding output.
4.6.2.1 Properties of the Feeder and the Ground Disconnector Each feeder and ground disconnector must be assigned properties.
• Double-click the graphic object. The SICAM PAS CC FD/GND Properties dialog opens.
pascc430.tif
Figure 4-35 Properties of SICAM PAS CC FD/GND
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
133
Graphic Objects 4.6 Topological Coloring
Type One of the following types can be selected for a graphic object: Feeder, ground disconnector or connector. The following subsections provide detailed descriptions of the functions of the individual graphic objects. Each type is assigned its own, predefined style, but the representation style can be customized to meet individual requirements. Table 4-18
Representation of a feeder, ground disconnector or connector
Graphic Object
Graphic
Feeder
Ground disconnector
Connector
Orientation For all representation styles apart from Bitmap, the orientation angles 0°, 90°, 180°, and 270° can be defined. Feeder The type of tag to be used for the supply of the feeder can be selected in the Feeder section. The parameters Level ON/OFF and hysteresis are only relevant for the type Measured Value. Bitmap In the Bitmap representation mode, individual diagrams can be shown. If the path of the defined bitmap is not correct, the default diagram is shown. Diagrams cannot be rotated in Bitmap mode.
134
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Graphic Objects 4.6 Topological Coloring
4.6.2.2 Functions of the Feeder and the Ground Disconnector Feeder The feeder is the source of the color assignment in a topologically colored network section. The color of a feeder is indicated as an RGB value on its two outputs, e. g. FF0000 in hexadecimal notation represents Red, OFF. The feeder displays a value each time the RGB value changes. It receives this RGB value from a connected tag. The value is shown on the two connecting points. Each of the four possible electric states of a feeder is assigned a distinctive color. The colors are set by default, but can also be freely selected from a color palette. Table 4-19
Default colors
State
Color
INVALID
Cyan (turquoise)
OFF
Green
ON
Red
GROUND
Pink
The feeder only outputs RGB values. The input value, however, can be an RGB value, a message or a measured value. The feeder converts messages and measured values into RGB values using a hysteresis function. Color ON
OFF
RGB (255, 0, 0) Hysteresis
Level ONOFF
Measured/metered value
RGB (0, 128, 0)
OFF
ON
hysteresis.tif
Figure 4-36 Measured-value processing with hysteresis
The parameters of the hysteresis function must be defined via the properties of the graphic object.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
135
Graphic Objects 4.6 Topological Coloring
pascc524.tif
Figure 4-37 Object properties of a feeder
The LevelONOFF attribute specifies the threshold for switching from ON to OFF state. The Hysteresis attribute defines the difference between the switch-on and the switch-off point. Ground disconnector The ground disconnector graphic object is a special feeder. It always shows the RGB value for grounding via its two connecting points. It is therefore not necessary to connect a tag to the ground disconnector or to convert a value.
136
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Graphic Objects 4.6 Topological Coloring
4.6.3
Connectors and Nodes Connectors and nodes are WinCC graphic objects.
4.6.3.1 Connector Connectors are used to link graphic objects. A connector can be linked to a graphic object on both ends. A connection is automatically realized when one end of a connector is located next to a graphic object. As soon as the connection has been successfully defined, the color changes from green to red. For more detailed information regarding connectors, refer to the online help of the Graphics Designer. Connecting points When a graphic object is moved, the linked end of the connector moves as well. The connector itself cannot be moved when linked to a graphic object. A connector must always be linked to a graphic object on both ends.
4.6.3.2 Node Two connectors are linked to the Node graphic object. A node can be represented as a circle or as a rectangle. A node can be used to link several connectors or to create a branch. Up to four connectors can be linked to the same node. Connector 1
Connector 2
Connector 3 feeder09.tif
Figure 4-38 Node
Note In order to ensure that the link to the connector can be conveniently defined, do not draw the node too small.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
137
Graphic Objects 4.6 Topological Coloring
4.6.4
SICAM Toolbar V6.0 The SICAM Toolbar V6.0 is an extension of the Graphics Designer. It supports you in the topological coloring of a station diagram.
Disabling/enabling the SICAM Toolbar The SICAM Toolbar is enabled by default. To disable or re-enable it, click Tools > Addin Manager. The enabled SICAM Toolbar is shown in the toolbar of the Graphics Designer. Functions The SICAM Toolbar provides the following functions: Generate connection scripts for all SICAM objects C scripts for the coloring of adjacent objects are automatically written into the OnOutput1 and OnOutput2 event functions of the graphic objects. Progress and error messages are shown in the Reporter. Remove connection scripts for all SICAM objects The C scripts for the coloring of adjacent objects are removed in the OnOutput1 and OnOutput2 event functions of the graphic objects. The event functions, however, are not removed. Progress and error messages are shown in the Reporter. Program lines inserted by the user are maintained. A script is completely removed unless it includes further instructions in addition to the program lines for topological coloring. Delete connection event functions for SICAM objects The event functions OnOutput1 and OnOutput2 of the graphic objects are removed. The connection scripts in the event functions, including all instructions added by the user, are lost. Progress and error messages are shown in the Reporter. Specify selection area (see below) Select identical objects Select all graphic objects which correspond to the type of the selected graphic object. It is also possible to select several object types simultaneously. Invert selected objects The current selection is inverted. Selected graphic objects are deselected; deselected graphic objects are selected. The function Specify Selection Area influences the following two functions in the table. You can use it to define for which diagram area the selection functions shall apply. If no processing area has been defined, the selection functions apply for the entire diagram.
138
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Graphic Objects 4.6 Topological Coloring
You can use the selection functions in order to simultaneously modify the properties of several graphic objects of the same type (e. g. switches). Proceed as follows to execute a selection function:
• Click to select the processing area in your diagram. • Next, click Specify Selection Area. The graphic objects in the processing area are registered inside the program.
• Click on a free space on the diagram. All visible markers are removed.
• Select the reference object. • Next, click Select identical objects. All graphic objects of the same type are selected in the processing area. As soon as a selection function has been completed, the program-internal registration of the processing area is deleted.
• Right-click on one of the selected graphic objects. • Open the Object Properties dialog window. You can now e. g. modify the ColorON attribute simultaneously for all selected graphic objects.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
139
Graphic Objects 4.6 Topological Coloring
4.6.5
Using Topological Coloring The following requirements must be met to use the topological coloring function: The graphic objects Feeder and Ground Disconnector must be used in your station
diagrams. Connectors and nodes must be added instead of simple lines and circles. Feeders must be configured and Event functions and scripts must be created for topological coloring.
The present subchapter presents an example for the creation of a diagram using topological coloring. In the example, a measured value is used as source for the topological coloring. The following section describes how to draw and configure a branch. Alternatively, you can use default branches from the library. Positioning graphic objects Proceed as follows to position graphic objects on your workspace:
• Click View > Library to open the Library window. • Select a Feeder under Topology > PAS CC V6.x.
topo01.tif
Figure 4-39 Inserting graphic objects
• Hold down the mouse button and move the cursor over the workspace until the graphic object has reached the desired position.
• Insert the controls from the library. • Insert a ground disconnector. The ground disconnector is available in the library under Topology > PAS CC V6.x.
140
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Graphic Objects 4.6 Topological Coloring
topo02.tif
Figure 4-40 Diagram with a feeder, controls and a ground disconnector
Inserting nodes and connectors
• Insert the node into the diagram. The nodes and connectors are available in the library under Topology > PAS CC V6.x.
• Insert the connectors. When inserting the connectors, make sure that the connection to the graphic object is properly defined. A successful connection is represented by a red dot.
topo03.tif
Figure 4-41 Diagram with nodes and connectors
Note After renaming an active graphic object (e. g. a feeder, switch or node), all connections to this graphic object must be redefined. To do this, separate the connection in the diagram and redefine it afterwards. This ensures that the new name is entered in the properties of the connector.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
141
Graphic Objects 4.6 Topological Coloring
Configuring a feeder Proceed as follows to configure a feeder:
• Double-click the feeder. The dialog window SICAM PAS CC FD/GND Properties opens.
topo04.tif
Figure 4-42 Configuring a feeder
Note The setting Connector for this graphic object mainly serves for the representation of an ordinary connector for an inactive feeder. A dynamic representation can be defined by means of a tag or a script.
• Under Feeder, select Measured Value in order to use a measured value as source for topological coloring.
• Set the hysteresis values. • Click OK to close the dialog window. Linking feeders to tags Each feeder must be linked to a tag. The color value generated based on this tag is fed into the graphic network. To link the feeder to a tag:
• Right-click the feeder and select Properties from the context menu. The Object Properties dialog opens.
• Next, select Control Properties from the Properties tab card.
142
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Graphic Objects 4.6 Topological Coloring
topo05.tif
Figure 4-43 Feeders, connecting tags
• Right-click the bulb icon next to SICAMValue. • Next, select Tag from the context menu. The tag selection dialog opens.
• Select the tag which includes the *.Value structure element of your measured value. • Click OK to close the dialog window. The tag is now linked to the Feeder graphic object.
• Assign the attribute SICAMValueValidity to the tag which includes the *.Validity structure element of your measured value.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
143
Graphic Objects 4.6 Topological Coloring
Creating event functions and scripts for topological coloring After inserting the required graphic objects and linking them to the appropriate connectors, the event functions and scripts have to be created.
• Click the corresponding icon in the SICAM toolbar (see screenshot below).
topo06.tif
Figure 4-44 Creating event functions and scripts
After checking the topology, the connection scripts are created. You can view the progress in the Reporter. For more detailed information on error messages, refer to Section 4.6.6.
topo07.tif
Figure 4-45 Viewing the progress in the Reporter
To trace an error, you can click on the alarm message for an object in the Reporter. The graphic object which has caused the alarm is now highlighted in the diagram.
144
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Graphic Objects 4.6 Topological Coloring
Viewing a script The created scripts (e. g. for a circuit breaker) can be viewed in the editor.
• Right-click the circuit breaker and select Properties from the context menu. The Object Properties dialog opens.
• Highlight the entry Object Events in the Events tab card. • Double-click OnOutput2 in the Execute in case of column. The editor opens.
topo08.tif
Figure 4-46 Viewing a script for topological coloring
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
145
Graphic Objects 4.6 Topological Coloring
4.6.6
Notes on Configuration Before the topological coloring scripts are created, the connections are checked. The Reporter shows the result of the check, warnings or error messages. An error message is displayed if the topological coloring could not be performed correctly during runtime. A warning is shown if the topological coloring would be performed, but if a discrepancy exists. A script is created if a warning occurs, but not in case of an error. The following table provides a list of erroneous connections. Table 4-20
List of erroneous connections
Erroneous Connections
...
Result of Check
Remark
Error The connector has not been completely linked.
Open connections can delay the build-up of a diagram. The open side of a connection can link automatically to another object.
Error Two connectors are linked without a node.
An additional connector or an additional node must be inserted.
Error Circular connection
Separate the circular connection. Avoid a loop in the network.
A circular connection is defined as a loop with one single active object (switch, bay overview, feeder and ground disconnector). A loop consisting e. g. of two switches is not considered as a circular connection.
Error The connector has been linked to an object which does not exist.
Do not rename the graphic object if a connection has been defined.
After renaming a graphic object, the connector information is not up to date. The connection must be separated and redefined.
Warning Connection to a graphic object which does not support topological coloring
146
Correct Connections
No topological coloring of this graphic object during runtime
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Graphic Objects 4.6 Topological Coloring
Table 4-20
List of erroneous connections (Forts.)
Erroneous Connections
Result of Check
Correct Connections
Remark
Warning The graphic object is not linked on one input/output.
Switches and bay overviews should be linked on both ends. Feeders and ground disconnectors must only be linked on one side.
Warning The graphic object has more than one connection on one of its inputs/outputs.
For graphic objects, one single connection can be defined per input/output.
Error Graphic object does not exist
Do not edit the object while it is checked. Check the properties of the connector.
If the object is renamed, the properties of the connector are not updated.
Error The value is not correct.
Define a consistent value.
The colors for ON and Disturbed must be unique for all graphic objects in a diagram.
Error No event function detected
Install the correct graphic objects.
The event functions OnOutput1 and OnOutput2 must exist in the graphic object.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
147
Graphic Objects 4.6 Topological Coloring
148
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Detailed Information Regarding SICAM PAS CC
5
Overview This chapter provides detailed information on SICAM PAS CC. Contents 5.1
SICAM PAS Channel DLL - Tag Management
150
5.2
Alarm Logging
152
5.3
SICAM Functions
157
5.4
System Control
176
5.5
Language Settings
188
5.6
Group Parameterization
196
5.7
Monitoring WinCC Tags
207
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
149
Detailed Information Regarding SICAM PAS CC 5.1 SICAM PAS Channel DLL - Tag Management
5.1
SICAM PAS Channel DLL - Tag Management
Overview The SICAM PAS channel DLL provides for the connection of SICAM PAS CC to the SICAM PAS Full Server. Besides this, it controls this process data connection. The (process) connection between SICAM PAS and SICAM PAS CC or SIMATIC WinCC is ensured by the SICAM PAS channel DLL. The SICAM PAS channel DLL logs on to the SICAM PAS Full Server during runtime in order to exchange process information.
pascc403.tif
Figure 5-1 SICAM PAS channel DLL in the WinCC Explorer
Performance characteristics The SICAM PAS channel DLL has the following performance characteristics: Efficient behavior during runtime Time stamps from the process via raw data tags and the SICAM PAS normalization DLL Automatic stop and start via SIMATIC WinCC and SICAM PAS Operation Connection of different or redundant SICAM PAS projects parallel to SIMATIC WinCC with
automatic switchover in case of faults Tasks The SICAM PAS channel DLL performs the following tasks: Checking the consistency of the parameter settings Logon to the SICAM PAS Full Server Forwarding of display and indication tags to SIMATIC WinCC Forwarding of commands to SICAM PAS Monitoring of the connection to the SICAM PAS Full Server
150
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Detailed Information Regarding SICAM PAS CC 5.1 SICAM PAS Channel DLL - Tag Management
Compatibility key A compatibility key is used in order to ensure that the project version of SICAM PAS is compatible with the project version of SICAM PAS CC. This code is checked by a script upon activation of the runtime operation. If an error is detected during this check, the WinCC Runtime is stopped and an error message is shown. Tags The SICAM PAS channel DLL logs on to the SICAM PAS Full Server in order to poll the required tags. Indication tags and display tags for the representation of process diagrams are polled during this process. Additionally, system-internal tags (e. g. the project ID, HMI Interface ID, compatibility key) are required from the SICAM PAS Full Server. The distinction between a display tag and/or an indication tag is based on the specific tag information created by the SICAM PAS Wizard during the creation of the tags. Furthermore, the ValueID of the corresponding tags is included in this specific tag information. Via the ValueID, the SICAM PAS channel DLL can perform an assignment between DSI tags and WinCC tags. SIMATIC WinCC uses display tags for process visualization. The individual process
diagram determines which tags are required for this purpose. The SICAM PAS channel DLL logs on to the SICAM PAS Full Server in order to poll the required display tags. Unlike the display tags, the indication tags are not determined by the process diagram. The
SICAM PAS channel DLL logs on to the SICAM PAS Full Server in order to poll all indication tags. Licensing With regard to the SICAM PAS channel DLL, it must be distinguished between the following two licenses: the license for SICAM Configuration and the license for SICAM Runtime. If no license is available for SICAM Configuration, the access to the properties of connections
and tags is blocked. If the license for SICAM Runtime is missing, the access to the tags of the
SICAM PAS PROTOCOL SUITE is blocked.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
151
Detailed Information Regarding SICAM PAS CC 5.2 Alarm Logging
5.2
Alarm Logging
The Alarm Logging component of SIMATIC WinCC serves as a basis for the alarm logging system. It ensures that data is logged in the correct chronological order.
5.2.1
Alarm Logging System The SICAM PAS alarm logging system differs from standard logging systems with regard to the information transmitted with an alarm message. By default, SIMATIC WinCC cyclically updates all information regarding the process state. This mechanism is sufficient for visualization in diagrams. Alarms, however, must not be lost and must be processed in the correct chronological order.
Raw data tag SICAM PAS alarms are transmitted to SIMATIC WinCC as raw data tags with a time stamp and additional values. Normalization DLL For the SIMATIC WinCC Alarm Logging component, a SICAM PAS normalization DLL decodes the contents of the raw data tag. It creates a related alarm with a resolution of 1 millisecond in the alarm logging system. Correct chronological order Based on the time stamp of the raw data tag, alarms can be sorted chronologically in the alarm lists in order to ensure that they are shown in the correct order of their appearance.
152
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Detailed Information Regarding SICAM PAS CC 5.2 Alarm Logging
5.2.2
SICAM PAS Normalization DLL Combined with the SICAM PAS channel DLL, the SICAM PAS normalization DLL provides the basis for the alarming and logging of data in correct chronological order.
SICAM PAS normalization DLL The SICAM PAS normalization DLL evaluates the additional information transmitted in the process values and generates an alarm with the corresponding alarm texts in the alarm logging system. The file name is PASNORM.NLL. Additional information The following additional information is provided: Value Location Cause State Additional cause ID number Additional information Time status Flag (SICAM PAS Flag used by the alarm logging system to suppress internal messages
which are irrelevant for typical applications. This suppression corresponds to the default setting.)
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
153
Detailed Information Regarding SICAM PAS CC 5.2 Alarm Logging
Text library The normalization DLL retrieves the alarm texts from the text library. The related texts are stored in the text library in the language used. They can be viewed under Text Library > Open in the WinCC Explorer. Texts with the text IDs 599 to 2216 are available for new projects. These texts can be customized to meet the requirements of specific projects. Furthermore, the user can add additional language columns for translated texts.
pascc401.tif
Figure 5-2 Text library
The texts for the value of a process tag (e. g. ON/OFF) in the text library are subdivided into the value text groups 0 to 8. Value text group 0 is the default group, and its texts should not be modified. The texts in groups 1 to 8 can be customized to meet specific requirements. The value text group whose texts are to be displayed in the alarm lists can be defined in the Value Text column for each alarm in the Alarm Logging System. Value text group 0 is the default group.
Note To browse for specific value text groups (e. g. value text group 5), use the function Edit > Find > Value Text Group 5. To show the value of an alarm instead of the alarm text, value text group 255 can be entered for this value.
154
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Detailed Information Regarding SICAM PAS CC 5.2 Alarm Logging
Alarm logging To open the Alarm Logging Editor in the WinCC Explorer, click Alarm Logging > Open. Enter the number of the value text group in the Value Text column. 0 is the default group.
pascc402.tif
Figure 5-3 Alarm logging
Note The value text group is only preset for process values for which a text can be shown. Measured/ metered values are always shown as numerical values.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
155
Detailed Information Regarding SICAM PAS CC 5.2 Alarm Logging
5.2.3
Using the Alarm Logging Extension In order to be able to use the alarm logging extension in a project, the alarm logging system must be generated in the project. Afterwards, SICAM PAS alarm messages can be imported into this alarm logging system.
Generating an alarm logging system Use the SICAM PAS Wizard to generate an alarm logging system in your new WinCC project which meets the requirements of SICAM PAS. The alarm logging system consists of alarm message blocks, classes, print layouts and texts. The corresponding graphic objects for the event list, the warning message list and the protection message list
are shown in the Graphics Designer under View > Library > Project Library > Alarm Logging Templates > PAS CC V6.x.
156
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Detailed Information Regarding SICAM PAS CC 5.3 SICAM Functions
5.3
SICAM Functions
Overview SICAM functions complement the default functions of SIMATIC WinCC. The SICAM functions are C scripts. When a project is created, they are copied as project functions and made available by the SICAM PAS Wizard. SICAM functions can be used for the processing of commands, alarms and measured values. C scripts can be opened and edited using the C Editor. For more detailed information, refer to the documentation of SIMATIC WinCC.
5.3.1
Commands Use the SICAM functions described in this section for issuing commands to SICAM PAS. The following functions are available: Table 5-1
SICAM functions for command execution
Name
Meaning
PAS_Command_Bitpattern_V500
Issuing of commands in the Unsigned Integer format
PAS_Command_Float_V500
Issuing of commands in the Float format
PAS_Command_Integer_V500
Issuing of commands in the Integer format
PAS_CommandExecute_V500
Command execution, for two-step command output
The SICAM command output functions are available in the WinCC Explorer under Global Script/C Editor/Project Functions/SICAMPAS/command. The various SICAM command output functions can be used depending on the individual tag type. By default, the functions PAS_Command_Bitpattern_V500, PAS_Command_Float_V500 and PAS_Command_Integer_V500 perform the complete command output. In order to transmit the command in two steps, you can customize the scripts and additionally call up the PAS_Command_Execute_V500 function. The related description is available in the corresponding scripts.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
157
Detailed Information Regarding SICAM PAS CC 5.3 SICAM Functions
pascc701.tif
Figure 5-4 SICAM command output functions
Note Using the functions in the SICAMPCC folder, you can further use diagrams created for SICAM PCC V4.
158
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Detailed Information Regarding SICAM PAS CC 5.3 SICAM Functions
5.3.1.1 Command for Bit Pattern Values Format The SICAM command output function in the Bit Pattern (Unsigned Integer) format has the following structure: void PAS_Command_Bitpattern_V500(char* p_cTagName, DWORD p_dwValue, DWORD p_dwValueType, DWORD p_dwDuration) Description Use this function to issue a command in the Bit Pattern format. The name of the command tag is used as transfer parameter (e. g. Bay01_device01 or Bay01_device01.value). The tag can be any structure element (Value, Cause, Valuetype, CmdCounter). Additionally, you transfer a bit pattern, the number format (e. g. 18 setpoint digital 8 bits) and the command duration in milliseconds. For more detailed information regarding number formats, refer to Section A.3. Suggested trigger Suggested trigger for the function PAS_Command_Bitpattern: As trigger for this function, you can use any action of an object, e. g. a click on a button.
Note Copy the script file before performing changes and save it under a different name. Modify the copy of the script file. The original of the script file will be retained.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
159
Detailed Information Regarding SICAM PAS CC 5.3 SICAM Functions
5.3.1.2 Command for Floating Point Values Format The SICAM command output function in the Float format has the following structure: void PAS_Command_Float_V500(char* p_cTagName, float p_fValue, DWORD p_dwValueType, DWORD p_dwDuration) Description Use this function to issue a command in the Float format. The name of the command tag is used as transfer parameter (e. g. Bay01_device02 or Bay01_device02.value). The tag can be any structure element (Value, Cause, Valuetype, CmdCounter). Additionally, you transfer a value of the type Float (e. g. in order to output an analog setpoint), the number format (e. g. 22 for an analog setpoint) and the command duration in milliseconds. For more detailed information regarding number formats, refer to Section A.3. Suggested trigger Suggested trigger for the function PAS_Command_Float: As trigger for this function, you can use any action of an object, e. g. a click on a button.
Note Use a Windows object of the type Slider Object (in the Graphics Designer of SIMATIC WinCC) in order to create a variable definition of an analog setpoint in the floating point format via the value structure element.
Note Copy the script file before performing changes and save it under a different name. Modify the copy of the script file. The original of the script file will be retained.
160
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Detailed Information Regarding SICAM PAS CC 5.3 SICAM Functions
5.3.1.3 Command for Signed Integer Values Format The SICAM command output function based on the Integer format has the following structure: void PAS_Command_Integer_V500(char* p_cTagName, int p_iValue, DWORD p_dwValueType, DWORD p_dwDuration) Description Use this function to issue a command in the PAS_Command_Integer format. The name of the command tag is used as transfer parameter (e. g. Bay01_device03 or Bay01_device03.value). The tag can be any structure element (Value, Cause, Valuetype, CmdCounter). Additionally, you transfer the switching direction (1=OFF, 2=ON for a pulse command), the number format (e. g. 14 for a pulse command) and the command duration in milliseconds. For more detailed information regarding number formats, refer to Section A.3. Suggested trigger Suggested trigger for the function Command Output with the Number Format Integer: As trigger for this function, you can use any action of an object, e. g. a click on a button.
Note Copy the script file before performing changes and save it under a different name. Modify the copy of the script file. The original of the script file will be retained.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
161
Detailed Information Regarding SICAM PAS CC 5.3 SICAM Functions
5.3.1.4 Command Execute Format The Command Execute function has the following structure: void PAS_CommandExecute_V500(char* p_cTagName) Description This function executes a command. To do this, the value of the structure element CmdCounter of the command tag is increased. The name of the command tag is used as transfer parameter. The tag can be any structure element (Value, Cause, Valuetype, CmdCounter). The Command Execute function is used as second step of a command execution. As the first step, you can e. g. use the SICAM command output function. In this case, however, the lines for the command execution have to be commented in the C script of the output command!
Note Copy the script file before performing changes and save it under a different name. Modify the copy of the script file. The original of the script file will be retained.
162
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Detailed Information Regarding SICAM PAS CC 5.3 SICAM Functions
To comment the script lines:
• Open the C script using the C editor.
pascc702.tif
Figure 5-5 Commenting command lines
• To comment the command execution lines (selected lines), add two slashes at the beginning of each line.
• Save the modified script. Suggested trigger Suggested trigger for the Command Execute function: As trigger for this function, you can use any action of an object, e. g. a click on a button.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
163
Detailed Information Regarding SICAM PAS CC 5.3 SICAM Functions
5.3.2
Substitute Values
Overview Via SICAM PAS CC, values in SICAM PAS can be manually updated/substituted. For example, a substitution is required if there is no connection to the device/primary technology level although values are required in SICAM PAS. SICAM functions are available for the substitution of values. The following values can be substituted: Bit pattern values Measured values (floating point values) Switch positions (signed integer values)
Further information refer to Section 4.3.6.
Values are substituted by means of the following two subfunctions: Setting the value of the message to the substituted value and setting the status (validity) of
the message to substituted. Incrementing the value of the structure element WBCounter (Write-Back-Counter) in order
to ensure that the value is substituted in SICAM PAS. For more detailed information regarding the structure of the indication tags, refer to Section A.
A substitution can be performed provided that the message is in one of the following states: Invalid Not topical Bay blocking set Substituted
The following functions are available: Table 5-2
SICAM value substitution functions
Name
Meaning
PAS_Substitute_Bitpattern_V600
Substitution of values in the Unsigned Integer format
PAS_Substitute_Float_V600
Substitution of values in the Float format
PAS_Substitute_Integer_V600
Substitution of values in the Integer format
The SICAM command output functions are available in the WinCC Explorer under Global Script/C Editor/Project Functions/SICAMPAS/command. Various SICAM substitution functions can be used depending on the individual number format.
164
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Detailed Information Regarding SICAM PAS CC 5.3 SICAM Functions
5.3.2.1 Substitution of Bit Pattern Values Format The SICAM function for the substitution of values in the Bit Pattern (Unsigned Integer) format has the following structure: void PAS_Substitute_Bitpattern_V600(char* p_cTagName, DWORD p_dwValue) Description Use this function to substitute a value in the Bit Pattern format. To do so, the tag name and the substitute value must be transferred to the function. The tag can be any structure element of a SICAM structure tag (Value, Cause, Valuetype, CmdCounter). For more detailed information regarding number formats, refer to Section A.3. Suggested trigger Suggested trigger for the function PAS_Substitute_Bitpattern: As trigger for this function, you can use any action of an object, e. g. a click on a button.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
165
Detailed Information Regarding SICAM PAS CC 5.3 SICAM Functions
5.3.2.2 Substitution of Floating Point Values Format The SICAM substitution function for values in the Float format has the following structure: void PAS_Substitute_Float_V600(char* p_cTagName, float p_fValue) Description Use this function to substitute a value in the Float format. To do so, the tag name and the substitute value must be forwarded to the function. The tag can be any structure element of a SICAM structure tag (Value, Cause, Valuetype, CmdCounter). For more detailed information regarding number formats, refer to Section A.3. Suggested trigger Suggested trigger for the function PAS_Substitute_Float: As trigger for this function, you can use any action of an object, e. g. a click on a button. The measured-value object Measured value display from the graphic object library uses this SICAM function for the substitution of values. Setting parameters for value substitutions To set the parameters for the substitution of a floating point value:
• Add Measured value display from the graphic object library to your diagram. This object is available under Measured/Metered Value > PAS CC V6.0.
• Insert the Substitution Dialogs graphic object from the same folder. The DlgSubstitute graphic object provides the dialog for the entry of the substitute value. DlgConfirm provides the dialog for the confirmation of the substitution. The CloseMeasuredValueDialoges graphic object automatically closes the value substitution dialogs. The measured-value object is always visible during runtime. By default, the two dialogs are not shown during runtime. They are only shown if requested. Several measured-value objects can be included in the same diagram. The Value Substitution Dialogs graphic object must be inserted only once in each WinCC diagram. During runtime, the dialogs are shown next to the measured-value object when you right-click the measured-value object (provided that all conditions for the substitution are met). The position of the dialogs can be defined in the C script of the measured-value object (PAS_ShowDialogSubstitute_V600 function).
166
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Detailed Information Regarding SICAM PAS CC 5.3 SICAM Functions
pascc530.tif
Figure 5-6 Inserted graphic objects
During runtime, the dialogs show the second half of the tag name at the position. int is shown if the tag has the name Fullsever1_measuredvalue_int.*. The tag must now be linked to the measured-value object.
• Right-click the I/O field and select Properties from the context menu. • Select SICAM in the Properties tab of the Object Properties dialog. • Right-click the bulb icon in the Value (*.Counter) row of the Dynamic column. Select Tags... from the context menu.
• Select the desired tag of the type *.Counter and click OK. • Close the Object Properties window. Substitution during runtime A value substitution during runtime is performed as follows:
• Start the runtime. • Click on the output box of the measured-value object. The dialog for entering the substitute value pops up. The current tag value is shown by default.
Note This dialog is not shown if the status of a message does not allow for a value substitution (see “Overview” on page 164). Unless an operator action is performed, the value substitution dialogs are closed automatically after 30 seconds. In this case, the substitution is not executed.
pascc531.tif
Figure 5-7 Dialog window for entering a value
• Enter the value and click OK to confirm.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
167
Detailed Information Regarding SICAM PAS CC 5.3 SICAM Functions
The dialog window for confirming the value substitution opens.
pascc532.tif
Figure 5-8 Confirmation dialog
• Click Execute to confirm the action. The value is now substituted. The substitute value is shown in the measured-value object in the color of the Substituted status. The actions requested in the dialogs can also be performed by pressing the ENTER and ESC keys on the keyboard.
5.3.2.3 Substitution of Integer Values Format The SICAM substitution function for values in the PAS_Substitute_Integer format has the following structure: void PAS_Substitute_Integer_V600(char* p_cTagName, int p_iValue) Description Use this function to substitute a value in the PAS_Substitute_Integer format. To do so, the tag name and the substitute value must be transferred to the function. The tag can be any structure element (Value, Cause, Valuetype, CmdCounter). For more detailed information regarding number formats, refer to Section A.3. Suggested trigger Suggested trigger for the function Substitution with Number Format Integer: As trigger for this function, you can use any action of an object, e. g. a click on a button. For more detailed information regarding the substitution of switch positions, refer to Section 4.3.6.
168
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Detailed Information Regarding SICAM PAS CC 5.3 SICAM Functions
5.3.3
General SICAM Functions
Overview Use the SICAM functions described in this section for the processing of alarm messages and measured values. The following functions are available: Table 5-3
General SICAM functions
Name
Meaning
PAS_CreateMessage_V500
Create a message with text from the text library
PAS_CreateMessageStr_V500
Create a message with text transfer
PAS_CreateMessageStr2_V500
Create a message with transfer to two texts
PASCC_OnMeasuredValue
Measured-value processing internal function for the measured-value object V5.0
PAS_ProcessMeasuredValue_510
Measured-value processing internal function for the measured-value object V5.10
The SICAM functions for the processing of messages and measured values are available in the WinCC Explorer under Global Script/C Editor/Project Functions/SICAMPAS/misc.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
169
Detailed Information Regarding SICAM PAS CC 5.3 SICAM Functions
pascc703.tif
Figure 5-9 General SICAM functions
5.3.3.1 Creating a Message Using Texts from the Text Library Format The Create Message function has the following structure: void PAS_CreateMessage_V500(DWORD dwMsgNr, DWORD dwZustand, DWORD dwTextID) Description This function creates a message in the SIMATIC WinCC Alarm Logging System. This function requires the message number, the SIMATIC WinCC message status (1 = Raised, 2 = Cleared) and the ID of the text to be shown in the Value column.
Note The new message must be created with this ID in the alarm logging system first.
170
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Detailed Information Regarding SICAM PAS CC 5.3 SICAM Functions
5.3.3.2 Creating a Message with Text Transfer Format The Create Message function has the following structure: void PAS_CreateMessageStr_V500(DWORD dwMsgNr, DWORD dwZustand, char* lpszMsgText) Description This function creates a message in the SIMATIC WinCC Alarm Logging System. This function requires the message number, the SIMATIC WinCC message status (1 = Raised, 2 = Cleared) and the text to be shown in the Value column.
Note The new message must be created in the alarm logging system first.
5.3.3.3 Creating a Message with Transfer to Two Texts Format The Create Message function has the following structure: void PAS_CreateMessageStr2_V500(DWORD dwMsgNr, DWORD dwZustand, char* lpszMsgBlock1txt, char* lpszMsgBlock3txt) Description This function creates a message in the SIMATIC WinCC Alarm Logging System. It requires the message number, the SIMATIC WinCC message status (1 = Raised, 2 = Cleared) and the two texts to be shown in the Value and Cause columns.
Note The new message must be created in the alarm logging system first.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
171
Detailed Information Regarding SICAM PAS CC 5.3 SICAM Functions
5.3.4
Using SICAM Functions The SICAM functions can be used to assign dynamic display properties to graphic objects in SIMATIC WinCC station diagrams.
Assigning dynamic display properties Using dynamic display properties, you can visualize the different states of a station in control and monitoring direction. C action Via the C action, you can use all functions provided by SIMATIC WinCC. These also include the SICAM functions. Commands Use the Commands SICAM functions for the assignment of dynamic display properties in control direction. General SICAM functions The general SICAM functions allow you to visualize the different states of a station in monitoring direction.
172
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Detailed Information Regarding SICAM PAS CC 5.3 SICAM Functions
5.3.5
Global Actions The Global Actions are copied into the project when importing the SICAM PAS graphic object library. They are available in the WinCC Explorer under Global Script/C Editor/Actions/Global Actions.
Note Use the SicamPAS_ConnectionChange.pas script to control the redundancy switching of the SICAM PAS CC channel. For more detailed information, refer to Section 7.1.
SicamPAS_Compkey During runtime, this global action checks whether the compatibility keys of the SICAM PAS CC project and the SICAM PAS project are identical. If this is not the case, a message is shown when the runtime is terminated. Sicam_AsyncTicks The Sicam_AsyncTicks Global Action writes into the internal administrative tags @AsyncTick (refer to Section 4.6). These tags are used to initiate topological coloring or a change in colors. SicamPas_AlarmListFilter The SicamPas_AlarmListFilter.pas C script transfers the settings performed via the Message List Filter Checkbox to the external administrative tags of the connected communication channels. When the runtime is terminated, the filter setting can be saved for the next start. To do this, the AlarmListFilter_WriteExt tag must be set to 1. This function is integrated in the Quit Button graphic object.
Note The AlarmListFilter_WriteExt tag can only be used when terminating the runtime (consistency of the tag management).
SICAM_FlashSyn The SICAM_FlashSyn Global Action writes into the internal administrative tags @Flashxxx (refer to Section 5.4.1) in order to synchronize the blinking of IndustrialX Controls (until SICAM PAS CC Version 5.10).
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
173
Detailed Information Regarding SICAM PAS CC 5.3 SICAM Functions
5.3.6
Testing SICAM Functions The progress of the SICAM functions can be viewed during runtime. To do this, add an application window and a checkbox from the project library to your diagram.
Inserting an application window
• Select the Application Window object under Smart Objects in the Graphics Designer. •
Arrange the object in your diagram. The Window Contents dialog opens.
pascc704.tif
Figure 5-10 Adding an application window
• Select Global Script and click OK to confirm. The Template window opens.
pascc705.tif
Figure 5-11 Selecting a template
174
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Detailed Information Regarding SICAM PAS CC 5.3 SICAM Functions
• Select GSC Diagnosis and click OK to confirm. Adding a checkbox You must now add the graphic object to be used for enabling/disabling the output of debugging information.
• Add the graphic object CheckBox Enable Script Output from the graphic object library to your diagram.
pascc706.tif
Figure 5-12 Adding the graphic object CheckBox Enable Script Output
pascc707.tif
Figure 5-13 Diagram with graphic object CheckBox Enable Script Output
This checkbox allows you to enable/disable the output of debugging information during runtime.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
175
Detailed Information Regarding SICAM PAS CC 5.4 System Control
5.4
System Control
Overview When importing the SICAM PAS graphic object library, internal and external administrative tags and several Global Actions are additionally created in the project. They serve for system control only.
5.4.1
Administrative Tags
Internal administrative tags Internal administrative tags are available in the WinCC Explorer under Internal Tags in the SICAMAdmin group. Tags starting with an @ character are required for the internal management of SICAM PAS CC and are not available for the user. Table 5-4
176
Required internal administrative tags
Name
Type
TextIDOffset
Unsigned 32-bit value
Ackn. Blinking
Binary tag
@FlashFast
Signed 32-bit value
@FlashMedium
Signed 32-bit value
@FlashSlow
Signed 32-bit value
@Language
Unsigned 32-bit value
@AsyncTickx
Binary tag
@AlarmListFilter_WriteExt
Binary tag
@AlarmListFilter_ValueInt
Unsigned 32-bit value
ActivateControls
Binary tag
SubstVal_Float
Floating-point value
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Detailed Information Regarding SICAM PAS CC 5.4 System Control
External administrative tags External administrative tags are available in the WinCC Explorer under SICAM PAS PROTOCOL SUITE/PAS Data Server/Station Name in the SicamAdmin_xxx group. They must be assigned as described below. The name of all external administrative tags is composed of two sections: A designation, e. g. AlarmListFilter, and a series of numbers, e. g. 107. The series of numbers is determined by the individual station and is generated by the SICAM PAS Wizard. It consists of two sections separated by a 0. The first section (e. g. 1) indicates the ID of the PAS project, and the second section (e. g. 7) indicates the ID of the HMI Interface.
Table 5-5
Required external administrative tags
Name
Type
Meaning
AuthVID
Unsigned 32-bit value
for system-internal use
AlarmListFilter
Unsigned 32-bit value
for the definition of the filter function for the message/alarm list (refer to Section 5.4.3)
InitiatorCategory
Unsigned 32-bit value
for the cause ID
ConnectionState
Unsigned 32-bit value
Status of the connection to the SICAM PAS Full Server
ForceConnectionState
Unsigned 32-bit value
for controlling the connection to the SICAM PAS Full Server
Additional tags are available for system-internal use.
Note After a change of the ID of the PAS project or of the ID of the HMI Interface, check the assignment of the external administrative tags to the objects in the diagrams. The project ID can e. g. be modified in SICAM PAS (PAS UI - Configuration). The HMI Interface ID can change when the PAS CC interface is removed and generated again in SICAM PAS (PAS UI - Configuration) or when redundant WinCC connections are generated in a SICAM PAS project.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
177
Detailed Information Regarding SICAM PAS CC 5.4 System Control
5.4.2
Cause Identifier The cause ID is defined in the external administrative tag InitiatorCategory_xxx. The tag has the following significance:
2 = NEAR (default value) 3 = REMOTE The tag must be changed to the value 3 if SICAM PAS CC is to act as control center. To modify the value of the InitiatorCategory_xxx tag: The tag is available in the WinCC Explorer under Tag Management/ SICAM PAS PROTOCOL SUITE/PAS Data Server/Station Name/SICAMAdmin_xxx.
• Right-click the tag. • Select Properties from the context menu. The Tag Properties dialog opens.
pascc610.tif
Figure 5-14 Tag properties
• Click to open the Limits/Reporting tab card and define 3 as start value. • Next, click OK to confirm your setting.
Note The value of the InitiatorCategory_xxx tag can also be modified dynamically during runtime.
178
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Detailed Information Regarding SICAM PAS CC 5.4 System Control
5.4.3
Message List Filter Via the Checkbox Message List Filter graphic object, you can specify for what process data changes messages are to be entered in the message/alarm list. In the SicamPas_AlarmListFilter.pas C script, you must assign the AlarmListFilter_xxx external administrative tag.
Note If you do not use the Checkbox Message List Filter graphic object, the default settings (all options selected, startup GI and time status deselected) are used. To add the Checkbox Message List Filter graphic object to your diagram and to assign a tag:
• In the Graphics Designer, add the Checkbox Message List Filter object from the Project Library\Controls\PAS CC V6.x library directory to your diagram.
pascc604.tif
Figure 5-15 Checkbox Message List Filter object
Messages which refer to a value change cannot be deselected; they are always entered in the list. Apart from Startup GI and Time Status, all options are set by default.
• Under Global Actions, open the SicamPas_AlarmListFilter.pas C script.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
179
Detailed Information Regarding SICAM PAS CC 5.4 System Control
pascc605.tif
Figure 5-16 C-Script SicamPAS_AlarmListFilter.pas
The entry AlarmListFilter_xxx must be replaced by the corresponding alarm list filter tag.
• Select AlarmListFilter_xxx. • Next, select Edit > Tag Selection. The tag selection dialog is displayed.
pascc615.tif
Figure 5-17 Dialog window for selecting tags
• Select the tag (e. g. AlarmListFilter_1011) and click OK to confirm. The tag is inserted into the C script. The tag AlarmListFilter_1011 must now be entered as a trigger.
• In the C script, right-click the AlarmListFilter_1011 tag and select Info/Trigger from the context menu. The Properties dialog opens.
180
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Detailed Information Regarding SICAM PAS CC 5.4 System Control
pascc616.tif
Figure 5-18 Adding a trigger
• Select the Trigger tab card. • Delete the AlarmListFilter_xxx tag and add the AlarmListFilter_1011 tag. • Click OK to close the dialog window. • Compile and save the C script.
Note To save the filter settings also beyond the current runtime, the AlarmListFilter_WriteExt tag must be set to 1 in the Button Quit graphic object. This ensures that the filter settings are saved and reused for the next start of the runtime (refer to Section 5.3.5).
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
181
Detailed Information Regarding SICAM PAS CC 5.4 System Control
Structure of the AlarmListFilter tag
Note To define a permanent filter, you do not need to use the Message List Filter checkbox. Alternatively, you can set the start value of the AlarmListFilter_xxx tag directly to the desired value. The value is a bit combination as illustrated in Figure 5-15. If the bits are set, a new message is entered in the alarm lists as soon as the corresponding property of an item of information changes. Table 5-6
182
Value of the AlarmListFilter tag
Value (decimal)
Value (hex)
Meaning
0
0x00000000
Wert (cannot be disabled)
1
0x00000001
Status
2
0x00000002
Ort
4
0x00000004
Verursachung
8
0x00000008
Kennnummer
16
0x00000010
Zusatzinformation
32
0x00000020
Zeitstatus
64
0x00000040
Zusatzverursachung
256
0x00000100
Anlauf GA
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Detailed Information Regarding SICAM PAS CC 5.4 System Control
5.4.4
Switching Authority Do not use the external administrative tag AuthVID_xxx to control the switching authorities. Map the corresponding switching authority tags in the SICAM PAS UI. These tags are listed among the status tags of the SICAM PAS CC interface. Map status tags in monitoring direction only.
Note In order to be able to control the switching authority, the switching authority groups for the SICAM PAS interface must have been assigned in SICAM PAS. The following two graphic objects are available for implementing the switching authority: PAS switching authority (Authority checkbox)
This dialog provides the Read and Write buttons. During runtime, the content of the corresponding switching authority tag is read in and shown by clicking on
Read. the content of the checkbox is written in the corresponding switching authority tag by clicking
on Write.
pascc601.tif
Figure 5-19 Switching Authority checkbox PAS Switching Authority (Switching Authority button)
This dialog box provides a button for switching between Near and Remote during runtime. The button text changes depending on the current switching authority. Near and Remote in this dialog correspond to Near 1 and Remote 1 in the Switching Authority checkbox.
pascc607.tif
Figure 5-20 Switching authority button
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
183
Detailed Information Regarding SICAM PAS CC 5.4 System Control
To add the PAS Switching Authority graphic object to your diagram and assign a tag:
• In the Graphics Designer, add the PAS Switching Authority object from the library to your diagram.
• Assign the PAS Switching Authority object the related switching authority tag. • Select Properties from the context menu. The Object Properties dialog opens.
pascc602.tif
Figure 5-21 Properties of the PAS Switching Authority object
• Select Tags from the Properties tab card. • Right-click the Dynamic column in the OutputValue row. • Select Tags from the context menu. The tag selection dialog is displayed.
pascc603.tif
Figure 5-22 Tag selection
184
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Detailed Information Regarding SICAM PAS CC 5.4 System Control
• Select the corresponding switching authority tag and click on OK. While the WinCC project is active, the current setting of the corresponding switching authority tag is shown in the PAS Switching Authority object (PAS Switching Authority (complete)). You can now request a change of the switching authority tag via SICAM PAS.
• Change the settings in the PAS Switching Authority object and then click on Write to transmit them to SICAM PAS. The settings are transmitted to SICAM PAS and checked for reliability. If the requested switching authority is not permissible, it is reset to the previous value.
Note To log the current switching authority setting in the message lists, the switching authority tag must be mapped to the PAS CC alarm logging system via the SICAM PAS CC status messages.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
185
Detailed Information Regarding SICAM PAS CC 5.4 System Control
5.4.5
Bay/Telecontrol Blocking The following graphic objects are available for controlling the bay/telecontrol blocking: Bay Blocking: Click this button to set/reset the bay blocking. Telecontrol Blocking: Click this button to set/reset the telecontrol blocking. Ignore Telecontrol Blocking: Click this button to ignore/evaluate the telecontrol blocking
for a control center.
pascc611.tif
Figure 5-23 Bay/telecontrol blocking graphic object, buttons
Depending on the status of the bay/telecontrol blocking, the texts shown on the buttons change during runtime. The buttons (graphic objects) must be assigned the corresponding device tags. To add the Bay Blocking Button to your diagram and assign the tags:
• In the Graphics Designer, add the object Bay Blocking Button from the library to your display.
• Right-click on the object. • Select Properties from the context menu. The Object Properties dialog opens.
pascc612.tif
Figure 5-24 Properties of the object BayBlockingButton
• In the Properties tag, select SICAM. • In the Master BlockOper (*.Value) row, click with the right mouse button in the Dynamic column.
• Select Tag from the context menu. The tag selection dialog is displayed.
186
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Detailed Information Regarding SICAM PAS CC 5.4 System Control
pascc613.tif
Figure 5-25 Tag selection
• Select the desired BlkOpr.Value tag and click OK. • Link the BlockAdminXXX attribute to the BlkAdm tag. Provided that a WinCC project is active, you can now set or reset the bay blocking by means of the Bay Blocking button. You can add the graphic objects Telecontrol Blocking Button and Ignore Telecontrol Blocking Button in the same way and assign them the same tags. The tags BlkOpr.Value and BlkAdm include information for all three graphic objects. Alternatively, you can add the graphic object CheckboxBay/Telecontrol Blocking.
pascc614.tif
Figure 5-26 Checkbox Bay/Telecontrol Blocking
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
187
Detailed Information Regarding SICAM PAS CC 5.5 Language Settings
5.5
Language Settings
Overview When setting the language for SIMATIC WinCC/SICAM PAS CC, several system levels are distinguished. The language must be switched at different locations. Language of the WinCC user interface
The language of the WinCC user interface is set in the WinCC Explorer. Any language enabled during the installation of WinCC can be set for the WinCC user interface. Configuration language
The configuration language is set directly in the editor which you are using for configuration, e. g. the Graphics Designer. You can select further languages as configuration languages in addition to the languages installed with WinCC. Runtime language
The runtime language and the runtime default language are defined via the start configuration of the runtime computer. You can select further languages as runtime language in addition to the languages installed with WinCC. Fur more detailed information regarding language settings, refer to the WinCC Information System available under Start > SIMATIC > WinCC > WinCC Information System. Specific graphic objects of SIMATIC WinCC are added to SICAM PAS CC. The distinction with regard to the language setting also refers to these SICAM PAS graphic objects.
Note Set the runtime language before the first data import. During the import, the texts are saved in the corresponding language column of the text library.
5.5.1
Language Setting for SICAM PAS Graphic Objects Several languages (e. g. English, German) are available by default for the SICAM PAS graphic objects. You can switch between these languages without any preliminary steps. It is also possible to use additional languages. To do this, some preliminary steps have to be performed (as described below). The dialog/menu texts are stored in several text files for the individual languages. The file PCCIX_xxx.txt is used for circuit breakers and disconnectors. The wildcard xxx is used for the language code, e. g. 409 for English. During the start-up, SICAM PAS CC loads these text files and shows the included texts in the user interface. The text files consist of individual lines. Each line includes the text ID, one or several space characters and the text string. The text string is placed between quotation marks; this text is displayed. The following table indicates for which program interfaces the described language settings are valid and which text files are available.
188
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Detailed Information Regarding SICAM PAS CC 5.5 Language Settings
User Interface of the Program
Text File
Dialog window showing the properties of circuit breakers and disconnectors
PCCIX_xxx.txt
Runtime dialogs of circuit breakers and disconnectors Error messages/information regarding circuit breakers and disconnectors Dialog window for defining the properties of feeders and ground disconnectors
PASCC_EL_xxx.txt
Dialog for defining the properties of the bay overview
PASCC_BO_xxx.txt
Error messages/information regarding the bay overview Toolbar for topological coloring (in the Graphics Designer)
SICAMToolbar1_xxx.txt
Upgrade Controls dialog window to be opened via SICAM > Upgrade Controls in the Graphics Designer Error messages regarding the SICAM license check
SICAMLicense_xxx.txt
All languages which can be set as runtime language can be used for texts shown during runtime (e. g. texts in the runtime dialogs). All other texts (e. g. texts of the properties dialogs for circuit breakers and disconnectors) can only be shown in the languages defined for the WinCC user interface. Preparing the language setting To prepare the language setting: First, determine the code of the desired language. All available languages are listed in the information system of SIMATIC WinCC.
• To open the information system: Start > SIMATIC > WinCC > WinCC Information System.
• Browse for the term Language Code and open the Language Code window. The list shows all available languages with their code (e. g. 0x040A for Spanish). You can now create the text file for the desired language. Creating language-dependent text files The text files are located in the directories ...\Siemens Energy\SICAM\PAS CC\IndustrialX\V5.0, ...\V6.0 and ...\Siemens Energy\SICAM\Common\misc.
• Copy the file PCCIX_409.txt. 409 is the language code for English. • Rename the file (e. g. to PCCIX_40A.txt for Spanish). • Open the file PCCIX_40A.txt using a text editor.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
189
Detailed Information Regarding SICAM PAS CC 5.5 Language Settings
• All texts placed between quotation marks can now be adjusted to the desired language. • Save and close the text file. • Also create all other text files. Language of the WinCC user interface To set the language of the WinCC user interface, click on Tools > Language in the WinCC Explorer. You can select any language which has been enabled during the installation of WinCC. As soon as you have defined the desired language, all SICAM PAS graphic objects can be configured in this language. Switching the runtime language The runtime language can be selected in the Computer Properties dialog, Parameters tab (refer to Section 3.2.2). The language you select in this tab card is used during the start of the runtime. Alternatively, you can switch the runtime language during runtime (refer to Section 5.5.3).
5.5.2
Showing Texts in Runtime Dialogs Freely defined texts, e. g. notes for the operator, can be shown in runtime dialogs of switches. The texts must be saved in the text files PCCIX_xxx.txt. Texts can be shown statically or dynamically. In this context, the term "statically" means that the text defined via the object properties is shown during runtime. If a dynamic display is defined, the displayed text is entered during runtime. To do this, an input box must be configured in the display. Via this input box, the value of the UserStringID can be changed dynamically.
Creating/editing texts
• Open the file ...\Siemens Energy\SICAM\PAS CC\IndustrialX\V5.0\PCCIX_xxx.txt using a text editor. xxx is used as a wildcard for the language code.
pascc420.tif
Figure 5-27 entering user-defined texts
• Under User-Defined Strings, enter your text (e. g. Text01) between quotation marks. Values between 1000 and 1198 can be used as text IDs.
• Save and close the file.
190
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Detailed Information Regarding SICAM PAS CC 5.5 Language Settings
5.5.2.1 Showing Static Texts Proceed as follows to show a static text: Defining the object properties
• Open the Object Properties of the switch in the Graphics Designer.
pascc421.tif
Figure 5-28 Defining the object properties
• Enter the text ID for the attribute UserStringID in the Properties tab card. The text ID corresponds to the number of the text in the text file. If the UserStringID has the value zero, no additional text is displayed.
• Close the Object Properties dialog and save your display. Text display The defined text is shown in the runtime dialog of the switch during runtime.
• Start the runtime. • Click on the switch. The runtime dialog is displayed with the defined text.
pascc422.tif
Figure 5-29 Showing text
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
191
Detailed Information Regarding SICAM PAS CC 5.5 Language Settings
5.5.2.2 Showing Dynamic Texts To show a dynamic text, the text ID must be changed in the attribute UserStringID of the control object during runtime. The ID can be changed via a direct connection, a C script or a VB script. This subchapter explains how to change the attribute using a button or a direct connection.
Proceed as follows to show a dynamic text: Defining a button
• Add a Windows object of the type Button to your display. The Button Configuration dialog opens.
pascc426.tif
Figure 5-30 Configuring a button
• Enter a button text in the Text box. • Click OK to close the dialog window. • Right-click the button and select Properties from the context menu. • Select the Events tab in the Object Properties dialog. • Select Mouse. • Right-click Action in the Mouse Action row. • Select Direct Connection from the context menu. The Direct Connection dialog opens.
192
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Detailed Information Regarding SICAM PAS CC 5.5 Language Settings
pascc427.tif
Figure 5-31 Configuring a direct connection
• Enter the text ID under Source, Constant. • Select the option Object in Picture under Target. The objects are shown in a list.
• Select the control object in order to show the text in the related runtime dialog. • Select UserStringID under Property. • Click OK to close the dialog and save the diagram. Text display The defined text is shown in the runtime dialog of the switch during runtime.
• Start the runtime. • Next, click the button. The text ID is written into the attribute UserStringID of the switch.
• Click on the switch. The runtime dialog is displayed with the defined text.
pascc422.tif
Figure 5-32 Showing text
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
193
Detailed Information Regarding SICAM PAS CC 5.5 Language Settings
5.5.3
Switching the Language During Runtime If you have defined several languages during the configuration of a project, you need to configure a control element via which the operator can set the desired language during runtime. SICAM PAS CC includes a preconfigured control element which you can use in your project. This subchapter explains how to define the switchover to the Spanish language. In order to ensure that the language can be switched, the text files in the directories ...\Siemens Energy\SICAM\PAS CC\IndustrialX\V5.0\, ...\V6.0\ and ...\Siemens Energy\SICAM\Common\misc must be available in Spanish with the language code 40A.
Proceed as follows to configure the switching of the runtime language: Adding a control element to a display
• In the Graphics Designer, open the display to which you want to add the control element required for switching the language.
• Insert the object Button Select Language from the graphic object library into your display.
pascc423.tif
Figure 5-33 Language selection button
Using the default control element, you can switch between the German and the English language. In order to be able to define e. g. the Spanish language during runtime, this language must be configured accordingly. Configuring language switchover To define an additional option for switching to the Spanish language:
• Copy a button. • Open the object properties of the new button. • Enter the new language for the attribute Text in the Properties tab card. • Modify the attribute Tooltip Text. • Customize the attributes Text and Tooltip Text also for the other configuration languages. • In the Events tab, double-click on Mouse Action. The Action Editor opens.
194
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Detailed Information Regarding SICAM PAS CC 5.5 Language Settings
pascc424.tif
Figure 5-34 Editing the action for switching the language
• Change the language code to 0x040A for Spanish at two different locations. • Compile the action and close the editor. • Save your display. The configuration of the language switchover is now completed, and you can switch between three different languages during runtime.
pascc425.tif
Figure 5-35 Switching the language during runtime
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
195
Detailed Information Regarding SICAM PAS CC 5.6 Group Parameterization
5.6
Group Parameterization
Overview By defining different groups, the attributes of several graphic objects can be configured simultaneously in the Graphics Designer. Both static values and the dynamic display of tags are supported. You can define different groups, e. g. in order to assign the control objects and measured-value objects of a bay the tags of another tag group (refer to Section 5.6.3.2).
The group parameterization dialog can be called up from the related menu in the Graphics Designer. The menu includes the following items: SICAM > Settings
Use this function to define the properties to be configured. SICAM > Group Parameterize
Use this function to define the parameters of the group. The following elements can be configured via the group parameterization function: Control objects - circuit breakers and disconnectors Feeders, ground disconnectors Measured-value objects Further graphic objects
Frequently required parameter settings are available in the menu under Settings and can be used immediately.
5.6.1
Performing Settings In order to be able to set the parameters of a group, you must specify which object properties you want to edit for the group. To do this, use the SICAM Settings dialog window.
pascc545.tif
Figure 5-36 Defining object properties
196
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Detailed Information Regarding SICAM PAS CC 5.6 Group Parameterization
Task The settings performed for the parameterization of a group are referred to as a task. A task can be created, saved and reused. The tasks parameterize bay, parameterize bay overview controls and upgrade V5.11 controls are defined by default. These tasks can be used for frequently occurring parameterization steps (refer to Section 5.6.3.1 and Section 5.6.3.2). Create additional tasks for your individual parameterization steps. Property A property consists of the following definitions: Static, Property Name and Initial Value. Static
In the Static column, you must specify whether the parameter defines a static value (e. g. an absolute value) or a dynamic display property defined by means of a tag. Property Name
The name of the object property must be indicated in the Property Name column. This name does not correspond to the attribute, but to the name used internally by WinCC. Select the attribute in the Insert a New Property Item dialog. When closing the dialog by clicking OK, the internal WinCC name is created automatically and entered in the Property Name column (see Creating a task). Initial value
The new value (setpoint) must be entered in the Initial Value column.
Note For more detailed information regarding the dynamic display of properties, refer to the Chapter Assigning Dynamic Features to Attributes in the WinCC documentation.
Default Click the Default button to reset the default settings for the predefined tasks (parameterize bay, parameterize bay overview controls and upgrade V5.11 controls). Creating a task To create a new task:
• Select SICAM > Settings in the Graphics Designer. The SICAM Settings dialog window opens.
• Enter a name in the Task input box. • Click the icon Insert a New Property Item. The dialog Insert a New Property Item opens.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
197
Detailed Information Regarding SICAM PAS CC 5.6 Group Parameterization
pascc546.tif
Figure 5-37 Dialog window for inserting a new property
• Select Object Type or Object Name. • Select the Object Type/Object Name from the list. All attributes of the object are listed in the Attributes list box.
• Select the Attribute to be configured (e. g. Width). A property which corresponds to the previously selected attribute is entered in the Property Name box. The property name and the name of the related attribute are not always identical.
• Enter the Initial Value (e. g. 50). The key word $CurValue is shown by default in this box (refer to Section 5.6.2). It corresponds to the actual (current) value.
• Click OK to close the dialog window. Return to the SICAM Settings dialog. The property is displayed.
pascc552.tif
Figure 5-38 SICAM Settings dialog window
• Click OK to close the dialog window. The new task is now complete and can be applied to a group of graphic objects.
198
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Detailed Information Regarding SICAM PAS CC 5.6 Group Parameterization
5.6.2
Performing the Group Parameterization After creating the task, you can continue with the group parameterization. Proceed as follows to perform the group parameterization:
• Select SICAM > Settings in the Graphics Designer. The SICAM Settings dialog window opens.
• Select e. g. the task parameterize bay. • Click OK to close the dialog window. The task parameterize bay is used to parameterize the desired group.
• Select the graphic objects (e. g. all control objects of a bay) in the diagram in order to configure them.
• Next, select SICAM > Group Parameterize. The dialog window for the parameterization of the group opens.
pascc553.tif
Figure 5-39 Dialog window for group parameterization
All selected objects are listed together with their properties defined via the task. The task name is shown as part of the dialog window title. The list comprises the following columns: Checkbox
Use the checkbox to define which property is edited. Object
Name of the selected graphic object Property
Name of the object property Type
Type of the object property, either Static or Dynamic
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
199
Detailed Information Regarding SICAM PAS CC 5.6 Group Parameterization
Current Value
Current value of the object property - this value has been read in by the graphic object New Value
New value to which the object property is to be set
The lists Current Group Name and New Group Name comprise all tag groups of the WinCC project.
Explanation based on the example of a disconnector: In monitoring direction, the disconnector BBDC1_ is assigned the tag TagGroup_1_Tag_01 of TagGroup_1. The tag TagGroup_2_Tag_01 of the tag group TagGroup_2 is to be assigned to this disconnector. Afterwards, the Current Group Name is TagGroup_1 and the New Group Name is TagGroup_2. After the selection of the group names, the text section which corresponds to the group name is replaced by the key word $GroupName in the tag names. During the parameterization of groups, the key word $GroupName is replaced by the name of the new group. In monitoring direction, the disconnector BBDC1_ is assigned the tag TagGroup_2_Tag_01.
• Select the current tag group under Current Group Name. • Select the new tag group under New Group Name. The Current/New group names can also be edited or freely entered.
• Click OK. The group parameterization is executed, and the progress is shown in the Reporter.
Key words Several key words are predefined for the parameterization of groups. Each key word represents a special text which is replaced by a new text during execution. A key word starts with a $ character. $GroupName
This key word represents the text selected under Current/New Group Name. $CurValue
This key word represents the text in the Current Value column. $PropName
This key word represents the text in the Property column. $ObjName
This key word represents the text in the Object column.
200
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Detailed Information Regarding SICAM PAS CC 5.6 Group Parameterization
Defining a target value The actual value is read in by the graphic object. The target value can be entered in the Group Parameterization dialog in several different ways.
pascc554.tif
Figure 5-40 Entering target values Double click on an entry.
The Edit dialog opens. You can enter the target value. You can also use key words for entering target values, such as $ObjName_$CurName. In this case, the target value is formed based on the texts in the Object and Current Value columns. Edit context menu item:
One or several entries can be edited. Set as context menu item:
The Current Value or the Initial Value can be set as the target value. Several rows can be edited simultaneously. The Initial Value is the value which you have previously entered in the Insert a New Property Item dialog. As Current Value, the value from the Current Value is transferred to the New Value column.
The target values are displayed in different colors. The colors have the following meaning: Black
The target value corresponds to both the current value and the initial value. Blue
The target value corresponds to the initial value, but not to the current value. Red
The target value corresponds neither to the current value nor to the initial value. Dark green
The target value corresponds to the current value, but not to the initial value.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
201
Detailed Information Regarding SICAM PAS CC 5.6 Group Parameterization
Event output The result of the group parameterization can be viewed in the Reporter. If an error occurs, an error message is shown. Erroneous objects are indicated as hyperlinks in the Reporter. Click on the hyperlink to select the corresponding object in the WinCC diagram. You can clear the error immediately.
202
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Detailed Information Regarding SICAM PAS CC 5.6 Group Parameterization
5.6.3
Application Examples Groups can be parameterized for all graphic objects. Groups can be used for many different applications. The present subchapter describes two practically oriented examples. The following examples are described: Upgrade of control objects Group parameterization of a bay
5.6.3.1 Upgrade of Control Objects A diagram created via SICAM PAS CC V5.1x is to be used further in version V6.00. To perform an upgrade of the control objects, the task upgrade V5.11 controls is already defined by default. It can be called up via SICAM > Upgrade Controls in the Graphics Designer. This function sets the Activate attribute to the initial value ActivateControls.
To view the predefined task upgrade V5.11 controls:
• Select SICAM > Settings. The SICAM Settings dialog opens.
pascc540.tif
Figure 5-41 Upgrade V5.11 Controls task
• Select upgrade V5.11 controls from the Task list box. The properties of the task are now displayed.
• Click OK to close the dialog window. Proceed as follows to perform the upgrade: You do not need to activate the task prior to the upgrade, and you do not need to select any graphic objects. The Activate attribute is set automatically for all controls in the diagram.
• Select SICAM > Upgrade Controls. The dialog window for the parameterization of groups opens.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
203
Detailed Information Regarding SICAM PAS CC 5.6 Group Parameterization
pascc541.tif
Figure 5-42 Dialog window for the parameterization of groups
This window shows a list of all objects for which an upgrade is performed.
• Click OK. The group parameterization is executed, and the progress is shown in the Reporter.
pascc542.tif
Figure 5-43 Messages regarding group parameterization
204
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Detailed Information Regarding SICAM PAS CC 5.6 Group Parameterization
5.6.3.2 Parameterization of Groups for a Bay In this example, the group comprises several controls and one measured-value object. The controls and the measured-value object are to be assigned tags from another tag group. For the controls, the object property tagname must be reconfigured. For the measured-value object, the object property CounterVariable must be reconfigured. All tag names must have the same prefix (from the group name). Proceed as follows to perform the group parameterization:
• Select SICAM > Settings. The SICAM Settings dialog window opens.
pascc543.tif
Figure 5-44 Task for the configuration of a bay
• Select Bay from the Task list. The properties of the task are now displayed.
• Click OK to close the dialog window. The selected task is used for the next function.
• Select the controls and the measured-value objects of a bay in the display. • Next, select SICAM > Configure Group. The dialog window for the parameterization of groups opens.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
205
Detailed Information Regarding SICAM PAS CC 5.6 Group Parameterization
pascc544.tif
Figure 5-45 Dialog window for the parameterization of groups
The window shows a list of all objects which can be configured. The current group name is automatically shown in the Current Group Name box. For the values, the group name is replaced by the key word $GroupName.
• Select the new tag group from the New Group Name list box. • Click OK. The group parameterization is executed, and the progress is shown in the Reporter. The new tags are created. In the New Value column, the key word $GroupName is replaced by the name of the new group.
206
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Detailed Information Regarding SICAM PAS CC 5.7 Monitoring WinCC Tags
5.7
Monitoring WinCC Tags
Using the tool View WinCC tags, you can view or modify the values of the WinCC tags during runtime. This tools is mainly used for commissioning. Monitoring WinCC tags
• Start the WinCC runtime. • To start the tool, click Start > Siemens Energy > SICAM > PAS CC > Watch a Structured Tag. The dialog Watch a Structured Tag opens. The monitoring tool for WinCC Tags is shown as an icon in the toolbar. Right-click the icon to open a context menu. Using the context menu, you can open further read-only windows or close these windows.
pascc560.tif
Figure 5-46 Dialog for monitoring WinCC tags
A tooltip text is shown when moving the pointer of your mouse over an input/output box. The tooltip explains the meaning of the value. Error messages are shown in the lower output box.
• Click Select Tag to select a tag. • In the next dialog window, select the tag to be viewed. The values (Value column) and the WinCC status (Quality column) of the tag elements are shown.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
207
Detailed Information Regarding SICAM PAS CC 5.7 Monitoring WinCC Tags
Writing WinCC tags
• Enter the new values in the input boxes. • Next, click Write Value. The tool writes the values into the tag.
Several read-only windows can be open at the same time.
208
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Client-Server Systems
6
Contents In WinCC, you can configure client-server systems consisting of several clients and servers in order to be able to efficiently monitor and operate large systems. This chapter explains some important aspects which have to be considered in this context. For more detailed information, refer to the WinCC Information System. 6.1
Configuration of the Diagram Objects
210
6.2
Configuration of Functions
211
6.3
Configuration of SIMATIC WinCC Components
212
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
209
Client-Server Systems 6.1 Configuration of the Diagram Objects
6.1
Configuration of the Diagram Objects
Server1 diagram
Server2 diagram
Basic frame Picture windows
Client client_serv01.tif
Figure 6-1 Showing a server diagram on the client computer
Diagrams from various different servers can be viewed in individual screen sections. These socalled "picture windows" are displayed in the basic frame configured on the client computer. Diagrams configured on the server are directly shown as picture windows, and each diagram is based on the data of an individual server. In order to be able to integrate a server diagram as a picture window in a basic frame on the client computer, the file name of the diagram must be preceded by the prefix of the server name. All server prefixes must be unique within the distributed system. The packages of the corresponding servers must be imported into the client.
• Open the basic frame on the client into which you want to insert the server diagram as a picture window.
• In the Graphics Designer, select the Picture Window from the group of smart objects. Next, insert it into the basic frame.
• Double-click the picture window to open the Properties dialog. • In the Miscellaneous group of the Properties tab card, click the attribute Picture Name in order to browse for the server diagram.
• Double-click the attribute Server Prefix to browse for the server. • Close the Properties dialog. For more detailed information on this topic, refer to “Picture Cache” on page 212. On the client, you can also create and show diagrams based on data from several different servers.
210
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Client-Server Systems 6.2 Configuration of Functions
6.2
Configuration of Functions
When importing data, the compatibility key script (SICAMPAS_CompKey.pas), the alarm list filter script and several other scripts are created in the PAS directory of the WinCC project directory. Scripts in this directory are executed by all computers of the project. For efficient system operation, move the SICAMPAS_CompKey.pas and SicamPAS_AlarmListFilter.pas scripts into the corresponding PAS directories of those computers in the project which are connected to the process. The WinCC project directory holds a subdirectory () for each computer in the project. This subdirectory comprises the same subdirectories as the project directory. Data located in these subdirectories is only assigned to the individual computer.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
211
Client-Server Systems 6.3 Configuration of SIMATIC WinCC Components
6.3
Configuration of SIMATIC WinCC Components
Picture Cache The diagrams from a connected server can be shown in a picture window on a client computer. For a speedy build-up of the diagram on the client computer, the corresponding diagrams should be copied into a Picture Cache on the client. When using a Picture Cache, the WinCC client does not need to reload all individual diagrams from the server. Proceed as follows to set up a picture cache on the client computer:
• Create a folder in the default directory on this client. The name of the folder must have the symbolic computer name of the package created on the server.
• Copy the diagrams into this folder in order to show them on the client computer. • Open the Computer Properties dialog on the client. • Select the Runtime tab.
client_serv02.tif
Figure 6-2 Defining a picture cache
• Enter the path of the picture cache under Path. • Select Preferred from the Use Cache list box. Modified diagrams are read from the server; unmodified diagrams are read from the picture cache. If a diagram is modified in the project on the server, it has to be manually copied into the picture cache of the client.
212
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Client-Server Systems 6.3 Configuration of SIMATIC WinCC Components
Note If you save the diagrams directly in the PDLCache directory, the diagrams saved on the server are always shown. If you do not want to save the diagrams in the default directory defined during installation, the directory must always be named PDLCache and include a folder with the symbolic computer name of the package created on the server.
Updating SICAM PAS data Changes performed in SICAM PAS must be forwarded to SICAM PAS CC. For a client-server system, changes must be forwarded as described below.
Note The export of the first package from the server and the import into a client have to be performed manually. All further updates of the packages on the server and the client can be performed automatically. You can define when the package is to be updated and specify a trigger event. For more detailed information, refer to the WinCC Information System.
• Import the new PXD file created with SICAM PAS into the WinCC server. • Create a package on the server. To manually load a package onto the client:
• Open the client project on the client. • In the WinCC Explorer, select Server Data and then select Load from the context menu. The Open File dialog displays.
• Select the package to be loaded and click OK. By default, the server packages are saved in the directory ...\\\\Packages\ under the name *.pck. You can also load packages saved on any other data carrier.
• Click on Open. The data is loaded. To manually update a package on the client:
• Open the client project on the client computer. • In the WinCC Explorer, select Server Data and then select Update from the context menu. The data is updated.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
213
Client-Server Systems 6.3 Configuration of SIMATIC WinCC Components
214
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Double/Redundant Configuration
7
Overview For safety reasons, a SICAM PAS system can be implemented in double/redundant configuration. Depending on individual requirements, you can implement individual system components in double/redundant configuration. The present chapter describes the implementation of the configurations illustrated below. Double SICAM PAS Full Servers are connected to a SICAM PAS CC Human-Machine
Interface (HMI). A SICAM PAS Full Server is connected to two redundant SICAM PAS CC HMIs.
Further double/redundant configurations are possible. For example, double SICAM PAS Full Servers can also be connected to a redundant SICAM PAS CC system. For more detailed information on redundancy, refer to the documentation of SIMATIC WinCC. Contents 7.1
Connection to Two SICAM PAS Full Servers
216
7.2
Redundant SICAM PAS CC System
220
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
215
Double/Redundant Configuration 7.1 Connection to Two SICAM PAS Full Servers
7.1
Connection to Two SICAM PAS Full Servers
A SICAM PAS system can consist of two SICAM PAS Full Servers running in parallel. Bay devices and substations are connected to both SICAM PAS Full Servers; via the SICAM PAS channel DLL, SICAM PAS CC is connected to both SICAM PAS Full Servers. The connection to a SICAM PAS Full Server (e. g. to Server1) is referred to as the normal path; the connection to the other SICAM PAS Full Server (e. g. to Server2) is the so-called redundant path. During fault-free operation, the connection via the normal path is active. For SICAM PAS CC, a switchover to the redundant path must be performed if one of the following two scenarios occurs: The normal path of the SICAM PAS channel DLL to the connected SICAM PAS Full Server
is interrupted. The active connection of the SICAM PAS channel DLL to the SICAM PAS Full Server is permanently monitored. When an error occurs, the system automatically switches over to the redundant path (to the other SICAM PAS Full Server), provided that this path has been configured. The communication between the SICAM PAS Full Server accessed by SICAM PAS CC and
the bay devices is disturbed. This scenario also requires a switchover to the redundant path. This fault, however, cannot be detected by the SICAM PAS channel DLL. The detection of the fault and the switchover to the redundant path must be realized by other means. The required procedure is described below.
216
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Double/Redundant Configuration 7.1 Connection to Two SICAM PAS Full Servers
ConnectionState ForceConnectionState Process tag
SICAM PAS Channel DLL
Channel Control
Ethernet
Server1
Server2 PROFIBUS FMS
Bay Devices Kanal_dll.tif
Figure 7-1 System with double SICAM PAS Full Servers
The following components are required for the monitoring and switchover of the connections (between the normal and the redundant path): a process tag the bit array (32 bits) ConnectionState_xxx the bit array (32 bits) ForceConnectionState_xxx the WinCC script SicamPAS_ConnectionChange.pas
Process tag In order to be able to monitor the connection between the SICAM PAS Full Server and the bay devices, a process tag (e. g. a message derived via CFC which allows for an evaluation of the quality of the connection to the bay devices) must be created in PAS UI Configuration and mapped to SICAM PAS CC. This process tag can be evaluated using the WinCC script SicamPAS_ConnectionChange.pas. The quality of the active connection can be assessed by means of the evaluation of the process tags.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
217
Double/Redundant Configuration 7.1 Connection to Two SICAM PAS Full Servers
ConnectionState The bit array ConnectionState_xxx shows the status of the active connection between the SICAM PAS channel DLL and the SICAM PAS Full Server. The bit array is defined as follows: Bit
Meaning
0
0 = no connection 1 = connection active
1
1 = connection via normal path
2
1 = connection via redundant path
3 to 31
system-internal use
ForceConnectionState The behavior of the SICAM PAS channel DLL can be influenced by writing the system tag ForceConnectionState_xxx. The bit array can only be written completely. Read access is not possible. The bit array is defined as follows:
218
Bit
Meaning
0
If this bit is set, the SICAM PAS channel DLL switches over to the other SICAM PAS Full Server. The triggering is performed using the WinCC script.
1
If this bit is set, the connection is activated via the normal path.
2
If this bit is set, the connection is activated via the redundant path.
3 to 31
Reserved
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Double/Redundant Configuration 7.1 Connection to Two SICAM PAS Full Servers
WinCC script The process tag is evaluated using the WinCC script SicamPAS_ConnectionChange.pas. The proper functioning of the SICAM PAS Full Server (including communication with connected devices) can be checked by means of this evaluation. If the quality of the active connection is found to be bad, the system can switch over to the other path using the system tag ForceConnectionState_xxx. A template of the WinCC script SicamPAS_ConnectionChange.pas is copied into the directory ...\SIEMENS\SICAM\PAS CC\PAS during installation. In order to be able to use the WinCC script, proceed as follows:
• Copy the WinCC script into the PAS directory of your WinCC project. • To customize the WinCC script, apply the related process tags in the script editor. Activating redundancy Proceed as follows to activate the redundant configuration:
• In the WinCC Explorer, right-click on PAS Data Server. Next, select Properties from the context menu. The Channel Unit Properties dialog opens.
• Click the Properties button. The Connection Properties dialog opens. • Click the Properties button. The PAS Connection dialog opens.
pascc404.tif
Figure 7-2 Activating redundancy
• Select the option Redundant Connection. • Enter the IP address of the second SICAM PAS Full Server. • Confirm your settings with OK.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
219
Double/Redundant Configuration 7.2 Redundant SICAM PAS CC System
7.2
Redundant SICAM PAS CC System
A redundant system can consist of two SICAM PAS CC which run in parallel. Each SICAM PAS CC provides a SICAM PAS channel DLL connection to the SICAM PAS Full Server. The first SICAM PAS CC (e. g. WinCC1) is the Master Server, and the second one is the redundant Partner Server. Both connections are active in case of fault-free operation. The SIMATIC WinCC redundancy package must be installed on both SICAM PAS CC Servers. This package provides for the synchronization of data and for the control of the server redundancy.
SICAM PAS Channel DLL
SICAM PAS Channel DLL
Ethernet
SICAM PAS Full Server PROFIBUS FMS
Bay Devices Kanal_dll_1.tif
Figure 7-3 System with redundant SICAM PAS CC
Configuring SICAM PAS In SICAM PAS, you must add two DIPs to your project and configure them accordingly. Proceed as follows:
• Create a DIP (e. g. PAS CC 1). • Insert an Application PAS CC, an interface and a control center for the DIP. • The items of information to be used in SICAM PAS CC must be activated in the information mapping.
220
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Double/Redundant Configuration 7.2 Redundant SICAM PAS CC System
pascc406.tif
Figure 7-4 First DIP, PAS CC 1
• Create the second DIP (e. g. PAS CC 2). • Insert an Application PAS CC and an interface for the DIP. The interfaces include different interface addresses and compatibility keys. They are assigned by the system and cannot be modified. The compatibility key is automatically adapted upon each change of the interface parameters.
pascc407.tif
Figure 7-5 Second DIP, PAS CC 2
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
221
Double/Redundant Configuration 7.2 Redundant SICAM PAS CC System
• Copy the control center of the first DIP and insert the copy into the second DIP. Exporting data To import the configured and parameterized items of information into SICAM PAS CC, they must be exported from SICAM PAS.
• Right-click on Interface and select Export from the context menu. The export function creates a PXD file in the selected directory. Afterwards, you can import this file into SICAM PAS CC using the SICAM PAS Wizard.
• Export the configuration data of the first DIP. • Export the configuration data of the second DIP. Creating WinCC projects Create a separate WinCC project on each of the two computers.
• Create a new WinCC project (e. g. PAS CC 1) on the first computer. • Import the PXD file of the first DIP using the SICAM PAS Wizard. The administrative tags imported from SICAM PAS have the project and interface ID as an extension of the tag name.
pascc409.tif
Figure 7-6 WinCC project 1
222
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Double/Redundant Configuration 7.2 Redundant SICAM PAS CC System
pascc411.tif
Figure 7-7 Alarm logging WinCC project 1
• Close your WinCC project. Create the redundant WinCC project via the Project Duplicator. It must be saved on a second computer.
• To start the Project Duplicator, click Start > SIMATIC > WinCC > Tools > Project Duplicator.
• Enter PAS CC 1 as source project. • Enter a name for the redundant WinCC project (e. g. PAS CC 2). • Click the Duplicate button. The redundant WinCC project is created now. • Call up the SICAM PAS Wizard via the redundant WinCC project. The administrative tags must be connected to the other interface in the redundant WinCC project.
• Import the PXD file of the second DIP. Only the names of the administrative tags are changed during this step.
pascc408.tif
Figure 7-8 SICAMPAS Wizard, warning
• The SICAM PAS Wizard issues a warning. Click on Yes in this dialog. The project ID is not changed, and the HMI Interface ID is assigned the value 9.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
223
Double/Redundant Configuration 7.2 Redundant SICAM PAS CC System
pascc410.tif
Figure 7-9 WinCC project 2
The modified process tags include the project and interface IDs of the second DIP as an extension of the tag name. They are linked to the redundant interface.
pascc412.tif
Figure 7-10 Alarm logging WinCC project 2
The new raw data tag is linked to the messages. The CompKey of the redundant interface is used. The modifications are documented in the Reporter.
224
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Double/Redundant Configuration 7.2 Redundant SICAM PAS CC System
7.2.1
Synchronization of SICAM Acknowledgement Data SIMATIC WinCC supports the synchronization of data between redundant servers. In order to ensure that the data of the SICAM PAS CC components can be synchronized between the redundant servers, the following prerequisites must be met: The application IX State Sync must have been installed on both servers and has to be
configured accordingly. For the acknowledgement in Alarm Logging, a WinCC function must have been enabled
on both servers.
7.2.1.1 IX State Sync Application The IX State Sync application synchronizes the blinking of switching devices. For a redundant SICAM PAS CC system, it must have been installed on both servers and configured accordingly. If the active SICAM PAS CC server e. g. receives a message from the process which initiates the spontaneous blinking of a circuit breaker, the related information is forwarded to the redundant SICAM PAS CC server. When a switchover occurs, the active SICAM PAS CC server is up to date. The related circuit breaker blinks. This also applies for the acknowledgement of spontaneous messages on a switching device object. If spontaneous blinking is acknowledged, this acknowledgement is forwarded to the redundant server. SICAM PAS CC Server 1
WinCC
IX State Sync
Database IX State Sync
SICAM PAS CC Server 2
WinCC
IX State Sync
Database IX State Sync
synctool.tif
Figure 7-11 IX State Sync
The IX State Sync application comprises a data connection to WinCC, a database and a network connection to the IX State Sync of the other server.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
225
Double/Redundant Configuration 7.2 Redundant SICAM PAS CC System
Installation The IX State Sync application is not part of the default installation of SICAM PAS CC. With the customized installation, you can select the installation of this application under Redundant Components. Starting the IX State Sync application To start the IX State Sync application, click on Start > Siemens Energy > SICAM > PAS CC > IX State Sync. For operation, you can move the application into the Autostart folder of Microsoft Windows in order to ensure that it is started automatically upon the startup of the computer. The icon of the started application is shown in the Windows taskbar. Configuring the connection The IX State Sync application synchronizes data via a special TCP connection. To set up this connection, one computer is configured as the server, and the other computer is configured as the client. The configuration is independent of the function of the computer in the redundant system (master/standby). In this context, the term "Server/Client" only refers to the TCP connection. It must not be confused with the client-server terminology used for SIMATIC WinCC. This connection must be set up as described below:
• Right-click the icon of the IX State Sync application. Next, select Control Center from the context menu. The PAS CC IX State Sync dialog opens.
synctool01.tif
Figure 7-12 Configuring a TCP connection
The state of the TCP connection is shown under State.
• Select the option OFF next to Startup. • On the first computer, enter the name or the IP address of the second computer in the Server input box.
• Continue to use the default Port. Should you have any problems with your connection, contact your network administrator to request a valid port number.
226
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Double/Redundant Configuration 7.2 Redundant SICAM PAS CC System
• Select Client. The application now tries to establish a connection to the other computer. The connection can only work properly if it has also been set up on the second computer.
• Enter the same port number on the second computer and then select Server. The computers try to set up the connection. The status Connected shows that the connection is made.
User information/error messages are shown in the Reporter. If the option Enable Trace Output is selected, all actions are shown in the Reporter. The Synchronize and Chat buttons are enabled as soon as the connection to the other computer is established. Click the Synchronize button to delete the entries from the database tables on the other computer and to replace them with entries from the local computer. Click Socket Info to show current information about the connection in the Reporter. Click Chat to open a dialog window for contacting the partner computer. The current state of the connection is shown in the status line. Click Reset to clear the connection to the WinCC Data Manager and to re-establish it afterwards.
• Click Close to close the PAS CC IX State Sync dialog window. All settings performed are saved when the application is closed. They are still available when the application is started again later. Click Exit in the context menu to exit the application. Configuring the IX State Sync database You must determine which data are to be included in the data synchronization process. To do this, the names of the WinCC tags holding this data must be entered in the database. As a rule, the IXHook elements of structured tags of the type PAS_Information have to be entered. For more detailed information about how to change the IX State Sync database, refer to ”Modifying the IX State Sync database” on page 229. To configure the database:
• Start the WinCC Explorer with your WinCC project. If no WinCC project is open, no tags are shown in the selection dialog.
• Start the PAS CC IX State Sync dialog. • In the PAS CC IX State Sync dialog, click on Add Tags. The WinCC Tag Selection dialog window opens.
• Click on Refresh List. All tags which meet the filter criteria are shown in the list. The asterisk symbol (*) for the filter can be replaced, but the filter name must have the extension .IXHook. For each entry, the application searches the name of the tag structure and the name of the corresponding command tag structure. This combination is shown in the list. Information tags for which no command tag is available are ignored.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
227
Double/Redundant Configuration 7.2 Redundant SICAM PAS CC System
synctool02.tif
Figure 7-13 Selecting tags
• Select the elements which you want to transfer to the database. • Next, click on Add Selected Items to DB. The elements are entered in the database.
• Click Close to close the dialog window. • To check the entries in the database, click View Tables in the PAS CC IX State Sync dialog. The Main Table, Information.IXHook dialog window opens. The contents of the database are shown.
synctool03.tif
Figure 7-14 Showing the content of the database
228
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Double/Redundant Configuration 7.2 Redundant SICAM PAS CC System
Table 7-1
Description of the menu items available in the Main Table, Information.IXHook dialog window
Menu Item
Meaning
Close
Closes the dialog.
Configure Delete values
Deletes the entries in the DMQuality and Value columns.
Delete table
Deletes the contents of the database, i. e. all tags are removed.
Information.Counter Command.Counter Command.ReplyCounter Information elements
Shows the corresponding database table. Changes in these tables are not possible. These functions have been designed for diagnostic purposes.
Subtables
• Click Close to close the dialog. Synchronizing the IX State Sync databases Following the configuration of the database on the first computer, the database has to be synchronized with the one on the second computer. To synchronize the database on the second computer:
• Select Control Center from the context menu. The PAS CC IX State Sync dialog opens.
• Click the Synchronize button to stop the application on both computers. The database on the second computer is deleted; the tables of the local database are transmitted to this computer. Afterwards, the application is restarted on both computers.
Note After each change of the local database, this database has to be synchronized with the one on the partner computer.
Activating WinCC Runtime
• Close all IX State Sync dialogs before starting the WinCC Runtime. • Next, start the WinCC Runtime on both computers. The IX State Sync application recognizes that the Runtime has been started and synchronizes the data. Modifying the IX State Sync database To add a tag in the database or to remove it, proceed as described below. To do this, the WinCC Runtime does not need to be quit.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
229
Double/Redundant Configuration 7.2 Redundant SICAM PAS CC System
• Modify the configuration of the IX State Sync database on a SICAM PAS CC server (refer to”Configuring the IX State Sync database” on page 227).
• Synchronize the databases of the two SICAM PAS CC servers (refer to ”Synchronizing the IX State Sync databases” on page 229). Following synchronization, the application is restarted on both servers. The data is synchronized according to the new configuration.
7.2.1.2 Acknowledgement in Alarm Logging In order to ensure that the acknowledgement actions in the warning message lists are transferred to the redundant partner in a redundant SICAM PAS CC system, a WinCC function of the redundancy package must be enabled. This WinCC function transmits the acknowledgements in the Alarm Logging component to the redundant partner. Acknowledgements are only synchronized for messages triggered via the SICAM PAS CC communication channel. The WinCC function is enabled during the installation of the IX State Sync application under Redundant Components.
230
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
WinCC Web Navigator
8
Overview Using the WinCC Web Navigator, you can operate and monitor a WinCC project from any place in the world via Internet. The WinCC Web Navigator comprises special Web Navigator Server components installed on the server computer and Web Navigator Client components running on the Internet computer. Contents 8.1
Prerequisites
232
8.2
WinCC Web Navigator with SICAM PAS CC
233
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
231
WinCC Web Navigator 8.1 Prerequisites
8.1
Prerequisites
A Web Navigator Server and a Web Navigator Client are required for the implementation of the WinCC Web Navigator function. To use the WinCC Web Navigator for SICAM PAS CC, certain requirements must be met. Web Navigator Server The following requirements must be met on the computer used as a Web Navigator Server: SICAM PAS CC VV6.00 installed Web Navigator Server installed a user with Web Navigator rights installed a WinCC project installed and enabled for the WinCC Web Navigator
Web Navigator Client The following requirements must be met on the computer used as a Web Navigator Client: Microsoft Internet Explorer installed
For more detailed information on the requirements with regard to the WinCC Web Navigator, refer to the documentation and the online help of the Web Navigator. The section below describes the actions to be taken especially for SICAM PAS CC.
Note The display on the Web Navigator Client could possibly be blocked or restricted by the security settings of the browser (e.g. for CAT clients).
232
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
WinCC Web Navigator 8.2 WinCC Web Navigator with SICAM PAS CC
8.2
WinCC Web Navigator with SICAM PAS CC
To use the WinCC Web Navigator for SICAM PAS CC, certain special actions need to be taken. These actions are illustrated in the present section and must be executed in the described order.
8.2.1
Making SICAM PAS CC Plug-Ins Available
Web Navigator Server On the Web Navigator Server computer, you must make the SICAM PAS CC software modules for the Web Navigator (Plug-Ins) to the Web Navigator available. On the Web Navigator Client computer, you must download the SICAM PAS CC software modules for the Web Navigator from the Web Navigator Server and install them. The SICAM PAS CC software modules for the Web Navigator are copied to the hard disk during the installation of SICAM PAS CC. Next, copy them from the hard disk into your SIMATIC WinCC installation.
• Copy the files WebNavClientSICAMPASCCVxxx.EXE and WebNavClientSICAMPASCCVxxx.XML from the ...\PAS CC\WebNavigator\Server\Web\Install\Custom directory into ...\WinCC\WebNavigator\Server\Web\Install\Custom. Web Navigator Client Download the SICAM PAS CC software modules for the Web Navigator from the Web Navigator Server and install them on the Web Navigator Client (see Chapter 8.2.5).
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
233
WinCC Web Navigator 8.2 WinCC Web Navigator with SICAM PAS CC
8.2.2
Publishing Process Diagrams To make sure that the WinCC Web Navigator can show the process diagrams of the WinCC project, these diagrams must be published on the Web Navigator Server. To publish the process diagrams:
• In the WinCC Explorer, you must now open the WinCC project which you want to show using the WinCC Web Navigator.
• Right-click on Web Navigator in the WinCC Explorer. • Select Web View Publisher from the context menu. The Web Publishing Wizard opens.
pascc801.tif
Figure 8-1 Selecting directories
• Enter the name of the directory which holds the process diagrams of the WinCC project (...\projectpath\projectname).
• Next, enter the name of the web access directory (...\projectpath\projectname\WebNavigator).
• Click Next. The diagram selection dialog is displayed. • Select all diagrams and then • click Next to open the function selection dialog.
234
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
WinCC Web Navigator 8.2 WinCC Web Navigator with SICAM PAS CC
pascc802.tif
Figure 8-2 Selecting a function
• Select one of the following functions: PAS_ProcessMeasured_Value_V500.FCT PAS_ProcessMeasured_Value_V510.FCT PAS_ProcessMeasured_Value_V600.FCT PAS_Globals_V600.fct PAS_Cleanup_Substitution_V600.fct PAS_IsStructSubstitutable_V600.fct PAS_Substitute_Bitpattern_V600.fct PAS_Substitute_Float_V600.fct PAS_Substitute_Integer_V600.fct PAS_GetRealTagName_V600.fct PAS_ShowDialogSubstitute_V600.fct PAS_ProcessMeasuredValue_V600.fct The option Transmit Visual Basic Scripts does not need to be enabled.
• Click Next. The selection dialog of the referenced graphic diagrams opens. • Click Next. • In the next dialog, select Scripts. • Click Finish. The diagrams are published and are available for display via the Web Navigator.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
235
WinCC Web Navigator 8.2 WinCC Web Navigator with SICAM PAS CC
8.2.3
Installing Users for the WinCC Web Navigator In SIMATIC WinCC, you must install a special user which is allowed to access the Web Navigator Server from the Web Navigator Client. To install a user for the WinCC Web Navigator:
• Set up a new user.
pascc804.tif
Figure 8-3 Setting up new users
• Select WebNavigator. The Web options are now displayed. • Select a published diagram (e. g. ROOT.PD_) as a start picture. • Select the rights of the individual user.
Note Dat@Monitor - Just monitor! can only be enabled if the Dat@Monitor has been installed.
236
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
WinCC Web Navigator 8.2 WinCC Web Navigator with SICAM PAS CC
8.2.4
Configuring the WinCC Web Navigator Server Generate a web site on the WinCC Web Navigator Server and make it available to the Web Navigator Client.
• Start your WinCC project. • Right-click on Web Navigator in the WinCC Explorer. • Select Web Configurator from the context menu. The WinCC Web Configurator opens. • Click Next.
pascc803.tif
Figure 8-4 Configuring the Web Navigator
As a rule, you can perform the specified settings in this dialog.
• Click Finish to finish the configuration of the server.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
237
WinCC Web Navigator 8.2 WinCC Web Navigator with SICAM PAS CC
8.2.5
Configuring the WinCC Web Navigator Client
Installing plug-ins To install the SICAM PAS CC plug-ins on the client computer:
• Start the Internet Explorer. • Enter the IP address of the server computer. • Enter the WinCC user name and the password which have been previously set up on the server.
• Click on OK to confirm. The connection to the Web Navigator Server is established.
• Install the Web Navigator Client. • Navigate to the Download Area > Download Plug-Ins.
pascc800.tif
Figure 8-5 Web Navigator, installing plug-ins
• Click the arrow under Version Install. • Click Open in the next dialog. The plug-ins are installed. Displaying a process diagram The WinCC project must have been started on the Web Navigator Server in order to display the process diagram on the Web Navigator Client.
• Navigate to Process Diagrams. The process diagram is displayed in the browser.
238
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Time Synchronization
9
Overview High-precision time synchronization is a prerequisite for the proper functioning of a SICAM PAS system. A radio clock can be used as the timer. Time information from this clock is distributed throughout the entire system. This section illustrates the distribution of time information by means of a sample configuration. Contents 9.2
Network Time Protocol Daemon
242
9.3
Clock Driver
244
9.4
Configuration File for NTPD
248
9.5
Sample Configurations
251
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
239
Time Synchronization
Overview Time information within a SICAM PAS system can be synchronized as follows: via a FG6039GPS GPS time signal receiver manufactured by Hopf and a PCI card for the
SICAM PAS computer via an (S)NTP timer (e. g. SICLOCK): an external device is connected to the SICAM PAS
computer via Ethernet via the telecontrol connection of the control center:
This time synchronization method is not relevant for SICAM PAS CC. In a SICAM PAS system, time settings are synchronized based on the Network Time Protocol (NTP) and using the related Network Time Protocol Daemon (NTPD) software. Under a Windows operating system, the NTPD service runs in the background. For the installation of SICAM PAS, it is referred to as the Network Time Protocol Service. It is configured by means of the ntp.conf ASCII file. This configuration file can be edited using a text editor (e. g. Notepad). It is located in the following directory: C:\WINNT\system32\drivers\etc\. The NTPD is automatically installed together with SICAM PAS/SICAM PAS CC. It is activated upon a restart of the computer. In a SICAM PAS system, several NTPDs are simultaneously active (e. g. on the external radio clock, the SICAM PAS computer and the SICAM PAS CC computer). An NTPD can be configured as a server or as a client. Upon the request of a client, the server communicates its time information to the client. Based on NTP, a precision of approximately 0.1 milliseconds can be achieved under a Windows operating system. In order to achieve this high level of precision, the NTPDs of the system must perform extensive calculations. This process can take several hours after the system start. If the current time master fails, the NTPDs use the determined time data in order to keep an utmost level of time precision for as long as possible. More detailed information on the Network Time Protocol (NTP) is available on the Internet via the following link: http://www.ntp.org.
240
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Time Synchronization 9.1 Installing the Network Time Protocol Daemon
9.1
Installing the Network Time Protocol Daemon
To initialize the Hopf6039 card, the related software must be installed as soon as the card has been inserted. This software component is installed together with a Network Time Protocol Daemon (NTPD). The NTPD is automatically installed together with SICAM PAS/SICAM PAS CC. This NTPD allows for even more precise time synchronization than the one provided by Hopf. To install a Hopf6039 card, we therefore recommend to proceed as follows:
• Insert the Hopf6039 card in the computer. • Next, install the software for your Hopf6039 card. The software is required for the initialization of the card.
• Uninstall the NTPD (see below). • Install SICAM PAS/SICAM PAS CC. The NTPD delivered with SICAM PAS/SICAM PAS CC is also installed. Uninstalling NTPD To uninstall the Network Time Protocol Daemon:
• Click Start > Settings > Control Panel. • Double-click Administrative Tools. The Administrative Tools window opens. • Double-click Services. The Services window opens. • Right-click on Network Time Protocol and • select Exit from the context menu in order to exit the service. • Select Start > Run. • Enter ...\instsrv remove and click OK to uninstall the service. The instsrv.exe file can be found in the directory of the Hopf installation.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
241
Time Synchronization 9.2 Network Time Protocol Daemon
9.2
Network Time Protocol Daemon
For the configuration of the NTPD, knowledge about its main functions is required. Some NTPD functions and terms are illustrated below. Server, client and peer An NTPD can be configured as a server or as a client. The server uses the current time information received from a clock. The clients poll the time information from the server. Besides this, an NTPD can be configured as a peer. This is the case if several clocks with the same priority exist in a distributed system. The roles (server/client) of the individual NTPDs are not specifically defined for this purpose. The peers communicate amongst each other in order to determine the quality of their time signal. The NTPD of the peer with the most precise time signal acts as the server. Stratum, offset and dispersion Based on the Network Time Protocol, the time signal is distributed according to a defined hierarchical order. Time information is distributed from the top level down to the lower levels. A level is referred to as a stratum. The clock is the top level and is referred to as Stratum 0. The time server which receives its time information directly from the clock is assigned Stratum 1. The server which acts as a client of this server is assigned Stratum 2, etc. The deviation of the time information transmitted by the client clock from the time information transmitted by the server clock is referred to as offset. The NTPD tries to keep the offset as small as possible. The offset is the most important criterion for the determination of the quality of time information. The dispersion is another criterion used for quality determination. The dispersion defines the upper limit for the deviation of the system time from the 'real' clock time. The smaller the dispersion, the higher is the quality of the time information. Quality of time information When determining the system time, the received time stamp is assigned a quality. The following four quality levels can be assigned: High means that the system time deviates from the 'real' clock time by less than 10
milliseconds and that the quality of the time sources is sufficient for this determination. A dispersion of less than 10 milliseconds is sufficient to meet the standard requirements in the field of power automation. Medium means that the system time deviates from the 'real' clock time by less than 2
seconds and that the quality of the time sources is sufficient for this determination. This level of precision ensures that no low-quality time stamps are produced if a switching second is inserted and the clock therefore shows a temporary deviation of ~1 second. Low means that the available time information does not have the required precision and that
the system must therefore be considered as 'out of synchronization'. Unknown is assigned if the system detects that no NTP service is running at all or that the
service was not able to detect a time source.
242
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Time Synchronization 9.2 Network Time Protocol Daemon
For compatibility reasons, the time stamp is assigned the ClockSync and ClockValid status bits. These bits are set depending on the quality of the time stamp: high
The ClockSync and ClockValid status bits are set. medium
The ClockValid status bit is set. low
No status bit is set. unknown
No status bit is set.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
243
Time Synchronization 9.3 Clock Driver
9.3
Clock Driver
Two clock drivers are available. They were modified in such a way that they ensure proper time synchronization in the SICAM PAS system. Driver for the Hopf6039 card Shared memory clock driver
9.3.1
Driver for the Hopf6039 card The Hopf6039 clock is a PCI card with a DCF77 or GPS receiver. With a time precision of the clock of one millisecond, the operating system can achieve a resolution of up to one millisecond. Using the modified driver (included in the scope of delivery of SICAM PAS/SICAM PAS CC) for the Hopf6039 card, the resolution can be improved in edge polling mode. The quartz oscillator integrated in the Hopf6039 card is more stable than the oscillator of a standard PC. By combining the Hopf6039 card with NTPD, a time precision of less than one millisecond can be maintained for another two hours even if no time signal can be received (after a stabilization phase of several hours). Different modes can be set on the modified driver in order to determine the behavior of the driver in case of error (i.e. no time signal received from the clock). The driver can increase the value of the stratum and mark the clock as erroneous. A typical line in the configuration file for a Hopf6039 card provides the following type of information: server 127.127.39.0 mode 53 minpoll 2 maxpoll 6 prefer iburst The mode 53 parameter must be interpreted as a bit pattern (decimal value). The tables below illustrate the significance of the bits. Table 9-1
244
Bit pattern, mode 53
Bit
7
6
5
4
3
2
1
0
Bit Pattern
0
0
1
1
0
1
0
1
Value
1
1
5
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Time Synchronization 9.3 Clock Driver
Table 9-2
Parameter mode
Bit position
Meaning
Bits 0 ...3
stratum drop In case of error, this value is added to the stratum (see next table)
Bit 4
Edge polling mode The Hopf6039 card does not support interrupts. The card has a resolution of one millisecond, but maintains the clock time with far higher precision. During the first reading of the time stamp, a statistical error of +/- 0.5 is detected; due to repeated readings until the change of the value read, this error can be reduced to 1/10th of the original value. This method allows for speedier synchronization. If Bit 4 is set, repeated reading until the value changes is activated.
Bits 5 ...7
dropout mode These bits determine the behavior in case of error (see table below).
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
245
Time Synchronization 9.3 Clock Driver
Table 9-3
246
Dropout mode
dropout mode
stratum drop
Meaning
0
0
The connection to the satellite is not checked, but the status of the internal clock. If the clock indicates that it is only synchronized by the internal quartz, the driver marks the clock as incorrect. The time signal is no longer polled. This behavior is identical to the behavior of the unmodified clock driver.
0
1 ...15
The time signal is still polled, even if the clock is only synchronized by the internal quartz. However, the driver adds the stratum drop value to the stratum of the clock. The maximum value of the stratum is limited to 15.
1
0 ...15
The driver determines from how many satellites the clock receives time signals. If a clock does not receive time signals from any satellite, the stratum drop value is added to the stratum of the clock. The time signal is no longer polled if the clock is only synchronized by the internal quartz.
2
0
The time signal is still polled even if the clock is only synchronized by the internal quartz. This behavior is identical to the behavior of the unmodified clock driver, provided that the fudge1 flag of this driver is set to 1.
2
1 ...15
The driver determines from how many satellites the clock receives time signals. If a clock does not receive time signals from any satellite, the stratum drop value is added to the stratum of the clock. Time information is still polled, even if the clock is only synchronized by the internal quartz.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Time Synchronization 9.3 Clock Driver
9.3.2
Shared Memory Clock Driver Using a shared memory clock driver, the time in a SICAM PAS system can be synchronized based on telecontrol protocols. The ntp.conf comprises four blocks for time synchronization via telecontrol protocols. A typical block has the following structure: server 127.127.28.0 mode 33 minpoll 2 maxpoll 10 fudge 127.127.28.0 stratum 1 The third address section (assigned the value 28 in the example below) defines the type of clock driver. The fourth address section (0 in the example) is used to distinguish between clocks of the same type.
mode mode 33 (refer to Section 9.4) is an extended mode (0x01) including the monitoring for timeout. In the fudge line, the value 1 is specified for the stratum. In a SICAM PAS system, only modes 1 and 33 can be used for time synchronization via telecontrol protocols. With mode 33, timeout monitoring is automatically included. This is the most convenient mode. When using Mode 1, the values of the minpoll and maxpoll parameters must be selected very carefully in order to match the synchronization frequency of the telecontrol center. The minpoll parameter must be set in such a way as to ensure that 2^minpoll is greater than the synchronization interval of the control center. The maxpoll parameter must also be set to this value. minpoll and maxpoll If automatic time monitoring (adaptive polling) is activated, the NTPD tries to set a polling interval within the limits selected via the minpoll and maxpoll parameters. The polling interval is increased by one step if the telecontrol protocol did not provide any value within a defined interval. If more than two values are transmitted within an interval, the polling interval is reduced by one step. If synchronization based on the telecontrol protocol fails, the polling interval increases until the maximum interval value has been reached. The clock is marked as erroneous and the polling interval is set to the minimum value in order to detect a recovery of synchronization as quickly as possible. The values for Minpoll and maxpoll must be selected in such a way as to ensure that they include the expected time synchronization interval of the telecontrol protocol. The following values can be used: minpoll = 2 (4 s); maxpoll = 10 (1024 s/17 min).
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
247
Time Synchronization 9.4 Configuration File for NTPD
9.4
Configuration File for NTPD
When installing SICAM PAS/SICAM PAS CC, an ntp.conf configuration file is copied into the ...\WINNT\system32\drivers\etc directory. Use this file to configure the NTPD (Network Time Protocol Daemon). The time servers are indicated in the configuration files of the clients. However, the clients are not indicated in the configuration files of the servers. A time client can therefore be conveniently added to a system. Only the configuration file of the new client needs to be edited. The configuration file already includes some comments on its contents. The following section provides information about important entries. For more detailed information, refer to the following web site: http://www.ntp.org. General settings #--------------------------------------------------------------------# general settings #--------------------------------------------------------------------# -- panic threshold -# if system clock is more than that distance from the best external source, # stop the service because something is really weird. tinker panic 7200.0 # -- driftfile storage -# NTPD will store the clock drift here, so after restart the service will # lock the FLL/PLL faster. On embedded systems, make sure that file is # writeable and on a non-write-protected file system! driftfile %windir%\ntp.drift # -- logfile storage -# make sure this is a writeable file on a non-write protected file system! #logfile D:\tmp\ntpd.log # -- Statistic file storage -# make sure this is a directory on a non-write protected file system! #statsdir D:\tmp\ntpstats\
tinker panic
Time information is not synchronized if the clock concerned deviates by more than 7,200 seconds from the best external clock. The NTPD stops automatically or does not start up. The Services Manager indicates whether the NTPD has started or not. Press F5 to update the Services Manager. Set the local system time manually and start the NTPD. driftfile, logfile, statsdir
In these lines, you can specify the storage location of the Drift and Log files. To do this, write access rights are required. Activate the logfile and statsdir lines for error detection only. The quartz drift determined is stored in the ntp.drift file. This allows for speedier synchronization after a system start, since the clock can be set to the correct speed based on the offset value. If no writeable (and resetproof) file system is available, the drift file can be disabled. In this case, optimum synchronization can only be achieved some time (hours!) after a system start.
248
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Time Synchronization 9.4 Configuration File for NTPD
Reference clocks #--------------------------------------------------------------------# reference clocks #--------------------------------------------------------------------# -- local system clock # the local system clock is used as level 10 fallback if everything fails and # the server must continue to operate because of (S)NTP clients like # IEC61850 devices et al. server 127.127.1.0 fudge 127.127.1.0 stratum 10 # -- HOPF6039 receiver # mode 53-->bail out if no radio operation possible. #server 127.127.39.0 mode 53 minpoll 2 maxpoll 6 prefer iburst
Using the lines under local system clock, you can define the local clock as the timer. Define a high value for the stratum. The local time is used unless another, better time base is available.
In the lines under Hopf6039 receiver, you can define the use of a Hopf6039 card. mode
With mode 53 (see Table 9-2), no time is polled from the card if it cannot receive data. minpoll, maxpoll
The time is to be polled at intervals of between 4 and 64 seconds. The values of minpoll and maxpoll are the exponents from a base of 2 (22 = 4.26 = 64). iburst
The iburst parameter ensures that five values are read per second during the first poll. The internal filters enter a steady state, which ensures that synchronization can be achieved within an even shorter time. Shared memory clocks #--------------------------------------------------------------------------# shared memory clocks ('iburst' is not useful here) #--------------------------------------------------------------------------# minpoll 2 -> 4s / maxpoll 6 -> 64s, mode 33 -> adaptive polling # channel 1 server 127.127.28.0 mode 33 minpoll 2 maxpoll 6 fudge 127.127.28.0 stratum 5 # channel 2 server 127.127.28.1 mode 33 minpoll 2 maxpoll 6 fudge 127.127.28.1 stratum 5 # channel 3 server 127.127.28.2 mode 33 minpoll 2 maxpoll 6 fudge 127.127.28.2 stratum 5 # channel 4 server 127.127.28.3 mode 33 minpoll 2 maxpoll 6 fudge 127.127.28.3 stratum 5
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
249
Time Synchronization 9.4 Configuration File for NTPD
These lines are required in order to use shared memory clock drivers. They are used for time synchronization via telecontrol protocols. mode
Via mode 33 (see Table 9-2), you can define adaptive polling. During adaptive polling, the frequency of the poll is automatically adjusted to the poll result. If the result rarely changes, polls are performed less frequently. minpoll, maxpoll
The minpoll and maxpoll parameters must be specified in such a way that the range matches the current synchronization rate of the control center as precisely as possible. Peers #-------------------------------------------------------------------------# peers: all time sync peers in a PAS installation #-------------------------------------------------------------------------# If the local system has reference clock access, mention all other systems # (full servers and dips) in a PAS installation that can also access reference # clocks. Peers will negotiate the leader of the pack... # minpoll 2 -> 4s / maxpoll 6 -> 64s, iburst -> initial burst poll #peer xxx.xxx.xxx.xxx minpoll 2 maxpoll 6 iburst
If one Full Server and one or several DIP(s) are used, the synchronization sources can be distributed amongst the computers used (HOPF6039 on the Full Server, telecontrol protocols on the DIP). To do this, activate the peer line. In this case, the computers must determine amongst each other which clock time is most suitable. Since the classical server/client relationship cannot be applied in this context, all computers involved must be configured as peers (i.e. "colleagues" with the same priority). Data is exchanged on a bidirectional basis in order to ensure that synchronization can be performed by both computers (systems).
Servers #---------------------------------------------------------------------------# servers #---------------------------------------------------------------------------# If the local system has no reference clock access, mention all systems that # have reference clock access here. If there is a network path to an external # clock source (NTP server in the control center, for example) list them # here, too. And furthermore mention all fallback servers that can be used! # minpoll 2 -> 4s / maxpoll 6 -> 64s, iburst -> initial burst poll #server yyy.yyy.yyy.yyy minpoll 2 maxpoll 6 iburst
The following lines serve as examples for the definition of time servers. The information in these lines can be used for demo purposes only. In a "real" environment, the user must enter the parameters for real time servers. server 139.25.31.13 minpoll 2 maxpoll 6 iburst server 139.25.208.27 minpoll 2 maxpoll 6 iburst server ntp.lpz.siemens.de minpoll 2 maxpoll 6 iburst
250
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Time Synchronization 9.5 Sample Configurations
9.5
Sample Configurations
This section illustrates typical sample configurations. It describes the distribution of time information in the system and presents the configuration files of the NTPDs. In the first example, a PIC card manufactured by Hopf is used. The card is incorporated in a
SICAM PAS computer (Full Server). In the second example, the time is specified by an external radio clock. The radio clock is
directly connected to the bay bus (IEC 61850).
9.5.1
PCI Card as Timer The FG6039GPS PCI card manufactured by Hopf is incorporated in the SICAM PAS computer (Full Server) and used as the time master of the system. Other clocks can only become time master if the PCI card fails or if its time information is of poor quality. The NTPD is active on both the SICAM PAS computer and on the SICAM PAS CC computer. On the SICAM PAS computer, it acts as the server; on the SICAM PAS CC computer, it acts as a client. Telecontrol Center
IEC 60870-5-101 Antenna
Hopf PCI Card
SICAM PAS Full Server
SICAM PAS CC
NTPD
NTPD
192.168.1.1
192.168.1.2 IEC 61850 PROFIBUS FMS
Bay Devices
Bay Devices
pasinst71.tif
Figure 9-1 Time synchronization via the Hopf6039 card in the SICAM PAS computer, example
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
251
Time Synchronization 9.5 Sample Configurations
Bay devices act as clients and poll the time from the SICAM PAS computer. The configuration of bay devices is not described in the present document. For more detailed information on this topic, refer to the documentation of the corresponding devices. Configuration files This section provides a list of the ntp.conf configuration files for the SICAM PAS and the SICAM PAS CC computers. The entries in the list have been customized for the example illustrated. Be aware that the real system configuration (e. g. IP addresses) of your own environment must be considered. Changes to the predefined configuration files have been highlighted. Configuration file of the SICAM PAS computer: #--------------------------------------------------------------------# general settings #--------------------------------------------------------------------# -- panic threshold -# if system clock is more than that distance from the best external source, # stop the service because something is really weird. tinker panic 7200.0 # -- driftfile storage -# NTPD will store the clock drift here, so after restart the service will # lock the FLL/PLL faster. On embedded systems, make sure that file is # writeable and on a non-write-protected file system! driftfile %windir%\ntp.drift # -- logfile storage -# make sure this is a writeable file on a non-write protected file system! #logfile D:\tmp\ntpd.log # -- Statistic file storage -# make sure this is a directory on a non-write protected file system! #statsdir D:\tmp\ntpstats\
#--------------------------------------------------------------------# reference clocks #--------------------------------------------------------------------# -- local system clock # the local system clock is used as level 10 fallback if everything fails and # the server must continue to operate because of (S)NTP clients like # IEC61850 devices et al. server 127.127.1.0 fudge 127.127.1.0 stratum 10 # -- HOPF6039 receiver # mode 53-->bail out if no radio operation possible. server 127.127.39.0 mode 53 minpoll 2 maxpoll 6 prefer iburst
252
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Time Synchronization 9.5 Sample Configurations
#--------------------------------------------------------------------------# shared memory clocks ('iburst' is not useful here) #--------------------------------------------------------------------------# minpoll 2 -> 4s / maxpoll 6 -> 64s, mode 33 -> adaptive polling # channel 1 server 127.127.28.0 mode 33 minpoll 2 maxpoll 6 fudge 127.127.28.0 stratum 5 # channel 2 server 127.127.28.1 mode 33 minpoll 2 maxpoll 6 fudge 127.127.28.1 stratum 5 # channel 3 server 127.127.28.2 mode 33 minpoll 2 maxpoll 6 fudge 127.127.28.2 stratum 5 # channel 4 server 127.127.28.3 mode 33 minpoll 2 maxpoll 6 fudge 127.127.28.3 stratum 5
#-------------------------------------------------------------------------# peers: all time sync peers in a PAS installation #-------------------------------------------------------------------------# If the local system has reference clock access, mention all other systems # (full servers and dips) in a PAS installation that can also access reference # clocks. Peers will negotiate the leader of the pack... # minpoll 2 -> 4s / maxpoll 6 -> 64s, iburst -> initial burst poll #peer xxx.xxx.xxx.xxx minpoll 2 maxpoll 6 iburst
#---------------------------------------------------------------------------# servers #---------------------------------------------------------------------------# If the local system has no reference clock access, mention all systems that # have reference clock access here. If there is a network path to an external # clock source (NTP server in the control center, for example) list them # here, too. And furthermore mention all fallback servers that can be used! # minpoll 2 -> 4s / maxpoll 6 -> 64s, iburst -> initial burst poll #server yyy.yyy.yyy.yyy minpoll 2 maxpoll 6 iburst
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
253
Time Synchronization 9.5 Sample Configurations
Configuration file of the SICAM PAS CC computer: #--------------------------------------------------------------------# general settings #--------------------------------------------------------------------# -- panic threshold -# if system clock is more than that distance from the best external source, # stop the service because something is really weird. tinker panic 7200.0 # -- driftfile storage -# NTPD will store the clock drift here, so after restart the service will # lock the FLL/PLL faster. On embedded systems, make sure that file is # writeable and on a non-write-protected file system! driftfile %windir%\ntp.drift # -- logfile storage -# make sure this is a writeable file on a non-write protected file system! #logfile D:\tmp\ntpd.log # -- Statistic file storage -# make sure this is a directory on a non-write protected file system! #statsdir D:\tmp\ntpstats\
#--------------------------------------------------------------------# reference clocks #--------------------------------------------------------------------# -- local system clock # the local system clock is used as level 10 fallback if everything fails and # the server must continue to operate because of (S)NTP clients like # IEC61850 devices et al. server 127.127.1.0 fudge 127.127.1.0 stratum 10 # -- HOPF6039 receiver # mode 53-->bail out if no radio operation possible. #server 127.127.39.0 mode 53 minpoll 2 maxpoll 6 prefer iburst
254
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Time Synchronization 9.5 Sample Configurations
#--------------------------------------------------------------------------# shared memory clocks ('iburst' is not useful here) #--------------------------------------------------------------------------# minpoll 2 -> 4s / maxpoll 6 -> 64s, mode 33 -> adaptive polling # channel 1 server 127.127.28.0 mode 33 minpoll 2 maxpoll 6 fudge 127.127.28.0 stratum 5 # channel 2 server 127.127.28.1 mode 33 minpoll 2 maxpoll 6 fudge 127.127.28.1 stratum 5 # channel 3 server 127.127.28.2 mode 33 minpoll 2 maxpoll 6 fudge 127.127.28.2 stratum 5 # channel 4 server 127.127.28.3 mode 33 minpoll 2 maxpoll 6 fudge 127.127.28.3 stratum 5
#-------------------------------------------------------------------------# peers: all time sync peers in a PAS installation #-------------------------------------------------------------------------# If the local system has reference clock access, mention all other systems # (full servers and dips) in a PAS installation that can also access reference # clocks. Peers will negotiate the leader of the pack... # minpoll 2 -> 4s / maxpoll 6 -> 64s, iburst -> initial burst poll #peer xxx.xxx.xxx.xxx minpoll 2 maxpoll 6 iburst
#---------------------------------------------------------------------------# servers #---------------------------------------------------------------------------# If the local system has no reference clock access, mention all systems that # have reference clock access here. If there is a network path to an external # clock source (NTP server in the control center, for example) list them # here, too. And furthermore mention all fallback servers that can be used! # minpoll 2 -> 4s / maxpoll 6 -> 64s, iburst -> initial burst poll server 192.168.1.1 minpoll 2 maxpoll 6 iburst
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
255
Time Synchronization 9.5 Sample Configurations
9.5.2
External Radio Clock as Timer For system configurations comprising an Ethernet bay bus (IEC 61850), an external radio clock (e. g. SICLOCK, Meinberg, Hopf) can be used as the time master on the Ethernet bay bus. If this clock fails or if the quality of the time information provided is poor, another clock available in the system becomes the time master. In the NTPD configuration files, you can define which clock is to become the new time master. The NTPD is active both on the SICAM PAS computers (Full Server and DIP) and on the SICAM PAS CC computer. The NTPD of the radio clock acts as the time server; the NTPDs of the SICAM PAS computers act as the clients. Additionally, time information can be transmitted from the telecontrol center. Telecontrol Center
IEC 60870-5-101
Radio Clock 192.168.1.6
SICAM PAS Full Server
NTPD
192.168.1.1
SICAM PAS DIP
NTPD
192.168.1.3
SICAM PAS CC
NTPD
192.168.1.2 IEC 61850 IEC 60870-5-103
Bay Devices
Bay Devices
pasinst72.tif
Figure 9-2 Time synchronization via an external radio clock, example
The bay devices on the IEC 61850 bus are clients which poll time information from the radio clock. Their configuration is not described in the present document. For more detailed information on this topic, refer to the documentation of the corresponding devices. All other bay devices connected via IEC 60870-5-103 receive time information from the DIP.
256
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Time Synchronization 9.5 Sample Configurations
Configuration files This section provides a list of the tp.conf configuration files for the SICAM PAS and the SICAM PAS CC computers. The entries in the list have been customized for the example illustrated. Be aware that the real system configuration (e. g. IP addresses) of your own environment must be considered. Changes to the predefined configuration files have been highlighted. Configuration file of the SICAM PAS DIP: #--------------------------------------------------------------------# general settings #--------------------------------------------------------------------# -- panic threshold -# if system clock is more than that distance from the best external source, # stop the service because something is really weird. tinker panic 7200.0 # -- driftfile storage -# NTPD will store the clock drift here, so after restart the service will # lock the FLL/PLL faster. On embedded systems, make sure that file is # writeable and on a non-write-protected file system! driftfile %windir%\ntp.drift # -- logfile storage -# make sure this is a writeable file on a non-write protected file system! #logfile D:\tmp\ntpd.log # -- Statistic file storage -# make sure this is a directory on a non-write protected file system! #statsdir D:\tmp\ntpstats\
#--------------------------------------------------------------------# reference clocks #--------------------------------------------------------------------# -- local system clock # the local system clock is used as level 10 fallback if everything fails and # the server must continue to operate because of (S)NTP clients like # IEC61850 devices et al. server 127.127.1.0 fudge 127.127.1.0 stratum 10 # -- HOPF6039 receiver # mode 53-->bail out if no radio operation possible. #server 127.127.39.0 mode 53 minpoll 2 maxpoll 6 prefer iburst
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
257
Time Synchronization 9.5 Sample Configurations
#--------------------------------------------------------------------------# shared memory clocks ('iburst' is not useful here) #--------------------------------------------------------------------------# minpoll 2 -> 4s / maxpoll 6 -> 64s, mode 33 -> adaptive polling # channel 1 server 127.127.28.0 mode 33 minpoll 2 maxpoll 6 fudge 127.127.28.0 stratum 5 # channel 2 server 127.127.28.1 mode 33 minpoll 2 maxpoll 6 fudge 127.127.28.1 stratum 5 # channel 3 server 127.127.28.2 mode 33 minpoll 2 maxpoll 6 fudge 127.127.28.2 stratum 5 # channel 4 server 127.127.28.3 mode 33 minpoll 2 maxpoll 6 fudge 127.127.28.3 stratum 5
#-------------------------------------------------------------------------# peers: all time sync peers in a PAS installation #-------------------------------------------------------------------------# If the local system has reference clock access, mention all other systems # (full servers and dips) in a PAS installation that can also access reference # clocks. Peers will negotiate the leader of the pack... # minpoll 2 -> 4s / maxpoll 6 -> 64s, iburst -> initial burst poll peer 192.168.1.6 minpoll 2 maxpoll 6 iburst
The SICAM PAS DIP must be entered as a peer for the radio clock. If this is not possible, the radio clock must not be used as peer, but as a server: #---------------------------------------------------------------------------# servers #---------------------------------------------------------------------------# If the local system has no reference clock access, mention all systems that # have reference clock access here. If there is a network path to an external # clock source (NTP server in the control center, for example) list them # here, too. And furthermore mention all fallback servers that can be used! # minpoll 2 -> 4s / maxpoll 6 -> 64s, iburst -> initial burst poll server 192.168.1.6 minpoll 2 maxpoll 6 iburst
258
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Time Synchronization 9.5 Sample Configurations
Configuration file of the SICAM PAS CC computer and of the SICAM PAS Full Server: #--------------------------------------------------------------------# general settings #--------------------------------------------------------------------# -- panic threshold -# if system clock is more than that distance from the best external source, # stop the service because something is really weird. tinker panic 7200.0 # -- driftfile storage -# NTPD will store the clock drift here, so after restart the service will # lock the FLL/PLL faster. On embedded systems, make sure that file is # writeable and on a non-write-protected file system! driftfile %windir%\ntp.drift # -- logfile storage -# make sure this is a writeable file on a non-write protected file system! #logfile D:\tmp\ntpd.log # -- Statistic file storage -# make sure this is a directory on a non-write protected file system! #statsdir D:\tmp\ntpstats\
#--------------------------------------------------------------------# reference clocks #--------------------------------------------------------------------# -- local system clock # the local system clock is used as level 10 fallback if everything fails and # the server must continue to operate because of (S)NTP clients like # IEC61850 devices et al. server 127.127.1.0 fudge 127.127.1.0 stratum 10 # -- HOPF6039 receiver # mode 53-->bail out if no radio operation possible. #server 127.127.39.0 mode 53 minpoll 2 maxpoll 6 prefer iburst
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
259
Time Synchronization 9.5 Sample Configurations
#--------------------------------------------------------------------------# shared memory clocks ('iburst' is not useful here) #--------------------------------------------------------------------------# minpoll 2 -> 4s / maxpoll 6 -> 64s, mode 33 -> adaptive polling # channel 1 server 127.127.28.0 mode 33 minpoll 2 maxpoll 6 fudge 127.127.28.0 stratum 5 # channel 2 server 127.127.28.1 mode 33 minpoll 2 maxpoll 6 fudge 127.127.28.1 stratum 5 # channel 3 server 127.127.28.2 mode 33 minpoll 2 maxpoll 6 fudge 127.127.28.2 stratum 5 # channel 4 server 127.127.28.3 mode 33 minpoll 2 maxpoll 6 fudge 127.127.28.3 stratum 5
#-------------------------------------------------------------------------# peers: all time sync peers in a PAS installation #-------------------------------------------------------------------------# If the local system has reference clock access, mention all other systems # (full servers and dips) in a PAS installation that can also access reference # clocks. Peers will negotiate the leader of the pack... # minpoll 2 -> 4s / maxpoll 6 -> 64s, iburst -> initial burst poll #peer xxx.xxx.xxx.xxx minpoll 2 maxpoll 6 iburst
#---------------------------------------------------------------------------# servers #---------------------------------------------------------------------------# If the local system has no reference clock access, mention all systems that # have reference clock access here. If there is a network path to an external # clock source (NTP server in the control center, for example) list them # here, too. And furthermore mention all fallback servers that can be used! # minpoll 2 -> 4s / maxpoll 6 -> 64s, iburst -> initial burst poll server 192.168.1.3 minpoll 2 maxpoll 6 iburst server 192.168.1.6 minpoll 2 maxpoll 6 iburst
260
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Structures
A
Overview PAS information (tags) is processed as structures in SICAM PAS CC. A structure consists of several elements. There are six structure types. When importing tags from SICAM PAS, the tags are automatically assigned to the appropriate structure type. In SICAM PAS CC, you directly access structure type elements, i.e. their values and their additional information. This chapter provides a list of these structure types and an overview of the meaning of the structure elements. Contents A.1
External structure types
262
A.2
Structure layout
263
A.3
Structure elements
269
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
261
Structures A.1 External structure types
A.1
External structure types
The following external SICAM PAS CC structure types are created by the SICAM PAS Wizard: Table A-1
SICAM PAS CC structure types for SICAM PAS tags
SICAM PAS CC structure types PAS_Information PAS_InformationFloat PAS_InformationSInt PAS_Command PAS_CommandFloat PAS_CommandSInt
262
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Structures A.2 Structure layout
A.2
Structure layout
The structures are composed of elements. Structure of PAS_Information (monitoring direction):
Double word (4 bytes)
Value (Value)
Double word (4 bytes)
Status (Validity)
Double word (4 bytes)
Value type (Valuetype)
Double word (4 bytes)
Cause (Cause)
Double word (4 bytes)
Additional cause (AddCause)
Double word (4 bytes)
Counter (Counter)
Bit
Alarm
Double word (4 bytes)
IXHook
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
263
Structures A.2 Structure layout
Structure of PAS_InformationFloat (monitoring direction) :
264
Floating point (4 bytes)
Value (Value)
Double word (4 bytes)
Status (Validity)
Double word (4 bytes)
Value type (Valuetype)
Double word (4 bytes)
Cause (Cause)
Double word (4 bytes)
Additional cause (AddCause)
Double word (4 bytes)
Counter (Counter)
Bit
Alarm
Double word (4 bytes)
IXHook
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Structures A.2 Structure layout
Structure of PAS_InformationSInt (monitoring direction) :
Long (4 bytes)
Value (Value)
Double word (4 bytes)
Status (Validity)
Double word (4 bytes)
Value type (Valuetype)
Double word (4 bytes)
Cause (Cause)
Double word (4 bytes)
Additional cause (AddCause)
Double word (4 bytes)
Counter (Counter)
Bit
Alarm
Double word (4 bytes)
IXHook
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
265
Structures A.2 Structure layout
Structure of PAS_Command (command direction) :
266
Double word (4 bytes)
Value (Value)
Double word (4 bytes)
Status (Validity)
Double word (4 bytes)
Value type (Valuetype)
Double word (4 bytes)
Cause (Cause)
Double word (4 bytes)
Additional cause (AddCause)
Double word (4 bytes)
Reply counter for feedback (ReplyCounter)
Double word (4 bytes)
Command counter (CmdCounter)
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Structures A.2 Structure layout
Structure of PAS_CommandFloat (command direction) :
Floating point (4 bytes)
Value (Value)
Double word (4 bytes)
Status (Validity)
Double word (4 bytes)
Value type (Valuetype)
Double word (4 bytes)
Cause (Cause)
Double word (4 bytes)
Additional cause (AddCause)
Double word (4 bytes)
Reply counter for feedback (ReplyCounter)
Double word (4 bytes)
Command counter (CmdCounter)
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
267
Structures A.2 Structure layout
Structure of PAS_CommandSInt (command direction) :
Long (4 bytes)
Value (Value)
Double word (4 bytes)
Status (Validity)
Double word (4 bytes)
Value type (Valuetype)
Double word (4 bytes)
Cause (Cause)
Double word (4 bytes)
Additional cause (AddCause)
Double word (4 bytes)
Reply counter for feedback (ReplyCounter)
Double word (4 bytes)
Command counter (CmdCounter)
For monitoring and control, you access these structure elements according to their relevance.
268
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Structures A.3 Structure elements
A.3
Structure elements
A.3.1
Value The possible variants are indicated for each Value Type. The description does not mention all possible types, but is restricted to the most important types.
Value Type 1: Organizational message Freely defined, depending on the information address.
Value Type 2: Double-point indication Highword Lowword
D:
D
00
Disturbed (fault)
01
OFF
10
ON
11
Disturbed
Value Type 3: Single-point indication Highword Lowword
S:
S
1
OFF
2
ON
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
269
Structures A.3 Structure elements
Value Type 5: Transformer tap indication Highword Lowword
LZ
LK
8 bits Transformer tap (binary)
LZ:
0
Runtime monitoring not activated
LZ:
1
Runtime monitoring activated
LK:
0
Moving contact doesn’t move (final position)
LK:
1
Moving contact moves (Disturbed)
Value Type 6: Message with value Highword
32-bit Real value
Lowword
Value Type 7: Bit pattern indication, 8 bits Highword Lowword
8-bit bit pattern (binary)
Value Type 8: Bit pattern indication, 16 bits Highword Lowword
16-bit bit pattern (binary)
Value Type 9: Bit pattern indication, 24 bits Highword Lowword
24-bit bit pattern (binary)
Value Type 10: Bit pattern indication, 32 bits Highword
32-bit bit pattern (binary)
Lowword
270
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Structures A.3 Structure elements
Value Type 12: Metered value Highword
32-bit value, double complement
Lowword
Value Type 13: Continuous switching command Highword Lowword
S:
S
0
OFF
1
ON
Value Type 14: Pulse switching command Highword
24 bits
Lowword
Duration in ms
S:
0
OFF
1
ON
S
If 0 ms is used as duration, the time sent by the CFC is used.
Value Type 17: Transformer tap positioning command Highword Lowword
8-bit transformer tap (binary)
Value Type 18: Setpoint digital, 8 bits Highword Lowword
8-bit setpoint value (binary)
Value Type 19: Setpoint digital, 16 bits Highword Lowword
16-bit setpoint value (binary)
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
271
Structures A.3 Structure elements
Value Type 21: Setpoint digital, 32 bits Highword
32-bit setpoint value (binary)
Lowword
Value Type 22: Setpoint value analog, floating point Highword
32-bit Real value
Lowword Values which cannot be represented as 16-bit value are not output. They are BF- acknowledged (command negative acknowledged) with plausibility error as additional cause.
Value Type 24: Setpoint value analog, fixed point Highword Lowword
Value
16 bits value, two’s complement
Value Type 28: Measured value, floating point Highword
32-bit Real value
Lowword
Value Type 30: Measured value, fixed point Highword Lowword
Value
16 bits value, two’s complement
272
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Structures A.3 Structure elements
A.3.2
Status The Status element is divided into two parts. Byte 0 and Byte 1 contain the status, Byte 2 and Byte 3 a timeout in seconds. The timeout is the internal system monitoring time for command output.
Value (Byte 0 and Byte 1) Bit 0
Meaning
Reserved
Bit 1 Bit 2 Bit 3 Bit 4 Bit 5 Bit 6 Bit 7
Counter content
Bit 8
Bay blocking
Bit 9 Bit 10
Not updated
Bit 11
Substituted (manually)
Bit 12 Bit 13
Telecontrol blocking
Bit 14
Invalid
Bit 15
Overflow
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
273
Structures A.3 Structure elements
A.3.3
Value type
Value
274
Meaning
1
Organizational indication
2
Double-point indication
3
Single-point indication
4
Transient indication
5
Tap position indication
6
Message with value
7
Bit pattern indication, 8 bits
8
Bit pattern indication, 16 bits
9
Bit pattern indication, 24 bits
10
Bit pattern indication, 32 bits
11
Organizational acknowledgement
12
Metered values
13
Continuous switching command
14
Pulse switching command
15
Continuous control command
16
Reclosure command
17
Tap position command
18
Setpoint digital, 8 bits
19
Setpoint digital, 16 bits
20
Setpoint digital, 24 bits
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Structures A.3 Structure elements
Value
Meaning
21
Setpoint digital, 32 bits
22
Setpoint analog, floating point
23
Setpoint analog, standardized
24
Setpoint analog, fixed point
25
GI request
26
Freeze command
27
Organizational command
28
Measured value, floating point
29
Measured value, standardized
30
Measured value, fixed point
31
Sequence
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
275
Structures A.3 Structure elements
A.3.4
Cause
Group / Value
276
Meaning
0
Irrelevant
1
Spontaneous
2
Cyclic, periodic
3
Initialized/default
8
General interrogation
9
Interrogation
10
Metered-value request
16
Check
17
Positive check result
18
Negative check result
19
Command execution
20
Positive command acceptance
21
Negative command acceptance
22
Positive command feedback
25
Cancel
26
Positive cancellation procedure
27
Negative cancellation procedure
28
End of command execution
32
Organizational information
33
Message loss
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Structures A.3 Structure elements
Group / Value
Meaning
34
Process feedback
35
Positive command feedback
36
Negative command feedback
Bit 7
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Direction bit
277
Structures A.3 Structure elements
A.3.5
Additional cause
Value
278
Meaning
0
No error
32
Enable address
33
Reset command
34
Wrong output time
35
Error in command check
36
Error in counter enabling
37
Unknown I/O channel
38
Too many active commands
39
Wrong command type
40
Wrong data type
41
Command is not accepted
64
1 out of n errors (hardware)
65
Target check
66
Voltage of command relay
67
Command relay cannot be disconnected
68
Output register not plausible
80
No voltage
81
Switching current check
82
Wrong operating output
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Structures A.3 Structure elements
Value
Meaning
83
Command output voltage missing
96
Interlock status
97
Protective interlocking against switching faults
98
Parameter error
99
Switching authority violation
100
Outdated command
101
No process output object
102
Output lock
103
HW fault in module
104
HW fault in I/O channel
105
Overload
112
Upper limit
113
Lower limit
114
Plausibility error
115
Sync. requirement is missing
116
Device state prevents command
117
SET = ACTUAL
118
Channel monitoring time elapsed
119
Recording lock
120
Chatter blocking active
121
1 out of n errors (software)
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
279
Structures A.3 Structure elements
A.3.6
Counter
For messages The Counter is always incremented by the SICAM PAS Channel DLL when a new information is sent. For commands If a command is to be output via SICAM PAS CC, the command counter (CmdCounter) is to be incremented. In this way, SICAM PAS Channel DLL knows that the information has changed. The Reply Counter is always incremented by the SICAM PAS Channel DLL when a new information is sent.
A.3.7
Alarm This element is only relevant for old stations. In old projects in which messages are triggered by changes in the process tags (bit indication procedure), the alarm bit for the tag is used as a trigger.
A.3.8
0
OFF
1
ON
IXHook The IXHook tag is created as internal tag of an IndustrialX Control. It comprises the current status of the IndustrialX Control during the runtime of the project.
280
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Character Conversion
B
Overview When importing SICAM PAS process tags or SICAM PAS archive tags from SICAM PAS or SICAM plusTOOLS, the tag names are adapted to the conventions of SIMATIC WinCC. This chapter contains conversion tables showing how the names are changed when they are imported. Contents B.1
Process Tags
282
B.2
Archive Tags
287
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
281
Character Conversion B.1 Process Tags
B.1
Process Tags
For SICAM PAS CC, the type of special character conversion is defined in the SICAM PAS Wizard, for SICAM WinCC (the predecessor of SICAM PAS CC), it is defined in the Global Wizard. Character conversion in SICAM PAS CC V5.x To create a new station with SICAM PAS CC V5.x, the user must select the SICAM PAS CC , V5.0 (or later) conforming parameter from the SICAM PAS Wizard under General settings. The special characters in tag names are replaced as follows during the import procedure: Table B-1
SICAM PAS CC V5.0 character conversion SICAM PAS
282
SICAM PAS CC
\
_ (underscore)
Blank character
is deleted
.
_
;
_
,
_
:
_
=
EQ
GR
{
(
}
)
[
(
]
)
*
_
“
_
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Character Conversion B.1 Process Tags
Table B-1
SICAM PAS CC V5.0 character conversion SICAM PAS
SICAM PAS CC
`
_
´
_
&
_
/
_
+
_
-
_
’
_
?
_
!
_
$
_
%
_
The special character conversion covers both the characters of the German and the English keyboard. All of the other special characters which might appear in keyboards for other languages are converted to the corresponding ASCII codes.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
283
Character Conversion B.1 Process Tags
SICAM WinCC V2.x character conversion To update an already existing station created with SICAM WinCC V2.x, the user must first deactivate the Special character conversion SICAM WinCC V2.1x or earlier conforming) parameter under General settings in the Global Wizard. The special characters in tag names are replaced as follows during the import procedure: Table B-2
SICAM WinCC V2.x character conversion SAS
284
WinCC \
_
Blank character
is deleted
.
_
ä
ae
ö
oe
ü
ue
Ä
AE
Ö
OE
Ü
UE
;
_
:
_
=
##
_#
{
_
}
_
[
_
]
_
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Character Conversion B.1 Process Tags
Table B-2
SICAM WinCC V2.x character conversion SAS
WinCC *
_
“
_
`
_
´
_
&
_
/
_
+
_
-
_
@
_
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
285
Character Conversion B.1 Process Tags
SICAM WinCC V3.1 character conversion In order to create a new station by means of SICAM WinCC V3.1x, the user must first activate the Special character conversion SICAM WinCC V3.1x or later conforming) parameter under General settings in the Global Wizard. The special characters in tag names are replaced as follows during the import procedure: Table B-3
SICAM WinCC V3.1 character conversion SAS
286
WinCC \
_
Blank character
is deleted
.
_
;
_
:
_
{
_
}
_
[
_
]
_
*
_
“
_
`
_
´
_
/
_
+
_
-
_
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Character Conversion B.2 Archive Tags
B.2
Archive Tags
Special characters in message names are replaced during import as follows. SICAM PAS CC V5.0 character conversion
Table B-4
Character conversion in message names SICAM PAS
SICAM PAS CC
\
_
Blank character
is deleted
.
_
;
_
,
_
:
_
=
EQ
GR
{
(
}
)
[
(
]
)
*
_
“
_
`
_
´
_
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
287
Character Conversion B.2 Archive Tags
Table B-4
Character conversion in message names SICAM PAS
SICAM PAS CC
&
_
/
_
+
_
-
_
@
_
’
_
?
_
!
_
$
_
%
_
The special character conversion covers both the characters of the German and the English keyboard. All of the other special characters which might appear in keyboards for other languages are converted to the corresponding ASCII codes.
288
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Character Conversion B.2 Archive Tags
SICAM WinCC character conversion
Table B-5
Character conversion in message names SAS
WinCC \
_
Blank character
is deleted
.
_
ä
ae
ö
oe
ü
ue
Ä
AE
Ö
OE
Ü
UE
;
_
,
_
:
_
=
EQ
BG
{
_
}
_
[
_
]
_
*
_
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
289
Character Conversion B.2 Archive Tags
Table B-5
Character conversion in message names SAS
290
WinCC “
_
`
_
´
_
&
_
/
_
+
_
-
_
@
_
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Additional Information in Message Lists
C
Overview This chapter tells you which additional items of information are written into which columns of the SICAM PAS CC message lists. The list refers to the text library which is included in the program.
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
291
Additional Information in Message Lists
Table C-1
Additional Information in message lists
Column Value
292
German Text
English Text
Störstellung Doppelmeldung
Interm. fault state double indication
AUS Doppelmeldung
OFF double-point indication
EIN Doppelmeldung
ON double-point indication
KOM Einzelmeldung
RAISED single-point indication
GEH Einzelmeldung
CLEARED single-point indication
Ereignis Statusänderung
Event status change
Wischer
Transient
Trafostufenstellbefehl
Tap position command
Trafostufenstellung Laufkontakt
Tap position moving contact
Messwert TCB (Total Count Bit)
Measured value TCB
Messwert IEB (Internal Error Bit)
Measured value IEB
Messwert RB (Restore Bit)
Measured value RB
AUS Befehl
OFF static output command
EIN Befehl
ON static output command
STOP Dauerbefehl
STOP persistent command
MINUS Dauerbefehl
MINUS persistent command
PLUS Dauerbefehl
PLUS persistent command
EIN Impulsbefehl
ON pulse output command
AUS Impulsbefehl
OFF pulse output command
TIEFER Trafostufenstellbefehl
DOWN tap position command
HOEHER Trafostufenstellbefehl
UP tap position command
nicht initialisiert
not initialized
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Additional Information in Message Lists
Table C-1
Additional Information in message lists (Forts.)
Column Location
German Text
English Text
Irrelevant
Irrelevant
Vorort
Local
Nah
Near
Fern
Remote
Automatisch
Automatic
Automatisch (Feld)
Automatic (bay)
Prozess
Process
DIGSI Vorort
DIGSI local
DIGSI Fern
DIGSI remote
Gerät ungültig
Device invalid
Gerät gesperrt
Device locked
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
293
Additional Information in Message Lists
Table C-1
Additional Information in message lists (Forts.)
Column Cause
294
German Text
English Text
Ursache irrelevant
Cause irrelevant
spontan
Spontaneous
periodisch
Periodic
initialisiert
Initialized
Generalabfrage
General interrogation
Anfrage
Request
Zählwertabfrage
Counter value interrogation
Prüfung
Check
Prüfung +
Check back +
Prüfung -
Check back -
Befehl
Command
Befehl +
Command +
Befehl -
Command -
Rückmeldung
Feedback
Abbruch
Abortion
Abbruch +
Abortion +
Abbruch -
Abortion -
Befehlsende +
Command execution end +
Befehlsende -
Command execution end -
Organisatorische Meldung
Organzational indication
TM Testmodus
TM test mode
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Additional Information in Message Lists
Table C-1
Additional Information in message lists (Forts.)
Column Status
Additional cause
German Text
English Text
Umspeicherbit
Counter value freeze bit
Internes Fehlerbit
Internal error bit
Zählerstand
Counter content
Feldsperre
Bay blocked
Externer Fehler
External error
Nicht aktuell
Not topical
Nachgeführt
Substituted (manually)
Flattersperre
Chatter blocking
Fernwirksperre
Telecontrol blocking
Ungültig
Invalid
Überlauf
Overflow
Status Ok
Status OK
Kein Fehler
No error
Freigabeansteuerung
Release control
Rücksetzen Befehl
Reset command
Falsche Ausgabezeit
Output time error
Fehler bei Befehlskontrolle
Error at command check
Fehler Zählerfreigabe
Counter release error
Unbekannter I/O-Kanal
Unknown I/O channel
Zu viele Befehle aktiv
Too many active commands
Falscher Befehlstyp
Command type error
Falscher Datentyp
Datatype error
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
295
Additional Information in Message Lists
Table C-1
Additional Information in message lists (Forts.)
Column Additional cause
296
German Text
English Text
Befehl wird nicht angenommen
Command not accepted
1 aus n-Fehler (Hardware)
1-out-of-n error (hardware)
Zielkontrolle
Target check
Spannung Befehlsrelais
Command relay voltage
Freigaberelais nicht absteuerbar
Release relay cannot be diesconnected
Ausgaberegister nicht plausibel
Output register not plausible
Spannungsfreiheit
De-energized
Schaltstromkontrolle
Switching current check
Falscher Betriebsausgang
Operational output error
Befehlsausgabespannung fehlt
Command output voltage missing
Verriegelungsbefund
Interlocking status
Schaltfehlerschutz
Switchgear interlocking
Parameterfehler
Parameter error
Verstoß Schalthoheit
Switching authority violation
Befehl zu alt
Command too old
Kein Prozessausgabeobjekt
No process output object
Ausgabesperre
Output disabled
HW-Fehler Baugruppe
HW error in module
HW-Fehler I/O-Kanal
HW error in I/O channel
Überlast
Overload
Obere Grenze
Upper limit
Untere Grenze
Lower limit
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Additional Information in Message Lists
Table C-1
Additional Information in message lists (Forts.)
Column Additional cause
ID number
Additional information
Time
German Text
English Text
Plausibilitätsfehler
Plausibility error
Voraussetzung für Sync. fehlt
Sync. precondition missing
Gerätezustand verhindert Befehl
Device state disables command
SOLL = IST
SET = ACTUAL
Überwachungszeit abgelaufen
Monitoring time expired
Erfassungssperre
Acquisition disabled
Flattersperre aktiv
Chatter blocking active
1 aus n-Fehler (Software)
1 out of n-error (software)
Identifikationsnummer irrelevant
Identification number irrelevant
Implizit bestimmt
Implicitly determined
Rückmeldungsidentifikator
Return information identifier
Fehlernummer
Fault/error number
Zusatzinformation irrelevant
Suppl. info irrelevant
Zusatzinformation impl. bestimmt
Suppl. info impl. determined
Relativzeit in ms
Relative time in ms
Quelladresse
Source address
GN (gültig, nicht synchronisiert)
VN (valid, not synchronized)
GS (gültig, synchronisiert)
VS (valid, synchronized)
UN (ungültig)
IN (valid)
W (Winterzeit)
DST (Daylight Saving Time)
S (Sommerzeit)
noDST (no Daylight Saving Time)
e (von SICAM PAS ersetzt)
r (replaced by SICAM PAS)
(WinCC) Zeitstempel von SICAM PAS CC erzeugt
(WinCC) Time stamp generated by SICAM PAS CC
e (von SICAM PAS ersetzt)
r (replaced by SICAM PAS)
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
297
Additional Information in Message Lists
298
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Literature
/1/
SIMATIC HMI WinCC V6 Basic Documentation 6AV6392-1XA06-0BA0
/2/
SICAM PAS, Overview E50417-X8976-C044-A7
/3/
SICAM PAS, Installation Manual E50417-M8976-C045-A7
/4/
SICAM PAS, Configuration and Operation E50417-P8976-C046-A8
/5/
SICAM PAS, Manual Human Machine Interface SICAM PAS CC E50417-H8976-C284-A5
/6/
SICAM, Manual Measured/Metered Value Processing Utility SICAM Valpro E50417-H8976-C285-A3
/7/
SICAM, Manual Fault Record Processing Utility SICAM PAS Recpro E50417-H8976-C286-A5
/8/
SICAM PAS, Automation Blocks E50417-H8976-C287-A4
/9/
SICAM Diamond, Manual E50417-H8976-C183-A4
/10/
SICAM PAS, Security E50417-H8976-C382-A1
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
299
Literature
300
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Index A Acknowledge blinking 104 Acknowledge button inserting 62 Acknowledge tag Spontaneous blinking 91 Activating redundancy 219 Adding a communication driver 38 Additional cause 278 Administrative Tags 176 Administrative tags creating 41 Alarm 280 Alarm Logging 155 Alarm logging extension Correct chronological order 152 Generating an alarm logging system 156 Normalization DLL 152 Raw data tag 152 Time stamp 152 Using the Alarm Logging Extension 156 Application Examples Group parameterization 203 Archive tags 287 Special character conversion 287 Assigning authorizations 81 Authorization level 96
B Basic frame creating 75 Basic hardware 18 Bay blocking 186 Bay extension maximum 123 Bay Overview 122 Properties 123 Representation 124 State 125 Update 124 Value representation 124 Bay overview Tag connection 126 Bay overview objects using 65 Bit pattern values substitute 165 Blinking of circuit breakers 96 Button Assigning authorizations 81
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
configuring 68 Defining dynamic display properties 73 inserting 67, 72 Button bar 72
C Cause 276 Cause identifier 178 CB/DIS with C script 110 channel DLL 150 Character conversion SICAM PAS CC V5.0 282 SICAM WinCC V2.x 284 SICAM WinCC V3.1 286 Checking connections 146 Circuit breaker 87 Blinking 96 Representation of 89 setting parameters 58, 106 Switch state 93 Tag connection 90 Circuit breaker and disconnector Graphical representation 87 Properties 89 Representation style 89 Update 91 Value 92 Client-Server Systems 209 Configuring diagram objects 210 Configuring functions 211 Configuring WinCC components 212 Picture Cache 212 Updating SICAM PAS data 213 Color Switching device object 92 Command 172 Bit Pattern 159 execute 162 Foating point 160 Integer value 161 Command execution timeout 95, 97, 98 Compatibility key 151 Configuration file ntp.conf 248 Connecting points 137 Connection parameters setting 51 Connection scripts 132 ConnectionState 218 Connector 137 Connecting points 137
301
Index
inserting 141 Connectors and nodes using 59 Context menu Object properties 58 Control diagram creating 53 Controls Runtime dialogs 118 Correct chronological order 152 Counter 280 Create Message 170 Creating a diagram 55 Creating a new project 32 Computer properties 33 How to proceed 31 Project path 32 Creating an alarm logging system 41, 48 Creating an archiving system 42 Creating language-dependent text files 189
D Defining computer properties 33 Activating runtime components 35 Checking the computer name 34 Defining the runtime language 36 Setting the parameters of the graphics runtime 37 Defining properties of diagrams 55 Defining tag management 38 Adding a communication driver 38 Defining the transmission path to SICAM PAS 38 Demo project 28 Design of Graphic Objects 84 Disconnector 87 Blinking 96 Representation of 89 setting parameters 58 Tag connection 90 Dispersion 242 Double configuration 215
E Error information Topological coloring 146 Event list creating 70 inserting 71 External tags 177
F Feeder
302
Tag connection 142 Feeder and Ground Disconnector Function 135 Properties 133 Filter Message list 179 Floating point values Setting parameters for value substitutions 166 substitute 166 Substitution during runtime 167 Suggested trigger 166 ForceConnectionState 218 Function keyboard 114
G General SICAM functions 172 Generating an alarm logging system 156 Global Actions 173 GPS 240 Graphic object library importing 42 showing 86 Graphic Objects Design of Graphic Objects 84 Graphic objects Color 92 positioning 57 Shapes 93 Graphical representation of switches 87 Graphics Designer opening 55 Group Parameterization 196 Group parameterization Application Examples 203 Creating a task 197 Defining a target value 201 for a bay 205 Key words 200 perform 199 Performing settings 196 Properties 197 Result output 202 Task 197 Upgrade of control objects 203
H Hopf6039 244 Hysteresis function 135
I Import library 48 Importing alarm messages 41
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Index
Indirect Addressing 112 IndustrialX Control 87 Design 85 positioning 57 IndustrialX Controls Indirect Addressing 112 using 57 Installation Installing SICAM PAS CC Components 22 Installation Requirements 18 Installing Installing SIMATIC WinCC 20 Integer value substitute 168 Internal tags 176 IP address 52 IX State Sync 225 Acknowledgement in Alarm Logging 230 Activating WinCC Runtime 229 Configuring the connection 226 Configuring the database 227 Modifying the database 229 Starting the tool 226 Synchronizing the databases 229 IXHook 280
K Key words Group parameterization 200 Keyboard operation 114 Configuring a button 114 Defining a C script 115 Response to action 120 Switching action during runtime 117
L Language of the WinCC user interface 190 Language Settings Graphic objects 188 Overview 188 Licensing Removing the license 24 Removing the license for SIMATIC WinCC 25 SICAM PAS CC components 23 SIMATIC WinCC 21 List view creating 70
M Master Server 220 Maximum equipment of the bay 123 Measured/metered value
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
showing 60 Measured-value display Connecting a tag 61 Measured-value object inserting 60 Measured-value output 128 defining 128 Measured-value processing Hysteresis function 135 Message List Filter 179 Message lists Additional information 291
N Network Time Protocol Daemon 242 Node 137 inserting 141 Normalization DLL 152, 153 NTP timer 240 ntp.conf 248 NTPD 242 Installation 241
O Object properties Switching devices 106 via context menu 58 Offset 242 Operating system 18 Overview diagram creating 65
P Partner Server 220 PAS Wizard starting 42 Picture Cache 212 Picture window Picture name 76 positioning 76 setting parameters 76 Preparing the language setting 189 Process tag Special character conversion 282 Product Overview SICAM PAS CC 13 SICAM PAS CC components 13 SIMATIC WinCC 13 Product overview Alarm logging extension 14 Redundant SICAM PAS CC system 15 SICAM functions 15
303
Index
SICAM PAS graphic object library 13 SICAM PAS Wizard 14 SICAM Recpro 15 SICAM Valpro 15 Project activating 78 creating 31 deactivate 74 initializing 40, 48 Properties of Bay Overview 123 switches 89
R Redundancy 215 ConnectionState 218 ForceConnectionState 218 Process tag 217 WinCC script 219 Redundant system 220 Acknowledgement in Alarm Logging 230 Configuring SICAM PAS 220 Creating WinCC projects 222 Exporting data 222 Synchronization of acknowledgement data 225 RGB value 132 Runtime Switching the language 194 Runtime dialogs 99, 118 Configuring the sequence 118 Sequence during runtime 119 Show texts 190
S Screenshots 28 Sequence of installation 19 Setting of parameters Circuit breaker and disconnector 58 Setting the grid 56 Shared Memory Clock Driver 247 Show texts in runtime dialogs 190 SICAM functions 157 Command Execute 162 Commands 157 Create Message 170 general 169 testing 174 using 172 SICAM PAS CC components Installation 22 SICAM PAS channel DLL 150
304
Compatibility key 151 Licensing 151 Performance characteristics 150 Redundancy 220 Tags 151 Tasks 150 SICAM PAS Normalization DLL 153 Additional values 153 Text library 154 SICAM PAS Wizard 40 Log file 50 starting 31 SICAM Report viewing 50 SICAM Toolbar 138 enabling/disabling 138 Functions 138 SIMATIC WinCC Installation 20 Removing the license 25 SIMATIC WinCC graphic objects C action 85 Design 84 Dynamic dialog 84 Dynamic display properties 84 Graphic object library 85 Graphical representation 84 Standards 84 Software requirements 18 Special character conversion 282 Specifying the picture to be shown 77 Start picture creating 75 defining for WinCC Runtime 78 Station creating 43 Selecting parameters 44 Specifying componets 45 Station parameters setting 47 Status 273 Status display 104 during runtime 104 Stratum 242 Structure element Status 273 Structure layout 263 Structure tags creating 40 Structure types External structure types 262 Structures Layout 263 Substitute values 164 Substitution of values Bit Pattern 165 Foating point 166 Integer value 168
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Index
Switch position Representation 92 Switch state Representation 93 Switching action performing 99 synchronize 100, 103 two-step 99 Switching authoritie 183 Switching device objects 53 Color 92 setting parameters 58 using 57 Switching devices 87 Advanced properties 95 setting parameters 106 Switching the Language Adding a control element 194 Switching the language defining 194 during runtime 194 Switching the runtime language 190 Synchronization 100, 103 Synchronization model Command execution timeout 98 Via SINAUT LSA ILSA 98 Synchronization of acknowledgement data for redundant system 225 Synchronized switching According to IEC 61850 97 Command execution timeout 95, 97
T Tag connection 90 of the bay overview 126 Switching devices 90 Tag filter 61 Tags administrative 176 connecting 61 external 177 importing 41 Internal 176 Task Group parameterization 197 Telecontrol blocking 186 Telecontrol center Time Synchronization 240 Text dynamic display 192 static display 191 Text library 154 creating 48 Time stamp 152 Time Synchronization 240 Time synchronization
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007
Quality 242 Tool IX State Sync 225 Monitoring WinCC Tags 207 Tooltip text defining 63 Topological coloring 59, 131 Checking connections 146 Circuit breaker/disconnector, bay overview 132 Configuring a feeder 142 Error information 146 Event functions and scripts 144 Feeder and Ground Disconnector 133 SICAM Toolbar 138 using 140 Viewing a script 145 Two-step switching action 99
U Uninstalling SICAM PAS CC components 24 SIMATIC WinCC 25 Update cycle 91 Upgrade of control objects 203 User setting up 80 User Administrator call up 79 User authorization defining 79 User group assigning rights 79 creating 79 Using SICAM IndustrialX Controls 57
V Value text groups 154 Value type 274
W Web Navigator 232 Configuring a client 238 Configuring the server 237 Displaying a process diagram 238 Installing users 236 Plug-Ins 233 Publishing Process Diagrams 234 Requirements 232 WinCC tags monitoring 207 writing 208
305
Index
WinCC update cycle 91 WinCC Web Navigator 232
306
SICAM, SICAM PAS CC, Human Machine Interface E50417-H8976-C284-A5, Edition 05.2007