Simati It Production Suite
Simati It Production Suite
Simati It Production Suite
SIMATIC IT Production Suite V5.1 and SIMATIC IT Historian V6.0 SP2 SIMATIC IT Services V4.4 SP2
User Manual
Text Editor Hot Backup Tag Management Real Time Data Server The SIMATIC IT OPC Browser
1 2 3 4 5 6
Edition 01/2005
Guidelines
This manual contains notices intended to protect the products and connected equipment against damage. These notices are graded according to severity by the following texts:
Caution
indicates that property damage can result if proper precautions are not taken.
Notice
draws your attention to particularly important information on the product, handling the product, or to a particular part of the documentation.
Trademarks
SIMATIC is a registered trademark of SIEMENS AG. Third parties using for their own purposes any other names in this document which refer to trademarks might infringe upon the rights of the trademark owners.
Disclaimer of Liability
We have checked the contents of this manual for agreement with the hardware and software described. Since deviations cannot be precluded entirely, we cannot guarantee full agreement. However, the data in this manual are reviewed regularly and any necessary corrections included in subsequent editions. Suggestions for improvement are welcomed.
Siemens AG
Bereich Automation and Drives Geschaeftsgebiet Industrial Automation Systems Postfach 4848, D- 90327 Nuernberg Siemens AG 2005 Technical data subject to change.
Siemens Aktiengesellschaft
Preface
Purpose of the Manual
This manual gives you a complete overview of iusign SIMATIC IT Services. This manual is intended for those responsible for configuring, commissioning, and administering automation systems. After installing SIMATIC IT Services, we recommend you get acquainted with the SIMATIC IT Production Suite environment by reading the Getting Started manual. It offers you an easy start in implementing a sample MES application.
In addition, you should know how to use computers or devices with similar functions (e.g programming devices) under Windows 2000 or XP operating systems.
Readme
Installation includes a Readme file, which contains information on upgrade procedures and compatibility with previous releases. This file is supplied both in standard text (Readme.txt) and in Acrobat PDF (Readme.pdf) format. This file is available in folder \ReleaseNotes of the Setup CD-ROM and is installed in folder \setup_path\DATA\ReleaseNotes
Online Help
The manual is complemented by an online help which is integrated in the software.
iii
Preface
This online help is intended to provide you with detailed support when using the software. The help system is integrated in the software via a number of interfaces: The Contents and Index command from the Help menu opens the online help window, from which you can choose the topic of interest. You can search for the desired information, using the Table of Contents or the Index The context-sensitive help offers information on the current context, for example, an open dialog box or an active window. You can open the contextsensitive help by clicking the Help button or by pressing F1. The status bar offers another form of context-sensitive help. It displays a short explanation for each menu command when the mouse pointer is positioned on the menu command. A brief explanation (tooltip) is also displayed for each icon in the toolbar when the mouse pointer is positioned on the icon for a short time.
Related Documentation
The following documents contain information related to the contents of this manual. All these documents are available online from the Start > Programs > SIMATIC IT Online Documentation shortcut. SIMATIC IT Production Suite Getting Started, addressed to novice users, guides you step by step in the creation of a complete sample MES application. SIMATIC IT Services Online Help, addressed to novice users, describes SIMATIC IT Services basics and working environment. SIMATIC IT Services Installation Manual, provides a complete overview of installing and configuring SIMATIC IT Services.
iv
Preface
Chapter Real Time Data Server This chapter provides a description of how to manage and manipulate RTDS in order to build up a bridge between SIMATIC IT components and field devices. Chapter The SIMATIC IT OPC Browser In this chapter, you are provided with a description of how to use the SIMATIC IT OPC Browser from the Management Console.
Preface
Conventions
Throughout this manual, specific typographic conventions have been used and are described below: symbol/convention E.g. Text in boldtype indicates Points where examples are given. The names of menus, commands, dialog boxes and toolbar buttons and, in general, all strings (e.g. File menu; Save command). Accelerator or shortcut keys, which permit rapid access to commands (e.g. CTRL+C). The names of keyboard keys (e.g. RETURN key and toolbar buttons; PLANT button). The names of parameters that must be replaced with a specific name or value. For example, filename indicates that the name of the file must be specified; input indicates that the corresponding value must be specified. A succession of commands in which the command preceding the symbol must be selected before the command following it.
>
vi
Preface
Other services or optional services will be available only as part of a Maintenance Agreement. To be able to access TSS, you need to register as a user at the Technical Support Web site: https://tss.simaticit.com
vii
Preface
Complete the registration form with: Your personal data Company and plant information The registration number that is provided together with the licenses by the Siemens Licenses office.
The Technical Support Web site provides the following information: Service conditions Phone numbers Working hours Reaction times
Online Support
Any customer who is a registered TSS user can access the Technical Support Web site (https://tss.simaticit.com). The Technical Support Web contains technical information such as: SIMATIC IT knowledge base: a technical support database that includes practical service solutions from Technical Support or the SIMATIC IT community SIMATIC IT software (e.g. hot fixes, software examples) and release notes that can be downloaded SIMATIC IT Cross-Industry libraries that can be downloaded (limited access to SIMATIC IT Certified Partners) SIMATIC IT Product Documentation that can be downloaded Frequently Asked Questions and useful tips.
viii
Table of Contents
1 SIMATIC IT Services 1.1 1.1.1 1.1.2 1.1.3 1.2 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.3 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.7 1.3.8 1.3.9 1.3.10 1.4 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.5 1.5.1 1.5.2 1.5.3 1.5.4 1.6 1.6.1 1.6.2 1.6.3 1.7 1.7.1 1.7.2 1.7.3 1.7.4 1.7.5 1.7.6 1.8 1.8.1 1.8.2 1.8.3 1.8.4 1.8.5 1.8.6 1.8.7 1.8.8 1.8.9 1.8.10 1.8.11 1.8.12 13 Overview ............................................................................................................ 13 SIMATIC IT Services ......................................................................................... 13 Starting SIMATIC IT Services ............................................................................ 13 Quitting SIMATIC IT Services ............................................................................ 14 Getting Started ................................................................................................... 14 When SIMATIC IT Services is started for the first time ..................................... 14 Stand Alone Configuration ................................................................................. 15 Client-Server Configuration................................................................................ 16 Client-Server Backup Configuration .................................................................. 16 Parameters for system configuration ................................................................. 17 Environment ....................................................................................................... 17 SIMATIC IT Services environment..................................................................... 17 Plant Management............................................................................................. 18 What can I do from Plant Management ? .......................................................... 18 Management Console........................................................................................ 18 ZME Zone Monitoring Environment ................................................................... 19 What is a Zone? ................................................................................................. 20 Defining a Zone.................................................................................................. 20 Configuring the default Zone.............................................................................. 20 Removing a Zone............................................................................................... 21 Starting the Zone Monitoring Environment ........................................................ 21 Working area...................................................................................................... 21 The Zone Monitoring Environment working area............................................... 21 Displaying AMD, HDD and GUI windows .......................................................... 22 Configuring the file display options .................................................................... 22 Arranging windows in the working area ............................................................. 22 Saving the working area settings ....................................................................... 22 Alarm Manager Display...................................................................................... 23 Starting SIMATIC IT Alarm Manager Display from Zone Monitoring Environment23 Creating an AMD file.......................................................................................... 23 Opening an ADD file .......................................................................................... 23 Configuring the connection to the Alarm Manager server ................................. 24 Historian Data Display ....................................................................................... 24 Starting SIMATIC IT Historian Data Display from Zone Monitoring Environment24 Creating a Historian Data Display file ................................................................ 24 Opening a Historian Data Display file ................................................................ 25 Working with Projects ........................................................................................ 25 The Project......................................................................................................... 25 Creating a new Project....................................................................................... 26 Viewing the Projects .......................................................................................... 26 Removing a Project............................................................................................ 26 Renaming a Project ........................................................................................... 26 Copying a Project............................................................................................... 27 Programming environments............................................................................... 27 SIMATIC IT Programming Environments .......................................................... 27 Control Programming Environment ................................................................... 27 Configuring the programming mode of a Unit.................................................... 28 Running PDE from a CONTROL Unit................................................................ 28 Running PDE from an RTDS/IMC User Unit ..................................................... 29 Running PDE from a Project.............................................................................. 29 Data manipulation and aggregation................................................................... 30 Starting the SIMATIC IT Real Time Data Engine Manager ............................... 30 API Environment ................................................................................................ 31 Configuring IMC ................................................................................................. 31 Starting IMC ....................................................................................................... 31 Debugging a program ........................................................................................ 32
1.8.13 1.8.14 1.9 1.9.1 1.9.2 1.9.3 1.9.4 1.9.5 1.9.6 1.9.7 1.9.8 1.9.9 1.9.10 1.9.11 1.9.12 1.9.13 1.9.14 1.9.15 1.10 1.10.1 1.10.2 1.10.3 1.10.4 1.11 1.11.1 1.11.2 1.11.3 1.11.4 1.11.5 1.11.6 1.11.7 1.11.8 1.12 1.12.1 1.12.2 1.13 1.13.1 1.13.2 1.13.3 1.13.4 1.13.5 1.13.6 1.13.7 1.13.8 1.13.9 1.14 1.14.1 1.14.2 1.14.3 1.14.4 1.14.5 1.14.6 1.14.7 1.14.8 1.14.9 1.15 1.15.1 1.15.2 1.15.3 1.15.4 1.15.5 1.15.6
Dumping/restoring a control panel ..................................................................... 32 Transmitting a program to the controller............................................................ 33 Graphic User Interface....................................................................................... 33 Starting SIMATIC IT Graphic User Interface from Zone Monitoring Environment33 Creating a graphic panel.................................................................................... 33 Opening a graphic panel.................................................................................... 34 Compiling a graphic panel ................................................................................. 34 Compiling multiple graphic panels ..................................................................... 34 Configuring SIMATIC IT Graphic User Interface Development ......................... 35 Showing/hiding the grid and defining the step ................................................... 35 Enabling/disabling the snap and defining the step ............................................ 36 Defining the SIMATIC IT Graphic User Interface page configuration................ 36 Defining the maximum number of objects and points........................................ 36 Defining the maximum number of graphic panels that can be displayed at the same time 37 Locking objects in the panel............................................................................... 37 Logging all operator actions by default .............................................................. 37 Configuring Dynamic Link Libraries (DLLs) ....................................................... 38 Configuring the source files backup................................................................... 38 Miscellaneous elements of SIMATIC IT Services.............................................. 38 System Toolbox ................................................................................................. 38 Enabling the System Toolbox at startup ............................................................ 39 Management Console Tasklist........................................................................... 39 System Information ............................................................................................ 40 User Management ............................................................................................. 41 Logging on to SIMATIC IT ................................................................................. 41 Configuring automatic logoff .............................................................................. 42 Predefined logon users ...................................................................................... 42 Defining the automatic logon user ..................................................................... 42 Logging on to SIMATIC IT with a user other than "Default" .............................. 43 Modifying the user password ............................................................................. 43 Allowing user password modification................................................................. 43 Configuring the password expiry date ............................................................... 44 User Manager tool ............................................................................................. 44 Overview of User Manager ................................................................................ 44 Filtering the contents.......................................................................................... 45 Working with groups .......................................................................................... 46 Groups ............................................................................................................... 46 Resources of the Administrators group ............................................................. 46 Resources of the Developer group .................................................................... 46 Resources of the High Level Operator group .................................................... 47 Resources of the Low Level Operator group ..................................................... 47 Resources of the Maintenance Operator group................................................. 47 Creating a group ................................................................................................ 47 Removing a group.............................................................................................. 48 Displaying the groups of a user ......................................................................... 48 Working with users............................................................................................. 49 Defining a user ................................................................................................... 49 Modifying the properties of a user...................................................................... 50 Removing a user................................................................................................ 50 Associating a user to a group ............................................................................ 50 Associating a user to a different group .............................................................. 51 Locking a user.................................................................................................... 51 Rules for defining user-account options ............................................................ 51 Disabling a user account.................................................................................... 52 Displaying the users associated with a group.................................................... 53 Working with access levels ................................................................................ 53 Access levels ..................................................................................................... 53 Hierarchical access level ................................................................................... 53 Exclusive access level ....................................................................................... 54 How to use access levels................................................................................... 54 Configuring the access level for a resource....................................................... 55 Load Graphic Panels - Access level .................................................................. 55
1.15.7 Run SIMATIC IT Applications from GUI - Access level ..................................... 55 1.15.8 Set Variables from SIMATIC IT Graphic User Interface - Access level............. 56 1.15.9 Set Variables from Ladder, Block Editor, ODS - Access level........................... 56 1.16 Working with resources...................................................................................... 56 1.16.1 SIMATIC IT resources ....................................................................................... 56 1.16.2 Assigning system resources to a group............................................................. 59 1.16.3 Assigning local resources to a group................................................................. 59 1.16.4 Displaying the resources of a group .................................................................. 60 1.16.5 Modifying the resources assigned to a group .................................................... 60 1.16.6 General Purpose resources ............................................................................... 60 1.16.6.1 Access to Administrative Tools .......................................................................... 60 1.16.6.2 Access to Help ................................................................................................... 60 1.16.6.3 Access to License Configuration........................................................................ 61 1.16.6.4 Access to Operating System Shell .................................................................... 61 1.16.6.5 System Configuration......................................................................................... 61 1.16.6.6 Close Session .................................................................................................... 61 1.16.6.7 Modify and Save Configurations ........................................................................ 61 1.16.6.8 Modify Configurations (without Saving) ............................................................. 61 1.16.7 Historian resources ............................................................................................ 62 1.16.7.1 Alarm Acknowledgement ................................................................................... 62 1.16.7.2 Alarm Configuration ........................................................................................... 62 1.16.7.3 Enable GUI Menu Bar........................................................................................ 62 1.16.7.4 Historical Trends Configuration.......................................................................... 62 1.16.7.5 Load Graphic Panels ......................................................................................... 62 1.16.7.6 Print from Graphics, Alarm, Historical Environments......................................... 62 1.16.7.7 Run Alarms ........................................................................................................ 62 1.16.7.8 Run SIMATIC IT Applications from GUI ............................................................ 62 1.16.7.9 Run Historical Trends ........................................................................................ 63 1.16.7.10 Run Messages from GUI ................................................................................... 63 1.16.7.11 Run Applications from GUI ................................................................................ 63 1.16.7.12 Set Variables from GUI...................................................................................... 63 1.16.8 Production Modeler resources ........................................................................... 63 1.16.8.1 IfPMObserver ..................................................................................................... 63 1.16.8.2 IfPMSuperUser................................................................................................... 63 1.16.8.3 IfPMUser ............................................................................................................ 63 1.16.8.4 IfPMEnd-User..................................................................................................... 63 1.16.9 PM COM Interface resources ............................................................................ 64 1.16.9.1 PM COM Interface Show ................................................................................... 64 1.16.9.2 PM COM Interface Exit ...................................................................................... 64 1.16.9.3 PM COM Interface Delete.................................................................................. 64 1.16.9.4 PM COM Interface Configure............................................................................. 64 1.16.10 Business Process Modeler resources ............................................................... 64 1.16.10.1 BPM Configuration Administrator ...................................................................... 64 1.16.10.2 BPM Remove Plants and Libraries.................................................................... 64 1.16.10.3 BPM Close Session........................................................................................... 64 1.16.11 Material Manager resources .............................................................................. 64 1.16.11.1 MM Model Configuration ................................................................................... 64 1.16.11.2 MM Configuration Administrator ........................................................................ 65 1.16.11.3 MM Sublot Management ................................................................................... 65 1.16.11.4 MM Hut Configuration........................................................................................ 65 1.16.11.5 MM Close Session............................................................................................. 65 1.16.12 Messaging Manager resources.......................................................................... 65 1.16.12.1 Access to Messaging Manager Form................................................................ 65 1.16.13 Production Order Manager resources ............................................................... 65 1.16.13.1 POM Order Dispatch ......................................................................................... 65 1.16.13.2 POM Order Management .................................................................................. 66 1.16.13.3 POM In Progress Order Management............................................................... 66 1.16.13.4 POM Configuration Administrator...................................................................... 66 1.16.13.5 POM Template Instantiation .............................................................................. 66 1.16.13.6 POM Template Management ............................................................................ 66 1.16.13.7 POM State Machine Management .................................................................... 66 1.16.13.8 POM Close Session .......................................................................................... 66
1.16.14 Production Operation Recorder resources ........................................................ 67 1.16.14.1 POPR Backup Restore...................................................................................... 67 1.16.14.2 POPR Configuration Administrator.................................................................... 67 1.16.14.3 POPR Close Session ........................................................................................ 67 1.16.15 Personnel Manager resources........................................................................... 67 1.16.15.1 PRM Common Data Configuration .................................................................... 67 1.16.15.2 PRM Low Level Operator .................................................................................. 67 1.16.15.3 PRM Manager.................................................................................................... 67 1.16.15.4 PRM Person/Group Definition ........................................................................... 67 1.16.15.5 PRM Work Schedule Definition ......................................................................... 67 1.16.16 Miscellaneous resources ................................................................................... 68 1.16.16.1 Browse Source Files.......................................................................................... 68 1.16.16.2 CommuWinII - Specialist User........................................................................... 68 1.16.16.3 Edit DB, User Libraries, Projects ....................................................................... 68 1.16.16.4 Hardware Configuration..................................................................................... 68 1.16.16.5 Modify, Save, Compile Source Files ................................................................. 68 1.16.16.6 PMC Operations ................................................................................................ 68 1.16.16.7 Program Transmission ...................................................................................... 68 1.16.16.8 Run ODS ........................................................................................................... 69 1.16.16.9 Set Variables from Ladder, Block Diagram, ODS ............................................. 69 1.16.16.10 Application Builder Runtime Widget ............................................................ 69 1.16.16.11 Batch Operator ............................................................................................ 69 1.16.16.12 Close Application Builder Runtime .............................................................. 69 1.16.16.13 Set Variables from OPC Server .................................................................. 69 1.17 Licensing ............................................................................................................ 69 1.17.1 Inserting SIMATIC IT license codes .................................................................. 69 1.17.2 When you insert licenses for the first time ......................................................... 70 1.17.3 Inserting license codes from file......................................................................... 70 1.17.4 Entering license codes manually ....................................................................... 70 1.18 Basic Configuration............................................................................................ 71 1.18.1 System configuration ......................................................................................... 71 1.18.2 Entering the System Configuration window ....................................................... 71 1.18.3 Workstation ........................................................................................................ 72 1.18.3.1 Configuring a SIMATIC IT workstation .............................................................. 72 1.18.3.2 Enabling serial communications ........................................................................ 72 1.18.3.3 Defining the system language............................................................................ 72 1.18.4 Foundation servers ............................................................................................ 73 1.18.4.1 Configuring the Foundation servers................................................................... 73 1.18.4.2 What happens if no Foundation servers are configured?.................................. 73 1.18.4.3 Removing a Foundation server.......................................................................... 74 1.18.5 Start-up configuration......................................................................................... 74 1.18.5.1 Enabling SIMATIC IT stand-alone start-up ........................................................ 74 1.18.5.2 Starting SIMATIC IT Management Console ...................................................... 74 1.18.5.3 Starting SIMATIC IT applications from SIMATIC IT Management Console ...... 75 1.18.5.4 Minimizing SIMATIC IT Management Console.................................................. 75 1.18.5.5 Start order for SIMATIC IT Management Console components........................ 75 1.18.5.6 Starting SIMATIC IT components automatically ................................................ 76 1.18.5.7 Start Delay time ................................................................................................. 77 1.18.5.8 Configuring start-up parameters for SIMATIC IT components .......................... 78 1.18.5.9 Alarm Manager Display: startup parameters ..................................................... 78 1.18.5.10 Real Time Data Engine: start-up parameters.................................................... 78 1.18.5.11 Graphic User Interface Run-Time: start-up parameters .................................... 79 1.18.5.12 Operations Data Display: start-up parameters .................................................. 79 1.18.5.13 Historian Data Display: start-up parameters ..................................................... 79 1.18.5.14 Real Time Data Server: start-up parameters .................................................... 79 1.18.5.15 Controlled shutdown.......................................................................................... 79 1.18.6 Working with Plants ........................................................................................... 80 1.18.6.1 What is a Plant? ................................................................................................. 80 1.18.6.2 Creating a Plant ................................................................................................. 80 1.18.6.3 Opening a Plant ................................................................................................. 81 1.18.6.4 Copying a Plant.................................................................................................. 81 1.18.6.5 Renaming a Plant .............................................................................................. 81
1.18.6.6 Removing a Plant............................................................................................... 81 1.18.6.7 Closing a Plant ................................................................................................... 82 1.18.6.8 Plant directory structure ..................................................................................... 82 1.18.6.9 APPLIC directory structure ................................................................................ 83 1.18.6.10 MMI directory structure...................................................................................... 83 1.18.6.11 ACTION.LOG directory structure....................................................................... 83 1.18.6.12 ALARM.LOG directory structure........................................................................ 84 1.18.6.13 DATA.LOG directory structure........................................................................... 84 1.18.6.14 EVENT.LOG directory structure ........................................................................ 84 1.18.6.15 Archiving ............................................................................................................ 84
1.18.6.16 1.18.6.17 1.18.6.18 1.18.6.19 1.18.6.20 1.18.6.21 1.18.6.22 1.18.6.23 1.18.6.24 1.18.6.25 1.18.6.26 1.18.6.27 1.18.6.28 1.18.6.29 1.18.6.30 1.18.6.32 1.18.6.33 1.18.6.34 1.18.6.35 1.18.6.36 Archiving a Plant............................................................................................................ 84 Archiving a Plant you are not logged on to .................................................................... 84 Creating a backup copy of a Plant................................................................................. 85 Selecting the files to be archived ................................................................................... 85 Selecting the Units to be archived ................................................................................. 86 Selecting the Zones to be archived ............................................................................... 86 Selecting the third-party applications to be archived ..................................................... 86 Checking the correctness of the backup copy ............................................................... 86 Creating a backup copy of a Plant automatically ........................................................... 87 Compiling the backup configuration file ......................................................................... 88 Displaying the contents of a backup file ........................................................................ 89 Sorting the files by user parameters .............................................................................. 89 Selecting the fields to be displayed ............................................................................... 89 Changing the width of table columns............................................................................. 90 Changing the type of character used in the table .......................................................... 90 Restoring a Plant ........................................................................................................... 90 Selecting the files to be restored ................................................................................... 91 Selecting the Units to be restored.................................................................................. 91 Selecting the Zones to be restored................................................................................ 91 Selecting the third-party applications to be restored...................................................... 91
Working with Units ............................................................................................. 92 What is a Unit?................................................................................................... 92 Configuring a Unit .............................................................................................. 93 Modifying the Unit attributes .............................................................................. 93 Duplicating a Unit............................................................................................... 94 Renaming a Unit ................................................................................................ 94 Removing a Unit ................................................................................................ 94 RTDS/IMC User Unit.......................................................................................... 94
1.18.7.8 Why use an RTDS/IMC User Unit? ................................................................................. 94 1.18.7.9 Configuring the RTDS/IMC User Unit .............................................................................. 95 1.18.7.10 Configuring the RTDS/IMC User Unit in programming mode ........................................ 95 1.18.7.11 Configuring the RTDS/IMC User Unit in supervisory mode ........................................... 95 1.18.7.12 Configuring the RTDS/IMC User Unit and the network device ...................................... 95 1.18.7.13 Parameters (Arcnet) ...................................................................................................... 96 1.18.7.14 Parameters (Session Manager)..................................................................................... 96
P.M.C. date & time synchronization..............................................................................102 Why use a Real Time Data Engine User Unit?.............................................................102 Configuring the Real Time Data Engine User Unit .......................................................103 Configuring the Real Time Data Engine User Unit and the network device..................103 Configuring an RTDS/IMC-EXTERN DEVICE User Unit ..............................................104
1.18.7.40 RTDS/IMC - EXTERN DEVICE User Unit.......................................................104 1.19 1.19.1 1.19.1.1 1.19.1.2 1.19.1.3 1.19.1.4 1.19.1.5 Advanced Configuration................................................................................... 105 Networks and Communication .........................................................................105 Monitoring network nodes................................................................................105 Rebuilding the network configuration...............................................................105 Time alignment on client workstations.............................................................106 Advanced configurations..................................................................................107 RIS ...................................................................................................................107
1.19.1.6 RIS Inter-Process Communication Service.....................................................................107 1.19.1.7 Configuring networking using RIS IPC ...........................................................................107 1.19.1.8 Example..........................................................................................................................108 1.19.1.9 Example..........................................................................................................................109 1.19.1.10 Example - Two servers in hot-backup configuration with preferential network set for backup communications. ..............................................................................................................................109 1.19.1.11 Example - Two servers in hot-backup configuration with no preferential network ........110 1.19.1.12 Example - A single server without backup with two clients ...........................................111 1.19.1.13 Configuring a redundant network with two Historian servers in hot-backup..................111 1.19.1.14 Example of a configuration of a redundant network with two Historian servers in hot-backup configuration and one client .............................................................................................................111 1.19.1.15 Configuring the RIS parameters ...................................................................................112 1.19.1.16 Configuring the RIS parameters (Default).....................................................................113 1.19.1.17 Configuring the RIS parameters (Custom)....................................................................113 1.19.1.18 IPADDR.INI ..................................................................................................................114 1.19.1.19 Adding a new FAT Server.............................................................................................114
1.19.2 1.19.2.1 1.19.2.2 1.19.2.3 1.19.2.4 1.19.2.5 1.19.2.6 1.19.2.7 1.19.3 1.19.3.1 1.19.3.2 1.19.3.3 1.19.3.4 1.19.3.5 1.19.4 1.19.4.1 1.19.4.2 1.19.4.3 1.19.4.4 1.20 1.20.1 1.20.2
1.20.2.1 1.20.2.2 1.20.2.3 1.20.2.4
Client/Server Architecture ................................................................................119 Client/Server Architecture ................................................................................119 Sharing a Plant ................................................................................................120 Connecting to a remote Plant ..........................................................................121 Emergency configuration for SIMATIC IT client workstations .........................121 Configuring a client workstation .......................................................................122 Disabling file alignment ....................................................................................122 Filtering files to be replicated ...........................................................................123 Security Management ......................................................................................123 Security Management ......................................................................................123 Disabling hotkey combinations ........................................................................124 Disabling Ctrl Alt Del ........................................................................................124 Automatic Windows Logon ..............................................................................124 Impersonate User ............................................................................................125 External components .......................................................................................125 Adding third-party components to the Client menu..........................................125 Structure of .ADN files .....................................................................................125 Starting the third-party modules.......................................................................127 Adding custom components to the Client menu ..............................................128 Troubleshooting Tools ..................................................................................... 128 Alerter service ..................................................................................................128 Log File Viewer ................................................................................................129
Overview of Log File Viewer ...........................................................................................129 Structure of log file messages ........................................................................................129 Starting the Log File Viewer............................................................................................130 Updating log file messages.............................................................................................130
1.20.2.5
1.20.2.6 Environment: Customize the Log File Viewer window.....................................131 1.20.2.7 Environment: Arranging windows ....................................................................131 1.20.2.8 Environment: Arranging the selected windows................................................132 1.20.2.9 Environment: Hiding messages .......................................................................132 1.20.2.10 Environment: Showing hidden messages .......................................................132 1.20.2.11 Environment: Configuring the message display time ......................................133 1.20.2.12 Environment: Setting the local time .................................................................133 1.20.2.13 Applying filters .................................................................................................133 1.20.2.14 Filtering by the description...............................................................................133 1.20.2.15 Filtering by date ...............................................................................................134 1.20.2.16 Filtering by priority level...................................................................................134 1.20.2.17 Filtering by advanced criteria...........................................................................135 1.20.2.18 Filtering by application.....................................................................................135 1.20.2.19 Finding a message in the log file .....................................................................135 1.20.2.20 Priority Level search option .............................................................................136 1.20.2.21 Application search option ................................................................................136 1.20.2.22 Advanced Criteria search option .....................................................................136 1.20.2.23 Message search option ...................................................................................137 1.20.2.24 Working with log files.......................................................................................137
1.20.2.25 1.20.2.26 1.20.2.27 1.20.2.28 1.20.2.29 1.20.2.30 Opening a log file..........................................................................................................137 Viewing archived log files .............................................................................................137 Viewing application log files..........................................................................................137 Viewing remote log files................................................................................................138 Saving a log file ............................................................................................................138 Printing a log file ...........................................................................................................138
1.20.2.31 Overwriting the system log ..............................................................................139 1.20.2.32 Configuring the log size ...................................................................................139 1.20.2.33 Configuring the overwriting mode....................................................................139 1.20.2.34 Displaying information on the log file...............................................................140 1.20.2.35 Removing log messages .................................................................................140 1.20.2.36 Configuring Categories....................................................................................141
1.20.2.37 1.20.2.38 1.20.2.39 Defining the category value ..........................................................................................141 Disabling message archiving for an application............................................................141 Loading a category configuration file ............................................................................142
Text Editor 2.1 2.1.1 2.1.2 2.2 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.3 2.3.1 2.3.2 2.3.3 2.3.4 2.3.5 2.3.6 2.3.7 2.4 2.4.1 2.4.2 2.4.3 2.4.4 2.4.5 2.4.6 2.5 2.5.1
143
Overview .......................................................................................................... 143 Overview of Text Editor....................................................................................143 Starting the Text Editor from SIMATIC IT Management Console....................143 Working with text files ...................................................................................... 144 Creating a new file ...........................................................................................144 Opening a file ...................................................................................................144 Saving a file......................................................................................................144 Printing a file ....................................................................................................144 Closing a file.....................................................................................................145 Editing text files ................................................................................................ 145 Standard Editing operations.............................................................................145 Tabs and spaces..............................................................................................145 Advanced Editing operations ...........................................................................146 Selecting a horizontal block of text ..................................................................146 Selecting a vertical block of text.......................................................................146 Filling a selection .............................................................................................147 Keys available in Text Editor............................................................................147 Finding and replacing text................................................................................ 148 Finding and replacing.......................................................................................148 Finding text in the current file...........................................................................148 Finding and replacing text in the current file ....................................................149 Finding text in more than one file.....................................................................149 Finding and replacing text in more than one file ..............................................150 Locating text in the file .....................................................................................150 Customizing the working environment............................................................. 151 Showing/hiding toolbars...................................................................................151
Showing/hiding the Output Window.................................................................151 Choosing the default file type...........................................................................152 Choosing the default save format ....................................................................152 Configuring the Save options...........................................................................152 Setting Colours ................................................................................................153 Defining user keywords....................................................................................153 Setting the default font .....................................................................................154 Configuring the search options ........................................................................154 155
Hot Backup 3.1 3.1.1 3.1.2 3.1.3 3.1.4 3.2 3.2.1 3.2.2 3.2.3 3.2.4 3.2.5 3.2.6 3.2.7 3.2.8 3.3 3.3.1 3.3.2 3.3.3 3.3.4 3.3.5 3.3.6 3.3.7 3.3.8 3.3.9 3.3.10 3.4 3.4.1 3.4.2 3.4.3
Overview .......................................................................................................... 155 Hot Backup.......................................................................................................155 Useful tips on hot backup.................................................................................155 Monitoring the backup status ...........................................................................156 Backup status...................................................................................................156 Configuring servers in hot backup ................................................................... 157 Configuring hot backup for SIMATIC IT plants and applications .....................157 Configuring hot-backup servers as Primary and Auxiliary Master...................158 Removing hot-backup servers .........................................................................158 Modifying hot-backup servers ..........................................................................158 Configuring SIMATIC IT applications hot-backup............................................159 Configuring the Plant hot backup.....................................................................159 Replication of files between primary and auxiliary masters.............................160 Copying Plant directories .................................................................................160 Master-slave switching..................................................................................... 161 Overview of master-slave switching.................................................................161 Plant Master-Slave Switching ..........................................................................161 When the master disk is unavailable ...............................................................162 Example: when the master disk is not available ..............................................162 When a network error occurs (Plants) .............................................................162 Application Master-Slave Switching.................................................................162 When the master application is unavailable ....................................................163 Example: when the master application is not available ...................................163 When a network error occurs (Applications)....................................................164 Enhancing master-slave alignment..................................................................164 Manual switching ............................................................................................. 164 Manual switching of Plants and modules.........................................................164 Manual master-slave switching of Plants.........................................................164 Manual master-slave switching of SIMATIC IT components ...........................165 166
Tag Management 4.1 4.1.1 4.1.2 4.1.3 4.2 4.2.1 4.2.1.1 4.2.2 4.2.3 4.2.3.1 4.3 4.3.1 4.3.2 4.3.3 4.3.3.1 4.3.3.2 4.3.4 4.3.4.1 4.3.4.2 4.3.4.3 4.3.4.4
Overview .......................................................................................................... 166 Overview of the Points Database.....................................................................166 Structure of the Points Database .....................................................................166 Maximum size of the Points Database ............................................................166 Points Database tables .................................................................................... 167 Main table.........................................................................................................167 AM table...........................................................................................................168 GUI table ..........................................................................................................168 PDA table .........................................................................................................169 RTDS table ......................................................................................................170 Database Editor ............................................................................................... 170 Starting the Database Editor............................................................................170 Typographical conventions used in the database grid ....................................171 Opening a database.........................................................................................172 Opening a database (Database Editor)...........................................................172 Opening a database linked to a particular Unit ...............................................172 Working with views ..........................................................................................172 Database table views ......................................................................................172 User Views.......................................................................................................172 Creating a User view .......................................................................................173 Assigning a User view .....................................................................................173
4.3.4.5 4.3.5 4.3.5.1 4.3.5.2 4.3.5.3 4.3.5.4 4.3.5.5 4.3.5.6 4.3.5.7 4.3.5.8 4.3.5.9 4.3.5.10 4.3.5.11 4.3.5.12 4.3.5.13 4.3.5.14 4.3.5.15 4.3.5.16 4.3.5.17 4.3.5.18 4.3.5.19 4.3.5.20 4.3.5.21 4.3.5.22 4.3.5.23 4.3.5.24 4.3.5.25 4.3.5.26 4.3.5.27 4.3.5.28 4.3.5.29 4.3.6 4.3.6.1 4.3.6.2 4.3.6.3 4.3.6.4 4.3.6.5 4.3.6.6 4.3.6.7 4.3.6.8 4.3.6.9 4.3.7 4.3.7.1 4.3.8 4.3.8.1 4.3.8.2 4.3.8.3 4.3.8.4 4.3.8.5 4.3.9 4.3.9.1 4.3.10 4.3.10.1 4.3.11 4.3.11.1 4.3.11.2 4.3.11.3 4.3.11.4 4.3.11.5 4.3.11.6 4.3.11.7 4.3.12
Deleting a User view........................................................................................173 Working with points..........................................................................................174 Managing Points ..............................................................................................174 Inserting a new point (guided mode) ...............................................................174 Inserting a new point (manual mode) ..............................................................175 Automatic allocation ........................................................................................176 Example of automatic allocation......................................................................176 Automatic Filling ..............................................................................................177 Example of Automatic Filling ...........................................................................177 Modifying a point (guided mode) .....................................................................178 Modifying a point (manual mode) ....................................................................179 Modifying a group of variables .........................................................................179 Deleting a point ................................................................................................179 Duplicating a point ...........................................................................................180 Duplicating several points ................................................................................180 Correcting errors ..............................................................................................180 Displaying errors ..............................................................................................180 Converting a scalar variable into an array .......................................................180 Find and Replace.............................................................................................181 Conventions used for finding strings................................................................181 Single-field queries ..........................................................................................181 Multiple-field queries ........................................................................................182 Finding and replacing text................................................................................183 Converting text to uppercase/lowercase..........................................................184 Locating a point in the database ......................................................................184 Sorting points ...................................................................................................184 Inserting/removing Bookmarks ........................................................................184 Exporting points ...............................................................................................185 Importing points from a .DEF file .....................................................................186 Locking a point .................................................................................................186 Unlocking a point .............................................................................................187 Working with arrays .........................................................................................187 Managing Arrays..............................................................................................187 Adding an array ...............................................................................................187 Modifying the field values of an array element (guided mode)........................188 Buttons.............................................................................................................188 Modifying the field values of an array element (manual mode).......................189 Duplicating an array.........................................................................................189 Deleting Arrays ................................................................................................189 Locking an array ..............................................................................................190 Unlocking an array...........................................................................................190 Updating server configuration ..........................................................................191 Updating the SIMATIC IT servers configuration..............................................191 Configuring alarms...........................................................................................191 Configuring alarms ..........................................................................................191 Creating a group of alarms ..............................................................................192 Updating alarm groups ....................................................................................192 Associating an alarm group to a point .............................................................193 Configuring the read/write mode .....................................................................193 Configuring RTDS parameters.........................................................................194 Entering RTDS parameters to handle communication with a PLC network....194 Configuring historical data ...............................................................................194 Configuring a point to be archived ...................................................................194 Configuring graphic panels ..............................................................................195 Graphic object attributes ..................................................................................195 Configuring graphic object parameters............................................................196 Parameters used by graphic objects ...............................................................196 Parameters of a logic variable .........................................................................197 Parameters for a slider.....................................................................................197 Parameters of an integer or real variable ........................................................198 Parameters for a Trend or a Chart...................................................................198 Repairing the database....................................................................................198
4.3.12.1 Recreating the database indexes ....................................................................198 4.3.12.2 Rebuilding the database ..................................................................................199 4.3.12.3 Resetting the server status ..............................................................................199 4.3.13 Printing .............................................................................................................199 4.3.13.1 Printing the database .......................................................................................199 4.3.13.2 Print preview ....................................................................................................199 4.3.13.3 Selecting a printer ............................................................................................199 4.3.13.4 Printing records ................................................................................................200 4.3.13.5 Printing to file ...................................................................................................200 4.3.13.6 Print settings ....................................................................................................200 4.3.13.7 Defining the header..........................................................................................201 4.3.13.8 Defining the footer............................................................................................201 4.3.13.9 Defining the page layout ..................................................................................201 4.3.13.10 Defining the filter..............................................................................................201 4.3.14 Customizing the environment ..........................................................................202 4.3.14.1 Showing/hiding bars.........................................................................................202 4.3.14.2 Customizing the scroll bars..............................................................................202 4.3.14.3 Arranging windows in the client area ...............................................................203 4.3.14.4 Changing the font.............................................................................................203 4.3.14.5 Changing colors ...............................................................................................203 4.3.14.6 Customizing a view ..........................................................................................204 4.3.15 Creating a Database ........................................................................................204 4.3.15.1 Automatic vs. manual database creation.........................................................204 4.3.15.2 Creating a database associated with an RTDS/IMC Unit................................205 4.3.15.3 Creating a database associated with a Real Time Data Engine Unit ..............205 4.3.15.4 Creating a database associated with a CONTROL Unit..................................205 4.3.15.5 Creating a database from Database Editor .....................................................205 4.3.16 Creating a new database .................................................................................206 4.4 Locreg management ........................................................................................ 206 4.4.1 Defining and displaying the Locreg..................................................................206 4.4.2 Database Locreg - Details ...............................................................................207 4.4.3 Troubleshooting for different locregs ...............................................................207 4.4.4 Assigning a new locreg run-time......................................................................207 4.4.5 Viewing the locreg map....................................................................................207 4.5 Database Management Tool............................................................................ 208 4.5.1 Overview about Points Database Maintenance...............................................208 4.5.2 The Database Management environment .......................................................209 4.5.3 Database attributes..........................................................................................209 4.5.4 Field: Type .......................................................................................................210 4.5.5 Viewing the Database details...........................................................................210 4.5.6 Opening a database (Database Management)................................................210 4.5.7 Database-file types ..........................................................................................210 4.5.8 Renaming a database......................................................................................211 4.5.9 Browsing the database ....................................................................................211 4.5.10 Copying a database .........................................................................................211 4.5.11 Removing a database ......................................................................................212 4.5.12 Reallocating registers ......................................................................................212 4.5.13 Importing/exporting a database .......................................................................212 4.5.14 Conversion .......................................................................................................213 4.5.14.1 Creating a CSV file ..........................................................................................213 4.5.14.2 Keyword: Symbolic ..........................................................................................214 4.5.14.3 Keyword:Type ..................................................................................................214 4.5.14.4 Keyword: Register............................................................................................214 4.5.14.5 Keyword: Comment1 .......................................................................................214 4.5.14.6 Keyword: Comment2 .......................................................................................214 4.5.14.7 Keyword: Description .......................................................................................214 4.5.14.8 Example of CSV File........................................................................................215 4.5.14.9 Converting a database.....................................................................................215 4.5.14.10 Converting a SIMATIC IT database (.CDB) into a .CSV file ...........................215 4.5.14.11 Converting the format of a SIMATIC IT database (.CDB) ...............................216 4.5.14.12 Converting a .CSV file into a SIMATIC IT database (.CDB) ...........................217 4.5.14.13 Conversion with Main tab ................................................................................217
4.5.14.14 Conversion without Main tab ...........................................................................218 4.5.15 Merging ............................................................................................................219 4.5.15.1 Merging databases ..........................................................................................219 4.5.15.2 Register Reallocation.......................................................................................219 4.5.15.3 Example ...........................................................................................................220 4.5.15.4 Reallocation rules ............................................................................................221 4.5.15.5 Example of register reallocation.......................................................................221 4.5.15.6 Congruence of the database Locregs..............................................................222 4.6 Database Browser ........................................................................................... 222 4.6.1 Overview of the Database Browser .................................................................222 4.6.2 Selecting a different Unit..................................................................................223 4.6.3 Finding records ................................................................................................223 4.6.3.1 Finding Records ..............................................................................................223 4.6.3.2 Searching by Point Type .................................................................................224 4.6.3.3 Searching by Symbolic Name .........................................................................224 4.6.3.4 Searching by Comment ...................................................................................224 4.6.3.5 Searching by Record Type ..............................................................................224 4.6.3.6 Searching by RTDS fields ...............................................................................225 4.6.3.7 Searching by Configuration .............................................................................225 4.6.3.8 Choosing the Sorting Order.............................................................................225 4.6.3.9 Choosing the Display Format ..........................................................................226 4.6.3.10 Display Format: Normal ...................................................................................226 4.6.3.11 Display Format: Extended................................................................................226 4.6.3.12 Display Format: Compressed ..........................................................................226 5 Real Time Data Server 5.1 5.1.1 5.1.2 5.1.3 5.1.4 5.1.5 5.1.6 5.1.7 5.1.8 5.1.9 5.1.10 5.2 5.2.1 5.2.2 5.2.3 5.2.4 5.2.5 5.2.6 5.2.7 5.2.8 5.2.9 5.2.10 5.2.11 5.2.12 5.2.13 5.3 5.3.1 5.3.2 5.3.3 5.3.4 5.3.5 5.3.6 5.3.7 5.3.8 5.3.9 228
Overview .......................................................................................................... 228 What is SIMATIC IT Real Time Data Server? .................................................228 Starting SIMATIC IT Real Time Data Server ...................................................229 RTDS polling classes.......................................................................................230 Dynamic class change .....................................................................................231 Dynamic class change scenarios.....................................................................231 Reading and writing arrays with RTDS............................................................232 Installing and Configuring the SIMATIC IT Real Time Data Server Drivers ....232 Data exchange between SIMATIC IT Real Time Data Server and the RTDS interfaces .........................................................................................................................233 Updating the SIMATIC IT Real Time Data Server ...........................................233 Troubleshooting the RTDS update ..................................................................234 Data Memory Area........................................................................................... 235 Data Memory Area...........................................................................................235 RTDS Data Types............................................................................................235 System Locregs for SIMATIC IT Real Time Data Server ................................235 Locreg RTDB_0 ...............................................................................................236 Locreg RTDB_1 ...............................................................................................236 Locreg RTDB_2 ...............................................................................................236 Locreg RTDB_3 ...............................................................................................237 Locreg RTDB_4 ...............................................................................................237 Locreg RTDB_5 ...............................................................................................237 User Registers .................................................................................................237 Registers for RTDS Locregs ............................................................................237 Registers for PMC Locregs..............................................................................238 System Registers.............................................................................................239 Configuring the Locreg..................................................................................... 239 Configuring the Locreg.....................................................................................239 Creating a new user locreg ..............................................................................240 If you have selected an RTDS Locreg .............................................................240 Type .................................................................................................................241 Field Memory ...................................................................................................241 User Memory....................................................................................................241 Backup Memory ...............................................................................................241 If you have selected a PMC Locreg.................................................................242 Permanent Memory .........................................................................................242
5.3.10 5.3.11 5.3.12 5.4 5.4.1 5.4.2 5.4.3 5.4.4 5.4.5 5.4.6 5.4.7 5.4.8 5.4.9 5.4.10 5.4.11 5.4.12 5.4.13 5.4.14 5.4.15 5.5 5.5.1 5.5.2 5.5.3 5.5.4 5.6 5.6.1 5.6.2 5.6.3 5.6.4 5.6.5 5.6.6 5.6.7 5.6.8 5.6.9 6
Not permanent Memory ...................................................................................242 Modifying a user locreg....................................................................................243 Viewing the registers of a locreg......................................................................243 Configuring SIMATIC IT Real Time Data Server ............................................. 244 Configuring SIMATIC IT Real Time Data Server .............................................244 Configuring the interfaces to the RTDS drivers ...............................................245 Defining the size of RTDS queues...................................................................246 Monitoring the RTDS queue status..................................................................247 Defining the management of 0 class points.....................................................247 Optimizing the setting of values on device drivers for 0 class points ..............248 Enabling oneshot reading ................................................................................248 Enabling quality flags management.................................................................248 Enabling Time Stamp.......................................................................................249 Displaying quality information ..........................................................................249 The GOOD quality attribute .............................................................................250 The BAD quality attribute .................................................................................250 The UNCERTAIN quality attribute ...................................................................250 The quality status.............................................................................................251 The limit field ....................................................................................................251 Hot backup (redundancy)................................................................................. 251 Details on RTDS hot backup (redundancy) .....................................................251 Register management with RTDS in hot backup.............................................251 The DB-Align function ......................................................................................252 Launching the DB-Align application (dbalign.exe) ...........................................252 Advanced RTDS configuration......................................................................... 253 Advanced RTDS configurations.......................................................................253 COMMVIEWER.INI..........................................................................................253 GPSSOCK.INI..................................................................................................253 ITFLIB.INI.........................................................................................................254 MENU.INI .........................................................................................................255 NCSERV.INI.....................................................................................................255 QBRIDGE.INI ...................................................................................................255 RTDB.INI..........................................................................................................256 USERBK.INI.....................................................................................................257 259
SIMATIC IT Services
1.1
1.1.1
Overview
SIMATIC IT Services
SIMATIC IT Services is a software package that acts as an enabling layer offering common services to all SIMATIC IT components. Such services include: User Management License Management Audit Trail Service Electronic Signature Service Troubleshooting Tools Configuration Tools Messaging Management
1.1.2
To start SIMATIC IT Services from Windows: 1. Select the Start button from Microsoft Windows taskbar. 2. Select option Programs. 3. Click the Management Console icon Console. in the program group SIMATIC IT Management
The SIMATIC IT Management Console welcome window appears showing the different software modules being loaded (this operation takes a few seconds). This window also contains useful information about the environment, the version date and number, the protection key serial number.
Depending on the configuration, you might either access the Plant Management environment (this occurs, for instance, when you start SIMATIC IT Services for the very first time) or log on directly to a specific Plant and thus access the Management Console environment. In both cases, you will have to perform some configurations required for the system to work correctly.
13
1.1.3
Select Exit Exit to Operating System Shutdown Shutdown and Power Off
To End the current working session, quit the Management Console / Plant Management environment. End the current working session, quit the Management Console / Plant Management environment and return to Windows End the Windows working session and prepare your computer to be turned off. End the current SIMATIC IT working session and switch off the computer (hardware dependent). Note If you want the option Shutdown and Power Off to appear in the WinLogOn menu you have to set it in the PC registry. This is only possible if the OEM has supplied the computer with a HAL (Hardware Abstruction Layer) which supports the power down request. The x86 Microsoft supplied HALs do not support this request.
If you choose to Shutdown the system, you can then select one of the following options:
Select Restart when shutdown is complete Restart with Operating System Shell active Automatic Windows Logon To Restart automatically after the system shutdown is complete Restart the system and activate the Windows NT operating system shell Restart and logon automatically to Windows (without pressing CTRL+ALT+DEL).
Important In order for the Restart with Operating System Shell active and Automatic Windows Logon options to work correctly, the Windows user must have the right to access the Registry.
1.2
1.2.1
Getting Started
When SIMATIC IT Services is started for the first time
The first time the system is started, it is possible to configure the system quickly: Stand Alone Configuration Client-Server Configuration Client-Server Backup Configuration.
Important
SIMATIC IT Services V4.4 SP2 User Manual 14
SIMATIC IT Services should be started on the workstation on which the Plant will reside. It is recommended that this workstation be also configured as one of the Foundation servers.
Important The Management Console Quick Configuration tool allows you to define only the SIMATIC IT workstations. To configure network and control devices, you must use the Network Configuration tool or define them when configuring a Unit.
After that, some other configuration must be carried out: Configuring the users and the access levels Configuring the plant and units
Important In order to configure a Unit it is necessary to insert the SIMATIC IT Services license. For more information, see Inserting SIMATIC IT license codes.
The SIMATIC IT licenses must be configured on each workstation of the network, in relation to the components for which the license has been purchased.
1.2.2
15
1.2.3
Client-Server Configuration
To configure a Client-Server application: 1. Select command Tools > Management Console Quick Configuration in Plant Management. 2. In the Management Console Quick Configuration dialog box, select the Client-Server option button. Click Next. 3. Within the Foundation Server tab, enter the computer name of the workstation that will be configured as the Foundation server and click Add. Then click the Apply button. For more information about defining Foundation servers, see Configuring the Foundation servers. 4. Within the Client tab, enter the computer name of the workstation that will be configured as the client and click Add. Note: It is possible to change the name, used to identify the network, by clicking and overwriting it. 5. Select a network and click Add. Click the Next button. 6. Insert the required parameters for system configuration according to the selected network and click Next. 7. Information about the configuration (Foundation server, network type, node number, ) is displayed. Click Finish to save the configuration
1.2.4
16
1.2.5
Iternet Select the type of CPU associated with the workstation: None: Used exclusively for supervision tasks RTDS/IMC-n: Used to read or write data to non-proprietary PLC networks or other devices. Each type of RTDB_IMC CPU identifies the default locreg that will be assigned to all logical Units associated with this workstation (e.g. CPU type RTDS/IMC1 corresponds to locreg RTDS1). For more information on SIMATIC IT system locregs, see System Locregs for SIMATIC IT Real Time Data Server. SPV-n: This CPU type is obsolete and is used only for old locregs based on VMS systems
Node A IP Address
Not applicable. Enter the TCP/IP address of Channel A (and, if necessary, of Channel B) from the workstation you are configuring. For more information on IP Addresses, see Session Manager network parameters .
1.3
1.3.1
Environment
SIMATIC IT Services environment
SIMATIC IT Services are the ground layer that supports the systems entire architecture and must be installed on each workstation. The Services main role is to centralize those functions affecting all of the systems components: i.e. management and configuration of users and user groups, licenses, logging of operations, hot back-up, real-time database, system events, etc.
17
The main working environments that make up the Services are: Plant Management Management Console Zone Monitoring Environment
1.3.2
Plant Management
The Plant Management environment is specifically designed for Plant definition. In the SIMATIC IT environment, the term "Plant" indicates an element that comprehends all the configurations, programs and, in general, the files that form an application for the supervision and control of an automation system.
From the Plant Management environment you can perform some basic functions for SIMATIC IT Services environment configuration, such as management of users, definition of master machines, management of the physical network and the enabling codes of the SIMATIC IT components. Once the Plant has been defined, and configuration, which is essential for system operation, has been carried out, you can access the SIMATIC IT Management Console system menu for a single Plant.
1.3.3
1.3.4
Management Console
SIMATIC IT Management Console is the management and configuration environment for all SIMATIC IT components. From Management Console, you can access all the configuration tools (licenses, users, workstation, network, start-up, third party applications, etc) and, in general, all those components making up the SIMATIC IT product family. The SIMATIC IT Management Console environment is made up of various tabs, from which you can access the different functions. The same functions are also available from the menu commands.
18
Important Access to individual SIMATIC IT components depends on the resources available to each user.
1.3.5
These modules must be configured with reference to a specific Zone, i.e., for a specific logical area of the Plant.
SIMATIC IT Services V4.4 SP2 User Manual 19
You will have access to the Zone Monitoring Environment only if you have configured a Default Zone in SIMATIC IT Management Console, since all the operations (database management, cross-reference, function keyboard configuration, etc.) which you can execute in ZME refer to a specific zone. For more information, see Configuring the Default Zone.
1.3.6
What is a Zone?
The SIMATIC IT environment is subdivided into zones, that is, logical supervision areas. A zone includes all the files and configurations related to the supervision and operation of a specific area of your Plant. To each zone you can associate graphic panels, alarms, archived points.
The SIMATIC IT applications which provide supervisory functions (SIMATIC IT Graphic User Interface, SIMATIC IT Alarm Manager Display, SIMATIC IT Historian Data Display) can be started also from the SIMATIC IT Management Console system menu, but only when executed from within the Zone Monitoring Environment can you obtain a complete view of the whole zone on which you are operating.
Each workstation can have access to more than one supervisory zone, either locally or on a remote server.
1.3.7
Defining a Zone
To define a Zone: 1. Select the tab in SIMATIC IT Management Console.
2. Select command File > New. 3. In the New Zone dialog box enter the name to be assigned to the zone (maximum 8 characters) in the Zone Name box. 4. Click OK. The icon of the zone appears in the window.
The supervisory modules (SIMATIC IT Graphic User Interface, SIMATIC IT Alarm Manager Display, SIMATIC IT Historian Data Display) integrated in Zone Monitoring Environment always refer to the Default Zone when they are activated. For more information, see Configuring the Default Zone.
1.3.8
20
1. Select command Configuration > System in SIMATIC IT Management Console. 2. Click the Plant Configuration tab in the System Configuration window. 3. Select the name of the default zone to be configured from the Current Zone list box. 4. Click OK.
Important If you execute this operation when a supervisory application (SIMATIC IT Graphic User Interface, SIMATIC IT Alarm Manager Display, SIMATIC IT Historian Data Display) is currently running, you will be asked whether to interrupt the application or not.
1.3.9
Removing a Zone
To remove a Zone: 1. Select the tab in SIMATIC IT Management Console. .
3. The message Do you really want to delete it ? appears. 4. Click Yes. The icon of the zone is removed from the window.
1.3.10
1.4
1.4.1
Working area
The Zone Monitoring Environment working area
Graph, Alarm and Data windows can be arranged in the Zone Monitoring Environment working area. Each window shows the files defined in the corresponding directories.
21
1.4.2
To show or hide the AMD, HDD and GUI file windows: 1. Select command Options > Windows Setting in the Zone Monitoring Environment. 2. In the Window Setting dialog box check or uncheck the boxes of the file windows to be displayed in the working area: Graph Files Window Alarm File Window Data Files Window
3. Click OK.
1.4.3
The list of files displayed in one or all of the windows can be refreshed run-time by selecting commands Refresh and Refresh All from the Window menu.
1.4.4
If the windows are maximized you can: tile them horizontally (command Window > Tile Horizontal). tile them vertically (command Window > Tile Vertical). arrange them one on top of the other (command Window > Cascade).
1.4.5
22
as soon as configured (command Options > Save Settings Now) each time you quit the Zone Monitoring Environment (command Options > Save Settings on Exit)
1.5
1.5.1
1.5.2
2. In the New dialog box click the Alarm Viewer button. 3. Click OK. You access the SIMATIC IT Alarm Manager Display environment.
Tip For more information, see manual SIMATIC IT Alarm Manager and Alarm Manager Display: Users Guide.
1.5.3
2. In the Open dialog box select the directory where the files you want to open are stored. The following directories are available for SIMATIC IT Alarm Manager Display: \ALARM\USER contains active alarm, alarms to be acknowledged and workspace files. \ALARM\TEXT contains alarm configuration files.
3. Select the file from the File Name box. 4. Click OK.
Or
23
1. In the Alarm User Files window double click the name of the file you want to open. 2. According to the file type you selected you access the SIMATIC IT Alarm Manager Display, Alarm Acknowledge Services or Text Editor environments.
1.5.4
Important Before configuring the servers make sure that the SIMATIC IT Alarm Manager Display client and the SIMATIC IT Graphic User Interface module are not running within the default zone.
To configure the connection to the AM server: 1. Select command Configuration > Alarm Manager Connections Configuration in the Zone Monitoring Environment or Configuration > Alarm Manager > AMD Connections in SIMATIC IT Management Console; the Connections Configuration dialog box appears; 2. Select the pair of servers to which the clients must connect from the Computer Name 1 and Computer Name 2 list boxes: if the server selected from the Computer Name 1 list box is configured in hot backup, select the name of the corresponding slave server from the Computer Name 2 list box. if the server selected from the Computer Name 1 list box is NOT configured in hot backup, select (None) from the Computer Name 2 list box.
3. Click the Add>> button to add the selected server name to the Computer Name 1Computer Name 2 box. 4. Repeat steps from 2 to 3 to select other pairs of servers, if required. 5. Click OK.
1.6
1.6.1
1.6.2
2. In the New dialog box click the Historical Trend button. 3. Click OK. You access the SIMATIC IT Historian Data Display environment. Tip For more information, see manual SIMATIC IT Plant Data Archive and Historical Data Display: Users Guide
1.6.3
2. In the Open dialog box select the directory where the files you want to open are stored. The following directories are available for SIMATIC IT Historian Data Display: \DATA\USER which contains the trend and workspace files. \DATA\TEXT which contains the process data configuration files.
Or
1. In the Data User Files window double click the file name you want to open. 2. According to the file type you selected you access the SIMATIC IT Historian Data Display or Text Editor environments.
1.7
1.7.1
25
1.7.2
2. Right click the Projects folder and choose command New from the shortcut menu. 3. The New Project wizard is displayed. 4. Enter the name to be assigned to the project (maximum 8 characters) in the Project Name box. 5. Click OK. The icon of the Project is added to the project tree.
Tip For more information on the Project Development Environment, see manual Control Environment Programming Users Guide
1.7.3
2. Double click the Projects folders to expand the project tree. 3. The icons of all the projects defined for the current Plant are displayed.
You can click a project icon to launch the Project Development Environment and edit the project.
1.7.4
Removing a Project
To remove a Project from the project tree: 1. In SIMATIC IT Management Console, click the 2. Double click the Projects folder to expand the tree. 3. Right click a project and choose command Delete from the shortcut menu. 4. Click Yes to confirm the message Do you really want to delete it? 5. The icon of the Project is removed from the project tree. tab.
1.7.5
Renaming a Project
To assign a new name to an existing Project: 1. In SIMATIC IT Management Console, click the 2. Double click the Projects folder to expand the tree. tab.
26
3. Right click a project and choose command Rename from the shortcut menu or click the project name. 4. Type the new name, and then press ENTER.
1.7.6
Copying a Project
To copy a Project to the project tree: 1. In SIMATIC IT Management Console, click the 2. Double click the Projects folder to expand the tree. 3. Right click a project and choose command Copy from the shortcut menu. 4. The Copy Project wizard is displayed. 5. Enter the name to be assigned to the project (maximum 8 characters) in the Project Name box. 6. Click OK. The icon of the Project is added to the project tree. tab.
1.8
1.8.1
Programming environments
SIMATIC IT Programming Environments
SIMATIC IT provides three programming environments to help you satisfy all of the control and supervision requirements of a modern automation system: Control Programming Environment Supervisory Programming Environment API Environment
1.8.2
PDE manages projects. SIMATIC IT automatically associates a new or existing Project to each Unit configured in programming mode. Therefore any project defined in the PDE environment can be dynamically associated to various logical Units.
SIMATIC IT Services V4.4 SP2 User Manual 27
For more information on how to run the PDE environment from a CONTROL Unit, see Running PDE from a CONTROL Unit. For more information on how to run the PDE environment from an RTDS/IMC Unit, see Running PDE from an RTDS/IMC User Unit.
1.8.3
Not Guided
4. Click OK.
1.8.4
Important The Unit must be configured in programming mode. For more information, see Configuring a CONTROL Unit .
To run PDE from a CONTROL Unit: 1. Click the tab in the SIMATIC IT Management Console window. icon and choose command Unit > Programming Environment
or Double click the Control Unit 3. Double click the Program or expand the Management Environment icon. icon to expand the unit tree. or Project icon
28
The Project Development Environment is launched and the project previously associated to the Unit is opened.
Tip For more information on the Project Development Environment, see manual Control Environment Programming Users Guide
1.8.5
Important The Unit must be configured in programming mode. For more information, see Configuring an RTDS/IMC User Unit.
To run PDE from a RTDS/IMC User Unit: 1. Click the tab in the SIMATIC IT Management Console window. icon and choose command Unit > Programming Environment
or Double click the RTDS Unit 3. Double click the Program or expand the Management icon to expand the unit tree. or Project icon icon.
The Project Development Environment is launched and the project previously associated to the Unit is opened.
Tip For more information on the Project Development Environment, see manual Control Environment Programming Users Guide.
Note When you activate PDE to manage a project associated with an RTDS/IMC Unit, the SIMATIC IT Real Time Data Server and-IMC modules must also be running. These modules handle the SIMATIC IT Real Time Data Server memory area and process data stored in this area, respectively.
1.8.6
29
2. Double click the Projects folders to expand the project tree. 3. Double click a project 4. If the project is not currently associated with any Unit, you will be prompted to choose a Unit to which the project will be assigned. 5. The Project Development Environment is launched and the project is opened.
Tip For more information on the Project Development Environment, see manual Control Environment Programming Users Guide
1.8.7
You can run the Real Time Data Engine Manager environment from a Real Time Data Engine User Unit.
1.8.8
3. Select command Unit > Real Time Data Engine > Start Real Time Data Engine. or Expand the Unit tree, then expand the Management item and double click the SIMATIC icon. IT Real Time Data Engine Manager
Important To execute the tasks created in the SIMATIC IT Real Time Data Engine Manager environment, you must start the run-time engine with command Unit > Real Time Data Engine > Start Real Time Data Engine in SIMATIC IT Management Console.
Tip For more information on the SIMATIC IT Real Time Data Engine Manager environment, see the manual Supervisory Environment Programming User's Guide.
30
1.8.9
API Environment
The Application Programming Interface (API) provides the software libraries, the tools and documentation required to develop programs to be integrated into the SIMATIC IT environment, which perform custom functions, supply new communications interfaces with PCs and field devices or even replace standard SIMATIC IT components with custom modules in order to meet specific requirements. Programs can be created using high-level languages such as C and C++, which support the Cstandard conventions for calling routines.
APIs are supplied for the following environments: System Enabler (data management) Alarms Management Historical Trends Management
Tip For more information, see the manual Application Programming Interface Users Guide.
1.8.10
Configuring IMC
IMC is a virtual controller which acquires data, reading it from the SIMATIC IT Real Time Data Server memory area managed by SIMATIC IT Real Time Data Server, processes it and generates output values which will be written to the same memory area.
To configure IMC: 1. In SIMATIC IT Management Console, click the 2. Select an RTDS Unit. tab.
3. Select command Unit > Integral Multifunction Controller > IMC Configuration or Expand the Unit tree, then expand the Management item and double click the IMC Configuration icon. 4. In the IMC Configuration dialog box enter the controller cycle time (in milliseconds) in the Tick box. This value cannot be less than 500 ms. 5. In the Start Mode area select the IMC start-up attribute:
Run Stop IMC executes the last program transmitted IMC does not execute any program
6. Click OK.
1.8.11
Starting IMC
To start IMC:
31
1. In SIMATIC IT Management Console, click the 2. Select the icon of the RTDS/IMC Unit
tab.
3. Select command Unit > Integral Multifunction Controller > Start IMC. 4. The IMC module is started.
Important This command is enabled only if you have selected an RTDS/IMC Unit and if the computer name assigned to the logical Unit is the same as the current workstation name.
IMC has no user interface. To check if IMC is running (two IMC instances cannot be started concurrently on the same workstation) view the Management Console Tasklist in the System Toolbox. For more information, see Management Console Tasklist.
1.8.12
Debugging a program
To start the ODS Operation Debugging Support module for the application program associated with the selected Unit: Select command Unit > Operation Debugging Support Console or In the window, double click a Unit, then expand the Management icon. double click the Debug item and in SIMATIC IT Management
ODS is the tool offered by SIMATIC IT to debug and correct the application programs created in the PDE or SIMATIC IT Real Time Data Engine programming environments. With ODS you can view the values of all the variables used by a program while the program is running, apply a different display format to each variable and change its value in run-time.
Tip For more information, see manuals Control Environment Programming Users Guide and Supervisory Environment Programming Users Guide.
1.8.13
32
icon.
Tip For more information, see manual Control Environment Programming User's Guide.
1.8.14
Tip For more information, see manual Control Environment Programming Users Guide.
1.9
1.9.1
1.9.2
2. In the New dialog box select the Graphic Panel button. 3. Click OK to access the SIMATIC IT Graphic User Interface Development environment.
Tip For more information on creating graphic panels, see manual SIMATIC IT Graphic User Interface: Users Guide.
1.9.3
2. In the Open dialog box select the directory where the files you want to open are stored. The following directories are available for SIMATIC IT Graphic User Interface: \GRAPH\SOURCES which contains graphic source files (.grs) \GRAPH\TEXT which contains text files used by SIMATIC IT Graphic User Interface \GRAPH\LIB which contains graphic object libraries.
3. Select the file from the File Name box. 4. Click OK.
Or In the Graph Source Files window, double click the name of the file you want to open.
In either case you have access to the SIMATIC IT Graphic User Interface Development environment.
1.9.4
The compiler optimizes the instructions inserted in the file, verifies the attributes assigned to the objects and checks if the points assigned to the objects are defined in the Unit database.
When you start the compiler, the SIMATIC IT Graphic User Interface environment displays a dialog box with the compilation percentage and then the Compiling Report box with the compilation results, the error and warning messages.
1.9.5
34
To create a .grm file: 1. Select the Build command from the Tools menu in Zone Monitoring Environment. The Build dialog box appears. 2. Select the source files to be added to the .grm file from the Graphic Panels list box. 3. Click the Add button. The selected files are automatically added to the Build Modules list box. Click Remove to remove one or more files from the list. 4. Enter the name of the .grm file in the Build File box.
To compile multiple graphic panels: 1. Select the .grm file from the Graph Source Files window in Zone Monitoring Environment. 2. Select the Compile command from the File menu.
Tip For more information, see manual SIMATIC IT Graphic User Interface: Users Guide.
1.9.6
1.9.7
Important The distance between the intersection points of the horizontal and vertical axes of the grid must be between 10 and 50 pixels.
Tip For more information, see manual SIMATIC IT Graphic User Interface: Users Guide.
35
1.9.8
Important The step value on either axis of the grid must be between 2 and 50 pixels.
Tip For more information, see manual SIMATIC IT Graphic User Interface: Users Guide.
1.9.9
1.9.10
To define the maximum number of objects and points: 1. Select the command Configuration > GUI Development Configuration in Zone Monitoring Environment. The Development Configuration dialog box appears. 2. In the Limits area enter the maximum number of Objects and Points that can be configured in a graphic panel.
Important The default values (1024 objects and 512 points) represent the recommended maximum limits for each graphic panel.
Tip For more information, see manual SIMATIC IT Graphic User Interface: Users Guide.
36
1.9.11
Defining the maximum number of graphic panels that can be displayed at the same time
To define the maximum number of graphic panels that can be displayed simultaneously: 1. Select command Configuration > GUI Development Configuration in Zone Monitoring Environment. The Development Configuration dialog box appears. 2. In the Max no. simult. displayed panels box , enter the maximum number of graphic panels that you intend to display at the same time (max. 8). 3. Click OK.
Tip For more information, see manual SIMATIC IT Graphic User Interface: Users Guide.
1.9.12
Tip For more information, see manual SIMATIC IT Graphic User Interface: Users Guide.
1.9.13
37
1.9.14
To configure DLLs: 1. Select command Configuration > GUI Development Configuration in Zone Monitoring Environment. The Development Configuration dialog box appears. 2. In the DLL area enter the name of the DLL file in the DLL Name box. 3. Click the Add >> button to add the file name to the list box. Click << Remove to remove DLLs you no longer need from the list.
Tip For more information, see manual SIMATIC IT Graphic User Interface: Users Guide.
1.9.15
1.10
1.10.1
You can disable this toolbar whenever you want by choosing command Services > System Toolbox in SIMATIC IT Management Console or by clicking the tab in SIMATIC IT Management Console, expanding the System folder and double-clicking System Toolbox.
The System Toolbox consists of a title bar, on which the System Toolbox label and the system time appear, and a toolbar with several buttons: each button is associated with one of the SIMATIC IT components and appears only if the related application is running. All buttons operate in toggle mode: if the application is currently minimized, you switch to the application
SIMATIC IT Services V4.4 SP2 User Manual 38
and the application window will be maximized; if the application is currently maximized, it will be minimized. By default, the System Toolbox shows the following three buttons. Those which refer to the other applications are inserted in run time.
: Click this button to switch to SIMATIC IT Management Console. : Click this button to view the Management Console Tasklist that displays all SIMATIC IT applications currently running on your workstation. : Click this button to view the SIMATIC IT Management Console Online Help.
1.10.2
With this option, when you start SIMATIC IT Management Console and log on to a Plant, the System Toolbox toolbar is loaded.
1.10.3
The Management Console Task List tab lists all the SIMATIC IT applications currently running on your workstation. Within the Management Console Task List tab, you can perform the following operations:
To select an active application and switch to it terminate an application add a new task to the applications list (reserved for future use) display SIMATIC IT applications running on another workstation, configured on SIMATIC IT Network Configuration Action Choose the application name from the list and click the Switch To button. Choose the application name from the list and click the End Task button. Enter any valid command in the New Task box and click the Run button. (reserved for future use) Choose a name from the Computer Name list box.
refresh the list of SIMATIC IT applications currently Click the Refresh button. running on your workstation or (reserved for future use) the workstation you are connected to
Important
39
The End Task button is enabled only for SIMATIC IT applications with no user interface (e.g. IMCRTDS, PDA, AM, ...) or for OLE server modules, such as AMD and HDD. All other applications must be terminated using the appropriate command on their menu bar.
(Reserved for future use) The Remote Control tab shows the computer name of the workstation to which the current workstation is connected in the Currently connected to area. Within the Remote Control tab, you can perform the following operations:
Click Logoff <-Logon Shutdown Refresh To Log off from the Plant to which the current workstation is connected. Log on to a Plant. Close all programming systems. Refresh the list of SIMATIC IT applications currently running on the workstation you are connected to.
1.10.4
System Information
If you select command Help > System Information in SIMATIC IT Management Console the System Information dialog box containing information related to your SIMATIC IT workstation appears. By clicking the Miscellaneous tab, the following information is displayed:
Description Serial number and type of the hardware key installed on the workstation. For more information on how to install the hardware key see Installing the Protection Key Node number of the Arcnet network adapter. This data is available only if your workstation is connected to an Arcnet network. For more information, see Monitoring network nodes. Computer name of the workstation, defined during Windows installation. YES indicates that SIMATIC IT Management Console stand-alone startup has been configured. For more information, see Enabling SIMATIC IT stand-alone start-up . Computer name of the workstation where the Plant is located and to which the current workstation is connected. Computer name of the workstation to which the current workstation is connected.
In the Memory Status area: Description Physical Memory Installed The physical memory installed on your computer. Physical Memory Available The physical memory not yet used. Total Virtual Memory The space on your hard disk that Windows uses as if it were actually memory. The benefit of using virtual memory is that you can run more applications at one time than your systems physical memory would otherwise allow.
You can click the Check Management Console files button to display the list of files which are not matching the installation. This table shows files contained in the Bin directory, before and
SIMATIC IT Services V4.4 SP2 User Manual 40
after installation of a new program version. The size (in bytes) and installation date/time for each file are displayed. For the files not present in the updated version the string missing is displayed.
Minimum application address Pointer to the lowest memory address accessible to applications and dynamic-link libraries (DLLs). Maximum application address OEM id Page size CPU Manufacturer Pointer to the highest memory address accessible to applications and dynamic-link libraries (DLLs). Specifies the Original Equipment Manufacturer Id. Specifies the page size and the granularity of page protection and commitment. Specifies the CPU manufacturer name.
1.11
1.11.1
User Management
Logging on to SIMATIC IT
From SIMATIC IT Management Console you can log on to all components making up the SIMATIC IT suite. When you start SIMATIC IT Management Console for the very first time, the system logs you on as DEFAULT user, with very limited rights.
To appropriately start and configure your system, you must: Switch to full-authorization mode by pressing the SHITF+ESC keys and entering the predefined username MANAGER (no password). Define the appropriate user profiles and the related rights Log on with a user other than default
41
1.11.2
Procedure
1. Select the File > New > User command in the User Manager environment; or select a
command (or user in the User Manager - User View and then select the Edit > Modify right-click and select the Modify command from the shortcut menu ), the New User or Modify user dialog boxes are displayed, respectively. 2. Click the Advanced button: the Advanced dialog box is displayed. 3. Click the Timeout check box in the Automatic Logoff area. 4. Enter the number of minutes (1-1440) after which the system will automatically logoff the user in the Minutes edit box or select a value clicking the spin button. 5. To notify the user before logging off, click the Confirm before logoff check box. 6. Click the Apply button to exit the Advanced dialog box. Note When this option is selected, the system automatically logs off any user that has been connected to SIMATIC IT Management Console longer than the configured time interval.
1.11.3
Manager
none
From the User Management tool you can then define additional user groups and profiles and assign them the appropriate rights.
1.11.4
1. Enter the System Configuration window. 2. Select the Workstation tab. 3. Select the Automatic User Logon checkbox. 4. Enter the username in the User edit box. This name must already have been defined as a SIMATIC IT user or must be one of the pre-defined users (Manager or Operator). 5. Enter, if required, the password that uniquely identifies the user in the Password edit box. Characters are replaced with stars as you type.
42
The user you have just defined will be available the next time you log on to SIMATIC IT Management Console.
Important If you do not select the Automatic Logon option, the system will always log on to SIMATIC IT Management Console with the Default user.
1.11.5
To log on with a user other than the default, do as follows: 1. Press the SHIFT+ESC keys; the User Logon dialog box appears. 2. Insert the user name and password in the User and Password edit boxes respectively; 3. Click the OK button to log on.
1.11.6
Important You must configure an appropriate option, in order for a user to be allowed to change his/her password. However, the MANAGER user can always change his password, regardless of his configuration
Procedure
1. Press the SHIFT+ESC keys; the User Logon dialog box opens. 2. Enter the user name in the User edit box. 3. Click the Change button; the Change Password dialog box opens. 4. Enter the new password in the Password edit box and then type it again in the Confirm Password edit box to check that the previously entered string is correct. Characters are replaced with stars as you type. 5. Click the OK button.
1.11.7
43
Other users must be appropriately configured in order for them to be allowed to modify their password:
Procedure
1. Enter the User Management environment (command Tools > User Manager). 2. Create a new user (command Edit > New > User Edit >Modify ) or modify an existing user (command
or right click the user name and select Modify on the shortcut menu).
3. In the Account Settings area, select the User can change password check box.
If a user is not allowed to change his/her password, the Change button in the User Logon dialog box (SHIFT+ESC) is disabled.
1.11.8
Procedure
1. Select the File > New > User command in the User Manager environment; or select a
command (or double click the user in the User View and then select the Edit > Modify user name or right-click and select the Modify command on the shortcut menu ), the New User or Modify user dialog boxes are displayed, respectively. 2. Click the Advanced button: the Advanced dialog box opens. 3. In the Temporal Expiration area, select the Password expires in check box. 4. Enter the number of days (0-34463) after which the password is no longer valid in the Days edit box or select a number by clicking the spin button. 5. If you want to be advised before the password expires, click the Waiting before check box and then enter the number of days in the Days edit box or select a number by clicking the spin button. 6. Click the Apply button to exit the Advanced dialog box.
1.12
1.12.1
44
Group View, displaying existing groups (View > Show > Groups Scenario View, displaying existing groups (View > Show > Scenario
Important It is necessary to save changes by selecting the File > Save before quitting the User Manager environment. command
All changes made and operations performed within the User Manager environment (e.g. defining, modifying, deleting users groups and scenarios, as well as policy account settings) are traced as Audit Trail records. These records can be viewed by selecting the View > Show > Audit Trail Viewer menu command or by clicking the toolbar. Audit Trail Viewer button on the
1.12.2
Procedure
1. Select the cell under the column that you wish to set the filter on. 2. Type the search criteria. The word can be typed completely or in part (either the first few letters or by using an asterisk) 3. To see the search result, press Enter, select the button on the right side of the cell simply wait a few seconds. 4. The search results will be shown in the cells below. , or
45
1.13
1.13.1
The following default groups are available: Administrators Developer High Level Operator Low Level Operator Maintenance Operator
1.13.2
Note It is not possible to remove this resource, but you can add or remove other resources according to your preferences.
1.13.3
Access to Operating System Shell Alarm Configuration Load Graphic Panels Edit DB, User Libraries, Projects Historical Trends Configuration Modify Configurations (without Saving) PMC Operations Program Transmission Run Historical Trends Run Applications from GUI Browse Source Files
System Configuration Enable GUI Menu Bar Hardware Configuration Modify and Save Configurations Modify, Save, Compile Source Files Print from Graphics, Alarm, Historical Environments Run Alarms Run ODS Set Variables from GUI Set Variables from Ladder, Block Diagram, ODS
46
1.13.4
Load Graphic Panels Run Alarms Run ODS Set Variables from Ladder, Block Diagram, ODS
Modify Configurations (without Saving) Run Historical Trends Set Variables from GUI
1.13.5
1.13.6
Enable GUI Menu Bar Modify Configurations (without Saving) Print from Graphics, Alarm, Historical Environments Run Alarms Run Historical Trends Set Variables from GUI Browse Source Files
Hardware Configuration PMC Operations Program Transmission Load Graphic Panels Run ODS Set Variables from Ladder, Block Diagram, ODS
1.13.7
Creating a group
You can create a new group only if your user name has been associated to the Administrators group (or to an equivalent group owning the Access to Administrative Tools resource).
47
Procedure
1. Start the User Manager tool by selecting the Tools > User Manager Management or in SIMATIC IT Management Console. command in Plant
2. Select the File > New > Group command or click the New Group button on the toolbar. The New Group dialog box opens. 3. Enter the name of the new group (an alphanumerical string up to 15 characters) in the Group Name edit box. 4. Select the system resources of the new group from the System Resources list box, and then click the Add> button. 5. Click the Local Resources tab to assign local resources to the new group. 6. Click the OK button to confirm this operation.
In addition to defining a new group from scratch you can create a new group using the definition of an existing group, by selecting a group and then the Edit > Copy command. (or by rightclicking and selecting the Copy command from the displayed shortcut menu ). The Copy Group dialog box opens: you are prompted to enter a new group name and then you can modify all group configuration parameters.
1.13.8
Removing a group
Procedure
1. In the User Manager - Group View environment (command Tools > User Manager Plant Management or SIMATIC IT Management Console) select the group of interest. 2. Select command Edit > Delete , or right-click and select the Delete command on the shortcut menu , or press the DEL key. 3. Click the Yes button to confirm this operation. in
1.13.9
Procedure
1. In the User Manager - User View environment (command Tools > User Manager Plant Management or SIMATIC IT Management Console) select the user of interest. in
or double-click the user name or right-click and select 2. Select command Edit > Modify the Modify command on the shortcut menu . 3. The Modify user dialog box opens. Select the Group membership tab: the groups associated with the current user are displayed in the Selected Groups list box.
48
1.14
1.14.1
Procedure
1. Select the Tools > User Manager command in Plant Management or SIMATIC IT Management Console to start the User Manager environment. 2. Select command File > New > User ; the New User dialog box is displayed.
3. Enter the user name In the User Name edit box. By default, the name proposed by User Manager is composed of 3 alphabetical characters, the pound sign and a progressive number (e.g. USR#21). However, the user can modify the name. 4. (Optional) Enter a comment in the Full Name edit box (User Manager-User View dialog box) or the Description edit box (User Manager-Group View dialog box). 5. Operating in the Account Settings area, if required, enter the password in the Password edit box. Characters are replaced with stars as you type. 6. Enter the password again in the Confirm Password edit box to check if the previously entered string is correct.
Important Remember that it is possible to block the user by setting the dedicated parameters. For more information on how to lock a user, see Locking a user.
You can then select one or more optional parameters related to: Changing the password at the following logon (expiry date, updating,. . . ) The user account The possibility for the user to change his/her password The possibility of unlocking a locked user Associating a user to a group
In addition to defining a new user from scratch you can create a new user using the definition of command (or by an existing user, by selecting an existing user and then the Edit > Copy right-clicking and selecting the Copy command on the shortcut menu ). The Copy User dialog box is displayed: you are prompted to enter a new user name and then you can modify all configuration parameters.
49
1.14.2
Procedure
1. In the User Manager - User View environment (command Tools > User Manager Plant Management or SIMATIC IT Management Console) select the user of interest. in
, or double-click the user name, or right-click and select 2. Select command Edit > Modify the Modify command on the shortcut menu ; the Modify User dialog box opens and displays the properties of the current user. 3. Update the parameters of interest. 4. Click the OK button.
1.14.3
Removing a user
Procedure
1. In the User Manager-User View environment (command Tools > User Manager in Plant Management or SIMATIC IT Management Console), select the user of interest. 2. Select command Edit > Delete , or right-click and select the Delete command on the shortcut menu or press the DEL key. 3. Click the Yes button to confirm this operation.
1.14.4
Procedure
1. Select command File > New > User in the User Manager environment or select a user
command (or rightin the User Manager - User View and then select the Edit > Modify click and select the Modify command from the shortcut menu ); the New User or Modify user dialog boxes are displayed, respectively. 2. Select the Group membership tab. 3. Select a group from the Available Groups list box and then click the Add> button. The group name is moved to the Selected Groups list box. 4. Click the Resources button to display the resources assigned to the selected group. The Resources dialog box opens and displays all resources and related access levels available to the user.
50
1.14.5
Procedure
1. In the User Manager - User View environment (command Tools > User Manager Plant Management or SIMATIC IT Management Console), select the user of interest. in
, or double-click the user name, or right-click and select 2. Select command Edit > Modify the Modify command on the shortcut menu . 3. The Modify user dialog box opens. Select the Group membership tab: the groups associated with the current user are displayed. 4. If necessary, select the old group from the Selected Groups list box and click the <Remove button. 5. Select the new group to which the user is to be associated from the Available Groups list box. 6. Click the Add> button to move the group to the Selected Groups list box. 7. Click the OK button to confirm this operation.
1.14.6
Locking a user
This option allows you to block a user. This way, if a user inserts the wrong password several times, User Manager will block the entrance into the environment. To block a user, select the Lock User Account check box in the Policy Account dialog box. Once a user is blocked, the associated icon in the User Manager-User View environment will be displayed with a red line through it , indicating that this user has been disabled.
To unlock the user, select the disabled user icon in the User Manager-User View dialog box and then select the User > Modify command. In the Modify User dialog box , clear the User Locked check box. The user will be re-enabled and will therefore be able to access SIMATIC IT.
1.14.7
Is Selected
Then User Manager suggests a default name for each new user, composed of three alphabetical characters, the pound sign and a progressive number (e.g. USR #21). But it is also possible to insert a different name, if never used before. It is possible to rename the old user names by following the same criteria of the user name automatically created by User Manager. It is also possible to copy the new user names in the Full Name cells by overwriting the old ones.
Cleared
User Manager will suggest this name but the user can choose whether to k it h it l t l dif it i t
51
Selected
The only resource associated to the Administrator Group will be access to administrative tools and it is not possible to add or remove it. Instead it is possible to add or remove the local resources on the Local Resources tab. The Administrator Group behaves like the other groups.
Cleared
Selected
The old password (if a password has been modified by a user) will be locked for this user only (i.e. it will not be able to be used) for a pre-defined time period.
This option sets how many times the user can insert the wrong password before being disabled. Click the Invalid Logon Attempts spin button to set how many times you can insert the wrong password (up to 10). There is no limit to wrong entries; the user will always remain enabled.
Cleared
Selected
The area below is enabled and it is possible to define the password setting rules. These rules will be enabled from that moment on. As such, old passwords will continue to be valid, but if the user creates a new password or modifies an old password, he/she will have to respect the password setting rules. The area below is disabled
Cleared
Once the password and the user generation parameters are set, select the OK button to accept them and exit the dialog box.
1.14.8
Procedure
1. Select command File > New > User user and then select the Edit > Modify command on the shortcut menu ). from the User Manager environment or choose a command (or right-click and select the Modify
2. In the New User / Modify User dialog box that opens, select the Account not enabled check box. 3. Click the OK button to exit the dialog box.
This option can be used to temporarily disable a users access to the system. To re-enable the users access, select command Edit > Modify in the User Manager environment and clear the option by clicking the Account not enabled check box in the Modify User dialog box.
52
1.14.9
Procedure
1. In the User Manager - Group View environment (command Tools > User Manager Plant Management or SIMATIC IT Management Console) select the group of interest. 2. Either select command Edit > Modify command on the shortcut menu . in
3. The Modify group dialog box opens. Click the Users button. 4. The Users dialog box opens, displaying a list of the users associated to the group.
1.15
1.15.1
SIMATIC IT Management Console provides 30 access levels (from 1 to 30) that can be configured as: Hierarchical (default) Exclusive
At present you can define an Exclusive access level only for the resources listed below: Load Graphic Panels Run SIMATIC IT Applications from GUI Set Variables from GUI Set Variables from Ladder, Block Diagram, ODS
1.15.2
53
1.15.3
1.15.4
Resource Run SIMATIC IT Applications from GUI with access level 20 (hierarchical). Run SIMATIC IT Applications from GUI with access level 15 (hierarchical).
Then you create a graphic panel, define two buttons of type "SIMATIC IT Application" and configure their access levels as follows:
SIMATIC IT Application button to load a SIMATIC IT ODD (Operations Data Display) workspace to configure an alarm Access level 18 14
According to this configuration, Smith can both load a SIMATIC IT ODD workspace and configure an alarm, as the access level required to perform these operations is less than 20, that is, the level assigned to the "Run SIMATIC IT application from SIMATIC IT Graphic User Interface" resource for the "Production Line Manager" group. On the other hand Brown can configure an alarm, as the access level required for this operation is less than 15, the level assigned to the resource for the "Production Line Operator" group, but cannot load a SIMATIC IT ODD workspace as the button access level is greater than the resource level.
You might also have configured the groups as follows in order to handle the same situation:
User Smith Brown Group Production Line Manager Production Line Operator Resource Run SIMATIC IT Applications from GUI with access level 20 (hierarchical). Run SIMATIC IT Applications from GUI with access level 20 (exclusive).
54
Then you create a graphic panel, define two buttons of type "SIMATIC IT Application" and configure their access levels as follows:
SIMATIC IT Application button to load an SIMATIC IT ODD (Operations Data Display) workspace to configure an alarm Access level 18 14
According to this configuration, Smith can both load a SIMATIC IT ODD workspace and configure an alarm, as the access level required to perform these operations is less than 20, that is, the level assigned to the "Run SIMATIC IT application from SIMATIC IT Graphic User Interface" resource for the "Production Line Manager" group. On the other hand, Brown can neither load a SIMATIC IT ODD workspace nor configure an alarm: although the button access level is less than the level assigned to the resource for the "Production Line Operator" group, the resource level has been configured as exclusive, and therefore the two buttons would be enabled only if their access level were equal to 20.
1.15.5
Procedure
1. In the User Manager - Group View environment (command Tools > User Manager Plant Management or SIMATIC IT Management Console) double-click a group (Group command, or right-click Name column), or select a group and then the Edit > Modify and select the Modify command from the displayed shortcut menu . The Modify group dialog box opens. 2. Select the resource of interest from the Selected list box within the Resources area and then click the Set Level button. The Edit Resource Level dialog box opens. 3. Enter the access level value in the Level (1-30) edit box or select the value clicking the spin button. 4. To assign the highest level to the resource click the Max Level check box. 5. To configure the access level as exclusive, click the Mutex check box. SIMATIC IT Management Console displays an "x" next to the level value in the Modify group dialog box. You can configure an access level as exclusive only for some resources. 6. Click the Apply button to return to the Modify group dialog box. in
1.15.6
1.15.7
55
This resource is used to control access by "SIMATIC IT Application" type buttons, and thus to allow/prevent the execution of SIMATIC IT applications from the SIMATIC IT Graphic User Interface environment. The access level can be configured for each "SIMATIC IT Application" button defined in a graphic panel.
1.15.8
1.15.9
1.16
1.16.1
56
Print from Graphics, Alarm, Historical Environments Run Alarms Run SIMATIC IT Applications from GUI Run Historical Trends Run Messages from GUI Run Applications from GUI Set Variables from GUI
57
POM Template Management POM Template Instantiation POM Order Dispatch POM Order Management POM State Machine Management POM Close Session
Miscellaneous resources
Browse Source Files CommuWinII - Specialist User Edit DB, User Libraries, Projects Hardware Configuration Modify, Save, Compile Source Files P.M.C. Operations Program Transmission Run ODS Set Variables from Ladder, Block Diagram, ODS Application Builder Runtime Widget Batch Operator Close Application Builder Runtime Set Variables from OPC Server
When you start SIMATIC IT Management Console, the system is configured with the following resources assigned to the Default user: Run Alarms, Load Graphic Panels, Run Historical Trends. Resources Access to License Configuration and Access to Administrative Tools are assigned, by default, only to the Administrators group.
58
1.16.2
Procedure
1. In the User Manager - Group View environment (command Tools > User Manager in Plant Management or SIMATIC IT Management Console) double-click a group (Group Name column), or select a group and then click Edit > Modify. The Modify group dialog box opens. 2. Select the resource/s of interest from the Available list box (in the System Resources area). 3. Click the Add >> button. 4. The selected resources are moved to the Selected list box. 5. Click the OK button to exit the dialog box.
1.16.3
Procedure
1. In the User Manager - Group View environment (command Tools > User Manager Plant Management or SIMATIC IT Management Console) double-click a group (Group Name column) select a group and then the Edit > Modify dialog box opens. 2. Click the Local Resources tab. 3. Select the workstation you want to assign one or more local resources to. Note Only workstations configured in the SIMATIC IT network are displayed. 4. Click the plus sign beside the workstation icon to expand the resource tree list. 5. Select the check box next to the resource/s of interest . 6. Select another workstation and repeat the above steps on any other workstation you want to assign one or more local resources to. 7. Click the OK button to exit the dialog box. in
Important Unlike system resources, local resources can also be assigned to remote workstations; however, these are available only at a workstation level. Therefore, if you want to assign a local resource to multiple workstations on the SIMATIC IT network, you must select that resource on each individual machine you want to assign it to.
59
1.16.4
Procedure
1. In the User Manager-Group View environment (command Tools > User Manager in Plant Management or SIMATIC IT Management Console), select the group of interest. 2. Either select command Edit > Modify command from the shortcut menu . , or right-click on the group and select the Modify
3. The Modify group dialog box opens and displays the system resources currently assigned to the group. 4. Click the Local Resources tab: the local resources currently assigned to the group are displayed.
1.16.5
Procedure
1. In the User Manager - Group View environment (command Tools > User Manager Plant Management or SIMATIC IT Management Console) select the group of interest. in
or double-click the group name, or right-click and select 2. Select command Edit > Modify the Modify command on the shortcut menu . The Modify group dialog box opens and you can assign a new name to the group. 3. The system resources currently assigned to the group are displayed in the Selected list box within the System Resources area. 4. To assign a new resource, select the resource of interest in the upper table of the System Resources area, and click the Add> button; to remove a resource, select the resource in the lower table and then click the <Remove button. 5. Click the Local Resources tab: the local resources currently assigned to the group are displayed. 6. To assign a new resource, select the check box near the resource of interest to remove a resource, clear the corresponding check box. 7. Click OK to confirm this operation.
1.16.6 1.16.6.1
1.16.6.2
Access to Help
If this resource has been assigned to your group you can access to Online Help.
60
1.16.6.3
1.16.6.4
1.16.6.5
System Configuration
If this resource has been assigned to your group you can create, delete, modify Units, backup and restore Plant directories, run the Backup Switch Tool and all applications which handle configurations from SIMATIC IT Management Console. You cannot run the License Configuration or third-party configuration tools.
1.16.6.6
Close Session
If this resource has been assigned to your group you can quit SIMATIC IT Management Console.
1.16.6.7
1.16.6.8
61
1.16.7 1.16.7.1
1.16.7.2
Alarm Configuration
If this resource has been assigned to your group you can run the Alarm Manager Configuration tool from SIMATIC IT Management Console.
1.16.7.3
1.16.7.4
1.16.7.5
1.16.7.6
1.16.7.7
Run Alarms
(Obsolete resource, which must be replaced with the Run SIMATIC IT Application from GUI resource.)
1.16.7.8
62
1.16.7.9
1.16.8 1.16.8.1
1.16.8.2
IfPMSuperUser
This resource refers to Production Modeler and allows the user to access all system functions. In particular, access to the user environment is permitted only to Super-Users.
1.16.8.3
IfPMUser
This resource refers to Production Modeler and allows the user to access a sub-set of system functions, that is, activating rules and modifying object parameters (but not connections).
1.16.8.4
IfPMEnd-User
This resource refers to Production Modeler and is reserved for future use.
63
1.16.9 1.16.9.1
1.16.9.2
1.16.9.3
1.16.9.4
1.16.10
1.16.11
1.16.12
1.16.13
65
Note This resource has been maintained for compatibility with previous versions on POMD and is valid solely on those states managed by the system state machines.
66
1.16.14
1.16.15
67
1.16.16
Miscellaneous resources
68
1.16.16.10
1.16.16.11
Batch Operator
This resource is obsolete.
1.16.16.12
1.16.16.13
This resource allows you to modify the values of RTDS variables from OPC Server.
1.17
1.17.1
Licensing
Inserting SIMATIC IT license codes
SIMATIC IT is made up of a number of components which are independent of each other: each component has a license code which is linked to the protection key supplied with the product. You must insert the license codes for all the components that you wish to start on your workstation in order to be able to use the components. In particular, a specific procedure must be followed when inserting license codes for the first time.
Important Only users belonging to a group to which the Access to License Configuration resource has been assigned can use command Licenses Configuration. For more information, see SIMATIC IT resources.
1.17.2
1.17.3
To insert license codes from file: 1. Enter the System Configuration window. 2. Select the Licenses tab. 3. Click the Update from Files button. 4. Select the appropriate drive and directory in the Update from File dialog box 5. The files contained in the directory are listed in alphabetical order (all files have .LIC extension and their name is the same as the serial number of the protection key for which they have been generated). 6. Select the file name corresponding to the number labelled on the protection key of your workstation from the License file list box. You can also check for the serial number of your key by running command Help > System Information in Plant Management or SIMATIC IT Management Console. 7. Click the Exit button.
1.17.4
To enter license codes manually: 1. Enter the System Configuration window. 2. Select the Licenses tab.
70
3. In the Category area, select one or more radio buttons related to the kind of components you want to display in the list box:
Select All Modules SIMATIC IT Main modules SIMATIC IT Add-on Modules To display all components all SIMATIC IT main components all add-on components, that is, those components which are not part of SIMATIC IT base architecture but can be used for specific purposes. all drivers, that is, the interface modules developed by Siemens A&D AS MES which connect the Real Time Data Server with a wide range of supervisory and control systems. all third-party components, implemented by third-party companies in co-operation with Siemens A&D AS MES. all CORe components (i.e. SIMATIC IT BPM, POPR, POM, MM) and SIMATIC IT Plant Performance Analyzer
Drivers
4. The list box shows the component name, the license code and, where applicable, the expiration date of the product license. Select the component for which the license must be inserted or updated. 5. Type the license code in the License Code edit box; press the TAB or RETURN keys to move between the fields. 6. Where applicable, type the expiry code of the license in the License Expiration Code edit box. 7. Click the Update License button to save the inserted codes. 8. Click the Exit button to quit this operation.
1.18
1.18.1
Basic Configuration
System configuration
SIMATIC IT Management Console provides a user-friendly tab-based interface for the configuration of the system. System configuration includes the following functions: Configuring the Foundation servers Configuring a SIMATIC IT workstation Configuring SIMATIC IT components for automatic start-up
1.18.2
Select...
71
Tools > System Configuration command Configuration > System command Or tab > Configuration > System Configuration command
1.18.3 1.18.3.1
1.18.3.2
1. Enter the System Configuration window. 2. Select the Workstation tab. 3. Select the Enable P.M.C. serial communications checkbox to start the SIMATIC IT Management Console services which handle serial communications.
If this option is not properly configured, the system will not be able to send data to/receive data from P.M.C.s connected to the serial network.
1.18.3.3
Important The difference between English (United Kingdom) and English (United States) is limited to date-display in the SIMATIC IT Historian Data Display and SIMATIC IT Alarm Manager Display client modules (English (United Kingdom): day/month/year, English (United States): month/day/year).
1. Enter the System Configuration window. 2. Select the Workstation tab. 3. Select one of the following options in the System Language area:
72
To define the language used by online applications the language used by off-line applications the functional keyboard language (Italian, English, French, German or Spanish)
The configured language will be applied the next time you log on to SIMATIC IT Management Console.
1.18.4 1.18.4.1
Important If the following message appears when you select the Foundation servers command: "Write access on masters configuration file temporarily denied" please wait for about 3 minutes until you are granted write access to the server configuration file. Until access is granted all buttons and boxes in the Foundation Servers tab are disabled
The computer names are listed in alphabetical order in the Foundation Server List list box, independent of the order in which they have been inserted. You can enter three computer names at most, and then the Add command is disabled. You can insert another computer name only after deleting one of the displayed computer names.
1.18.4.2
73
Updating the user database and transferring the updated information to all other SIMATIC IT workstations.
1.18.4.3
Important Even if you remove all Foundation servers, the current network server still maintains network functions
1.18.5 1.18.5.1
To enable SIMATIC IT stand-alone start-up: 1. Enter the System Configuration window . 2. Select the Workstation tab. 3. Select the Stand-Alone checkbox.
1.18.5.2
74
4. Click OK.
With this option, when you start SIMATIC IT Management Console you log on directly to the SIMATIC IT Management Console environment of the current Plant and do not need to select the Plant icon in the Plant Management window
1.18.5.3
From Server menu or Configuration menu or Client menu or Component menu or Tools menu or Services menu or tab tab tab tab tab tab
Start the applications Compliance Service Server, Event Manager, Alarm Manager, etc. Compliance Service Configuration, Event Manager, Alarm Manager, etc. Compliance Service Viewer, Historian Data Display, etc. Plant Performance Analyzer, Material Manager, Production Order Manager, etc. Backup Manager, Log File Viewer, User Manager, etc. Alerter, System Toolbox, etc.
The Management Console Tasklist displays all the applications currently running on your workstation. For more information, see Management Console Tasklist.
1.18.5.4
With this option, when you start SIMATIC IT Management Console and log on to a Plant, the SIMATIC IT Management Console application window is minimized.
1.18.5.5
75
SIMATIC IT DDE Interface SIMATIC IT Report Manager SIMATIC IT Event Manager SIMATIC IT Expert System User Interface SIMATIC IT Expert System/RTDS Interface SIMATIC IT Statistical Process Control SIMATIC IT Statistical Process Control Run-Time SIMATIC IT Expert System/PDA Interface SIMATIC IT Operations Data Display SIMATIC IT Business Process Modeler SIMATIC IT Material Manager SIMATIC IT Production Operation Recorder SIMATIC IT Production Order Manager SIMATIC IT Personnel Manager Server SIMATIC IT Plant Performance Analyzer SIMATIC IT Batch COM Interface Custom and Third-party applications SIMATIC IT PM COM Interface SIMATIC IT Production Modeler SIMATIC IT Batch SIMATIC IT Batch COM Server Alarm Acknowledge Services SIMATIC IT Alarm Manager Display SIMATIC IT Graphics User Interface Run-Time SIMATIC IT Historian Data Display
The third-party applications must be launched between the launch of SIMATIC IT BATCH COM Interface and SIMATIC IT PM COM INTERFACE (if installed).
1.18.5.6
76
5. If you need to start third-party or custom applications automatically, select the application/s from the Third Party Applications list box and click the Add-> button. Application names are moved to the Start-Up list box and deleted from the Third Party Applications list box. Note If you add more than one Third Party Application, you can change only their order in the Start-Up list box using the Up and Down buttons; however, they must be inserted between the SIMATIC IT Batch COM Interface and SIMATIC IT PM COM Interface components. Also note that third-party applications are listed in this box ONLY IF they have been added to the SIMATIC IT Management Console Client menu. For more information, see Adding thirdparty components to the Client menu. 6. To set a default delay of 5 seconds between the launch of any two components: Select the Delay property in the Management Console Applications list box, click the Add -> button which moves the delay property to the end of the Start-Up list box. Select the Delay property in the Start-Up list box and move it using the Up and Down buttons to a location between the components whose start time you want to delay. To change the default of the delay from 5 seconds to another interval, see Start Delay time.
Note the Delay property is always present in the Management Console Applications list box because it can be used repeatedly to set a launch delay between various components 7. Click OK to exit and save the current settings.
Important The following components are always launched last and you cannot insert a delay time or third-party/custom application(s) between them: SIMATIC IT Alarm Acknowledge Services SIMATIC IT Alarm Data Display SIMATIC IT Graphic User Interface Run-Time SIMATIC IT Historian Data Display For more information, see the Users Guide of the SIMATIC IT component of interest.
1.18.5.7
77
1.18.5.8
Purpose
The following SIMATIC IT components require start-up parameters in order to permit their automatic launching upon SIMATIC IT start-up: SIMATIC IT Alarm Manager Display SIMATIC IT Real Time Data Engine SIMATIC IT Graphic User Interface Run-Time SIMATIC IT Operations Data Display SIMATIC IT Historian Data Display SIMATIC IT Real Time Data Server
Procedure
1. Enter the System Configuration window. 2. Select the Start Up tab. 3. Select the component name from the Start-Up list box. 4. Click the Properties button and enter the required parameters in the Properties dialog box. Please note that this button is disabled if the component does not need any start-up parameters to be configured. 5. Click OK.
Important Components which are run within a Zone (such as Alarms, SIMATIC IT Graphic User Interface, Historical Trends, ) are executed in the default zone defined. For more information on how to change this parameter, see Configuring the Default Zone. .
1.18.5.9
78
79
The Production Modeler waiting timeout is five minutes maximum; therefore, all modules must be closed within this time. To modify this timeout, add in the %ICUBECNF%\menu.ini file the following section and key:
[DELAY]
retry=<integer that specifies the number of attempts >
1.18.6 1.18.6.1
From any workstation you can log on to more than one Plant, although not concurrently, and each Plant can be shared by several workstations.
1.18.6.2
Creating a Plant
To create a Plant: 1. Select command File > New in Plant Management.
2. Enter the Plant name (maximum 8 characters) in the Plant name edit box. Click the Next button. 3. Select the drive where you want to create the Plant. Click the Next button. 4. Click the Finish button.
The Plant icon is added to the Plant Management window and the plantname.PLT directory structure is created on the selected PC hard disk.
80
1.18.6.3
Opening a Plant
After creating a new Plant you need to define all Units that are part of it. To do this you must first open the Plant and then run the appropriate commands from the SIMATIC IT Management Console environment. To open a Plant: 1. Double-click the icon or Select the Plant icon and then choose command File > Logon to SIMATIC IT Management Console. 2. If it is the first time you open a Plant, the SIMATIC IT Management Console dialog box is displayed and you can configure the default Unit, choosing one of the computer names previously defined in the network configuration. 3. Finally you enter the SIMATIC IT Management Console environment which supplies all the tools required to manage a Plant. of the Plant of interest in the Plant Management window
1.18.6.4
Copying a Plant
To copy the Plant directory to another directory with a different name: 1. Select command Edit > Copy in Plant Management.
2. In the Copy Plant dialog box, enter the name of Plant in Plant Name box. Select the Next button. 3. Select the drive where you want to create the Plant. Select the Next button. 4. Click the Copy button.
1.18.6.5
Renaming a Plant
To rename the Plant directory: 1. Select command Edit > Rename 2. Enter the new name of the Plant. 3. Click out of the edit box or press the ENTER key. in Plant Management.
1.18.6.6
Removing a Plant
To remove a Plant: 1. Select the plant you want to remove. 2. Select command Edit > Delete in Plant Management.
3. The program asks you a confirmation Click the Yes button. 4. The program asks you another confirmation. Select the Yes button.
Important Since you can cancel deletion at any moment, some directories might not be removed completely. In this case the Plant icon is still displayed in the Plant Management window, but it is broken.
81
1.18.6.7
Closing a Plant
To close a Plant and go back to the Plant Management environment: 1. Select command File > End session or press keys ALT+ F4. 2. The End session dialog box appears. 3. Select the Log Off option to end the current working session, quit the SIMATIC IT Management Console environment and go back to the Plant Management environment .
If you choose any other option, you will either end the current Plant working session and return to the Windows operating system, or end the Windows working session.
1.18.6.8
The main directory of the Plant, called Plant.PLT is further subdivided into subdirectories: APPLIC which stores all files related to Projects MMI which stores all files related to supervisory Zones
There is also a number of subdirectories with .LOG extension which store configuration and data files: ACTION.LOG ALARM.LOG DATA.LOG EVENT.LOG
Also the following SYSTEM subdirectories contain, respectively: Plant configuration files (CONFIG); Data Dictionaries (DATABASE); PMC configuration files (PMC_CONF); SIMATIC IT Real Time Data Server and error log configuration files (RTDS). temporary files, which are removed each time you log on to SIMATIC IT Management Console (TEMP); text files created with the SIMATIC IT Management Console native Text Editor (TEXT); link group files, used to set variables via Historian DDE Interface (DDE).
When you create a new Plant, the program also adds some directories related to third-party applications: directory SPC.LOG stores log files generated by the Cube-SPC application.
SIMATIC IT Services V4.4 SP2 User Manual 82
Note Cube-SPC is no longer supported from version 4.2 of SIMATIC IT Management Console and Historian.
1.18.6.9
Directory APPLIC
Contents Compiled files System files, not managed by the user User library files ITER, LADDER and BLOCK DIAGRAM source files Cross-Reference output files and compilation error files Compiled files System files, not managed by the user User library files Files sent to the Recycle Bin ITER, LADDER and BLOCK DIAGRAM source files Cross-Reference output files and compilation error files Global library files for Real Time Data Engine Global library files for Siemens Orsi P.M.C. Reserved for future use Global monitor files created by ODS
Project name.DEC
GLOBAL.LIB
DE PMC SOFTCNT
GEN.GLB
83
1.18.6.15 Archiving
1.18.6.16 Archiving a Plant
SIMATIC IT Management Console provides a Plant maintenance tool for: Creating a backup copy of a Plant Creating a backup copy of a Plant automatically Displaying the contents of a backup file Restoring a previously-archived Plant
In a user-friendly environment, this tool is called Backup Manager and can be activated with command Tools > Backup Manager from Plant Management or SIMATIC IT Management Console.
To archive a Plant to which you are not currently logged on: 1. Select command Options > Configuration in the Backup Manager environment. 2. The Configuration dialog box displays all the Plants located on the current drive. 3. Select the drive and Plant of interest from the Drive and Plant list boxes, respectively.
84
The backup file has .ARQ extension and can be saved into any directory of the current drive, on a remote drive, on Iomega Zip or on diskette. By default the backup file has the same name as the Plant but you can enter any string compliant with Microsoft Windows standards.
Important If you backup the Plant to diskette, it is recommended to use empty diskettes.
To create a backup copy: 1. Select the command Tools > Backup Manager from Plant Management or SIMATIC IT Management Console. 2. Select the command File > Backup in the Backup Manager environment. Important Before activating the backup command make sure that no SIMATIC IT application is running.
3. Select the pathname of the backup file and click the Open button. 4. The Backup dialog box displays all the files, which can be archived in the File list box. By default all Plant files are selected apart from some configuration files. In detail, you can: Select the files to be archived Select the Units to be archived Select the Zones to be archived Select the third-party applications to be archived.
By default the program archives all Units (project, database, hardware configuration files) and all Zones (alarm and trend workspace, graphic panels, reports, etc.).
To select the third-party applications that you want to archive: 1. In the Backup dialog box, click the Third Party button. 2. The Third Party Applications dialog box displays all the third-party applications configured in the selected Plant. 3. In order not to archive an application click the application name in the list box. 4. If you do not wish to archive any application click the None button. 5. To archive all applications (default) click the Select All button. 6. Click the OK button. to return to the Backup dialog box.
86
3. The Test Archive Integrity dialog box displays whether errors are detected or not for the backup copy. 4. Click the OK button.
To automatically create a backup copy of a Plant: 1. Compile the configuration file in the directory corresponding to the ICUBECNF environment variable (e.g. ICUBE.CNF). Either use the ARQINFO.INI default file or define a new one. For more information, see Compiling the backup configuration file. 2. Open a Command Prompt session. 3. Type the Cubearq command line and pass the following arguments:
Argument Example
/Ddisk, where disk is the name of the disk on which the Plant /DC: (C: is the name of the disk on which is located. the Plant is located). /Pplant, where plant is the name of the Plant to be archived. /A, sets the automatic backup mode and loads the configuration in the ARQINFO.INI default file. /Pplant3 (plant3 is the name of the plant to be archived). /A
/Afile, where file is the name of the user-defined INI file. Sets /AmyIni.INI (myIni.INI is the name of the the automatic backup mode and loads the configuration in the user-defined file). specified INI file.
4. The Backup Manager is launched as a minized window. At the end of the backup execution (or in the event of errors), it closes automatically. If serious errors occur, they are notified via the SIMATIC IT Management Console Alerter. 5. The backup file is created in the directory specified in the backup configuration file. It is called by default PlantName_BackupDate_BackupTime.ARQ, according to the following formats: BackupDate: DDMMYY BackupTime: HHMMSS
Example MYPLANT_030802_122707.ARQ
Important The automatic backup of the Plant should be executed while Historian is running.
SIMATIC IT Services V4.4 SP2 User Manual 87
Plant Data Archive configuration yes/no files= I/O Device Profiles and Catalogs= Licenses Configuration Files= Network Configuration Files= Plant Configuration Files= Plant Data Archive Files= Recipe Configuration Files= RTDB/IMC Configuration Files= Statistical Archive Files= Text Files= Third Party Applications= Unit Data Files= Workstation Configuration Files= Zones= yes/no yes/no yes/no yes/no yes/no yes/no yes/no yes/no yes/no yes/no yes/no yes/no yes/no
Important The keyword Plantname should be modified. It is necessary to insert the name of the Plant that you want to backup automatically, without the extension .PLT. For ex: [PLANT_CATE]
They are written in English and are case sensitive. They must not be altered.
88
By default files are sorted in descending order by date and for each file the following information is available:
Field Name Date/Time Size Packed Ratio Path Description Name of the archived file Date/time when the file was archived Original file size Packed file size Percentage of compression File pathname in the Plant directory
You can customize the information displayed; in particular, you can: Sort the files by user parameters Select the fields to be displayed Change the width of table columns Change the type of character used in the table
To sort files by user parameters: 1. Select command View > Sort in the Backup Manager environment. The Sort dialog box appears. 2. Select the field used to sort the file list from the Sort items by drop-down list box. 3. Click the Ascending or Descending radio buttons to choose the sorting direction. 4. Click the OK button. 5. The files in the Backup Manager dialog box are automatically sorted according to the new criteria.
To choose the fields to be displayed: 1. Select command View > Columns in the Backup Manager environment. The Columns dialog box appears.
89
2. To eliminate a field from the display, select the field name from the Show the following list box and click the <-Remove button (the Name field is mandatory and cannot be removed). 3. To display a field, select the field name from the Available Columns list box and click the Add-> button. 4. To change the order of the fields displayed in the table select the field name in the Show the following list box and click the Move Up or Move Down buttons to move the field towards the top or to the bottom of the list, respectively. 5. To restore all default configurations click the Reset button. 6. Click the OK button. 7. The files in the Backup Manager dialog box are automatically displayed according to the new criteria.
You can also do as follows: 1. Select command View > Columns in Backup Manager. The Columns window appears. 2. Select the name of the field of interest in the Show the following listbox and enter a new value (pixel) in the Column Width edit box. 3. Repeat step 2 for all the columns to be modified. 4. Click the OK button.. The selected width is applied to the columns in the Backup Manager window.
1.18.6.31 Restoring
1.18.6.32 Restoring a Plant
To restore a Plant: 1. Select command File > Restore in Backup Manager. 2. Select the .ARQ file from which files are to be restored (the file can be located on the local drive, on a remote drive, on diskette, on Iomega Zip or on CD-ROM). Click the Open button. 3. The File list box in the Restore dialog box displays all files which can be restored. By default, all Plant files are selected. In detail, you can: Select the files to be restored Select the Units to be restored Select the Zones to be restored
90
4. Select the name of the Plant where files are to be restored from the Plant Name drop-down list box. 5. Click the OK button to start restoring the files.
1.18.7 1.18.7.1
Before executing a number of operations from SIMATIC IT Management Console, such as Database management or Project handling, you need to define the current working Unit: from that moment all operations will apply to that Unit. The table below summarizes the types of Units available:
Type RTDS/IMC User Unit Description Used when you want to configure your workstation to exchange data with one or more third-party device networks and to simulate a virtual P.M.C. Reserved for particular uses. For more information, contact the Technical Support Service Used when you want to read/write from/to an OpenPMC or an Open PMC Lite (in general, all controllers based on TCP-IP). Used to exchange data with a PMC (connected to an Arcnet network) via a SIMATIC IT multihomed workstation connected to an Ethernet network acting as a bridge (thus, supporting both an Arcnet and an Ethernet adapter). Obsolete; maintained only for compatibility with previous versions. Used when you want to read/write from/to one of the available Siemens Orsi Automation P.M.C. control systems. Real Time Data Engine User Unit Used when you want to configure your workstation to exchange data with one or more third-party device network.. Also allows you to define and execute your tasks in SIMATIC IT Real Time Data Engine Manager. Used when you want to read from a RTDS active on a computer that is not present in the SIMATIC IT network configuration (Configuration > Network Configuration), but can be contacted on the physical network. Obsolete; maintained only for compatibility with previous versions. Obsolete; maintained only for compatibility with previous versions.
ControlCORE Unit
Control Unit
To each workstation and controller defined in the network configuration one or more than one logical Units can be associated. For instance, each workstation can "host" one or more RTDS/IMC logical Unit, and thus operate as gateway to third-party field devices; you can also associate more than one Real Time Data
SIMATIC IT Services V4.4 SP2 User Manual 92
Engine Unit to the same workstation and thus use the same computer as a process engine for different projects.
Since logical Units are independent of the physical devices defined during network configuration, you can associate a logical Unit to any physical device of the same type (e.g. you can associate a Control Unit to any P.M.C. defined in your network configuration).
1.18.7.2
Configuring a Unit
Unit configuration and management is performed in the SIMATIC IT Management Console environment. You access this environment immediately after logging on to the selected Plant. The SIMATIC IT Management Console provides all the tools required to design, and configure your control and supervisory system.
To define a new Unit select command File > New in SIMATIC IT Management Console. and then simply follow the Wizards prompts. Tips and Help are provided with each stage of the Wizard.
You can configure the following types of Units: RTDS/IMC User Unit Session Manager Unit ControlCORE Unit Remote CONTROL Unit CONTROL Unit Real Time Data Engine User Unit RTDS/IMC External Device User Unit
Note Units USER UNIT Operator Workstation and USER UNIT Host Computer are not described since they are by now obsolete and maintained only for compatibility with previous versions.
1.18.7.3
93
1.18.7.4
Duplicating a Unit
To make a copy of a Unit: 1. Select the Unit of interest in the SIMATIC IT Management Console window; 2. Select command Edit > Copy. The selected Unit is copied into the Clipboard. 3. The Attributes dialog box appears and you can enter a different device name or change other parameters (locreg, database, project, etc.)
1.18.7.5
Renaming a Unit
To assign a new name to a Unit: 1. Select the icon of the Unit of interest in the SIMATIC IT Management Console window. 2. Select command Edit > Rename .
1.18.7.6
Removing a Unit
To remove a Unit: 1. Select the Unit of interest in the SIMATIC IT Management Console window. 2. Select command Edit > Delete .
Deleting a Unit causes the associated database and project to be removed as well.
1.18.7.7
1.18.7.8
Exchange data with one or several third-party device networks. SIMATIC IT applications (SIMATIC IT Graphic User Interface, SIMATIC IT Alarm Manager, SIMATIC IT Plant Data Archive, etc.) can read data from and write data to, the external devices via a temporary memory area called SIMATIC IT Real Time Data Server. Simulate a virtual P.M.C.. From the PDE environment you can create and execute userdefined control applications.
Tip Communications between SIMATIC IT components and third-party devices are to be configured by the user. For more information, see manual Managing Communications with External Devices Users Guide.
If you configure an RTDS/IMC User Unit in programming mode, the Unit can be handled exclusively by the PDE (Programmable Development Environment) module.
Tip For more information, see manual Control Environment Programming Users Guide.
94
1.18.7.9
2. Select the Unit type USER UNIT RTDS/IMC and click Next>. 3. In the Attributes dialog box, select the device name of the workstation to be associated to the Unit from the Device Name list box. With this operation data concerning the workstation are assigned to the logical Unit (e.g. node number of the device, IP Address, which is displayed by clicking the Additional Info button or moving the cursor over the device name). 4. Enter the identifier of the logical Unit (alphanumeric string up to 15 characters) in the Logical Unit Name edit box. By default this identifier is the same as the computer name of the workstation. 5. (Optional) Enter a brief description in the Comment edit box. 6. Click the Next > button to configure the Unit in either programming or supervisory mode. 7. Click Finish to save this configuration.
To configure a RTDS/IMC User Unit in programming mode: 1. In the Additional Attributes dialog box choose a project name to be assigned to the Unit from the Projects box or edit a new project name. 2. Select the locreg to be assigned to the User Unit from the Locreg listbox. The list shows all the system locregs and locregs created by the user.
To configure a RTDS/IMC User Unit in supervisory mode: 1. Select the Monitoring only check box in the Additional Attributes dialog box. 2. Choose a database name from the DataBase box or edit a new name. 3. Select the locreg to be assigned to the User Unit from the Locreg listbox. The list shows all the system locregs and locregs created by the user.
1.18.7.12 Configuring the RTDS/IMC User Unit and the network device
To configure a RTDS/IMC User Unit and its network device: 1. Select command File > New in SIMATIC IT Management Console.
2. Select the Unit type USER UNIT RTDS/IMC and click Next>.
95
3. Enter the identifier of the logical Unit (alphanumeric string up to 15 characters) in the Logical Unit Name edit box. By default this identifier is the same as the computer name of the workstation. 4. In the Attributes dialog box, check the Device Configuration box. Select the New Device or Modify Device option button. In the latter case, choose the name of the device you want to modify from the Device Name list box. 5. (Optional) Enter a brief description in the Comment edit box. 6. Click the Next button. 7. The Control Unit device dialog box appears. Enter following data:
Parameter Device Name Action Enter a symbolic name of device to be added to the network (max.15 characters). It is not allowed to use following characters @ # [ ] + - ! $ % & / ( ) = ? ^. Select the type of CPU associated with the device: None: Used exclusively for supervision tasks RTDS/IMC-n: Used to read or write data to non-proprietary PLC networks or other devices. Each type of RTDB_IMC CPU identifies the default locreg which will be assigned to all logical Units associated with this workstation (e.g. CPU type RTDS/IMC1 corresponds to locreg RTDS1). For more information on system locregs, see System Locregs for SIMATIC IT Real Time Data Server. SPV-n: This CPU type is obsolete and is used only for old locregs based on VMS systems
CPU type
8. According to the network you select, you must insert different parameters: Arcnet Session manager
9. Click the Next > button to configure the Unit in either programming or supervisory mode. 10. Click Finish to save this configuration.
Timeout
96
A ControlCORE unit can be defined in hot backup. If so, it is represented by the following icon . A ControlCORE backup unit can only be of the Open PMC type.
2. Select the Unit type ControlCORE or ControlCORE-BACKUP and click Next>. 3. Select the device name of the workstation to be associated to the Unit from the Device Name list box. With this operation data concerning the workstation are assigned to the logical Unit (e.g. device name, node number of the device, which is displayed by clicking the Additional Info button or moving the cursor over the device name). 4. Enter the identifier of the logical Unit (alphanumeric string up to 15 characters) in the Logical Unit Name edit box. By default this identifier is the same as the computer name of the workstation. 5. (Optional) Enter a brief description in the Comment edit box. 6. Click the Next > button to configure the Unit in either programming or supervisory mode. 7. Click Finish to save this configuration.
97
2. Select the Unit type ControlCORE or ControlCORE-BACKUP and click Next>. 3. In the Attributes dialog box, check the Device Configuration box. Select the New Device or Modify Device option button. 4. In the Control Unit device dialog box, enter following data:
Parameter Device name Action Enter a symbolic name of device to be added to the network (max.15 characters). It is not allowed to use following characters @ # [ ] + - ! $ % & / ( ) = ? ^. To find out if the inserted device name already exists in the network, button. If so, the device configuration parameters in the click the Control Unit device dialog box will be replaced automatically. IP Address Enter the TCP/IP address of Channel A (and, if necessary, of Channel B) from the Unit you are configuring. For more information on the IP Addresses, see Session Manager network parameters. Enter the Timeout value(s). This value defines waiting time for receiving acknowledgements of messages and is registered in milliseconds (ms). Note If no value is entered, a default of 200 ms is automatically selected. CPU type Select the type of CPU associated with the device: ALL IN ONE OPEN PMC OPEN PMC LITE
Timeout
5. Click the Next > button to configure the Unit in either programming or supervisory mode. 6. Click Finish to save this configuration.
Tip For more information about the ControlCore Configuration Tool, see manual Project Development Environment (PDE) Users Guide
98
To configure a Remote Control Unit: 1. Select the command File > New in SIMATIC IT Management Console.
2. Select the Unit type Remote CONTROL UNIT or Remote CONTROL UNIT - BACKUP and click Next>. Note Since the same icons are used to identify Control Units, Remote Control Unit icons are displayed in yellow, in order to avoid misunderstandings. 3. In the Attributes dialog box, enter the following data:
Parameter Logical Unit Name Bridge Description Enter the name which will be used to identify the logical unit. Select a PMC Bridge or a PMC External Bridge device (previously defined in Network Configuration). If the device you select is configured in backup, the check box Bridge B has the highest priority will be enabled. Choose this option in order to use the bridge with lower priority as first choice. Name of the remote PMC with which data is exchanged. Select the type of CPU of the remote PMC device. Optional. Enter a brief description.
4. Click the Next> button to configure the Unit in either programming or supervisory mode. 5. Click Finish to save this configuration.
Important To offer greater flexibility SIMATIC IT supports associating the same P.M.C. to more than one logical Control Unit. However upon commissioning each P.M.C. must be associated to ONE logical Control Unit only.
99
To configure a Remote Control Unit in programming mode: 1. In the Additional Attributes dialog box choose a project name to be assigned to the Unit from the Projects box or edit a new project name. 2. Select the locreg to be assigned to the Control Unit from the Locreg listbox. By default SIMATIC IT Management Console assigns a locreg which best suits the CPU of the P.M.C. being configured but you can choose any locreg created by the user.
A control unit is represented by the following icon and can be one of the following type of controllers: Tloop,PMC Series 5, PMC Series 8, PMC Series 10, PMC Series 15, PMC Series 20, PMC CP16. You can configure this type of unit only if your network configuration includes one of the above mentioned PMC types.
A control unit can be in hot backup configuration: if so, it is represented by the following icon . A backup control unit can be:PMC Series 10, PMC Series 15, PMC Series 20. As for Control Units, you can configure this type of Unit only if your network configuration includes one of the mentioned PMC types.
Tip For more information on the different PMC types, see the relative manuals.
In addition, if you configure a Control Unit in programming mode, you can make use of the advanced features provided by the PDE Programming Development Environment, to design and execute control programs.
100
Tip For more information, see the Control Environment Programming Users Guide.
2. Select the Unit type CONTROL UNIT or CONTROL UNIT - BACKUP and click Next>. 3. In the Attributes dialog box, select the device name of the P.M.C. to be associated to the Unit from the Device Name list box (this box shows all the P.M.C.s defined during network configuration). With this operation data concerning the P.M.C. are assigned to the logical Unit (e.g., node number of the device, which is displayed by clicking the Additional Info button or moving the cursor over the device name). 4. Enter the identifier of the logical Unit (alphanumeric string up to 15 characters) in the Logical Unit edit box. By default this identifier is the same as the computer name of the P.M.C. 5. (Optional) Enter a brief description in the Comment edit box. 6. Click the Next> button to configure the Unit in either programming or supervisory mode. 7. Click Finish to save this configuration.
Important To offer greater flexibility SIMATIC IT supports associating the same P.M.C. to more than one logical Control Unit. However upon commissioning each P.M.C. must be associated to ONE logical Control Unit only
To configure a Control Unit in programming mode: 1. In the Additional Attributes dialog box, choose a project name to be assigned to the Unit from the Projects box or edit a new project name. 2. Select the locreg to be assigned to the Control Unit from the Locreg listbox. By default SIMATIC IT Management Console assigns a locreg which best suits the CPU of the P.M.C. being configured but you can choose any locreg created by the user.
101
2. Select the Unit type CONTROL UNIT or CONTROL UNIT - BACKUP and click Next>. 3. In the Attributes dialog box, select the Device Configuration check box. Select the New Device or Modify Device option button. In the latter case, choose the name of the device you want to modify from the Device Name list box. 4. Enter the identifier of the logical Unit (alphanumeric string up to 15 characters) in the Logical Unit edit box. 5. (Optional) Enter a brief description in the Comment edit box. 6. Click the Next> button. 7. In the Control Unit device dialog box, enter following data:
Parameter Device Action Enter a symbolic name of device to be added to the network (max.15 characters). It is not allowed to use following characters @ # [ ] + - ! $ % & / ( ) = ? ^. Enter the node number assigned to the device. To be used only for P.M.C. controllers in backup. Enter the node number of the backup node. Select the type of CPU associated with the device.
8. Click the Next > button to configure the Unit in either programming or supervisory mode. 9. Click Finish to save this configuration.
To perform P.M.C. data & time synchronization: 1. Enter the System Configuration window. 2. Select the Foundation Servers tab. 3. Check the Time Alignment box. 4. Check the Enable PMC Time Alignment box. 5. Date&time will be aligned to the date&time configured on the current network server
called SIMATIC IT Real Time Data Engine Manager. Data is exchanged between SIMATIC IT applications via a temporary memory area called the SIMATIC IT Real Time Data Server.
Tip For more information, see manual Supervisory Environment Programming Users Guide.
You should use this Unit if you need to implement high-level data processing: the environment offered is extremely user-friendly and thus you no longer need to associate a project and a locreg to the Unit since these operations are executed automatically by the system upon creation of the Unit. SIMATIC IT automatically associates a project to a Real Time Data Engine Unit that can be handled only by the SIMATIC IT Real Time Data Engine Manager. Since each Real Time Data Engine Unit handles a single Project you cannot associate the same Project to more than one Real Time Data Engine Unit. The Real Time Data Engine Unit handles a 64Kb memory area called the SIMATIC IT Real Time Data Server. This default size can be increased up to 512 Kb. To change the memory map you need to use the appropriate tool in the SIMATIC IT Real Time Data Engine Manager environment.
2. Select the Unit type USER UNIT Real Time Data Engine and click Next>. 3. In the Attributes dialog box, select the device name of the workstation to be associated to the Unit from the Device Name list box. With this operation data concerning the workstation are assigned to the logical Unit (e.g. node number of the device, IP Address, which is displayed by clicking the Additional Info button or moving the cursor over the device name). 4. Enter the identifier of the logical Unit (alphanumeric string up to 15 characters) in the Logical Unit Name edit box. By default this identifier is the same as the computer name of the workstation. 5. (Optional) Enter a brief description in the Comment edit box. 6. Click Finish to save this configuration.
1.18.7.39 Configuring the Real Time Data Engine User Unit and the network device
To configure a Real Time Data Engine User Unit and its network device: 1. Select command File > New in SIMATIC IT Management Console.
2. Select the Unit type USER UNIT Real Time Data Engine and click Next>. 3. In the Attributes dialog box, enter the identifier of the logical Unit (alphanumeric string up to 15 characters) in the Logical Unit Name edit box. 4. Check the Device Configuration box. Select the New Device or Modify Device option button. In the latter case, choose the name of the device you want to modify from the Device Name list box. 5. (Optional) Enter a brief description in the Comment edit box. 6. Click the Next button.
SIMATIC IT Services V4.4 SP2 User Manual 103
7. The Control Unit device dialog box appears. Enter following data:
Parameter Device Name Action Enter a symbolic name of device to be added to the network (max.15 characters). It is not allowed to use following characters @ # [ ] + - ! $ % & / ( ) = ? ^. Select the type of CPU associated with the device: None: Used exclusively for supervision tasks RTDS/IMC-n: Used to read or write data to non-proprietary PLC networks or other devices. Each type of RTDB_IMC CPU identifies the default locreg which will be assigned to all logical Units associated with this workstation (e.g. CPU type RTDS/IMC1 corresponds to locreg RTDS1). For more information on system locregs, see System Locregs for SIMATIC IT Real Time Data Server. SPV-n: This CPU type is obsolete and is used only for old locregs based on VMS systems.
CPU type
8. According to the network you select, you must insert different parameters: Arcnet Session Manager
2. Select the Unit type USER UNIT RTDS/IMC EXTERN DEVICE and click Next>. 3. In the Attributes dialog box, insert a device name of the workstation to be associated to the Unit in the Device Name box. 4. Enter the identifier of the logical Unit (alphanumeric string up to 15 characters) in the Logical Unit Name edit box. 5. (Optional) Enter a brief description in the Comment edit box. 6. Click the Next > button. 7. In the Additional Attributes dialog box, choose a database name from the DataBase box or edit a new name. 8. Select the locreg to be assigned to the User Unit from the Locreg listbox. The list shows all the system locregs and locregs created by the user. 9. Click Finish to save this configuration.
104
1.19
1.19.1 1.19.1.1
Advanced Configuration
Networks and Communication Monitoring network nodes
If you have configured an Arcnet network, either for supervision or control, you can display the status of the network nodes in real-time and thus obtain an up-to-date scenario of which workstations and P.M.C. controllers are currently connected to the network. To monitor the network nodes in real time: 1. Select command Tools > Network Node Monitor from SIMATIC IT Management Console. This command is enabled only if an Arcnet network has been defined during network configuration. 2. The Network Node Monitor application window shows the following information:
Parameter Computer Info Node A Computer Info Node B Selected Node Info
Description node number assigned to the workstation or P.M.C. controller node number assigned to the backup P.M.C. controller when you select a node number from the grid, this box contains a brief description of the device type connected (e.g. P.M.C. Series 8, P.M.C. Series 10, DEC Station, DOS Supervisor, etc.)
Furthermore, if you select the Displ. Ch. check box, the node numbers of the grid are replaced with the name of the channels used by each node (A, B or both). All single nodes are marked an asterisk. If a backup configuration is available, an asterisk is displayed next to the master node.
1.19.1.2
Important The following procedure will delete the current network configuration, therefore it is strongly suggested to make a copy of it before proceeding
To rebuild the network configuration: 1. Delete the NETDEV.* files in the %\ICUBE.CNF directory. 2. Start SIMATIC IT Services on the primary Foundation Server (master server) without logging on to a plant. 3. Enter the Network Configuration environment by selecting the Configuration > Network Configuration command. 4. Create a new network with all PCs and configure the IP Addresses of both Ethernet adapters. 5. Add all Open PMCs with their regular IP Addresses to the network configuration.
105
6. Log on to your plant, start the server modules and verify that all modules required by your application on the server work properly. 7. Start SIMATIC IT Services on the auxiliary Foundation Server (slave server) without logging on to a plant. 8. Wait several minutes and verify that the Slave has inherited the network configuration from the Master. 9. Shutdown and restart the Slave server, logging on to the plant. 10.On the slave server, start one of the modules that you have launched on the server (ex. SIMATIC IT Real Time Data Server) and wait for it to be synchronous with that of the server. This will function as a backup module. 11. Proceed with the other backup modules, waiting for their complete synchronization before launching the next module. 12.On all client workstations, start SIMATIC IT Services without logging on to a plant. 13.Wait several minutes and verify that the Slave has inherited the network configuration from the Master. 14.Shutdown and restart the Client, logging on to the plant. 15.In SIMATIC IT Management Console environment select the Configuration > System command: the System Configuration dialog box appears. Select the Start-Up tab and add the applications previously removed from the Start-Up area. If necessary, select the Automatic Log-On to Current Plant check box and click OK to exit the dialog box.
1.19.1.3
Important If, in either case, both Server 1 and Server 2 should be unreachable, the current network server will be used as a reference computer.
SIMATIC IT Services V4.4 SP2 User Manual 106
1.19.1.4
Advanced configurations
From the Plant Management environment, you can start some tools allowing you to carry out advanced configurations, relative to the TCP/IP protocol and the RIS Inter-Process Communication.
Important Use of these tools is reserved to expert users only. It is recommended that you contact Siemens A&D AS MES Technical Support Service for any additional information.
1.19.1.5
1.19.1.6
RIS
RIS Inter-Process Communication Service
SIMATIC IT Services offers an Inter-Process Communication layer (RIS=Redundant IPC Service). This IPC service is used for client/server communication and requires the TCP/IP protocol. The main features provided by this service are: Very fast detection of network failures. Support of redundant supervision networks (please contact Siemens A&D AS MES Technical Support Service for more information)
To be able to use this service, you need to perform the following operations, on ALL SIMATIC IT workstations:
1.19.1.7
Important If you have more than one IP address bound to a single adapter, it is always advisable to modify the IP address order in the control panel, by setting the IP address on which you want workstations to communicate as first in the list of IP attributes for a card.
107
Important If you have one or more OPMCs, you MUST type IP addresses in the SIMATIC IT network configuration but, anyhow, configurations showed above are always mandatory.
Important If you are using workstations that are DHCP clients (for the supervisory subnet), you MUST NOT fill in the HOSTS file since IP addresses are dynamically assigned.
If you have Wins, DNS or other naming services configured for the supervisory network, it is not always necessary to fill the HOSTS files (each single case should be evaluated).
You must always run TCPTUNE utility to set IP parameters independently from the IPC type used.
The following examples describe a networking configuration at a Windows level, to best support all supervision communications of SIMATIC IT: Two servers in hot-backup configuration with preferential network set for backup communications. Two servers in hot-backup configuration with no preferential network. A single server without backup with two clients.
1.19.1.8
Example
Assume that a server (SRV1) has an adapter installed with the following bound IP addresses: 172.31.2.1 10.10.4.1
Assume that a client (CLI1) has an adapter with the following bound IP addresses: 172.31.2.2 10.10.4.2 200.200.100.2
By setting the server HOSTS file as follows: 172.31.2.2 CLI1 subnet mask: 255.255.0.0 and the client HOSTS file as follows: 172.31.2.1 SRV1 subnet mask: 255.255.0.0 all communications between SIMATIC IT Historian components will flow on subnet: 172.31.0.0
108
1.19.1.9
Example
Assume that a server (SRV1) has two adapters installed with the following bound IP addresses: 172.31.5.1 200.200.100.1
Assume that a client (CLI1) has two adapters with the following bound IP addresses: 172.31.5.2 200.200.100.2
By setting the server HOSTS file as follows: 172.31.5.2 CLI1 and the client HOSTS file as follows: 172.31.5.1 SRV1 the communication between workstations will flow on the Subnet set in the file.
By setting the operations mentioned above, SIMATIC IT Services does NOT use the IP addresses set in the Network Configuration. For this reason, setting just the names of all of the workstations belonging to the same network is enough to allow the system to work.
1.19.1.10 Example - Two servers in hot-backup configuration with preferential network set for backup communications.
1. Assume that the computer names for the two backup servers are SRV1 and SRV2 and CLIx (CLI1, CLI2,etc.) for each client workstation. 2. Assume that the two servers each have a network adapter (A adapter) connecting each other as a preferential network for backup communications, and another adapter (B adapter) to link to clients. 3. Then assume that the IP addresses are: SRV1 (A adapter): 172.31.1.2 SRV2 (A adapter): 172.31.1.3 SRV1 (B adapter):200.200.200.2 SRV2 (B adapter):200.200.200.3 CLI1: 200.200.200.4 CLI2: 200.200.200.5
4. Edit, on all workstations, the file: HOSTS (%\winnt\system32\etc) as follows: The SRV1 HOSTS file will be: 172.31.1.3 SRV2 200.200.200.4: CLI1 200.200.200.5: CLI2
200.200.200.5:CLI2
The client HOSTS files will be: CLI1: 200.200.200.2: SRV1 200.200.200.3: SRV2 200.200.200.5: CLI2 CLI2: 200.200.200.2: SRV1 200.200.200.3: SRV2 200.200.200.4: CLI1
As a matter of fact, HOST files declare: the IP address of the preferential network (so communications among them will always flow on that network) on 2 servers, the secondary network on clients
3. Edit, on all workstations, the file: HOSTS (%\winnt\system32\etc) as follows: The SRV1 HOSTS file will be: 200.200.200.3: SRV2 200.200.200.4: CLI1 200.200.200.5: CLI2
SRV2 HOSTS file will be: 200.200.200.2: SRV1 200.200.200.4: CLI1 200.200.200.5: CLI2
Client HOSTS files will be: CLI1: 200.200.200.2: SRV1 200.200.200.3: SRV2 200.200.200.5: CLI2 CLI2: 200.200.200.2: SRV1 200.200.200.3: SRV2
110
200.200.200.4: CLI1
3. Edit, on all workstations, the file: HOSTS (%\winnt\system32\etc) as follows: The SRV1 HOSTS file will be: 200.200.200.4: CLI1 200.200.200.5: CLI2
The client HOSTS files will be: CLI1: 200.200.200.2: SRV1 200.200.200.5: CLI2 CLI2: 200.200.200.2: SRV1 200.200.200.4: CLI1
1.19.1.14 Example of a configuration of a redundant network with two Historian servers in hot-backup configuration and one client
Important The following procedure cannot be used in an upgrade from a non-redundant to redundant network on a SIMATIC IT running application.
111
Master, Slave and Client PCs having two single-channel Ethernet adapters installed (Adapt1 and Adapt2). 2 active Hubs (one for network 1 and the other for network 2). All Adapt1 adapters connected to Hub 1 and all Adapt2 adapters connected to Hub 2. Adapt 1 and 2 will be used for supervision communication. To stand on different networks, both adapters must be configured on each PC as follows: Adapt1: IP Address: 179.29.254.x (x is a different number for each Adapt1 of all PCs) Subnet mask: 255.255.255.0
Adapt2: IP Address: 200.200.1.y (y is a different number for each Adapt2 of all PCs) Subnet mask 255.255.255.0
Note In multi-homed systems it would be possible to have more IP Addresses assigned to each adapter. In this case you must select the address you want to use for supervision communication as primary.
Perform the following actions on all SIMATIC IT workstations on the network: 1. In SIMATIC IT Management Console environment, select the Configuration > System command: the System Configuration dialog box appears. Select the Start-Up tab and remove all applications from the Start-Up area. Deselect the Automatic Log-On to Current Plant check box and click OK to exit the dialog box. Close SIMATIC IT Management Console. 2. Set a redundant configuration via RIS Configuration Wizard 3. Optimize TCP/IP timeouts 4. Rebuild the network configuration
Important Since these configurations must be carried out very carefully in order to avoid possible malfunctions, it is recommended that you contact Siemens A&D AS MES Technical Support Service
To configure the RIS parameters: 1. From the Plant Management environment, select command Tools > Advanced > R.I.S. Configuration. 2. From the RIS Configuration dialog box, click the RIS Configuration button: this calls up the RIS Configuration Wizard. 3. Choose the type of configuration you want to perform: Default configuration User-defined (Custom) configuration
112
4. The Insert the Port Number dialog box is displayed. Enter the port number of your choice and click Next to confirm your entry. 5. If you want to change the default IP address, click the Default IP Address Configurator button: a dedicated dialog box is displayed. Enter the Computer name and the addresses of your choice for Channel 1 and Channel 2. Click the Add button. To render your entries effective, click the Apply button and then OK. For Redundant configuration, move on to step 6. For Non Redundant configuration, skip directly to step 7. 6. (Only for Redundant configuration): The IP Address File dialog box is displayed, allowing you to choose how to define the name IP address.
If you select: No Yes Then The network configuration is used. The IPADDR.INI file (static configuration) is used..
7. (For both Redundant and Non Redundant configuration): The Summary Table dialog box is displayed, summarizing all the choices you have made for the RIS parameters. Click Finish to complete RIS configuration.
SIMATIC IT Services V4.4 SP2 User Manual 113
1.19.1.18 IPADDR.INI
This file is generated by the system automatically and must not be edited in any manner whatsoever. It is used in certain circumstances to map computer names to IP addresses.
Procedure
1. Click the Add new button: this calls up the Add a new FAT server dialog box. 2. In field FAT Server:, enter the name of the FAT Server to be added and click OK. 3. This returns you to the Default settings tab: the FAT Server has been added at the end of the list in the FAT Server: area.
Note
To remove a FAT Server from the list in the FAT Server: area, click the FAT Server to be removed to select it and click the Remove button.
1.19.1.20 TCP/IP
1.19.1.21 Configuring the TCP protocol
When using SIMATIC IT Services and the TCP/IP protocol, Windows has to be properly configured in order to be able to take advantage of the new Inter-Process Communication layer (RIS=Redundant IPC Service). To this end, the system provides an ad-hoc tool, called TcpTune.
To perform TCP protocol configuration: 1. From the Plant Management environment, select command Tools > Advanced > Network Tune. 2. From the TcpTune dialog box, click:
Button Description Recommended for all users. To launch automatic configuration. The parameters are automatically configured in order to provide for best performances when working with the system.
3. Click Exit to quit. All changes applied will become effective only after restarting the computer.
114
Note You can generate a dump file of the current configuration by clicking button Info and then button Save, in the Network Configuration dialog box. You will be prompted to enter the name of the file where configuration values will be saved.
KeepAlive Interval
Sensing" feature. This feature can be used on a Windows-based computer with TCP/IP to detect whether or not the network media is in a "link state". A "link state" is defined as the physical media connecting or inserting itself on the network. For example, assuming a 10bt or 100bt physical media, Ethernet network adapters and hubs typically have a "link" light to indicate the current connection status. This is the same condition in which Windows can detect a link. Whenever Windows detects a "down" state on the media, it removes the bound protocols from that adapter until it is detected as "up" again. There may be situations where you may not want your network adapter to detect this state, and you can configure this by editing the registry. See Microsoft Windows article Q239924 for more details.
Introduction
CAB Protocol Configurator is a tool used to configure the IPC communication channel for CAB. CAB Clients will use the configuration set via CAB Protocol Configurator on CAB Runtime Server Engine to select the communication channel to be used for the connection between clients and servers present on the Plant. The default protocol is Standard IPC: it must be changed only if the features offered by the HTTP or HTTPS protocol are required.
Configuration types
Two types of configuration can be set using CAB Protocol Configurator: default configuration (mandatory) specific subnet configuration (optional).
116
Introduction
A minimum default configuration must be defined: when CAB Protocol Configurator is launched for the first time; if the configuration database has been removed. The default configuration defines the communication protocol that is used in the absence of a specific subnet configuration for any request not contemplated in the subnet configuration and, if necessary; the Web Server. The supported communication protocols are IPC, HTTP and HTTPS. The default configuration also defines a list of reference FAT Servers used for the connection.
Procedure
1. In Plant Management, select Configuration > Cab Configuration. This calls up the CAB Protocol Configuration dialog box, with the focus on the Default settings tab. 2. In field Protocol, select the type of protocol you require (default: IPC). Should you choose either HTTP or HTTPS, enter the address of the Web Server in field Web Server IP. 3. In the FAT Server: area, check to see whether the FAT Server(s) you require are listed, and whether they are displayed in the desired order (FAT Servers are processed sequentially in the same order as that in which they are listed).
Important The minimum default configuration requires that at least one FAT Server be entered. In the case of an empty FAT Server list, the system will return to its initial condition without any configuration whatsoever.
4. If necessary, temporarily remove all FAT Servers from the displayed FAT Server list by clicking the undesired items and clicking the Remove button. to permit the insertion of the FAT Servers in the desired order. Likewise, if you need to remove one or more FAT Servers from the FAT Server list, click the FAT Server(s) to be removed to select it and click the Remove button. 5. If necessary, add a new FAT Server.
117
6. Click the OK or Apply button in the CAB Protocol Configuration dialog box so that the changes made become effective.
Purpose
Permits defining a list of subnets, identified by means of an IP address and a subnet mask. If a communication request coming from a CAB Client concerns a subnet specified in this configuration, the communication system will use the specified protocol and the reference Web Server (if present) for that particular subnet.
Example of behaviour
Configuration: Cli1 Ip 172.31.5.0 Mask 255.255.0.0
The Subnets area of the Subnet settings tab lists only one subnet entry, i.e.: Ip Address 200.200.0.0 Subnet Mask 255.255.0.0 Web Server 100.100.100.2 Protocol HTTP
Therefore: When computer Cli2 connects, it will use the HTTP protocol, adopting the machine with IP 100.100.100.2 as ISAPI Provider server. When computer Cli1 connects, it will use standard IPC as the communication protocol.
Procedure
1. Upon completing the default configuration, click the Apply button to confirm the changes made in the Default settings tab. 2. Click the Subnet settings tab of the CAB Protocol Configurator dialog box.The Subnets: area lists, in the same order in which they are processed during querying, those subnets for which a particular configuration has been defined, each with the Web Server and the Protocol that will be used (the first time, the list will be empty). 3. To add a new subnet configuration, click the Add new button. This calls up the Add a new subnet dialog box. 4. Enter the data required for the new subnet in fields IP Address and Subnet Mask. Enter the communication protocol to be used in field Protocol and the reference Web Server in field Web Server IP and click OK: this returns you to the Subnet settings tab.
118
5. The new subnet will be added at the bottom of the list in the Subnets: area. 6. The changes made will become effective only after clicking the OK or Apply button in the CAB Protocol Configurator dialog box.
Notes
Dedicated message boxes will be displayed should any errors occur while saving the changes made. In particular, in the case of a wrong configuration, some data may be discarded or not saved: for example, if you attempt to enter two subnets that are identical, the second coinciding subnet will be automatically deleted.
No default setting has been found on the local system. A default setting is required to permit proper operation; please type a default setting.
This message is displayed the first time that the configurator is started or if the database containing the configuration data has been lost. If you are using CAB Protocol Configurator for the first time, enter a default setting and save the changes made by clicking the Apply button. Then, if necessary, enter the specific settings for the subnets.
Due to an unexpected error, some changes regarding the default settings will not be saved properly.
The changes made to the default settings have not been saved. Relaunch the configuration tool, correct the default settings and reattempt to save the changes made.
1.19.2 1.19.2.1
119
Furthermore a distributed client-server architecture makes it possible to subdivide the processing workload among different computers since SIMATIC IT components can run on any workstation, even those on which the Plant is not located.
Important When SIMATIC IT is used in a Client /Server architecture, it uses the Windows user currently logged on. Thus, it is subject to Windows security management. This implies that, if Windows users are part of a Workgroup, it is extremely important to keep user definition congruent on each computer of the SIMATIC IT network.
The following operations must be performed on the server workstation in order to configure a client-server architecture, after having defined the network and created the Plant: on the workstation where the Plant is located: you must share the Plant;
1.19.2.2
Sharing a Plant
In order for client workstations to log on to a remote Plant, the Plant on the server workstation must be shared:
To share a Plant: 1. Select the Plant icon in the Plant Management window. 2. Select command File > Share .
A shared Plant is represented with the standard Windows icon in the Plant Management window. When you share a Plant, the whole Plant directory is actually shared using the Plant name as share name.
Important You are strongly recommended not to share/unshare the drive and/or Plant directory from an external file manager tool (e.g. Windows Explorer).
To cancel Plant sharing, choose command File > Stop Sharing window.
120
1.19.2.3
To connect to a remote Plant: 1. In Plant Management, expand the plant tree to find the Plant of interest. 2. Select the plant icon .
You can then open the Plant of interest on the remote workstation.
1.19.2.4
Each client workstation configured in Advanced mode can supply some or all of the following functions: displaying graphic panels displaying historical trends (only if the SIMATIC IT Plant Data Archive server module is running on a workstation other than the Plant server workstation) displaying and acknowledging alarms (only if the SIMATIC IT Alarm Manager server module is running on a workstation other than the Plant server workstation)
SIMATIC IT Management Console copies to the client workstation drive the following files: compiled graphic panels Historian Data Display workspaces AMD workspaces functional keyboard configuration
The above files are maintained in alignment with the corresponding files on the server workstation. SIMATIC IT Management Console replicates such files to all client workstations either when they connect to the Plant , each time the Unit databases or the Zone files are updated ,and every 12 hours.
Note Even during normal operation of the SIMATIC IT Management Console server workstation, client workstations have an advantage from the advanced configuration, because workspaces and configuration files are loaded from the local drive and not from the network, which makes access to information much faster.
121
1.19.2.5
To select files to be aligned: 1. On the client workstation, select command Configuration > System in SIMATIC IT Management Console. 2. Click the Plant Configuration tab in the System Configuration window. 3. Check the Advanced box. Please note that this box is disabled on a server workstation! The Advanced area is enabled. 4. Click the Files tab. In the Drives box select the drive where the plant of interest is located. 5. Select the zones to be replicated on the local machine from the Remote zones list box and click the Add-> button. 6. The selected zones are moved to the Local zones list box. 7. By default, SIMATIC IT Management Console replicates all the files (compiled graphic panels, AMD and Historian Data Display workspaces, functional keyboard configuration) related to the selected Zones.
1.19.2.6
122
If you want to disable the alignment of files each time data changes: 1. On the client workstation, select command Configuration > System in SIMATIC IT Management Console. 2. Click the Plant Configuration tab in the System Configuration window. 3. Check the Advanced box. Please note that this box is disabled on a server workstation! The Advanced area is enabled. 4. Click the Configuration tab. 5. Check the Disable upon change alignment box. In this way, files will be automatically aligned only at the intervals configured by the user. If you want to disable all periodic alignments, edit the BCKUPMNG.CNF file (stored in the drive:\ICUBE.CNF directory of the workstation where the master Plant is located) and set the DISABLE_PERIOD_ALIGNMENT parameter to 1.
1.19.2.7
To do this, you must edit the BCKFILT.INI file located in the drive:\ICUBE.CNF directory of the workstation where the master Plant is located.
For each local plant, a dedicated section is available. The [PLANTn] keyword must be replaced with the name of the Plant whose files will be replicated. Each pathcode refers to a file type. Delete the pathcodes you do not need.
1.19.3 1.19.3.1
123
1. Enter the System Configuration window. 2. Select the Foundation Servers tab. 3. Then proceed according to your needs.
1.19.3.2
Hotkey combination ALT + TAB ALT + SHIFT + TAB CTRL + ESC ALT + ESC Winkey CTRL + ALT + DEL
Description Commonly used to switch forward between programs. Commonly used to switch backward between programs. Commonly used to display the Start menu and to move the focus to taskbar. Commonly used to display the next window. Commonly used to shortcut access the Start button or other Windows NT functions . Commonly used to begin the process of logging on or off. For more information, see Disabling Ctrl+Alt+Del.
Task Manager utility (used to control the programs running on your computer and to monitor your computers performance)
1.19.3.3
The DLL provided by SIMATIC IT Services is called orsigina.dll. There are other commercial products, which can replace this DLL. Therefore, SIMATIC IT Management Console will verify the presence of this DLL and will ask the user if he can replace it with its own one, if necessary.
To disable this sequence of keys: 1. Check the Subst default msgina.dll (Need NT restart) box. The Disable CTRL+ALT+DEL check box will be activated. 2. Check the Disable CTRL+ALT+DEL box.
1.19.3.4
124
To configure the automatic Windows logon: 1. Enter the System Configuration window. 2. Select the Security tab. 3. Enter the following data in the Automatic Windows Logon area:
Field Default User Default Domain Default Password Confirm Password Description Unique name identifying the user account to Windows. Domain in which the account participates. Password required for the user to log on to Windows. Can be up to 14 characters, and is case-sensitive. Type again the password to check if you entered it correctly.
1.19.3.5
Impersonate User
Impersonation occurs when one user takes on the security attributes of another. This option has not been implemented yet.
1.19.4 1.19.4.1
Important If you want to remove a previously installed third-party component click the Remove button. To delete the directories created in the Plant and used by the component, click the Directories button.
1.19.4.2
Important
SIMATIC IT Services V4.4 SP2 User Manual 125
Structuring and editing .ADN files must be performed solely by expert users. Removing an .ADN file results in the elimination of the associated third-party application and its resources.
The contents of example file GENERIC.ADN are given below, with a description of its main keys.
Numerical identifier of the Third-Party application Name of the Third Party applications license
Complete path of the executable Indicates if the user wants the application to be configured for Automatic Startup. The name of a directory (if present) inside the Plant that is dedicated to the Third-Party application. Working directory of the application. Any input parameters required by the application Indicates if the application must be supported by a particular Unit. Indicates if the application must be supported by a particular Zone. Not used Indicates whether the application requires a license Indicates whether the application must be integrated with GUI Maximum number of instances of the application that can be launched at the same time Number of resources associated to the application. For each resource, a [Resource Info] section must be added at the end of the .AND file.
RESNO=n
Important The following sections contain keys ENG and ITA. To view the keys in the other available languages, add the same keys with ESP = <string in Spanish>, FRA = <string in French>, DEU = <string in German>, when compiling the .ADN files.
126
[Menu Item]
ENG=Generic Third Party Application ITA=Applicazione di Terze Parti Generica Menu item that will appear under Client menu in English Menu item that will appear under Client menu in Italian
[Menu Help]
ENG=Starts a generic third party application String that described the menu item in English ITA=Lancia una applicazione di terze parti generica String that described the menu item in Italian
[Resource Info 1]
ID= ENG= ITA= Numerical identifier of the applications resource Name of the resource in English Name of the resource in Italian
Important There will be as many [Resource Info] sections as there are specified in key RESNO of section [Application Info]. For example, if RESNO = n, there will be n [Resource Info] sections.
1.19.4.3
Important
SIMATIC IT Services V4.4 SP2 User Manual 127
To start third-party modules from SIMATIC IT Management Console you must add the module name to the Client menu. For more information, see Adding third-party modules to the Client menu.
1.19.4.4
To add custom components to the Client menu: 1. Enter the System Configuration window. 2. Select the Third Party Applications tab. 3. Click the Add button. 4. In the Add Application dialog box, select the Custom/Standard Application option and click OK. 5. In the Add Custom Application dialog box, enter the following data:
Parameter Menu Item Help String Command Line Working Directory Add custom application to startup applications Description Name to be assigned to the user component. This name will be displayed in the Client menu. Brief description which will be displayed in the status bar. Optional. Name of the executable program, without path. Directory where the component files are stored. Check this box if you want to insert the component name in the list of the components that can be activated upon system startup. Then, if you want to start the component automatically, you must add this component to the Startup Configuration. For more information, see Starting SIMATIC IT components automatically.
6. Click OK and then click Close to add the component name to the menu. 7. To change the configuration parameters of the component, click the Modify button. To delete the custom component, click Remove.
1.20
1.20.1
Troubleshooting Tools
Alerter service
The SIMATIC IT system automatically generates diagnostic messages concerning the activity of your workstation: each time an alert is generated, a message box appears and prompts you to either view or ignore the message. You can later view these messages with command Services > Alerter in SIMATIC IT Management Console or by selecting the Services tab in SIMATIC IT Management Console, expanding the System folder and double-clicking Alert Service. The Messages dialog box lists the most recent messages generated during the current working session.
128
Check the Show only errors box to display only messages concerning the failure of some operations. If you clear this box, the system also lists warning and general diagnostic messages. Click OK to close the dialog box.
1.20.2
1.20.2.1
You can view: Application log files Log files created on other workstations
You can view log files only if your user name has been associated to the Administrators group (or to an equivalent group owning the Access to Administrative Tools resource).
1.20.2.2
The first column also displays an icon, indicating the messages level of priority or urgency. The following icons are possible:
Icon Label ERROR WARNING INFO SUCCESS AUDIT Message description Local error (i.e. one that is easy to recover from, as it will only affect the current routine or function) A problem that is not actually an error (e.g. unexpected parameters or conditions) An informational message that reports neither problems nor errors Access to the system completed successfully
129
Access to the system failed (Intended for internal use) An event that can easily be filtered out without affecting anything else (Intended for internal use) An event that can easily be filtered out without affecting infos, warnings, or errors Text that must appear in the trace file, regardless of the current trace filter (e.g. headlines) An error that will affect the whole system and likely prevent proper recovery
1.20.2.3
Select Tools > Log File Viewer tab Tools > Log File Viewer Or > Tools > Log File Viewer
1.20.2.4
2. The list of messages is updated with the most recent messages generated by the system.
1.20.2.5
5. To copy the details of the event into a .txt file, click the 6. To go back to the Log File Viewer window click the OK button.
Event identifier. This code is assigned by each SIMATIC IT application and cannot be modified by the user. Name of the application which generated the message Name of the process/server Computer name of the workstation on which the message was generated Process identifier Thread identifier Message written by the application
1.20.2.6
1.20.2.7
These windows can be arranged in the Log File Viewer window by selecting/clicking the following commands/buttons.
Command/Button Window > Cascade Description Resizes and arranges the active trend windows on the screen one on top of the other, in such a way that the title bar of each window is visible. Assigns the same size to the trend windows displayed on the screen and arranges them horizontally. Assigns the same size to the trend windows displayed on the screen and arranges them vertically. Arranges the minimized windows in the bottom of the Log File Viewer window. Opens the Windows dialog box and allows to select the windows to organize. Moves the selection of every active window to event with more similar time than the selected window.
Window > Tile Horizontally Window > Tile Vertically Window > Arrange Icons
131
1.20.2.8
To Enable and display the selected window in the foreground with respect to the other windows found in Log File Viewer. Accept the changes and exit. Close the selected window. Assign the selected windows on the screen with the same dimensions, arranges them horizontally and minimizes the non selected windows. Assign the selected windows on the screen with the same dimensions, arranges them horizontally and minimizes the non selected windows.
Tile Vertically
1.20.2.9
To hide a message: 1. Select the messages you want to hide. 2. Do one of the following operations: Select the View > Hide command in Log File Viewer. Or Select Hide button in the toolbar. Press the DEL key.
The selected message is hidden but, if you refresh or filter the file, it is displayed again.
To restore default configurations, click the Default filter button. To remove the filter currently applied to the list and display all messages contained in the current log file, click the Default filter button in the Log File Viewer toolbar.
1. Select command View > Filter or click the Filter button the Filter dialog box appears.
2. Check the Message check box to expand the field and show the filter criteria. 3. Select:
Check box Message Text Case Sense March whole word only If You want to write the exact text You want to match only the case you entered You want to match only the whole word and not part of it
4. Click the Filter button to apply the filter. Note To reset all the filter fields, click the Default filter toolbar. Remember that the filters can be combined together. button in the Log File Viewer
2. Check the Date check box to expand the field and show the filter criteria. 3. In the From button choose First Event to display all messages starting from the first contained in the log file or Events On to set the date and/or time starting from which messages are to be displayed. 4. In the To button choose Last Event to display all messages up to the end of the log file or Events On to set the date and/or time starting from which messages are to be displayed. Note In both cases, to modify the date, type it directly or select the day, month and year in the calendar below. To modify the time, click the appropriate arrow of the spin button to increase or decrease this value. 5. Click the Filter button to apply the filter. To reset all the filter fields, click the Default filter Remember that the filters can be combined together. button in the Log File Viewer toolbar.
2. Check the Priority Level check box to expand the field and show the filter criteria. Click the check boxes relative to the types of interest (Fatal Error, Error, Warning, Information, Audit Succes, Audit Failed, Debug, User, Mandatory). For more information, see Structure of log file messages. 3. Click the Filter button to apply the filter. Note To reset all the filter fields, click the Default filter toolbar.
SIMATIC IT Services V4.4 SP2 User Manual
134
2. Check the Advanced Criteria check box to expand the field and show the filter criteria.
Parameter Process User Computer Description Name of the process/server User name Computer name of the workstation on which messages were generated
3. Click the Filter button to apply the filter. Note To reset all the filter fields, click the Default filter toolbar. Remember that the filters can be combined together. button in the Log File Viewer
2. Check the Application check box to expand the field and show the filter criteria. The list box on the left side shows all the available applications, click the or buttons to add the selected application or all the applications respectively. To delete them from the list box on the right side, click the or all the applications respectively. or buttons to remove the selected application
3. Click the Filter button to apply the filter. button in the Log File Viewer Note To reset all the filter fields, click the Default filter toolbar. Remember that the filters can be combined together.
In the Find dialog box, check the find criteria you want to apply:
When the search options are set, click the Find Next button to start the search or Close to close the window without searching.
To continue the search, select the View > Find Next command, press the F3 key or click the Find Next button in the Log File Viewer toolbar. The system will display the next occurrence that matches with the search criteria.
To search the previous item, select the View > Find Previous command, press the SHIFT + F3 in the Log File Viewer toolbar. The system will keys or click the Find Previous button display the previous occurrence that matches with the search criteria.
To delete them from the list box on the right side, click the or remove the selected application or all the applications respectively. 2. Click the Find Next button to start the search. 3. The system highlights the row that matches with the search criteria.
136
3. The system highlights the row that matches with the search criteria.
3. Click the Find Next button to start the search: the system highlights the row that matches with the search criteria.
The system displays the names of all log files located in the SIMATIC IT configuration directory (by default ICUBE.CNF). But you can view log files located in any directory of the local workstation and on any workstation configured in the SIMATIC IT network.
137
All messages stored in the selected log file are displayed in the Log File Viewer window. Private log files are generated by SIMATIC IT applications such as Alarms, Historical Trends, Graphic User Interface, Real Time Data Server, etc.
You can also export, e.g. save, the list using the File > Export List command in Log File Viewer or clicking the Export List button in the toolbar. The Save As dialog box appears and it is possible to save the list as a file with .csv or .txt extension. By default the file is saved in the ICUBE.CNF directory on the local or on a remote workstation, but you can choose another directory.
3. Click the Custumize button, the Page Setup dialog box allows you to select the columns you want to print: Choose Visible Columns to print the current Log File Viewer visible columns. (The area below is totally disabled)
138
Choose Select Columns to print only the visible columns on the right side list box. To select them, use the following buttons: to add all the events to the lsit box, list box, to add the selected event to the list box, to remove the selected event from the
Click the Default button to print the default events. Click OK to accept the print settings and come back to the Print dialog box.
The file containing the system log can become quite large and this might slow down the system. In order to prevent the file from becoming too large, you can define the properties of the log file with command File > Properties. In the Properties dialog box, select the Log Setting tab, where you can Configure the log size Configure the overwriting mode
You can restore the default configuration by clicking the Default button, that is: file size 256 kb; file is overwritten only if necessary (Overwrite if necessary)
To configure the maximum log size: 1. Select command File > Properties in Log File Viewer, in the Properties dialog box, select the Log Setting tab. 2. Enter the maximum size (Kb) of the log file in the Maximum log size combo box, or click the arrows of the spin button. The default size is 256 Kb and can be incremented by 64 Kb blocks up to 5120 Kb.
1. Select command File > Properties in Log File Viewer, in the Property dialog box, select the Log Setting tab. 2. In the Log Size area, click one of the following radio buttons to configure the overwriting mode:
Select Overwrite events as needed Overwrite events older thandays Do not overwrite events To Start overwriting messages when the log file has reached the maximum configured size. Start overwriting messages after the configured number of days has expired. However, when the file reaches the maximum size, messages will no longer be registered. Prevent the file from being overwritten. When the file reaches the maximum size, messages will no longer be registered.
3. Click the OK button to confirm this operation or the Restore Defaults button to maintain the old configuration.
The File > Properties command displays the Properties dialog box, in the General tab you can see the following information about the current log file:
Field Log Name Size Created Modified Last Abnormal Termination Server Version File Version Maximum Number of Events Description Name of the current log file Dimension of the current log file Date/time when the file was created Date/time when the file was updated Date/time when SIMATIC IT Management Console terminated abnormally Reserved system information Reserved system information Maximum number of messages which can be stored in the file
140
Important Messages contained in log files saved by the user can be neither edited nor deleted.
If you choose a category value greater than or smaller than the default value, the number of messages archived into the system log decreases or increases, respectively. You can modify the category only for messages archived in the system log file but not in the log files created by SIMATIC IT applications. Therefore, private log files contain all error messages generated by the application independent of their category.
To define the category value: 1. Select command File > Properties in Log File Viewer or the Property button in the toolbar. The Properties dialog box appears. 2. Select the Categories tab. 3. Select the application of interest from the Application drop-down list box. 4. Double click the application name and enter the category value in the Category drop-down list box. 5. Click OK to accept the changes and exit or Restore to undo the changes and restore the old configuration.
141
142
Text Editor
Text Editor
2.1
2.1.1
Overview
Overview of Text Editor
With the Text Editor you can create and edit text files of the following types: text file (.txt) Iter source files (.src, .inc) server configuration files (.txt, .csv)
Important If you start the Text Editor from SIMATIC IT Management Console and then edit an Iter source file, the functions used to access the Points Database (such as browsing, inserting variables, ...) are not available. These functions are provided only if you use the Text Editor within one of the SIMATIC IT programming environments (PDE or SIMATIC IT Real Time Data Engine). The Match Brace command however is available in all environments.
In the latter case the Text Editor provides additional features typical of a source program editor (access to the Points Database, ...)
The Text Editor window has two areas: the upper area is reserved for the user for text editing operations whereas the bottom area, also called Output Window , is used by Text Editor to display search results or error messages.
2.1.2
In the Text Editor application window, the name of the Plant to which you are currently connected appears in the Project bar.
143
Text Editor
2.2
2.2.1
2. In the File type dialog box, select one of the following options: Text Iter Source Server Configuration
3. Click OK. An empty page appears. The Textn.eee label is displayed in the title bar, where n is a progressive number and eee corresponds to the extension of the selected file.
2.2.2
Opening a file
To open a file in Text Editor: 1. Select command File > Open ; the Open dialog box appears.
2. By default, all the files with .txt extension stored in the \Plant Name\TEXT directory are listed; however, this configuration can be modified by the user. For more information, see Choosing the default file type. 3. Select the file you want to edit from the default directory or from any other directory, either on your workstation or on a remote workstation. 4. Click OK to open the selected file.
2.2.3
Saving a file
To save the current file, choose commands Save or Save as from the File menu.
You can save the file in any supported format; by default the file is saved in text format, but you can change this configuration. For more information, see Choosing the default file type.
Files are saved in standard Ansi format. For more information on how to save the files in Unicode format, see Choosing the default file type and Configuring the Save options.
2.2.4
Printing a file
To print the file you are editing, choose command File > Print Windows dialog box for setting printing attributes is displayed. in Text Editor. The standard
To preview the text before printing, select command File > Print Preview
144
Text Editor To choose the default printer, select command File > Print Setup. The standard Windows dialog box for choosing the default printer is displayed.
2.2.5
Closing a file
To close the file you are editing, select command File > Close or click the Close button in the upper-right corner of the document window.
2.3
2.3.1
Description Deletes the selected text and copies it into the Clipboard. Copies the selected text into the Clipboard Copies the text from the Clipboard to the file, starting from the cursor position. Removes the selected text Selects all the file
And also:
Cancels the most recent command or action executed Repeats the most recent command or action executed
2.3.2
Command Edit > Insert Space Edit > Erase Space TAB
Description Inserts a space at the beginning of the selected line/s Removes a space at the beginning of the selected line/s Inserts a TAB at the beginning of the selected line/s or at the cursor position
Important Each TAB corresponds to the number of spaces configured by the user (by default this number is 4).
145
Text Editor To set tabs: 1. Select command Tools > Editor Options and click the Editor tab. 2. In the Tab Settings area, enter the number of spaces that defines a TAB in the Tab Stops box. 3. Click OK.
Click the Insert Spaces or Keep Tabs buttons to define SPACE or TAB, respectively, as the default character used to fill the space between column zero and the beginning of the text in each row. This option is required since the Text Editor allows you to start writing text on a row from a column other than zero.
2.3.3
Command Advanced > Make Selection Upper Case Advanced > Make Selection Lower Case Fill Delete Row
Description Replaces the selected text with uppercase letters Replaces the selected text with lowercase letters Fills the selected block with user-defined text Removes all the text from the cursor position up to the end of the line
And also:
Cancels the most recent command or action executed Repeats the most recent command or action executed
2.3.4
2.3.5
146
Text Editor
2.3.6
Filling a selection
To fill a selection: 1. Select a vertical block of text: Move the pointer to the beginning of the text you want to select. Hold down the ALT key and drag up to the block size you want. Release the ALT key and the mouse button.
2. Select command Edit > Fill. 3. In the Fill dialog box, enter:
Parameter Text Description Alphanumeric string to be used to fill the field. The string is truncated if it is longer than the selected field or block size. The string is always aligned to the left. If the block you select already contains characters, these are replaced with the text entered by the user. To insert a number in any position within a string, type the # symbol where the number (any number of digits) is to be inserted. Type the \ character before the number sign # (i.e. \#) to display the # character instead of a digit. Automatic increment Click this check box only if a right-aligned number is to be inserted at the end of the string. The number will be automatically incremented in each record. First number to be incremented. Step to be applied to increment the number. If you click this check box, the program will insert as many leading zeros as required to reach the digit indicated in the subsequent Number of digits field. See description below. Total number of digits to be inserted, including leading zeros.
Number of digits
4. Click OK.
2.3.7
Text Editor
CTRL + HOME CTRL + END Move the pointer to the beginning of the file Move the pointer to the end of the file
2.4
2.4.1
2.4.2
2. Enter the text to be found in the Find What box. 3. Select the following options, if required:
Option Match Whole Word Only Match Case Direction Up Direction Down Description If you check this box, the Text Editor will find only complete words If you check this box, the Text Editor will find only text with the specified capitalization (case-sensitive). If you click this button, the Text Editor will search text only from the current line to the beginning of the document. If you click this button, the Text Editor will search text only from the current line to the end of the document.
To find the next text occurrence that matches the search criteria, click the toolbar.
SIMATIC IT Services V4.4 SP2 User Manual
button in the
148
Text Editor
2.4.3
Option Match Whole Word Only Match Case Replace in Selection Replace in Whole File
Description If you check this box, the Text Editor will find only complete words If you check this box, the Text Editor will find only text with the specified capitalization (case-sensitive). The text is replaced only in the selected file The text is replaced in the whole file
5. Click the Find Next button to find the first occurrence of the text and then click Replace. Or click the Replace All button to replace all the occurrences of the text at a time.
2.4.4
2. Enter the text to be found in the Find What box. 3. In the Files/file types combo box, insert the file names or the file types where text has to be searched. 4. In the In folder box, select the folder where the files have to be searched. Click the button to use the browser. 5. Select the following options:
Option Match Case Look in subfolder Description If you check this box, the Text Editor will find only text with the specified capitalization (case-sensitive). If you check this box, the Text Editor will also search in the subfolder.
Match Whole Word Only If you check this box, the Text Editor will find only complete words
6. Select the Advanced>> button if you need to search in specific files. 7. Select the file/s where text has to be searched from the File Name list box. You can choose files from various directories. Click the Add button to insert each file in the Selected Files box. Click the Add All button if you want to insert all the files stored in the current directory in the Selected Files box. 8. Click Find.
Search results are displayed in the Output Window. For each text occurrence, the corresponding file name and line number are reported.
149
Text Editor To view the text in the file where it has been found: 1. Double click the line in the Output Window, or right-click the Output Window and choose command Go to Tag from the shortcut menu. 2. The file containing the selected text is opened at the corresponding line.
Important The Output Window must be enabled for the search results to be displayed. For more information, see Displaying/hiding the Output Window.
2.4.5
2. Enter the text to be found in the Find What box. 3. Enter the text to be replaced in the Replace With box. 4. Select the following options:
Option Match Whole Word Only Match Case Description If you check this box, the Text Editor will find only complete words If you check this box, the Text Editor will find only text with the specified capitalization (case-sensitive).
5. Select the file/s where text has to be searched from the File Name list box. You can choose files from various directories. Click the Add button to insert each file in the Selected Files box. Click the Add All button if you want to insert all the files stored in the current directory in the Selected Files box. 6. Click Find to search a single text occurrence at a time. The following buttons are available:
Click Skip Replace Replace All Skip File To Not replace the current text and go to the next occurrence. Replace the current text. Replace all the text occurrences in the current file. Not replace any text occurrence in the current file and open the next file.
2.4.6
To add/remove a bookmark:
SIMATIC IT Services V4.4 SP2 User Manual 150
Text Editor 1. Go to the line to be marked. 2. Select command Edit > Bookmarks > Toggle in Text Editor
To add more bookmarks: 1. Select command Edit > Find 2. Enter the search attributes. 3. Click the Add Bookmark button. 4. All the lines that match the search criteria are marked. in Text Editor.
To remove all bookmarks, select command Edit > Bookmarks > Clear All.
2.5
2.5.1
To Show/hide the System Information bar. This bar displays the name of the Plant to which you have logged on. Show/hide the Standard toolbar. Show/hide the status bar.
2.5.2
To hide the Output Window: 1. Right click the Output Window. A shortcut menu appears. 2. Select the Hide command.
To display the Output Window: Select command View > Output Window or press keys ALT+7
To clear the contents of the Output Window: 1. Right click the Output Window. A shortcut menu appears. 2. Select command Clear.
151
Text Editor
2.5.3
4. Click OK.
2.5.4
4. Click OK.
2.5.5
Automatic saving Each time you execute a find and replace operation on a file, all files currently open are automatically saved so that the program can search the last version of the files. To enable/disable this option do as follows:
152
Text Editor 1. Select command Tools > Editor Options in Text Editor. 2. In the Options dialog box, click the Editor tab. 3. In the Save Settings area, check/uncheck the Save Before Running Tools box. 4. Check the Prompt Before Saving Files box to display a message before automatically saving each file. 5. Click OK.
2.5.6
Setting Colours
You can choose a different colour for each of the following items:
Item Bookmark Comment Current Tag Output Window Source Text Source Keyword String Text Selection User-defined Keywords
Description Bookmark Comment inserted by the user in an Iter file. Line found during file searching (command File > Find in Files) Window where the results of a Find in Files or Replace in Files command are displayed. Text in a document. Reserved keyword in a .src file Text surrounded by inverted commas Selected text User-defined keyword in a .src file
1. Select command Tools > Editor Options and click the Colors tab. 2. Select the item you want to configure from the Set Colors for list box. 3. Select the colour to be assigned to the item from the colour palette. You can choose a different colour for the Text and the Background of each item. 4. Click OK.
2.5.7
To define user keywords: 1. Select command Tools > Editor Options and click the User Keywords tab. 2. Enter the text in the Keyword box. 3. Choose the keyword type: CSV (Server configuration file) Iter PMC (Iter source file) used for PMC Iter RTDS (Iter source file) used for RTDS
4. Click the Add button to insert the keyword in the Keyword List.
SIMATIC IT Services V4.4 SP2 User Manual 153
Text Editor 5. Repeat steps from 3 to 5 to insert other keywords. 6. Click OK.
2.5.8
To set a new default font: 1. Select command Tools > Editor Options and click the Fonts tab. 2. The standard Windows dialog box for configuring font type and size is displayed. 3. Select the attributes of the default font for your documents and click OK.
2.5.9
To configure the search options: 1. Select command Tools > Editor Options and click the Search tab. 2. Select the following options:
Option Match Whole Word Only Match Case Direction Up Direction Down Prompt before resuming search from end or beginning of file Description If you check this box, the Text Editor will find only complete words If you check this box, the Text Editor will find only text with the specified capitalization (case sensitive). If you click this button, the Text Editor will search text only from the current line to the beginning of the document. If you click this button, the Text Editor will search text only from the current line to the end of the document. When the program reaches the end of the document it asks you if you want to continue searching at the beginning of it. Select Yes to continue No to end the search. If you dont want to have this confirmation prompted, uncheck the box.
154
Hot Backup
Hot Backup
3.1
3.1.1
Overview
Hot Backup
SIMATIC IT Historian provides a number of tools that help you overcome emergency conditions; such as the failure of the server workstation where the Plant and the SIMATIC IT server modules (Alarm Manager, Plant Data Archive, Event Manager, etc.) are running. One of these tools is known as "hot backup" and allows you to replicate Plant and/or server module files on to an additional server workstation (called "Auxiliary Master") in a completely transparent mode. In the event that the Plant, or a server module on the Primary Master workstation becomes unavailable, the client workstations connect automatically to the Auxiliary Master workstation, where the Plant and/or server modules, which were in "slave" status, start running in "master" mode.
For a detailed description of the procedures required to configure a pair of SIMATIC IT servers in hot backup, see Configuring hot backup for SIMATIC IT plants and applications.
3.1.2
Important It is strongly recommended to start and configure the master server first, and then start the slave server, in order to have correct alignment of the latter.
During alignment you cannot: recreate, edit and delete the server configuration. insert, modify and delete points. restart alignment.
If the master stops working during slave alignment, the slave cannot switch to master since the configuration files have not been thoroughly aligned. In this case, when the master is restarted, slave alignment will be correctly completed.
155
Hot Backup
3.1.3
Choose command Tools > Backup Switch Tool in SIMATIC IT Management Console. The Backup Switch dialog box shows two icons, which represent the pair of workstations, and their computer names.
Icons are displayed next to each workstation and to each module, with the following meaning:
Icon Meaning Module/Plant in Master status is running Master module is in asynchronous status (i.e. it is being initialized). Module/Plant in Slave status is running and ready to switch to Master Module/Plant in Slave status is not synchronous (i.e. not yet ready to switch to Master) Transition status (from Slave to Master when a manual switch is performed, from Master to Slave upon reconnection of two Masters) Module/Plant not running
3.1.4
Backup status
Right-click the computer name or the server-module name in the Backup Switch window to display the status of the Plant/module. The following table lists the various status types and their meaning in relation to the Plant/module in backup mode:
Status Master Slave No active Slave asycr Backup switching Error Master initializing Unknown
Description The Plant/module in Master status is running. The Plant/module in Slave status is running. The Plant/module has not been started yet. The Slave module is being aligned by the Master module. The application is in Master/Slave switching status. The application is not running. The Master is starting up and is not yet ready to align the Slave. Due to network errors, it is impossible to determine the server status.
156
Hot Backup Application name switching mode (automatic / manual); computer name of the pair of workstations configured in hot backup; status of the Plant located on each workstation.
3.2
3.2.1
Important To configure server workstations in hot backup, the following configurations are MANDATORY:
SIMATIC IT components must be running on the same workstation on which the Plant is located; SIMATIC IT and all its accessories (e.e. RTDS communication drivers) must be installed on the same disk partition and in the same path, both on the Primary Master and the Auxiliary Master.
For a hot-backup configuration to operate correctly you need to follow these procedures carefully step by step: 1. Create the Plant on the SIMATIC IT server that will be configured as Primary Master. 2. Define the hot backup servers as Foundation Servers, by entering their computer names in the Foundation Servers list. 3. Configure the hot backup servers as Primary and Auxiliary Master, by entering their computer names in the Primary and Auxiliary Master list. 4. Configure the SIMATIC IT server modules which will support hot backup. 5. Complete the SIMATIC IT system configuration on the Primary Master computer. 6. Start the SIMATIC IT server modules on the Primary Master computer. 7. Complete the Plant backup configuration by: Creating a backup copy of the Plant on the Primary Master Restoring it on the Auxiliary Master.
Please remember that you will have to update the computer names of all SIMATIC IT Real Time Data Server/IMC Units on the Auxiliary Master. 8. Share the Plant on both Primary and Auxiliary Master workstations with command File > Share in Plant Management.
9. In this manner, files will be automatically copied between Primary and Auxiliary Master computers. 10.Configure, if required, additional files to be automatically replicated (e.g. zones, projects).
157
Hot Backup
3.2.2
It is recommended that the above workstations are chosen from among the previouslyconfigured Foundation servers .
1. Enter the System Configuration window. 2. Select the Modules Backup tab. 3. Please note that if this command is disabled, your SIMATIC IT workstation has probably been configured in stand-alone mode. For more information, see Enabling SIMATIC IT stand-alone start-up. 4. Select the computer name of the workstation to be configured as Primary Master from the Primary Master drop-down list box. 5. Select the computer name of the workstation to be configured as Auxiliary Master from the Auxiliary Master drop-down list box. 6. Click the Add button to insert the selected computer names in the Primary MasterAuxiliary Master list box. 7. Click OK.
Important You can configure several pairs of hot-backup servers, provided that the same computer name is not used more than once in different pairs.
3.2.3
3.2.4
158
Hot Backup 5. Click the Change button to insert the selected computer names in the Primary Master Auxiliary Master list box. 6. Click OK.
3.2.5
1. Enter the System Configuration window. 2. Select the Modules Backup tab. 3. Select the applications to be configured in backup in the Application List list box. 4. Click the Add-> button to move the selected applications in the Selected Applications list box. 5. Click OK. Then start the server modules on both Primary and Auxiliary Master. The modules assume master and slave status on the configured Primary and Auxiliary Master workstations, respectively.
3.2.6
1. On the Primary Master workstation start SIMATIC IT Management Console and run the Backup Manager tool (command Tools > Backup Manager SIMATIC IT Management Console). 2. Archive the Plant. For more information, see Archiving a Plant. 3. Restore the Plant on the Auxiliary Master workstation. For more information, see Restoring a Plant. in Plant Management or
Then you must share the Plant on both Primary and Auxiliary Master workstations with command File > Share in Plant Management.
Upon completion of the above operations SIMATIC IT Management Console begins replicating the following files to the Auxiliary Master. For more information on how file replication is performed, see Replication of files between primary and auxiliary masters.
159
Hot Backup
3.2.7
Replication is performed: every 12 hours, if no changes are applied upon event, that is, each time the Unit databases or the Zone files are updated
Moreover, the user can configure the replication of additional Zone and Project files at customized intervals, as follows: 1. Select command Configuration > System from SIMATIC IT Management Console and then choose the Plant Configuration tab. 2. In the Files replication area, check the Zone and Project boxes you want to replicate. The tree structure allows you to easily navigate between files in the current Plant. 3. Click the arrow buttons in order to increase / decrease the Replication period, i.e., the time interval at which files will be copied from the primary to the auxiliary master. The replication period can range from a minimum of 30 minutes to a maximum of 24 hours, and can be incremented by 30 minute intervals. 4. Click Apply to save changes and OK to quit the dialog box.
Important All those files for which it is not possible to configure automatic replication must be copied manually between Plants. For more information, see Copying Plant directories.
3.2.8
To copy Plant files to the Auxiliary Master, use the Backup Manager tool in Plant Management or SIMATIC IT Management Console.
Important You must copy and restore files manually each time the files of interest change, in order for the Primary and Auxiliary Master to be maintained in constant alignment.
160
Hot Backup
3.3
3.3.1
Master-slave switching
Overview of master-slave switching
Hot backup guarantees complete supervisory functions of the SIMATIC IT server modules in the event that one of the applications becomes unavailable. The SIMATIC IT Management Console hot backup feature also handles more complex situations such as the subdivision of the network into two separate subnets, each comprising a Plant and one or more server modules.
During normal operation, only the server module in master status performs all functions, that is, reads, handles and archives data, and maintains the slave server in alignment. The slave server module is notified of all the changes that occur on the master and waits for a possible failure of the master module. As the slave configuration and data files mirror the corresponding files on the master, and master and slave modules are kept constantly aligned, in the event of master failure, the slave can immediately replace the master and all its functions. The time required to align the slave is variable since it depends on the size of the configuration and data files.
In the event of master-slave switching, SIMATIC IT clients previously connected to a master Plant which is no longer available, automatically log on to the new master Plant, as soon as switching has completed successfully. Please note that a SIMATIC IT client can log on ONLY to a Plant currently in master status. Client modules (SIMATIC IT Alarm Manager Display, SIMATIC IT Historian Data Display, etc.) also connect automatically to the corresponding server modules in master status, as soon as master-slave switching has completed successfully
SIMATIC IT components and Plants in hot backup configuration can assume one of the following states: master: standard operation mode. Only one server module is running. master with synchronous slave: both master and slave server modules are running. The slave is completely aligned and ready to switch to master status. master with asynchronous slave: the master module starts running again after a network interruption and the slave is not aligned, or, master-slave alignment is in progress.
An asynchronous slave cannot switch to master until it has been completely aligned, whether the request is issued by the Backup Switch Tool (user request) or by SIMATIC IT (failure of the master module).
3.3.2
161
Hot Backup
Important Upon Plant startup, the Plant which is first activated assumes Master status, be it located on the Primary Master or on the Auxiliary Master workstation.
3.3.3
When the former master starts working again, the former slave Plant which has become master, maintains this status.
3.3.4
Should the DEMO Plant in MASTER status suddenly become unavailable (because the OMEGA workstation crashes or shutdown is performed, etc.) the DEMO Plant on the LAMBDA workstation assumes MASTER status. When the DEMO Plant on the OMEGA workstation again becomes available, it assumes SLAVE status, and the DEMO Plant on the LAMBDA workstation maintains the MASTER status.
3.3.5
3.3.6
162
Hot Backup
Important Upon application start-up, the SIMATIC IT server application which is first activated assumes master status (and maintains this status), be it located on the Primary Master or on the Auxiliary Master workstation.
Note To configure the server module running on the Primary Master to assume Master status, you need to perform this operation manually from the Backup Switch Tool environment.
3.3.7
When the previous master is reactivated, it automatically assumes the role of slave, while the current master maintains this role. To restore the initial roles you must perform this operation manually using the Backup Switch Tool.
3.3.8
Should the SIMATIC IT Alarm Manager module currently in MASTER status become suddenly unavailable, the SIMATIC IT Alarm Manager module in SLAVE status running on LAMBDA assumes the role of MASTER. When the SIMATIC IT Alarm Manager on the OMEGA workstation is again available, it assumes the role of SLAVE, whereas the SIMATIC IT Alarm Manager running on LAMBDA maintains MASTER status.
SIMATIC IT Services V4.4 SP2 User Manual 163
Hot Backup
3.3.9
3.3.10
3.4
3.4.1
Manual switching
Manual switching of Plants and modules
Under normal operation, master-slave switching occurs automatically in the event that the master status workstation where the Plant and modules are located becomes unavailable or the modules are stopped.
However, you can also switch the Plant and module status manually by using the Backup Switch Tool.
3.4.2
164
Hot Backup
Important Switching is executed only if the workstations configured in backup are operating normally.
3.4.3
Important Switching is executed only if the workstations configured in backup are operating normally.
165
Tag Management
Tag Management
4.1
4.1.1
Overview
Overview of the Points Database
A points (i.e. tags) database (also called data dictionary) is automatically associated to each logical Unit of any type.
Note Throughout this document, the terms variable and point have the same meaning, and are used without distinction.
This database contains the definition of all the variables that will be handled by SIMATIC IT applications: all read/write operations on these variables will be performed via the Unit to which the database is associated. When the variables are inserted into the database, their symbolic name is associated with a physical register of the memory area managed by the Unit.
This memory area can be located either on the computer (in this case, it is called "SIMATIC IT Real Time Data Server"), if you use third-party external devices, or on the P.M.C., if you use a Siemens Orsi Automation proprietary control network. SIMATIC IT components (Alarms, Historical Trends, Graphic Panels, etc) have access to the variables located in any memory area, either centralized or distributed.
4.1.2
4.1.3
1.000.000 20.000
166
Tag Management
Elements in each array 32.767
Note: These are "theoretical" limits. In fact, the actual size of each Data Dictionary is determined by the corresponding Locreg size.
4.2
4.2.1
Description Register name associated with a physical address of the memory area managed by the Unit. Registers can be of different types (e.g. P permanent, F field, ). For more information, see User registers. Symbolic identifier assigned to the database variable. Cannot be longer than 32 characters. the point is configured, but no server is using it. the point is configured and at least one server is using it. the configuration of the point is no longer present, but at least one server is still using it. Code assigned to the variable. The following codes are available: A E the variable is the array header the variable is the element of an array
SYMBOLIC NAME Alarm Manager SIMATIC IT Graphic User Interface Data Archive Plant RTDS
C (Code)
I the variable is an array loaded from a .DEF file or the variable was scalar and had been converted into an array. In both cases the array size is 1 and the variable is converted into a normal array after entering the Array Management environment. If no code is displayed in this field, the variable is scalar. DIM. (Dimension or Index) SL (Setting Level) Array size or index number of an array element. This field is used only for Points with code A (array header) and E (array element). Access level assigned to the variable. The access level defined in the Database Editor is used with the resource Set variables from SIMATIC IT Graphic User Interface . Any user of this resource will be able to change the variable value from a SIMATIC IT Graphic User Interface graphic panel, provided that the access level of the resource is equal to or greater than the level assigned to the variable. This value must be included between 1 and 30 and will be used by the SIMATIC IT Graphic User Interface module to control write access to variables. For more information on variable setting from SIMATIC IT Graphic User Interface, see manual SIMATIC IT Graphic User Interface: Users Guide. DEF. VAL. (Default Value) Initialization value, i.e. a value that is assigned to a variable when defining the application program within PDE and SIMATIC IT Real Time Data Engine. For more information, see manual Project Development Environment (PDE) Users Guide. Comment assigned to the variable, usually in the language most familiar to the database user.
167
Tag Management
COMMENT Sec. (Comment Secondary language) Comment assigned to the database variable, in a language other than that used in the primary comment. This field is optional and is added to the database only if the appropriate option is chosen upon database creation. .
4.2.1.1
AM table
The AM table contains fields required to configure the alarms. If you right click the column header, the corresponding ToolTip is displayed.
Description Name of the group(s) the point is associated with. For more information on how to associate a point to a group of alarms, see Associating an alarm group to a point. Name of the server that manages the alarm Priority level of the alarm (from 1 to 5) No = not archivable; Yes = archivable Sub = replace the existing graphic panel; Add = add a new graphic panel; No = Alerter not enabled; Yes = Alerter enabled No = not printable; Yes = printable No = no comment added to alarm message defined in MESSAGE 1 or MESSAGE 2; Yes = comment added to alarm message defined in MESSAGE 1 or MESSAGE 2. Check the box if you want to invert the alarm activation mode. Reserved for future use. Alarm message displayed on the operators console. This message is displayed if you have selected option Comment Display First Comment with command Configuration > System from SIMATIC IT Management Console. Otherwise MESSAGE 2 is displayed. Second message added. This message is displayed if you have selected option Comment Display Second Comment with command Configuration > System from SIMATIC IT Management Console. Otherwise MESSAGE 1 is displayed. Name of the graphic panel (with .GRC extension) and/or of the sound file (with .WAV extension) associated with the alarm.
SERVERS PY (Priority) ARCH (Archivable flag) LOAD. MODE (Load mode) AL. (Alert) PRN (Printable) A.M.(Add message)
MESSAGE 2
4.2.2
GUI table
The GUI table contains fields required to configure the graphic object attributes. If you right click the column header, the corresponding ToolTip is displayed.
Description Colour shown when the point is in the status ON String displayed when the point has the status TRUE in place of the ON default string
168
Tag Management
D. 2 (Digital Color 2) FALSE MAX. VAL. (Maximum Value) A. 1 (Analogic Color 1) TH. HH (Threshold HH) A. 2 (Analogic Color 2) TH. H (Threshold H) A. 3 (Analogic Color 3) TH. L (Threshold L) A. 4 (Analogic Color 4) TH. LL (Threshold LL) A. 5 (Analogic Color 5) MIN. VAL. (Minimum Value) DELTA T. C (Trace Color) Colour shown when the point is in the status OFF String displayed when the point has the status FALSE in place of the OFF default string Maximum value the point may assume. Colour shown when the point exceeds the HH threshold Value of HH threshold Colour shown when the point exceeds the H threshold Value of H threshold Colour shown when the point exceeds the L threshold Value of L threshold Colour shown when the point exceeds the LL threshold Value of LL threshold Colour shown when the point is lower than the LL threshold Minimum value the point may assume. (reserved for future use) Percentage by which the points increase or decrease may vary (with respect to the range) Colour used for the line that draws the points trend or that represents the element in the chart
4.2.3
PDA table
The PDA table contains fields required to configure the point to archive. If you right click the column header, the corresponding ToolTip is displayed.
Field Name SERVERS TYPE CL (PDA Class) MAX. VAL. (Maximum Value) MIN. VAL. (Minimum Value) DELTA EXT. (Delta External) MIN. EXT. (Minimum External) MAX. EXT. (Maximum External) DELTA INT. (Delta Internal) MIN. INT. (Minimum Internal) MAX. INT. (Maximum Internal) ENG. UNIT (Engineering Unit)
Description Servers that manage the alarm Point type. Sampling class type (from 1 to 4) Maximum value the point may assume. Minimum value the point may assume. Delta for external compression. Minimum interval (in seconds) between two samples passed to the external compression algorithm. Maximum time (in seconds) between two samples passed to the external compression algorithm. Delta for internal compression. Minimum interval (in seconds) between two samples passed to the internal compression algorithm. Maximum time (in seconds) between two samples passed to the internal compression algorithm. Measurement unit of the archived point.
169
Tag Management For more information on the configuration of historical points, see Configuring a point to be archived.
4.2.3.1
RTDS table
The RTDS table contains fields required to configure communications between SIMATIC IT Real Time Data Server and a third-party PLC network, in order to read/write field variables
Description Name of the interface used to handle communications between SIMATIC IT Real Time Data Server and a third-party PLC network, in order to read/write field variables. This name is usually defined upon driver installation and must be also specified during RTDS configuration. For more information, see Configuring SIMATIC IT Real Time Data Server.
CL (RTDS Class)
Time class value. The time class is the frequency applied by the interfaces to read values from the network. Six predefined classes are available and each class corresponds to a different sampling time: 0 = variables are not read at predefined intervals by the interface but only upon a specific request of a SIMATIC IT component. 1 = 1 second 2 = 2 seconds 3 = 6 seconds 4 = 10 seconds 5 = 30 seconds 6 = 60 seconds
SAFE VAL.
Safety value, that is, value assigned by default to the variable if the value cannot be read from field (e.g. due to network communications failure, SIMATIC IT Real Time Data Server and interfaces communications failure). This field contains information required to access variables via thirdparty interfaces (e.g. PLC variable name) This field contains information required to access variables via thirdparty interfaces (e.g. PLC node number) This field contains information required to access variables via thirdparty interfaces
4.3
4.3.1
Database Editor
Starting the Database Editor
SIMATIC IT Management Console provides the Database Editor tool to create, update and manage the Data Dictionaries associated to the various Units defined in your Plant. From the Database Editor you can edit only one database at a time.
The Database Editor can also be called from various SIMATIC IT environments, such as PDE (Project Development Environment), SIMATIC IT Real Time Data Engine (SIMATIC IT Real Time Data Engine Manager) and the Alarm Manager / Plant Data Archive server configuration utility.
4.3.2
Points are displayed in the grid with different colours according to their status, as follows:
Color Black Grey Blue Black blue Green Description Normal point Read-only point Locked point (i.e., the database program cannot shift the allocation of the variable to another register/bit of the same type). Read-only locked point Bookmark
These colors are assigned by the Database Editor but can be changed by the user, if required. For more information, see Changing colors.
The column placed on the left side of the grid is used to display icons with the following meaning:
Icon Description New point, i.e. not yet saved in the database Point already defined in the database, modified in the current session and not yet saved. Invalid point, i.e. not saved since it contains errors. Point marked for deletion. The point will be removed when the database is saved. Array element Open array Closed array Scalar variable converted into an array
If the left column is empty, the point has already been saved in the database and has not been modified by the user in the current working session.
Tag Management
Icon
Description Point already defined in the database, modified in the current session and not saved until all servers have read and updated database info. Point marked for deletion. The point will be removed when all servers have read and updated the database info.
4.3.3 4.3.3.1
4.3.3.2
4.3.4 4.3.4.1
In addition, the user can create customized views, which will be displayed in the database grid when clicking tabs View 1, View 2 and View 3, respectively.
4.3.4.2
User Views
Views 1 to 3 in the database grid allow you to insert the fields you want, in the order that you want.
4.3.4.3
6. Click Save to confirm your settings. The Close button allows you to exit the dialog box.
4.3.4.4
You can also assign a User view as follows: 1. Right-click the View1 tab in the Database Editor. The Select View (VIEW1) dialog box appears. 2. Select the view you want from the list and click OK.
4.3.4.5
173
Tag Management
4.3.5 4.3.5.1
To handle scalar variables in guided mode, select commands Edit > Point > Add Point > Modify .
or Edit >
The following operations can be performed in the Points Management environment: Inserting a new point (in guided mode) Inserting a new point (in manual mode) Modifying a point (in guided mode) Modifying a point (in manual mode) Modifying a group of points Deleting a point Duplicating a point Duplicating serveral points Correcting errors Converting a scalar variable into an array Setting in read-only mode
To save any changes applied to variables in Points Management you need to choose command . In any case the Database Editor program prompts you to save changes when File > Save you quit the Points Management environment.
Important All the changes applied to the database should be updated on the SIMATIC IT servers (Alarm Manager, Plant Data Archive, RTDS). For more information, see Updating the SIMATIC IT servers configuration.
4.3.5.2
Description Register identifier. Registers and types may vary according to the locreg type associated with the database. to display all registers and related types (Integer, Click button Real, Character, Logic):
174
Tag Management
Symbolic name Setting level Alarm (A) Field (F) Not Permanent (R) Permanent (P) Backup (B) Input (I) Output (O)
Symbolic identifier of the variable. Alphanumeric string up to 32 characters. Access level required to set the variable value in SIMATIC IT Graphic User Interface. The access level defined in the Database Editor is used with the resource Set variables from SIMATIC IT Graphic User Interface . Any user of this resource will be able to change the variable value from a SIMATIC IT Graphic User Interface graphic panel, provided that the access level of the resource is equal to or greater than the level assigned to the variable. For more information on variable setting from SIMATIC IT Graphic User Interface, see manual SIMATIC IT Graphic User Interface: Users Guide.
Locked
If you select this check box the point is locked, that is, the database merge program cannot shift the variable allocation to another register/bit of the same type. Comment assigned to the variable, usually in the language most familiar to the database user. Comment assigned to the database variable, in a language other than that used in the primary comment. This field is optional and is added to the database only if the appropriate option is chosen upon database creation. Number of points to be inserted
Points Number
The points are inserted in the database when you select command File > Save
You can then insert the other parameters to configure the point according to your needs, i.e.: To handle communication with the PLC network To configure an alarm To configure a poiint to be archived To configure graphic object parameters
4.3.5.3
175
Tag Management 4. Enter the symbolic identifier of the variable in the SYMBOLIC NAME field (maximum 32 characters). To enter several names which begin with the same characters you can use automatic fill. For more information, see Automatic Filling. 5. Enter the required values in all the remaining fields of the point. Click the various tabs (AM, PDA, GUI) to complete the point configuration. For more information on the values to be inserted, see Structure of the Points Database. The points are inserted in the database when you select command File > Save .
4.3.5.4
Automatic allocation
Thanks to the automatic allocation tool you do not need to view the locreg map to discover which registers of a certain type are still free.
If you add a variable or an array in guided mode (for more information, see Inserting a new point (guided mode) for the point or see Modifying the field values of an array element (guided mode) for the array), the first free register of the selected type is automatically assigned to the point when the variable or the array is saved in the database.
If, on the other hand, you insert a point in manual mode, you must proceed as follows: 1. In the Points Management window insert one or more empty points: move to the row under which the new point is to be inserted and press the RETURN key as many times as the number of points to be inserted. 2. Enter the register type (e.g. RI,PF) in the first REAL NAME field of the point(s) to be allocated. If you want to allocate a bit, the register type identifier must be followed by a dot (e.g. RI. PI.). You can also indicate the register number and/or bit number from which allocation must start (e.g. RI10 PI.[5]). 3. Drag the cursor to select all the REAL NAME fields of the points to be allocated. 4. Select command Edit > Auto Allocation .
5. All the selected REAL NAME fields are filled with free register numbers of the selected type. If the REAL NAME field of the first selected point is empty or does not contain a valid identifier, automatic allocation is not performed. Allocation starts from the first point of the selected block and continues with all subsequent points of the block, for which the REAL NAME field is empty. If somewhere in the block there is a point with a valid register identifier different from the first, allocation continues using the latter register type. Bit allocation starts from the first free bit of either the first free or partially used register, if you do not indicate any register number.
4.3.5.5
176
Tag Management
4.3.5.6
Automatic Filling
The Automatic Fill tool inserts a string followed, if required, by a progressive number, in a block of selected points. In this way it becomes extremely easy, for example, to assign different names to each element of an array.
To perform Automatic Filling in a block of selected points: 1. Drag the cursor to select the field to be filled (e.g. SYMBOLIC NAME) for all the points of interest. 2. Select command Edit > Fill Selection
Parameter Text Description Alphanumeric string to be used to fill the field. The string is truncated if it is longer than the selected field or block size. The string is always aligned left. If the block you select already contains characters, these are replaced with the text entered by the user. To insert a number in any position within a string, type the # symbol where the number (any number of digits) is to be inserted. Type the \ character before the number sign # (i.e. \#) to display the # character instead of a digit. Enable Automatic increment Start from Step Leading Zero Check this box only if a right aligned number is to be inserted at the end of the string. The number will be automatically incremented in each point. First number to be incremented Step to be applied to increment the number If you check this box, the program will insert as many leading zeros as required to reach the digit indicated in the subsequent Number of digits field. See description below. Total number of digits to be inserted, including leading zeros.
Digits
Important If the selected block contains read-only fields, these are not processed by the filling program.
4.3.5.7
Example1
You have selected a block made up of 10 characters and 8 rows in the SYMBOLIC NAME field. Then you set the following parameters in the Fill Selection dialog box. Text: valve Enable Automatic increment: Start from: 2 Step: 1 Leading zero: Number of digits: 3
The eight rows of the SYMBOLIC NAME field will be filled with the following strings:
SIMATIC IT Services V4.4 SP2 User Manual 177
Tag Management valve002 valve003 valve004 valve005 valve006 valve007 valve008 valve009
Example2
You have selected six rows of the SYMBOLIC NAME field. Then you set the following parameters in the Fill Selection dialog box: Text: VALVE#KK_A Enable Automatic increment: Start from: 4 Step: 2 Leading zero: Number of digits: 4
The six rows of the SYMBOLIC NAME field will be filled with the following strings: valve0004KK_A valve0006KK_A valve0008KK_A valve0010KK_A valve0012KK_A valve0014KK_A
4.3.5.8
2. Modify the values of the fields of interest. You can use any of the following buttons:
Click To Move to the previous point Move to the next point Update the database fields with the new values inserted into the fields. Reset the previously displayed settings. View the original record values, not yet acquired by the servers.
178
Tag Management
(for arrays only) Expand the array (for arrays only) Collapse the array
3. If you want to remove some tables from the point definition, click the relative tab and uncheck the Present box. 4. Click Update to update the point definition. To apply the changes you have entered use the File > Save command.
4.3.5.9
To apply the changes you have entered use the File > Save
command.
4.3.5.10
4.3.5.11
Deleting a point
To remove a point from the database, select a point in the database grid and choose command Edit > Point > Delete .
If the point is old, that is, it had already been saved in the database, the delete icon ( ) is displayed in the first column next to the REAL NAME field. In this way the point is only logically deleted and will be removed from the database when the Save command is chosen. Until then it is possible to restore the point by selecting it and choosing command Edit > Point > Delete.
If the point is new, that is, it has been inserted in the database but not yet saved (icon first column), the point is actually removed and it will not be possible to restore it.
in the
179
Tag Management
4.3.5.12
Duplicating a point
To duplicate a point: 1. Select a point in the grid. 2. Select command Edit > Point >Duplicate The Add Points dialog box appears.
3. A new point is inserted after the selected one. This point has the same fields and values as the sample point, but the REAL NAME field is empty. 4. Enter an appropriate value in the REAL NAME field. You can use the dynamic allocation option.
4.3.5.13
3. The new points are inserted after the last points present in database. These points have the same fields and values as the sample point, but the REAL NAME field is empty. 4. Enter an appropriate value in the REAL NAME field. You can use the dynamic allocation option.
4.3.5.14
Correcting errors
By selecting the Save command you save the new and the modified points in the database. If one or more points are not correct i.e. if some fields present incorrect values, they are listed at the bottom of the window with related error messages.
To correct any fields that contain incorrect values: 1. Modify the incorrect values displayed at the bottom of the window. 2. Save the database again. 3. The fields that previously contained incorrect values now display the changes made.
4.3.5.15
Displaying errors
To display the errors found after saving the database, select command View > Errors View.
4.3.5.16
To convert a scalar variable into an array: 1. Select the point to be changed in the database grid. 2. Select command Edit > Change Scalar to Array or press key F8. 3. The I character is inserted into the CODE (C) field.
SIMATIC IT Services V4.4 SP2 User Manual 180
Tag Management
4. Enter the Array Management environment with command File > Arrays Management The converted array is displayed as a blue folder. 5. Modify the array as required (e.g. increase the dimension). The folder colour changes to yellow and the I code is replaced with the A and E codes in the database grid.
You can restore the initial status (that is, re-convert the array into a scalar variable) with command Edit > Change Array to Scalar (keys Shift+F8), if the database was not saved. Otherwise this operation is not possible.
4.3.5.17
In addition to the usual Find and Replace commands, the Database Editor provides a number of tools to help you to quickly locate a point in the database. Points can also be sorted for display in the Points Management window of Database Editor.
4.3.5.18
Do as follows Enter the first characters of the string followed by wildcards * (any number of characters) or ? (one character). For instance, type TIC405* to find all strings in the database which begin with TIC405 and are followed by any number of characters. Type TIC405? to find all strings in the database which begin with TIC405 and are followed by one character.
Substrings
Enter the substring to be found within a longer string . You can use wildcards * (any number of characters) or ? (one character). For instance type *TIME* to find all strings which contain the TIME substring.
4.3.5.19
Single-field queries
To execute a single-field query: 1. Move the cursor to any point of the field to be used for the query in the Database Editor grid (for instance, click any point of the SYMBOLIC NAME field). 2. Select command Edit > Find . Enter the following parameters in the Find dialog box.
Description Text to be found in the database, in the field displayed in the title bar
181
Tag Management
(it is the field where the cursor is positioned). Match whole word only Match Case Negative Logic Direction Up Direction Down If you check this box, the Database Editor will consider the text inserted in Find what as a word and not a part of word. If you check this box, the Database Editor will find only text with the specified capitalization (case sensitive). If you check this box, the Database Editor will find text which does NOT match the text you entered in the Find what edit box. If you click this radio button, the Database Editor will find text only in the points which precede the point where the cursor is positioned. If you click this radio button, the Database Editor will find text only in the points which follow the point where the cursor is positioned.
4. After finding the first point that matches the search criteria, the Find dialog box disappears automatically. To find more points that match the same criteria, click one of the following buttons (available in the Points Management toolbar): to find the next point to find the previous point.
4.3.5.20
Multiple-field queries
To execute a multiple-field query: 1. Select command Search > Advanced Find . The Advanced Find dialog box appears.
2. You can perform complex searches by using the database fields of the various tables. These tables are: the Main table the RTDS table the AM table the GUI table the PDA table
182
Tag Management
Choose a relational operator which will be used to search numeric fields. The most common and some advanced operators are available.
icon
4. Click the Mark All button to insert a bookmark next to each record which matches the specified search criteria. 5. Click Find Next to run the search. After finding the first record which matches the search criteria, the Advanced Find dialog box disappears automatically. To find more records which match the same criteria, click one of the following buttons (available in the Points Management toolbar):
4.3.5.21
To find and replace text: 1. Select a block of points for the field of interest (e.g. SYMBOLIC NAME) or move to any point of the field of interest to search the whole database. 2. Select command Edit > Replace box:
Parameter Find what Replace with Match whole word only Match Case Replace in Description Text to be found in the database, in the field displayed in the title bar (it is the field where the cursor is positioned). You can search for partial strings. Text which will replace the text found. If you check this box, the Database Editor will consider the text inserted in Find what as a word and not a part of word. If you check this box, the Database Editor will find only text with the specified case. Text is replaced only in the selected block (button Selection) or in the whole database (button Whole Database).
183
Tag Management
4.3.5.22
4.3.5.23
Using bookmarks
If you have added bookmarks to your database file, you can locate the marked points by selecting commands Bookmarks > Previous or Bookmarks > Next on the Edit menu. For more information, see Inserting and removing bookmarks.
4.3.5.24
Sorting points
Points displayed in the Points Management window of Database Editor can be sorted by: real name symbolic name
Select command Search > Sort > by Real Name Search > Sort > by Symbolic Name
4.3.5.25
Inserting/removing Bookmarks
Bookmarks are used to mark one or more points in your database which you need to locate quickly. You can add bookmarks either while running a Find command, or manually.
Removing a bookmark
1. Move to a point previously marked in the database grid
184
Tag Management 2. Select command Edit > Bookmarks > Toggle. 3. The bookmark is removed.
4.3.5.26
Exporting points
You can copy a block of points from the current database to a database that has the same format. Export databases are equal to a standard database but have .XDB extension and must be assigned a name different from that of the source database. When the Database Editor creates an EXPORT file it also generates the relative indexes. Since new points can be appended to an existing EXPORT database, it is possible to export points several times to the same file.
Before running the Export command you must save all changes in Points Management window. Then proceed as follows: 1. Select command Tools > Export points. The Export dialog box appears. 2. In the Extract Points area choose the set of points to be exported: Selected: the points selected in the grid. Marked: the points to which a bookmark has been associated. Whole database: all points in the database.
3. Check the configurations (AM, PDA, GUI, RTDS) you want to export within the Filter Points by Configuration area. These check boxes determine the subset of records which will be exported, as follows: Selected: the program will only export those records which contain these configurations Unselected: the program will only export those records which DO NOT contain these configurations Undetermined (selected but shadowed): the program will export all records, whether or not they contain these configurations.
4. Enter the name of the export file in the File Name edit box (maximum 8 characters). 5. Click the Skip Arrays check box to choose not to copy array headers and array elements into the new database. If you do not check this box, all the elements of a selected array are copied to the new database, even if the block of points selected does not contain all the array elements. 6. In the Writing mode area check the box Overwrite or Append if you want to either overwrite the destination database or add points to it. 7. Click OK 8. You can open the file with .XDB extension from the Points Management or Database Management by choosing command File > Open.
185
Tag Management
4.3.5.27
To import a definition file, perform the following steps: 1. In Points Management, select command Tools > Read Definitions Files. 2. The Read Definitions Files dialog box lists all the .DEF files generated when compiling the Project associated with the current Unit. To display .DEF files generated in other Projects, you must associate a different Project to the Unit (use command Edit > Modify in SIMATIC IT Management Console). 3. Select the file from the Definitions Files list box. 4. Click OK to import the files.
For each definition stored in the .DEF file the Database Editor creates a new point, which is added after the point where the cursor is positioned.
A register
If you import a scalar variable, the CODE (C) field is empty, whereas it contains the I letter if you import an array. The imported array always has size 1.
To explode the elements of the array (i.e. display the A and E letters in the CODE field), you must enter the Array Management environment with command File > Arrays Management . The imported array folder is displayed in blue but becomes yellow (standard colour) when you modify the array (e.g. increase its size).
4.3.5.28
Locking a point
You can lock a point or a block of selected points: this implies that if you merge this database with another, the program cannot shift the allocation of the selected point to another register/bit of the same type. For more information on merging databases, see Merging databases.
186
Tag Management To lock a point (or a block of selected points): 1. Select a point or block of points in the Points Management window. 2. Select command Edit > Point > Lock .
3. Locked points are displayed in a different colour, usually blue. However you can modify this default colour. For more information, see Changing colors.
4.3.5.29
Unlocking a point
To unlock a point (or a block of selected points): 1. Select a locked point or block of points in the Points Management window. Locked points are displayed by default in blue. 2. Select command Edit > Point > Unlock .
Unlocked points are displayed in the standard text colour (usually black), but you can change it. For more information, see Changing colors.
4.3.6 4.3.6.1
To handle an array in guided mode, you can: Select commands Edit >Add Array Select command View > Point Viewer or Modify Array or Element , or
In all cases the Add Array or Point Viewer dialog boxes are displayed.
Any changes applied to arrays become permanent as soon as they are performed, and no confirmation is required. However, if you select the Enable Restore option (Tools menu > Settings command > Workspace tab > Arrays Management area >Enable Restore check box) in Arrays Management, the following message will be displayed: Database modified, confirm changes? Click Yes to save all changes applied during the current working session. Click No to reject changes, and to restore the database status prior to any changes applied during the current session.
4.3.6.2
Adding an array
To add an array: Select command Edit > Add Array appears. Enter the following data: in Arrays Management. The Add Array dialog box
Tag Management
The register types available depend on the locreg to previously assigned to the database: click button display all registers and related types (Integer, Real, Character, Logic). Symbolic Name Setting Level Symbolic identifier of the variable. Alphanumeric string up to 32 characters. Access level required to set the variable value in SIMATIC IT Graphic User Interface. This value is assigned to each element of the array. Dimension of the array (i.e. number of elements it can hold). If you select this check box each element of the array is locked, that is, the database merge program cannot shift the variable allocation to another register/bit of the same type. Alphanumeric string used to define the array contents. It is displayed only beside the array header. Alphanumeric string used to define the array contents. It is displayed only beside the array header.
Dimension Locked
You can then insert the other parameters to configure the point according to your needs: to handle communication with PLC network to configure an Alarm to configure a point to be archived to configure graphic-object parameters
4.3.6.3
4. Modify the values of the fields of interest. For a brief description of the buttons displayed next to the dialog box, see Array buttons. 5. If you want to remove some tables from the point definition, click the relative tab and uncheck the Present box. 6. Click Update to confirm changes.
Important You are not allowed to change the register type, the element index or the Locked check box.
4.3.6.4
Buttons
These dialog boxes show the following buttons, which allow you to perform several operations:
188
Tag Management
Click
To Move to the previous point Move to the next point Expand the collapsed array Collapse the expanded array Reset previous settings Update the database fields with the values inserted in the fields Insert the new values in the database fields Close the window without saving
4.3.6.5
4.3.6.6
Duplicating an array
To duplicate an array: 1. Select the array to be modified in the Arrays Management window. 2. Select command Edit > Duplicate Array 3. Enter all the values of interest. 4. Click the OK button to confirm changes. ; the Add Array dialog box appears.
4.3.6.7
Deleting Arrays
You can remove one or more arrays only from the Arrays Management environment.
3. Confirm deletion with Yes. The array and all its elements are removed from the database.
189
Tag Management
4.3.6.8
Locking an array
You can lock an array: this implies that if you merge this database with another, the program cannot shift the allocation of the selected array to another register/bit of the same type. For more information on merging databases, see Merging databases.
To lock an array: 1. Select an array in the Arrays Management window. 2. Select command Edit > Lock Array . or ) is displayed in
3. The array and all its elements are locked. The array icon (either blue.
Important Arrays can be locked (as a whole) only in the Arrays Management environment. Thus you cannot lock/unlock the elements of an array in the Points Management window
4.3.6.9
Unlocking an array
To unlock an array: 1. Select a locked array in the Arrays Management window. 2. Select command Edit > Unlock Array . or ) is displayed in
3. The array and all its elements are unlocked. The array icon (either white).
Important Arrays can be unlocked (as a whole) only in the Arrays Management environment. Thus you cannot lock/unlock the elements of an array in the Points Management window.
190
Tag Management
4.3.7 4.3.7.1
4.3.8 4.3.8.1
To configure User alarms: 1. Click the AM tab in the Point Viewer dialog box. A dialog box appears and displays the Alarm Manager fields. 2. Check the Present box and configure the following Alarm Manager attributes.
Important This check box is enabled only if you are adding a Boolean point.
Action Choose the servers that have to manage the alarm Enter the name of the group to which the alarm belongs Check the box if you want to archive the alarm Check the box if you want to print the alarm Reserved for future use Check this box if text entered in the Comment fields of the Main tab must be concatenated to text in the Message 1 or Message 2 fields. Comment (Primary language) will be added before Message 1 whereas Comment (Secondary language) will be added before Message 2. Check the box if you want to invert the alarm activation mode. Check the box if you want to enable the Alerter service
191
Tag Management
Priority Select the priority level you want to associate to the alarm. For more information on alarm priority see the SIMATIC IT Alarm Manager and Alarm Manager Display documentation. Enter the name of the graphic panel (with .GRC extension) and/or sound file (with .WAV extension) you want to associate to the alarm. You can enter both values, using the ";" character or a blank as separator. File names must be entered with extension but without pathname and can be in any order. For further information, see also: Associating a sound file to an alarm Associating a graphic panel to an alarm Loading mode Select the button which defines how to load the graphic panel: Sub = replace the existing graphic panel. Add = add a new graphic panel. Message 1 Alarm message displayed on the operators console. This message is displayed if you have selected option Comment Display First Comment with command Configuration > System from SIMATIC IT Management Console. Alarm message displayed on the operators console, usually in a language different from Message 1. This message is displayed if you have selected option Comment Display Second Comment with command Configuration > System from SIMATIC IT Management Console.
Panel/Wave
Message 2
3. Click the OK button. Points are inserted in the database when you select command File > Save .
4.3.8.2
3. Insert the name of the new alarm group. You can add up to 255 groups. 4. Click OK to save changes and quit.
If you want to define several alarm groups at a time, you can import their names from an existing TXT file. Click the Import button and select the file from the dialog box. To use existing group names for a different Plant, you can also export these names to a TXT file (click the Export button) and then re-import them.
4.3.8.3
Tag Management 4. Enter the new name. 5. Click OK to save changes and quit.
To restore the initial group names and/or sorting order, click the Reload button. This operation is possible only before quitting the dialog box with the OK command.
4.3.8.4
4.3.8.5
193
Tag Management Since arrays and array elements can be modified only in the Arrays Management window, you need to re-enter the command also in that environment, if you want to obtain the same level of security.
4.3.9 4.3.9.1
Configuring RTDS parameters Entering RTDS parameters to handle communication with a PLC network
1. Click the RTDS tab in the Add Points dialog box. A dialog box displaying the RTDS fields appears. 2. Check the Present box and then enter the following parameters:
Description Name of the interface used to handle communications between SIMATIC IT Real Time Data Server and a third-party PLC network, in order to read/write field variables. This name is defined during RTDS configuration. Value assigned by default to the variable if the value cannot be read from the field (e.g. due to network communications failure, SIMATIC IT Real Time Data Server and interfaces communications failure). Time class value. The time class is the frequency applied by the interfaces to read values from the network. Six predefined classes are available and each class corresponds to a different sampling time: 0 = variables are not read at predefined intervals by the interface but only upon a specific request from a SIMATIC IT component. 1 = 1 second 2 = 2 seconds 3 = 6 seconds 4 = 10 seconds 5 = 30 seconds 6 = 60 seconds
Safe Value
Class
This field contains information required to access variables via third-party interfaces (e.g. PLC variable name) This field contains information required to access variables via third-party interfaces (e.g. PLC node number) This field contains information required to access variables via third-party interfaces
3. Click the OK button. Points are inserted in the database when you select command File > Save .
4.3.10 4.3.10.1
Tip Detailed information about how compression is performed can be found in the SIMATIC IT Plant Data Archive and SIMATIC IT Historian Data Display documentation
194
Tag Management
In order to enter Plant Data Archive parameters: 1. Click the PDA tab in the Add Points dialog box. A dialog box displaying the Plant Data Archive fields appears. 2. Check the Present box and configure the following Plant Data Archive attributes:
Parameter Minimum Value Maximum Value Class Type Eng. Unit External Compression Internal Compression Description Minimum value the point may assume. Maximum value the point may assume. Select the interval for the point data sampling. See paragraph "Sampling classes". Select one of the available types. See paragraph "Point types to be selected". Measurement unit of the archived point. Parameters requested for external compression calculation. See paragraph "External Compression parameters". Parameters requested for internal compression calculation. See paragraph "Internal Compression parameters".
To display the database fields relating to the attributes of the points configured, select the PDA tab. The points are inserted in the database when you select command File > Save .
4.3.11 4.3.11.1
Tip For more information on dynamic attributes, see the SIMATIC IT Graphic User Interface documentation
Some parameters, such as threshold colors, min. and max. values, which are standard and often the same for all objects, can be configured directly from the Database Editor .
SIMATIC IT Services V4.4 SP2 User Manual 195
Tag Management
4.3.11.2
3. Make your selections for what concerns Register and Type according to your needs, and click OK: this returns you to the Add Points dialog box. Depending on the selections you made, a real name (consisting in specific initials and a consecutive number) is assigned to the point in question. 4. Operating in the Add Points dialog box, assign the point with a symbolic name (Symbolic Name), and click OK. 5. Now click the GUI tab in the Add Points dialog box, and check the Present box: If you are entering the parameters of a logic variable, the Digital area is enabled; If you are entering the parameters of an integer or real variable, the Analog area is enabled.
The fields to be completed for these areas are described in the table below:
Area Name Digital Fields Analogic True: enter the full or partial string to be displayed when the point has status TRUE False: enter the full or partial string to be displayed when the point has status FALSE Threshold values for HH, H, L, LL Minimum Value and Maximum Value Delta: Percentage by which the points increase or decrease may vary (with respect to the range) Trace Color: color to be used to display the point when in a Trend or Chart graphic object.
To continue entering parameters for: a logic variable, see Parameters of a logic variable. an integer or real variable, see Parameters of an integer or real variable. a slider, see Parameters for a slider. a Trend or a Chart, see Parameters for a Trend or a Chart.
To see how the parameters that you have just configured will be used by the graphic objects, see Parameters used by graphic objects.
4.3.11.3
Graphic object
196
Tag Management
Bargraph Zoom Position Alphanumeric Alphanumeric (digital) Trend Minimum Value Maximum Value Minimum Value Maximum Value Minimum Value Maximum Value Minimum Value Maximum Value True (string) False (string) Minimum Value Maximum Value Trace color Chart Minimum Value Maximum Value Trace color Slider Minimum Value Maximum Value Delta Line color (digital) Fill color (digital) Text color (digital) True (color) False (color) True (color) False (color) True (color) False (color)
4.3.11.4
4.3.11.5
197
To see the database fields relating to the attributes of the points you have just configured, select the GUI tab at the bottom of the Database Editor window to view the GUI table. The points are actually inserted in the database when you select command File > Save .
4.3.11.6
Important You must assign five colors in total, as the first box starting from the bottom contains the color associated with the point values that are below the first threshold.
To see the database fields relating to the attributes of the points you have just configured, select the GUI tab at the bottom of the Database Editor window to view the GUI table. The points are inserted in the database when you select command File > Save .
4.3.11.7
To see the database fields relating to the attributes of the points you have just configured, select the GUI tab at the bottom of the Database Editor window to view the GUI table. The points are actually inserted in the database when you select command File > Save .
4.3.12 4.3.12.1
198
Tag Management This operation can be executed only after you have saved all the changes applied to the database. To recreate indexes choose command Tools > Rebuild > Index Files.
4.3.12.2
Important It is strongly recommend that you are careful before selecting this command, because all information about the current acquisition status of servers will be lost.
4.3.12.3
4.3.13 4.3.13.1
In the Points Management environment, you can send to printer or file: all database points a block of selected points all marked points
In the Arrays Management environment, you can only print: the descriptors of all the arrays displayed in the window the descriptors and the elements of all the arrays displayed in the window
4.3.13.2
Print preview
You can preview a report in order to see it as it will look when printed. Select command File > Print Preview to display a report page. Using the standard Windows buttons you can display two report pages, view the previous or the next page or print the report. To quit the Preview window, click the Close button.
4.3.13.3
Selecting a printer
A database can be printed to any printer configured in the network. Select command File > Print Setup in Database Editor. In the Layout tab you can choose one of the configured printers from the Printer list box. If you choose the Default Printer option, the output will be sent to the printer configured by default from Windows Print Manager.
199
Tag Management
4.3.13.4
Printing records
In the Points Management or Arrays Management windows select command File > Print. The report is automatically sent to the printer you have selected with command File > Print Setup. You can also write the output to a file with command File > Print to File.
4.3.13.5
Printing to file
To print the contents of the current database to file: 1. In the Points Management or Arrays Management windows select command File > Print to File. 2. Enter the name of the file in the File Name box. The file is stored by default in the \plant name\DATABASE directory, but you can choose a different path by clicking the Browse button. 3. Choose the write option: Overwrite: to overwrite the contents of the file Append: to add the output at the end of the file
4. Click the Settings button to configure the print settings. For more information, see Print settings. 5. Click OK to send the output to the selected file.
4.3.13.6
Print settings
Settings of the page to be printed (header, footer, orientation,) can be defined with command File > Print Setup in Points Management or Arrays Management. Headers and footers are printed on each page of the report: you can either select predefined fields or enter any text.
The following predefined fields are available (<EMPTY> means that no text is inserted): DATE TIME DATE + TIME DATABASE NAME LOCREG NAME PAGE NUMBER FREE TEXT (the Free Text edit box is enabled and you can insert any text)
The following print attributes can be defined: header footer page layout filter
200
Tag Management
4.3.13.7
To define The text which will be printed on the left side of the header. Default is the DATABASE NAME but you can choose any predefined field from the Left Item list box. The text which will be printed at the center of the header. Default is the string "Database Editor" (FREE TEXT), but you can choose any predefined field from the Central Item list box. The text which will be printed on the right side of the header. Default is the LOCREG NAME, but you can choose any predefined field from the Right Item list box.
Right
4.3.13.8
To define The text which will be printed on the left side of the footer. Default is <EMPTY> but you can choose any predefined field from the Left Item list box. The text which will be printed at the center of the footer. Default is the PAGE NUMBER, but you can choose any predefined field from the Central Item list box. The text which will be printed on the right side of the footer. Default is <EMPTY>, but you can choose any predefined field from the Right Item list box.
4.3.13.9
Description Select a printer from those configured. Check the boxes corresponding to the tables you want to print. Prints fields so that they can be viewed as a table. Click the Portrait or Landscape button to choose the page orientation.
To check if the view format you have selected fits the page to be printed, click the Test Width button. The Database Editor shows a message about the results obtained. If the view is too large and overrides the page borders, you can change the page layout.
201
3. Click OK to quit.
4.3.14 4.3.14.1
To show/hide Toolbar Edit bar Search bar Database Information on the Database
Select command View > Toolbars > Standard View > Toolbars > Edit View > Toolbars > Search View > Point Viewer in Arrays Management View > Database Info
4.3.14.2
With the default settings, when you drag the scroll box on the vertical bar, the status bar displays: the current line number the real name of the point, if the database is sorted by real name the symbolic name of the point, if the database is sorted by symbolic name
With command Tools > Settings > Workspace tab you can change the information which is displayed while scrolling the vertical and the horizontal bar, by checking the following boxes in the Scrollbar Informations area: Show Line Number on vertical scroll
SIMATIC IT Services V4.4 SP2 User Manual 202
Tag Management Show Field Identifier on vertical scroll Show Line Name on horizontal scroll
4.3.14.3
However the following limitations apply: you cannot display the Points Management and the Arrays Management windows concurrently (but you can display the Locreg Map and the Points Management windows at the same time). you cannot open two Points Management or Arrays Management windows at the same time (i.e. you cannot edit two databases at a time).
To restore the default position and size of the windows displayed in the client area when you access the Database Editor, use command Tools > Settings > Workspace tab > Keep Size and Position check box. To always maximize the windows displayed in the client area use command Tools > Settings > Workspace tab > Maximize Windows on Open check box.
4.3.14.4
The standard Microsoft Windows dialog box appears and you can choose the font type and size. The selected font is applied to all the Database Editor windows (Points Management, Arrays Management and Locreg Map).
4.3.14.5
Changing colors
The Database Editor uses various colours to show the status of points in the database grid. To change the default colours assigned by the system, use command Tools > Settings > Color tab. For more information on default colours, see Typographical conventions used in the database grid. In the Color tab choose one of the following items from the Category list box: TEXT READ-ONLY TEXT LOCKED TEXT LOCKED AND READ-ONLY TEXT BOOKMARK INFO MESSAGE TEXT INFO MESSAGE BACKGROUND ERROR MESSAGE TEXT ERROR MESSAGE BACKGROUND
203
Tag Management Then click a colour icon in the palette to assign a different colour to the selected items.
4.3.14.6
Customizing a view
To customize a view: 1. Select command Tools > Views Management in the Database Editor. 2. Click the Customize Views tab in the Views Management dialog box. 3. In the Views list box select the view you want to customize, either a DB Table view or a User view. 4. In the Fields list box select the field you want to move. 5. Click the Up/Down in the list. buttons to move the field respectively up or down
6. You can also change the following settings by entering new values in the relative fields:
Field Name Field Length Description Label which will be displayed in the column header of the database table. Width (in number of characters) of the column where the field is displayed.
7. Click the Apply button. The Close button allows you to exit the dialog box.
4.3.15 4.3.15.1
Automatic creation
Upon definition of a new Unit, you are prompted to associate a database and/or project name to the Unit. The database/project can be new, or can be selected from a list of existing names. If the database/project does not exist, you will be prompted to enter a number of parameters required to create the database, when you access the Database Editor or start the programming environment. These parameters differ according to the Unit type: Creating a database associated with a RTDS/IMC Unit Creating a database associated with a Real Time Data Engine Unit Creating a database associated with a CONTROL Unit
Manual creation
You can also create a new database independently of the definition of a Unit; in detail, you can: Create a database from Database Editor Create a database from Database Management
204
Tag Management
4.3.15.2
To Add the Comment (Secondary Language) field to the database. This field is used to insert an additional comment in a language other than that used in the Primary Comment. Option not implemented
Unicode
By confirming this request, a new database is created, and is assigned with both the name entered and the locreg selected during Unit definition. In the Editor Database, you can choose a new locreg to be assigned to the database, provided that the selected locreg is compatible with the current locreg. If this is not the case, some Points might be removed from the database.
4.3.15.3
4.3.15.4
To Add the Comment (Secondary Language) field to the database. This field is used to insert an additional comment in a language other than that used in the Primary Comment. Option not implemented
Unicode
By confirming this request, the program creates a new database, and assigns to it both the name entered and the locreg selected during Unit definition. In the Editor Database you can choose a new locreg to be assigned to the database.
4.3.15.5
205
Tag Management 2. The New database dialog box appears. Enter the following information:
Parameter Name Locreg Bilingual Comment Unicode Description Identifier to be assigned to the database. Alphanumeric string maximum 8 characters. Select the name of a system locreg or user locreg. If you select this check box, field "Comment (Secondary Language)" is added to the database. Option not implemented
Note You can also create a new database by importing a file in .CSV format. For more information, see Importing/exporting a database.
4.3.16
When the database has been created you can select command File >Open Database Editor and insert variables.
to access the
4.4
4.4.1
Locreg management
Defining and displaying the Locreg
When you create a new database, a specific locreg is assigned to each database. See also Database locreg details. However, if you open an existing database, SIMATIC IT Management Console uses the locreg associated with the current Unit. Therefore, if the database locreg and the Unit locreg are not the same, the program issues an error message and displays the locreg structures and the maximum number of registers used in the database, for each type. For more information, see Troubleshooting for different locregs.
206
Tag Management
4.4.2
4.4.3
4.4.4
To change the locreg: 1. Choose command Tools > Change Locreg in Points Management; the Locreg Selection dialog box lists all the system locregs and user locregs . 2. To assign a new locreg to the database click the User or System buttons: all the User or System locregs, respectively, are listed in the Available Locregs box. 3. Select a locreg in the list box: the current locreg map and the selected locreg map appear in the dialog box. 4. Click OK.
4.4.5
207
Tag Management
The Map Bar displays the register type, and, for that type, the total number of registers, the number of registers allocated (shown in red) and the number of free registers (shown in teal) To view the register map for a different register type, select the type from the Register Type list box.
The Locreg Summary window (which you can display by dragging up the button line of the window and can hide with command View > Locreg Summary) shows the number of all the registers configured for the current locreg, and the number of allocated and free registers for each type.
You can refresh the locreg map manually by pressing the F5 button. You can also configure the automatic refreshing of the locreg with command Tools > Automatic Refresh. In the Automatic Refresh dialog box check the Enable Automatic Refresh box and then enter the number of seconds in the range between 5 and 3600 in the Time Rate box.
Select commands Points Management or Arrays Management to return to the Points or Arrays Management windows, respectively.
4.5
4.5.1
To start the Database Management environment select the Tools > Database Management command in SIMATIC IT Management Console: the main window lists all the databases defined in the current Plant.
208
Tag Management
4.5.2
For each database, the Database Management window displays the following attributes: Name Type Size LastSaved Locreg Bilingual Auxiliary Files
To re-create the list of the Unit databases select command Window > Refresh
4.5.3
Database attributes
The following table summarizes the various database attributes and their meaning:
Description Database name For details, see Field: Type. Database dimension expressed in byte. Date and time when the database was last saved. Name of the locreg assigned to the database. For details, see Data Memory Area. Yes means that both primary and secondary language comments have been inserted when creating the database. No means that only primary language comments are available. For details, see Structure of the Points Database .
Auxiliary Files
Auxiliary files include: Two INDEX files with IDR and IDS extension. A FRR file used to handle free registers/bits. An ACQ file used to list the points acquired by the SIMATIC IT servers upon run-time update.
These files are automatically generated when you access the database from the Database Editor environment.
209
Tag Management
4.5.4
Field: Type
The database can be of different type. Depending on the database type the following labels are displayed:
Description Points database with .CDB extension. The Type field contains the number (in brackets) of the Units to which the database is associated. You can select command File > Details to list all the Unit names. If the field is empty, the database has not been associated to any Unit. File generated with a Merge command in Database Management, if the target file name already exists and the option Automatic Backup has been selected. You can restore the database selecting the command Database > Restore. File created with an Export command in the Database Editor. This file contains a block of records of the database from which it has been exported. Standard text file, generated by external Windows applications such as Excel, Access, etc. This file can be converted and imported to be opened as a standard database. Points database associated with a Real Time Data Engine Unit. Backup copy of a points database associated with a Real Time Data Engine Unit. Obsolete files version 2.03.xx (they are displayed with command Options >Show Obsolete) Obsolete Real Time Data Engine files version 2.03.xx (they are displayed with command Options > Show Obsolete)
Backup
Export .CSV
4.5.5
4.5.6
If you select a .CDB, .XDB or DE database, the Database Editor is started, whereas if you select a .CSV database, the Text Editor is started. You cannot open a database from Database Management if the file is already open in Database Editor or if it is a backup file.
4.5.7
Database-file types
The following table summarizes the various types of database files managed by Database Manager:
210
Tag Management
Type or extension .CDB .CSV Description Standard SIMATIC IT database. Standard text file, generated by external Windows applications (such as Excel, Access, ...) or through conversion. This file can be converted and imported to be opened as a standard SIMATIC IT database. File generated with an Export command in the Database Editor, which contains a block of records of the source database. Standard SIMATIC IT database associated with a Real Time Data Engine Unit. File generated with a Merge command, if the destination file already exists and you have checked option Automatic Backup.
Export
DE Backup
4.5.8
Renaming a database
DE databases cannot be renamed because they are automatically assigned the name of the Real Time Data Engine Unit.
To rename a database: 1. Select the database name from the list. 2. Select command File > Rename. 3. Enter the new database name in the To DB box. 4. Click OK.
The program also renames the auxiliary files (.FRR, .IDR, .IDS, .ACQ), if they exist.
4.5.9
4.5.10
Copying a database
You can copy a database to a new or to an existing database, thus overwriting the latter.
To copy a database: 1. Select the database name from the list. 2. Select command File > Copy .
Tag Management or select the To DE Unit button to overwrite the database associated to the DE Unit selected. 4. Click OK.
The program also performs the following operations: copies the auxiliary files (.FRR, .IDR, .IDS, .ACQ), if they exist. creates the auxiliary files, if you overwrite a database which does not have these files. removes the auxiliary files, if you overwrite a database which does have these files, whereas the source database does not. copies the user locreg, if a DE database is copied to another DE database or to a .CDB database. copies the user locreg, if a .CDB database is copied to a DE database
4.5.11
Removing a database
Select command File > Delete in Database Management to remove the selected database. You can remove the whole database or only the auxiliary files (Auxiliary Files Only check box). In this case you can choose to remove: Index files (FRR, IDR, IDS extensions) Acquisition file (ACQ extension)
4.5.12
Reallocating registers
Select command Database > Packed reallocation in Database Management to sort the selected database, and perform the following additional operations: Pack the records Remove unused spaces by renaming registers in order to optimize their use (e.g. records RI0 REC1 and RI5 REC2 would be transformed into RI0 REC1 and RI1 REC2)
4.5.13
Importing/exporting a database
To import a database select command File > Import in Database Management. In the Database to be Imported dialog box select the database to be imported, from any local or remote Plant, or from a floppy disk: SIMATIC IT Database (with extension CDB or RDB). The locreg associated with the database is automatically imported. SIMATIC IT Export Database (with extension XDB), Comma delimited file (with extension CSV) Locreg file (with extension LCG)
By selecting command File > Export, you can choose that the database is copied to drive a: or b:. The database can be exported with its auxiliary files and with the user locreg associated with the database, provided that the corresponding boxes (Auxiliary Files and User Locreg). have been checked.
212
Tag Management
4.5.14 4.5.14.1
For a detailed description of the keywords available for the other database tables, see Structure of the Points Database.
4.5.14.2
Keyword: Symbolic
Symbolic identifier of the database variable. Alphanumeric string up to 15 characters. This field is mandatory.
4.5.14.3
Keyword:Type
Variable type. Allowed values (can be entered both with uppercase and lowercase letters): I = integer B = boolean (logical) F = float (real) C = character This field is mandatory. It can be omitted only for array elements. The register type can be indicated next to the variable type. If this data is omitted, type P (Permanent) is assumed by default. P or blank = permanent R = not permanent A = alarm B = backup I = input O = output
4.5.14.4
Keyword: Register
Register to which the variable is to be associated. This field is optional. If no register is specified, the program will automatically allocate a new register. But if you indicate a register number, the record will be locked in the SIMATIC IT database.
4.5.14.5
Keyword: Comment1
First comment of the variable. String up to 40 characters. Optional.
4.5.14.6
Keyword: Comment2
Second comment of the variable. String up to 40 characters. Optional. If the database is monolingual this field must not be used.
4.5.14.7
Keyword: Description
Letter which indicates the type of variable:
Identifier
Description
214
Tag Management
empty Vn Ei Bx BxEi I IEi scalar array with dimension n element position within the array position of the bit within the integer variable position of the bit within the i-th integer element of an array integer which overlaps the logic array integer which overlaps the logic array starting from the i-th word
Records describing an 'element' need to be specified only when one or more fields (e.g. symbolic name, comment, etc.) differ from the default array values. Lines containing the description of array elements must be inserted immediately after the line describing the array header. Lines containing the description of bits must be inserted immediately after the line describing the integer element. Field Type can be omitted for array elements.
4.5.14.8
4.5.14.9
Converting a database
When converting a database, you can perfom the following types of conversion: conversion of a SIMATIC IT database (.CDB) into a .CSV file; conversion of a .CSV file into a SIMATIC IT database (.CDB); conversion of the format of a SIMATIC IT database (.CDB).
215
Tag Management
Parameter Lock Registers Comment Highlight Description Check this box if registers have NOT to be re-allocated during conversion Check this box if comment fields (primary and/or secondary language) have to be placed at the beginning of each record (this option is useful, for instance, for translating comments quickly)
3. Type a string, which will be used to quickly search for the .CSV files generated by this conversion, in the Keyword box. The default string is the database name. 4. Enter in the Comma Separator box a character (NOT alphanumeric) that will be used as a separator between the different record fields. 5. Select the Tables button to choose the tables to be read from the database and converted in the destination database. 6. Click the OK button. 7. At the end of the conversion the CSV Destination File Names dialog box appears. Please note that only boxes relative to tabs available in the database are enabled. Insert the name of relative tabs. 8. Click the OK button.
If errors are found, at the end of the conversion, the program asks for a name for a file where records skipped due to errors, are automatically inserted
1. Select Database > Convert in Database Management and enter the following parameter:
Parameter Pack Bilingual Comment Description Check this box if registers have to be re-allocated during conversion Check this box if you want the format with bilingual comment
2. In the Locreg drop down list box select the locreg to associate to the new database. 3. Select the Tables button to choose the tables to be read from the database and converted in the destination database. 4. Click the OK button.
Important If you want abort the operation select the Abort button in the Working progress dialog or select the command Database > Stop Conversion.
216
Tag Management
Select Name To DE Unit To Enter the Identifier of the target database To overwrite the database associated to the Real Time Data Engine Unit selected. If you click this button, you can only choose the Bilingual Comment option, if required. All other options are set by the program.
If errors are found, at the end of the conversion, the program asks for a name for a file where records skipped due to errors (which are not notified) are automatically inserted
To perform conversion with Main tab: 1. Select a CSV file from the Database Management window. 2. Select command Database > Convert 3. The Convert CSV File dialog box appears. Enter the .CSV files to be converted in one of the following ways: Type their names in the Main, RTDS, AM, PDA, GUI edit boxes, respectively. Select them from the list and click the arrow button to move them to the Main, RTDS, AM, PDA, GUI edit boxes, respectively.. Perform a guided search by using a keyword (button Automatic Selection Based On) .
4. In the Locreg drop down list box, select the locreg to be associated to the new database. 5. Check Pack box if registers have to be re-allocated during conversion 6. Check Bilingual Comment box if the new database must include/contain the "Comment (Secondary Language)" field 7. Click the OK button.
Important If you want abort the operation select the Abort button in the Working progress dialog or select the command Database > Stop Conversion.
217
Tag Management
To Enter the Name of the target database To overwrite the database associated to the Real Time Data Engine Unit selected. If you click this button, you can only choose the Bilingual Comment option, if required. All other options are set by the program.
9. Click OK.
Important You can save records skipped due to errors in .CSV files that correspond to the source tab.
To perform conversion without Main tab: 1. Select a CSV file from the Database Management window. 2. Select command Database > Convert .
3. The Convert CSV File dialog box appears. 4. Enter the .CSV files to be converted in one of the following ways: Type their names in the RTDS, AM, PDA, GUI edit boxes, respectively. Select them from the list and click the arrow button to move them to the RTDS, AM, PDA, GUI edit boxes, respectively. Perform a guided search by using a keyword (button Automatic Selection Based On)
5. Select the database into which you want to insert the tabs to be converted from the Database Name list box. 6. Check the Overwrite Tables box to overwrite the tabs that already exist in the reference database. 7. Click OK.
Important If you want abort the operation select the Abort button in the Working progress dialog or select the command Database > Stop Conversion.
Tag Management
Important You can save records skipped due to errors in .CSV files that correspond to the source tab.
4.5.15 4.5.15.1
To perform a database merge: 1. Select the database you want to merge in Database Management. 2. Select command Database > Merge . The draft cursor appears.
3. Select with the draft cursor the destination database. 4. Double click on it or select the command Database > Start Merge.
Important If you want abort the operation select the Abort button in the Working progress dialog or select the command Database > Stop Merge.
If errors are found, at the end of the conversion, the program asks for a name for a file where records skipped due to errors (which are not notified) are automatically inserted
4.5.15.2
Register Reallocation
During the merge process, the program performs consistency checks and re-allocates some variables of the database, if required.
219
Tag Management real name; attribute (scalar, array, array element, array size).
The following general rules will be applied in the event that conflicts between two records should occur: Same symbolic name and attribute, different registers but with same type Different symbolic name or attribute, but same real name Same symbolic name Variable available only in the database to be imported
Same symbolic name and attribute, different registers but with same type
In this case the Reference Database takes priority. If the record to be imported is locked or the real name refers to an I/O register (II, OI), an error message is generated.
Example
Database Field Symbolic name Real name Attribute Reference DB Delta RF100 Scalar DB to be Imported Delta RF108 Scalar
In the Destination Database the DELTA variable will be associated with register RF100.
4.5.15.3
Example
Variables in the Database to be Imported
220
Tag Management
Symbolic Name VL_RAA VL_RCC VL_RDD Register RI0 RI1 PF1 Locked NO YES YES
Variable VL_RCC cannot be added to the Destination Database since the corresponding register (RI1) is locked and is already used by another variable (VL_RKK) in the Reference Database. Variable VL_RDD is locked but can be added to the Destination Database since register PF1 is not used by any variable in the Reference Database.
4.5.15.4
Reallocation rules
The following rules will be applied for register reallocation: 1. If not otherwise specified, any variable will be reallocated in a register of the same type as the variable register, beginning from an offset which corresponds to the highest register number occupied in the Reference database plus one. The record will not be locked. 2. If you specify the register type (e.g. PI), the new record will be automatically allocated and will be locked. 3. If you specify the register name (e.g. PI41), the new record will be automatically created and locked. 4. For logical variable allocation the usual rules are applied, except in the case that the logical variable is associated to the bit of a register defined also as integer variable. In this case the logical variable will be reallocated in the integer register used to reallocate the integer variable and the corresponding bit.
4.5.15.5
VMASK V_ON
RI40 RI40.[5]
221
Tag Management If all RI registers up to 999 are occupied in the Reference Database, reallocation will proceed as follows:
VMASK V_ON RI1000 RI1000.[5]
In the event that the integer variable is defined also in the Reference Database, conflicts might arise. In this case the integer variable register and the corresponding bits of the Reference Database are maintained.
Reference Database VMASK V_ON V_OFF RI500 RI500.[2] RI500.[3] Database to be Imported VMASK V_ON HI_LEV RI460 RI460.[2] RI460.[3]
4.5.15.6
In either case the program will issue a warning message and will associate the Reference Database Locreg to the Destination Database.
4.6
4.6.1
Database Browser
Overview of the Database Browser
The Database Browser is a general-purpose tool, which can be started from any SIMATIC IT application to quickly search for variables defined in the database of a specified Unit.
When you start the Database Browser from any SIMATIC IT environment the DATABASE NAME: database name dialog box appears. This dialog box lists the names of all the variables (i.e. points) defined in the current database. For each point, the following attributes are displayed:
SIMATIC IT Services V4.4 SP2 User Manual 222
To display all the tables and fields of a point, click the Viewer button. For a detailed description of each table, see Structure of the Points Database.
To expand the array on which you are positioned and list all its elements, click the button Expand. To restore the default view, click the button Collapse.
By default the database records are listed in ascending order by the SYMBOLIC NAME field (Sorting order: Symbolic). All the scalar variables, the array headers and the array elements with Symbolic Name other than the corresponding array name are listed (Display format: Normal).
4.6.2
4.6.3 4.6.3.1
Standard searches:
Searching by Point Type Searching by Symbolic Name
The results of a standard search are usually displayed in Normal format. The status bar shows the criteria applied to the current search. These codes are displayed in black if the Normal display format is currently applied, in red if the Extended format has been chosen.
Advanced searches:
Searching by Comment Searching by Record Type Searching by RTDS Fields
SIMATIC IT Services V4.4 SP2 User Manual 223
4.6.3.2
4.6.3.3
4.6.3.4
Searching by Comment
To search by Comment: 1. Click button Filter in the DATABASE NAME: database name window; the Filter Selection dialog box appears. 2. Click the Advanced button. The Advanced Filter dialog box appears. 3. Enter a string in the Filter on Comment box. You can use wildcards ? and *. For example, type ? to find any single character (C?MMENT), or type * to find any string of characters (COMME*). 4. Click OK to return to the DATABASE NAME: database name window. 5. Click the Search button. The records found are listed in the window.
Search is performed on field "Comment (Primary Language)" or "Comment (Secondary Language)" according to the option selected with command Configuration > System > Workstation Configuration tab in SIMATIC IT Management Console (area Comment Display, button First comment or Second comment).
4.6.3.5
224
Tag Management 3. In the Filter on Type area check the Scalar and/or Vector boxes to find all scalar and/or array records. 4. Click OK to return to the DATABASE NAME: database name window. 5. Click the Search button. The records found are listed in the window.
4.6.3.6
To restore the default values for all the fields (character *), click the Disable button
4.6.3.7
Searching by Configuration
To search by Configuration: 1. Click button Filter in the DATABASE NAME: database name window; the Filter Selection dialog box appears. 2. Click the Advanced button. The Advanced Filter dialog box appears. 3. Check the Filter on Configuration box. 4. Click the AND/OR option button and check one or more tables (AM, GUI, PDA, RTDS). For example, check OR, AM and PDA to find all records with AM or PDA table. Check AND, AM and RTDS to find all records with AM and RTDS table. 5. Click OK to return to the DATABASE NAME: database name window. 6. Click the Search button. The records found are listed in the window. 7. To display the tables of the records, click the Viewer button.
Note: When the RTDS check box is selected, you can specify search values in the fields of the Filter on RTDS Fields area
4.6.3.8
225
Tag Management
4.6.3.9
4.6.3.10
With Real sorting order, the following information is displayed: all scalars all array elements
Note Keep in mind that, when the Symbolic sorting order is chosen, records are listed in ascending order by SYMBOLIC NAME. Instead, when the Real sorting order is chosen, records are listed in ascending order by REGISTER NAME.
4.6.3.11
This display format is supported only if you choose the Symbolic sorting order, in which records are listed in ascending order by SYMBOLIC NAME.
4.6.3.12
226
Tag Management
This display format is supported only if you choose the Symbolic sorting order, in which records are listed in ascending order by SYMBOLIC NAME.
227
5.1
5.1.1
Overview
What is SIMATIC IT Real Time Data Server?
SIMATIC IT Real Time Data Server is a software layer building up a bridge between SIMATIC IT components and field devices. It manages a common data memory for all data coming from the field, making it available to all upper-level components.
Configuring
Tags to be handled by SIMATIC IT components must be mapped to RTDS "points", whose definition is stored in a proprietary Database, also known as "Data Dictionary".
Initializing
RTDS reads the configuration of these points from the Database when it is started, and dynamically updates the memory area. If the configuration of some RTDS points is later updated from the Database Editor, it is possible to download these changes to the SIMATIC IT Real Time Data Server, without stopping it.
Reading
RTDS polls the device drivers and updates the values stored in the memory area. SIMATIC IT components read updated tag values from this memory area and deploy them for process management tasks.
Writing
SIMATIC IT components can set the values of tags at any time, by simply writing the new value to the memory area. RTDS forces these values to the device drivers. The Real Time Data Server can manage Integer, Float and Character registers.
228
5.1.2
3. Select command Unit > Real Time Data Server > Start RTDS. SIMATIC IT Real Time Data Server is started.
Important This command is enabled only if you have selected an RTDS/IMC Unit and if the computer name assigned to the logical Unit is the same as the current workstation name.
SIMATIC IT Real Time Data Server has no user interface. To check if RTDS is running (two RTDS instances cannot be started concurrently on the same workstation) view the Management Console Tasklist in the System Toolbox. For more information, see Management Console Tasklist.
SIMATIC IT Services V4.4 SP2 User Manual 229
Tip For more information, see manual Managing Communications with External Devices Users Guide.
5.1.3
Polling class Class 0 ("on request") Class 1 Class 2 Class 3 Class 4 Class 5 Class 6 Class 7 ("high priority")
Polling interval Not read 1 sec 2 sec 6 sec 10 sec 30 sec 60 sec 500 ms
Class 1 / 2 / 3 / 4 / 5 / 6
RTDS reads the point values cyclically according to the time interval specified by the class.
Class 0
This class specifies that the point value is not read cyclically, rather its value is acquired only when a component issues a specific read request. When a component requests to read a value, the point class is dynamically changed and set to the appropriate polling class e.g., if a component needs to read a tag value every 6 seconds, RTDS will set the polling class to 3). The behaviour of class 0 points can be configured by the user in order to be optimized for the users specific process needs.
Important SIMATIC IT Real Time Data Engine and IMC do not support dynamic class change management. Therefore, points managed by these components must be configured with classes different from 0.
SIMATIC IT Services V4.4 SP2 User Manual 230
Class 7
It is a hidden class and cannot be configured by the user. It is used to exchange data on highpriority queues. It causes a class change to happen when values are read from the ODS or GUI environments.
5.1.4
Remarks
There is no "general rule" to decide which is the most appropriate polling class for a variable. Generally speaking, the class must represent a meaningful refresh time for each variable, according to the process needs.
5.1.5
231
Remarks
In general, if the refresh rate configured for a PDA/AM point is less than the RTDS polling class defined in the Data Dictionary, a process is started which causes the tag to be managed by the SIMATIC IT Real Time Data Server driver in a polling class associated with a time value that is less than or equal to the value set by PDA / AM component.
5.1.6
By default, each element of an array is written independently of any other array element.
However, several drivers (e.g., the OPC Client driver) allow you to configure an array in such a way that all its elements are written to RTDS, even if just the value of one element changes. To do this, you must enter an appropriate keyword in the UserField3 field of the Data Dictionary. It is strongly recommended that you refer to the online documentation of each driver for more information.
5.1.7
Installing and Configuring the SIMATIC IT Real Time Data Server Drivers
The following RTDS drivers are supplied in order to exchange data with the relevant field devices, via the Real Time Data Server memory area. MODBUS - MODBUS PLUS Driver OPC Client Driver Siemens 3964R Driver
If you need to communicate with other field devices not listed above, you can create your own drivers.
Tip
232
5.1.8
Data exchange between SIMATIC IT Real Time Data Server and the RTDS interfaces
5.1.9
To update SIMATIC IT Real Time Data Server: 1. Select command Configuration > Real Time Data Server from SIMATIC IT Management Console. The RTDS tab of the Server Configuration window is displayed. 2. If necessary, connect to the SIMATIC IT Real Time Data Server instance you want to update button. In a hot-backup configuration, this command allows you to by clicking the connect only to a master RTDS. 3. Click the button on the toolbar.
4. If RTDS is successfully updated, a detailed description of the operations performed during the update transaction (e.g. number of added, changed and deleted points) will be reported in a log file. To view this log file click the 5. Otherwise an error message will appear. button on the toolbar.
Note: The number of points currently loaded in the SIMATIC IT Real Time Data Server can be displayed by clicking the button on the toolbar and then the More Info button.
233
5.1.10
Database locked.
Online update cannot be performed since the database is locked (either because it has been opened or, for example, due to file replication). Close the Database Editor or wait for a few minutes and then retry.
Generic error
A generic error has occurred. Read the private RTDS log file or the interface log file.
Update in progress
The server is updating, but another Update request has been issued. Retry later when the current update is completed.
234
5.2
5.2.1
Each locreg handles both User Registers and System Registers , which can only be updated from SIMATIC IT Management Console. SIMATIC IT Real Time Data Server supports Integer, Float and Character data types.
The variables (points) used by all SIMATIC IT applications are physically represented by these memory registers. The association between the register name and the symbolic name of a variable is achieved by creating the Points Database.
5.2.2
Integer
The size of an Integer register is 16 bits (1 word). Integer registers can be handled in integer, hexadecimal and binary format. You can access a single bit of an integer register in order to handle boolean variables.
Float
The size of a Float register is 32 bits (2 words). Float registers can be handled only as <integer part>.<decimal part>.
Character
The size of a Character register is 8 bits (1 byte). Character registers can be handled in alphanumeric format.
5.2.3
235
Real Time Data Server RTDB_0 RTDB_1 RTDB_2 RTDB_3 RTDB_4 RTDB_5
Each system locreg can be used to create custom User Locregs by changing the number of Integer, Float and Character registers in the areas reserved for I/O and user registers (P and F registers). SIMATIC IT Real Time Data Server Drivers can handle only I/O variables (FI, FF, FC where F stands for field). User registers (P) can be used by the IMC module as internal variables for storing program variables.
5.2.4
Type I/O
Locreg RTDB_0
Register FC FF FI Number 13504 8000 10000
5.2.5
Type I/O
Locreg RTDB_1
Register FC FF FI Number 1000 750 800 2000 8500 5500
User Registers
PC PF PI
5.2.6
Type I/O
Locreg RTDB_2
Register FC FF FI Number 1000 1400 1000 2000 8000 5000
User Registers
PC PF PI
236
5.2.7
Type I/O
Locreg RTDB_3
Register FC FF FI Number 2000 3400 2000 1000 6000 4000
User Registers
PC PF PI
5.2.8
Type I/O
Locreg RTDB_4
Register FC FF FI Number 3000 5400 4000 1000 3500 2500
User Registers
PC PF PI
5.2.9
Type I/O
Locreg RTDB_5
Register FC FF FI Number 4600 8000 8000
5.2.10
User Registers
User Registers are subdivided according to the Locreg type: Registers for RTDS Locregs Registers for P.M.C. Locregs
5.2.11
Description Used by SIMATIC IT applications to store internal variables Used to exchange data with non-proprietary control networks
237
P, F and B registers can be Integer, Float or Character. Therefore the following register types are available:
Register Type FI FF FC PI PF PC BI BF BC Description Exchange Integer data with external devices (non-proprietary control networks) Exchange Floating point data with external devices (nonproprietary control networks) Exchange alphanumeric data with external devices (nonproprietary control networks) Internal integer variables Internal Floating point variables Internal Alphanumeric variables Integer variables to be aligned on the slave RTDS Floating point variables to be aligned on the slave RTDS Alphanumeric variables to be aligned on the slave RTDS
The number of these registers can be changed by the user (up to 4Kb), only for User Locregs , using the Locreg tool supplied in SIMATIC IT Management Console.
5.2.12
Description The values stored in these registers are maintained even after power-off, thanks to the presence of a buffer battery. The values stored in these registers are cancelled upon system startup, unless a different configuration has been chosen.
P, and R registers can be Integer, Float or Character. Therefore the following register types are available:
Register Type RI RF RC PI PF PC Description Non-permanent Integer registers Non-permanent Floating Point registers Non-permanent Character registers Permanent Integer registers Permanent Floating Point registers Permanent Character registers
The number of these registers can be changed by the user, only for User Locregs, using the Locreg tool supplied in SIMATIC IT Management Console.
SIMATIC IT Services V4.4 SP2 User Manual 238
Tip For more information on P.M.C. registers and memory areas, see the software manual of the P.M.C. family you want to use.
5.2.13
System Registers
System registers are used for special purposes such as troubleshooting, reading system date and time, etc.
Tip For more detailed information on how user programs can use these registers, see manual Control Environment Programming Users Guide
5.3
5.3.1
Real Time Data Server Create new user locregs; Modify a user locreg; View the registers of a locreg.
5.3.2
3. The Class Selection dialog box appears. Select the System Locreg you want from the list box and click OK. 4. The Locreg Configuration window shows the following information about the selected locreg:
Parameter Locreg Class Name Device Type Device Sub Type Operating System Version System Library Segment Address Iter System Library Name Block Diagram System Library Name Ladder System Library Name Description Name of the system locreg to be used as a model to create the user locreg Type of the CPU assigned to the Unit (RTDS or P.M.C. series) Reserved for future use Version of the operating system installed (only for P.M.C.) Address of the segment containing the system modules stored in the system libraries (only for P.M.C.) Name of the Iter system library Name of the Block Diagram system library Name of the Ladder system library
5. If you have chosen an RTDS locreg, see If you have selected a RTDS Locreg. 6. If you have chosen a P.M.C. locreg, see If you have selected a P.M.C. Locreg. 7. Select command File > Save or Save as to save the locreg you have modified with a name other than the system locreg. User locregs are saved in directory \Plant Name\DATABASE. 8. Select command File > Exit to quit the Locreg environment.
5.3.3
Real Time Data Server 3. Modify the number of bytes reserved for each type according to your needs (1 word = 16 bit, 1 double word = 32 bit, 1 byte = 8 bit).
5.3.4
Parameter Type
Type
Description Type of Locreg Name of the memory map file Memory used (in Words) for the Alarms (AI registers)
5.3.5
Field Memory
This tab contains information relative to F registers.
Description The memory used (in words and bytes) by integer/logic type variables The memory used (in double words and bytes) by real type variables The memory used (in bytes) by character/string type variables The total memory used by all variable types
5.3.6
User Memory
This tab contains information relative to P registers.
Description The memory used (in words and bytes) by integer/logic type variables The memory used (in double words and bytes) by real type variables The memory used (in bytes) by character/string type variables The total memory used by all variable types
5.3.7
Backup Memory
This tab contains information relative to B registers. A small memory area is reserved for these registers (maximum 4 Kb).
Description The memory used (in words and bytes) by integer/logic type variables The memory used (in double words and bytes) by real type
241
5.3.8
3. Modify the number of bytes reserved for each type according to your needs (1 word = 16 bit, 1 double word = 32 bit, 1 byte = 8 bit).
5.3.9
Permanent Memory
This tab contains information relative to P registers.
Parameter Integer/logic Variables Real Variables Char/String Variables Number of free bytes Number of available bytes
Description The memory used (in words and bytes) by integer/logic type variables The memory used (in double words and bytes) by real type variables The memory used (in bytes) by character/string type variables The number of free bytes The available memory
5.3.10
Parameter Integer/logic Variables Real Variables Char/String Variables Number of free bytes Number of available bytes
Description The memory used (in words and bytes) by integer/logic type variables The memory used (in double words and bytes) by real type variables The memory used (in bytes) by character/string type variables The number of free bytes The available memory
242
5.3.11
3. The Locreg Selection dialog box shows by default the names of all the user locregs. SYSTEM LOCREGS CANNOT BE EDITED BY THE USER. 4. Select the user locreg you want to update from the list and click OK. 5. The Locreg Configuration window shows the following information about the selected locreg:
Parameter Locreg Class Name Device Type Device Sub Type Operating System Version System Library Segment Address Description Name of the system locreg to be used as a model to create the user locreg Type of the CPU assigned to the Unit (RTDS or P.M.C. series) Reserved for future use Version of the operating system installed (only for P.M.C.) Address of the segment containing the system modules stored in the system libraries (only for P.M.C.) Name of the Iter system library Name of the Block Diagram system library Name of the Ladder system library
Iter System Library Name Block Diagram System Library Name Ladder System Library Name
6. If you have chosen an RTDS locreg, see If you have selected a RTDS Locreg. 7. If you have chosen a P.M.C. locreg, see If you have selected a P.M.C. Locreg. 8. Select command File > Save or Save as to save the locreg you have modified. User locregs are saved in directory \Plant Name\DATABASE. 9. Select command File > Exit to quit the Locreg environment.
5.3.12
3. The Locreg Selection dialog box shows by default the names of all the user locregs. To display system locregs click the System button in the Type area. 4. Select the user locreg you want to view from the list and click OK. 5. The Locreg Configuration window shows the following information about the selected locreg:
243
6. Select command File > Display. The Locreg Display dialog box shows the following information:
Parameter Name Mem. Type Type Address (Hex) Address (Dec) Number Description Symbolic name of the register Memory type of the register (alarm, permanent, I/O, system) Register type (Integer, Float, Character) Starting address in hexadecimal format Starting address in decimal format Number of available registers
7. Click Exit to return to the Locreg Configuration window. 8. To print the locreg displayed, select command File > Print dialog box for setting printing parameters appears. . The standard Windows
5.4
5.4.1
The behaviour of SIMATIC IT Real Time Data Server can be configured in offline mode, such as far as the following features are concerned: The interfaces to the drivers The size of RTDS queues 0 class points management Oneshot reading Quality flags management
SIMATIC IT Services V4.4 SP2 User Manual 244
5.4.2
Notes You can configure up to 16 drivers. You can select the command only if you have selected a USER UNIT - RTDS/IMC or a USER UNIT Real Time Data Engine logical Unit.
Procedure
1. In SIMATIC IT Management Console, click the 2. Select an RTDS or RTDEM Unit. tab.
3. Select command Unit > Real Time Data Server (or Real Time Data Engine) > RTDS Offline Configuration or Expand the Unit tree, then expand the Management item and double click the RTDS icon. Offline Configuration 4. In the Real Time Data Server dialog box, click the Real Time Data Server Offline Configuration tab. Enter the following data:
In the box Interface Name Executable Name Enter the name of the driver used to exchange data with external devices. This name is defined when you install the driver. the name of the driver executable program (without extension). This file has been copied by the driver setup program to the SIMATIC IT system directory, and will be executed upon SIMATIC IT Real Time Data Server start-up. To find out the name of the executable program, see the Installation and Configuration documentation of the relevant RTDS driver. (Optional) the name of the directory to which the driver executable program has been copied.
Interface Location
Note: The Interface Name is inserted also in the Interf. field of the Points Database associated with the RTDS/IMC Unit. This name identifies the type of the external device relevant for each variable.
For example, if you use the Siemens SINEC H1 interface, the program creates the SINEC Interface Name. A progressive number is added to the string if you install more than one instance of the same interface (e.g. SINEC1, SINEC2, SINEC3).
245
Real Time Data Server 5. Check the Save User Registers box to save the values stored in the permanent registers (P) when SIMATIC IT Real Time Data Server is deactivated and restore them when RTDS is re-started. 6. Check the Save Backup Registers box to save the values stored in the backup registers (B). 7. Click the Add button. The names of the driver, the executable program and the directory are displayed. Check the Read-only box if you want the driver only to read from and not to write on the RTDS. Note: Click buttons Change and Delete to modify or remove the selected driver, respectively.
Important If you plan to use the PDE Programming Development Environment to process the data acquired from external devices, you must check the Start Integral Multifunction Controller box. In this way the IMC module will be executed upon SIMATIC IT Real Time Data Server start-up (this option is available only for RTDS/IMC Units).
5.4.3
The size of these queues can be customized by the user, as follows: 1. Select command Unit > Real Time Data Server (or Real Time Data Engine) > RTDS Offline Configuration or Expand the Unit tree, then expand the Management item and double click the RTDS icon. Offline Configuration 2. In the Real Time Data Server dialog box click the Advanced tab. 3. Click the Queue tab. Configure the queues by entering the number of queue items, which can be stored in each of them. This value must be:
High Priority Low Priority Interfaces 2000 up to 8000 8000 up to 20000 1000 up to 20000
246
Since these queues have a limited size, it is important to monitor their occupation and the relative peaks. This operation can be performed from the RTDS Online Configuration environment.
Note: The currently configured size of RTDS queues can be viewed by clicking the on the toolbar and then the More Info button.
button
5.4.4
Peak occupation Peak counter Average occupation Occupation > 90% counter
Maximum occupation reached in this queue How many times the peak has been reached Average occupation of the queue How many times the average has reached 90%
5.4.5
Description Since a certain time usually elapses before tag values are actually read, during this interval some SIMATIC IT components display a series of # in place of the point value. Check this box not to display the "read error" string which appears when loading class zero points. Select On value change to send class zero points to the interface when their value changes in comparison to the previous one. This is the default configuration.
247
5.4.6
As of version 3.01, SIMATIC IT Real Time Data Server can be configured in order to write a value to the device driver, even if the value to be written is the same as the one currently stored in the Real Time Data Base memory area. This approach is useful for points in class 0, which are not polled: the device driver might have modified the tag value, but, since this value has not been read by RTDS, as no application requested it, the Real Time Data Base memory area contains a value which is not aligned with the current value on the device driver. With this configuration new values written by a SIMATIC IT component or an application to the Real Time Data Base memory area can be sent to device drivers independently of the current values stored in SIMATIC IT Real Time Data Server.
5.4.7
5.4.8
248
Real Time Data Server Expand the Unit tree, then expand the Management icon. Offline Configuration item and double click the RTDS
2. In the Real Time Data Server dialog box click the Advanced tab. 3. Click the General tab. Check the Enable quality management box and select OK.
5.4.9
5.4.10
Quality information for a variable can be only displayed from the ODS and SIMATIC IT Graphic User Interface components.
Important Quality flag management must be enabled in order for SIMATIC IT Real Time Data Server to manage quality values.
Description Integer value, not masked Quality value. Value describing the quality status. Detailed description of the quality status. Depends on the quality value, which can be GOOD, BAD, UNCERTAIN. Value providing useful diagnostic information.
249
5.4.11
For a detailed description of each quality flag, please refer to the "The OPC Data Access Custom Interface Specification" document, which can be downloaded from the www.opcfoundation.org web site.
5.4.12
SSSS 0 1 2 3 4 5 6 7 8-15
Define Non-specific Configuration Error Not Connected Device Failure Sensor Failure Last Known Value Comm Failure Out of Service N/A
For a detailed description of each quality flag, please refer to the "The OPC Data Access Custom Interface Specification" document, which can be downloaded from the www.opcfoundation.org web site.
5.4.13
Define Non-specific Last Usable Value N/A Sensor Not Accurate Engineering Units Exceeded Sub-Normal N/A
250
Real Time Data Server For a detailed description of each quality flag, please refer to the "The OPC Data Access Custom Interface Specification" document, which can be downloaded from the www.opcfoundation.org web site.
5.4.14
QQ 0 1 2 3
Description Value is not useful for reasons indicated by the Substatus. The quality of the value is uncertain for reasons indicated by the Substatus. Not used by OPC The Quality of the value is Good.
5.4.15
LL 0 1 2 3
Description The value is free to move up or down The value has pegged at some lower limit The value has pegged at some high limit. The value is a constant and cannot move.
5.5
5.5.1
For what concerns register management. There exist differences acoording to the type of register for which you want to maintain synchronization between master and slave RTDS.
5.5.2
251
Real Time Data Server F (Field) registers are not kept synchronous by the system because their synchronization is guaranteed by field devices.
5.5.3
Purpose
The DB-Align executable (dbalign.exe) was specifically developed to permit the alignment of the dbfiles from the server to the clients that have "image" plants, i.e. which support pairs of RTDS in Backup.
Location
It is installed by default in C:\ICUBESYS\BIN.
Behaviour
This application must be launched manually on the client inside the "image" plant that you want to maintain aligned. If no "image" plant exists, the application fails (however, a private log file named DBALIGN.LOG keeps trace of the programs activities and lists any reasons for stops or warnings). After being launched, the DB-Align application examines the list of defined RTDS Units, searching for one the associated device of which corresponds to the computer name of the machine on which the program is running. If more than one such Unit is present, the application signals this in the log file, but nonetheless considers only the first of such Units that it detects. After finding the Unit associated to the appropriate workstation, the program determines the name of its associated database and corresponding locreg file and then copies the files from the master server found to the local PC. If there is no Unit associated to the appropriate workstation, then the DB-Align program searches for a Unit associated to the workstation (if one exists) on which RTDS runs in backup in relation to the machine considered. If such a Unit is found, the program determines the name of the database and locreg and then copies them. If no such Unit is found, then the program interrupts its execution. Once the Copy operation is completed, an alert message informs the user as to the conclusion of the process and its outcome.
5.5.4
Prerequisites
The application must be configured as a Custom application on the clients where there exists an "image" Plant. The workstation must be logged on to a remote Plant. Local replication of files must be active. There exists a RTDS Unit configured to run on the workstation.
SIMATIC IT Services V4.4 SP2 User Manual 252
Real Time Data Server No other instance of the DB-Align application must be running.
Procedure
1. Logon to the "image" Plant. 2. Add the dbalign.exe application to the Client menu as a Custom application in Management Console. 3. Operating in Management Console, launch the application from the Client menu.
5.6
5.6.1
Important Editing the aforementioned .INI files must be performed solely by expert users.
File COMMVIEWER.INI File GPSSOCK.INI File ITFLIB.INI File MENU.INI File NCSERV.INI File QBRIDGE.INI File RTDB.INI File USERBK.INI
5.6.2
COMMVIEWER.INI
[DATA* Max_Data_Loaded= N
N indicates the maximum number (set as default) of Audit Trail records loaded in the Viewer memory.
5.6.3
GPSSOCK.INI
Important Before performing any operations on this file, we recommend that you contact Siemens A&D AS MES Technical Support Service for any additional information.
[REGISTRATION]
SIMATIC IT Services V4.4 SP2 User Manual 253
If the key ComMode under the section [COMUNICATION_MODE] is GPS_RQM and the value of NotRegNetChange is TRUE, then refresh of the units visualization in the Management Console will not happen, when you update the net configuration. If the key ComMode under the section [COMUNICATION_MODE] is GPS_ONLY_PIPE, then the refresh of the units visualization in the Management Console will never happen, when you update the net configuration.
If the key ComMode under the section [COMUNICATION_MODE] is GPS_RQM and the value of UseFFSYS is NO, then SIMATIC IT uses the network file system of the operating system for the I/O operations on files; if the value is YES, then the File System Server provided by SIMATIC IT Sevices is used. This final guarantees the support of the Ethernet redundancy realized by means of RIS. If the key ComMode under the section [COMUNICATION_MODE] has the value GPS_ONLY_PIPE, then SIMATIC IT always uses the network file system of the operating system for the I/O operations on files.
5.6.4
ITFLIB.INI
This file must be edited in the RTDB sub-directory of the central plant, on the master and slave plant servers. The file foresees a section name for each Interface Name that the user wants to configure. Example:
Meaning of each available parameter: noasciilog: if the file is not edited, its value will be 0 (default): in this case, the driver writes an ASCII log file, having the same contents of the system log file shown by Log File Viewer. Instead, if the value is 1, the ASCII log file is disabled. This is useful when the ASCII log file resides on a remote hard disk. StopThreadTO : internal timeout in driver architecture; its default is 40000.
254
5.6.5
MENU.INI
[DELAY] Retry=<integer specifying attempts number> You do not find in the file menu.ini, either the section [DELAY] or the Retry key. As default setting, SIMATIC IT Management Console performs 60 attempts of closing Production Modeler. Each attempt has a duration of 5 seconds, so that the maximum time to close this module reaches 5 minutes. It is possible to increase or decrease the attempts number by adding manually this section and specifying an integer greater than or equal to one.
5.6.6
NCSERV.INI
This file (read by SIMATIC IT Network Configuration Server) contains the setting of the time delay [in msec] prior to checking the status (running/not running) of the Historian modules. With this operation, Network Configuration Server checks whether all SIMATIC IT modules are still running. However, this is a time-consuming operation, which could be performed less frequently (in particular, whenever USERBK.INI file is configured).
[CONFIG] CheckAppLife=180000
CheckAppLife is given in msec (for instance, 180000 -> 3 minutes). The default value is 120000 -> 2 minutes. If the file does not exist, the default value will be applied. To bypass (disable) the check, CheckAppLife=-1. This configuration file must be edited in the directory ICUBE.CNF of each foundation master server.
5.6.7
QBRIDGE.INI
When the Cube Bridge Server is started, it searches the file QBRIDGE .INI in the directory ICUBE.CNF, where you can find all clients names that cannot perform forcing on PMCs. It is also possible to configure the Cube Bridge Server so that no client is able to perform any forcing on PMCs. Examples of the .ini format are as follows: 1) [RdOnlyAccess] ComputersCount = 3 Computer1 = ALPHA Computer2 = BETA Computer3 = GAMMA
255
The computers ALPHA, BETA and GAMMA cannot perform any forcing on PMCs.
It is not possible to perform any forcing on PMCs when you connect to this Cube Bridge Server.
5.6.8
RTDB.INI
This file (found in the RTDB sub-directory of the central plant, on the master and slave plant servers) is usually not edited manually: its contents are written by using RTDS Offline configuration in SIMATIC IT Management Console. But queue dimensions can be manually modified in order to obtain a dimension that exceeds the limits foreseen by RTDS Offline configuration. This may be necessary when the number of points becomes very high. These queues are used by RTDS and drivers in order to communicate. Sections and parameters:
High-priority queue (500 ms reading operations), from all driver instances to RTDS:
Output Queues (change class and write commands), from RTDS to each single driver instance:
256
Real Time Data Server In this manner, the number of queue elements are defined. They must be defined on each plant in order to permit rapid RTDS switches. Each queue element can contain the value of a read variable (input queue), or the value of a variable to be written (output queue), or the request to begin to read a variable (output queue). String variables use a number of elements equal to their length. If RTDS has been activated on a client, it is possible to force reading of the locally copied database by setting the following new key: [DBLOCAL] UnitName = YES
UnitName is the name of the unit associated to RTDS that runs on the client pc or on the backup pc. Note: The local copy of the database is done manually and can be performed if the client has been configured in order to manage the local copy of the plant.
5.6.9
USERBK.INI
This file contains the names of the computers on which RTDS is configured for hot backup.
In this example, there are two pairs of RTDS configured for hot backup. (first pair: SERVER_1 - SERVER_2, second pair: CLIENT_1 CLIENT_2). The RTDS configured in stand-alone need not be written in the .ini file. If set to TRUE, the ListPriority key permits the communication to RTDS without verifying the network registration of RTDS to SIMATIC IT Network Configuration Server. As a result, the traffic over the network is decreased. Therefore, the ListPriority key is significant also when there is no RTDS in hot backup (ComputerNum=0). This configuration file must be edited in the directory ICUBE.CNF of each client and each server (master and slave). It is also possible to balance the load of the ETHERNET clients toward two bridges configured for backup among each other, introducing an appropriate key in the file. In detail: [CUBEBRIDGE] Primary = computername1 Auxiliary = computername2
257
Real Time Data Server Primary is the name of the computer where the Bridge of reference for the client is running. If the client cannot reach the Bridge of reference, it connects to the auxiliary Bridge. The client does not switch over once the connection has taken place, even if the primary Bridge becomes available.
258
With the SIMATIC IT OPC Browser, you can: Browse for all the local OPC Servers: that is, OPC Servers (supporting or not the OPC Server List) present on the local computer. See How to use SIMATIC IT OPC Browser. Browse for remote OPC Servers compliant with the OPC Server List: that is, all the OPC Servers present on the local network that have been registered according to the OPC categories and can therefore be found by means of OPCEnum server (OPC Server List). See How to use SIMATIC IT OPC Browser. Connect to each one of the above mentioned OPC Servers (local and remote) that exposes the OPC browsing interface, and browse the OPC items to get information about the variables, to which the OPC Server has access. See How to use SIMATIC IT OPC Browser. Connect to a remote OPC Server that is not compliant with the OPC Server List, provided it has been registered locally. If this OPC Server exposes the OPC Browsing interface (it is browsable), its OPC items can also be accessed by the tool. See Connecting to a locally registered server on a remote workstation. Configure the OPC Client driver, to get data from every browsable OPC Server, by selecting from the OPC Servers items, the single variable or group of variables to be accessed, and automatically inserting them in the Data Dictionary, with the suitable parameters. See Automatic configuration of OPC Client Database fields.
Important Remember that the OPC Browser is not a Database Editor, but a tool to insert points (to be handled by the OPC Client driver), in the Data Dictionary. To modify a point inserted by means of the SIMATIC IT OPC Browser, you still have to use the Database Editor.
6.1
259
The SIMATIC IT OPC Browser 4. If you want to browse for a server on a remote workstation, that cannot be found by the OPC Server List, you can try to connect to it by clicking the Connect Locally Registered Servers icon. 5. Select one of the OPC Servers. The Server Information tab, in the right pane, shows some Registry information and the server name to be used in order to configure SIMATIC IT Real Time Data Server User Field 1. . If you are not using the Automatic DB Configuration, you can copy and paste this value into the Database Editor. 6. Expand the icon in order to display the OPC server variable hierarchy. This hierarchy, depending on the server, can consist of one or more levels. Intermediate levels are called Branches , while terminal levels are called Leaves . You can expand each intermediate level to browse for the leaves of the lower level. 7. To select a variable (item), expand all the Branches until you get the Leaf of interest and select it. The Item Information tab in the right pane of the OPC Browser window shows the Variable Name to be used in SIMATIC IT Real Time Data Server User Field 2. If you are not using the Automatic DB Configuration, you can copy and paste this value into the Database Editor. Depending on the OPC Server, some further details about the variable may be displayed (Description, Canonical Data Type, Array or Scalar, Array dimension, High EU, Low EU, Access Rights, Server Scan Rate).
260