Engineering Manual V7.1 Introduction Introduction Content Introduction 1 General ...................................................................................................................2 Documentation structure.........................................................................................3 Guide.......................................................................................................................5 Copyright (c) Siemens AG. All Rights Reserved. Edition: 03/11 N:\Cemat\DOKU\V71_SP1\English\Engineering\01_Introduction_009.doc 1-1 Introduction Engineering Manual V7.1 General You have here the Engineering Manual for CEMAT V7.1. This manual should support you in performing the work required to configure your plant. The Engineering Manual is part of a comprehensive CEMAT V7.1 complete documentation. In the current version V7.1, this consists of the volumes listed below. Engineering Manual Reference Manuals System Objects ADD ONs Glossary After the installation of CEMAT V7.1 the CEMAT documentation is available as PDL in directory D:\CEMAT_CS\Docu On the following pages you will find the content of each manual. 1-2 Copyright (c) Siemens AG. Alle Rechte vorbehalten. Engineering Manual V7.1 Introduction Documentation structure The manuals contain the following chapters: Engineering Manual 1 Introduction 2 Preparations 3 Installation of a PCS 7 Project 4 Assignments 5 Engineering Examples 6 PLC Engineering 7 AS-AS Coupling 8 OS Engineering 9. Engineering Tools 10 Engineering Check List 11 Project Administration 12 free 13 Graphic Templates 14 Tips&Tricks 15 Update Information Reference - System 1 Introduction 2 Cemat System Architecture 3 4 5 6 Copyright (c) Siemens AG. All Rights Reserved. 1-3 Introduction Engineering Manual V7.1 Reference - Objects 1 Introduction 2 General 3 Unidirectional Drive 4 Bi-Directional Drive 5 Damper 6 Valve 7 Adapt to Simocode 8 Adapt to Simocode small 9. Adapt 10 Annunciation Module 11 Annunciation Module with 7 Alarms 12 Measuring Value 13 Measured Value Integrator 14 Silopilot 15 Group Module 16 Route Module 17 Selection 18 Interlock 19 Interlock 5 20 Object Data Acquisition 21 PID Controller 22 PID Controller with 3 Parameter sets 23 Polygon 3 24 CNT-Module 25 RT-Module 26 Related Objects 27 Analog Value Selection 28 Storage 29 Storage Multichamber 30 Reference - ADD ONs 1 Introduction 2 Robicon 3 Synamics 4 Parameter Management Reference - Glossary 1-4 1 Introduction 2 Definitions and Instructions Copyright (c) Siemens AG. Alle Rechte vorbehalten. Engineering Manual V7.1 Introduction Guide The current manual is divided into the topic areas: Installation, Engineering and Project Administration. The engineering of CEMAT plants is done with the Engineering Tool PCS 7. With PCS 7 the following steps are carried out. - Configuring the hardware - Creation of the PLC programs, including logic diagram (CFC) and documentation - Transferring the PLC/OS Connection data - Engineering of the Operator Interface in WinCC Copyright (c) Siemens AG. All Rights Reserved. 1-5 Engineering Cemat V7.1 Preparations Preparations Content Preparations 1 General .................................................................................................................... 2 Order Information..................................................................................................... 2 Project Standards .................................................................................................... 3 Main classification of the Project standards ............................................... 4 Project language .................................................................................................... 10 Designation rules for Cemat .................................................................................. 11 Naming conventions for PCS 7................................................................. 11 Naming conventions for CEMAT .............................................................. 11 Object Types .......................................................................................................... 14 Engineering Rules.................................................................................................. 16 Verification of the received documents.................................................................. 17 Project Structure .................................................................................................... 17 Assignment of the Objects to the AS ........................................................ 17 Determine the number of AS required ...................................................... 17 Structure of the plant from different views ................................................ 17 Planning the Process Control Interface ................................................................. 18 Configuration Guidelines .......................................................................... 18 What is shown WHERE and HOW? ......................................................... 19 Check list................................................................................................................ 21 Copyright (c) Siemens AG. Alle Rechte vorbehalten. Edition: 01/10 N:\Cemat\DOKU\V71_SP1\English\Engineering\02_Preparations_009.doc 2-1 Preparations Engineering Cemat V7.1 General This document contains rules and thoughts you have to consider before you start with the Engineering of a Cemat Project. Please also consider the check list at the end of the document. You should be able to answer all Questions before you start with the Engineering. Order Information When you read this document you probably have ordered Cemat already. Nevertheless we want to mention that for any doubt you can ask the Competence Center for Order Information. Based on the Plant Configuration and the number of plant objects the Hardware and Software requirements and the necessary Licenses can be calculated. Configuration Examples will help you in the plant design. 2-2 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Preparations Project Standards During the installation of Cemat you have to select the correct project key dependent on the desired project standard. 000 = CEMAT 004 = Holcim 006 = Dyckerhoff 007 = Heidelberger Zement 023 = Vigier 024 = Bushehr 025 = Caima 026 = Alsen 027 = Lafarge 028 = Rossi The main difference between the project standards are the change of operation mode and the evaluation of the local switch. Make sure that the selected project standard fits to the requirements of the plant (MCC / Plausibility, Local switch, Operation modes). The name of the project standard is often derived from the Company or Group for which the project version was designed. In some cases it is just the name of the first plant where it was used. ! Important: Please consider that in case of a Project standard for a Group this does not automatically mean that each plant of this group uses this version. Some plants were bought by a group when there were already running Cemat installation. For the sake of compatibility it may be better to continue with the existing Cemat Version. ! Caution: In some occasions, additional adaptations may be needed for the evaluation of the signals. These adaptations have to be achieved through a specific logic in the application program. On the following pages you find a description of the project standards with its main distinguishing characteristics. If you furthermore have questions regarding project versions, please don't hesitate to ask in the Competence Center. Copyright (c) Siemens AG. All Rights Reserved. 2-3 Preparations Engineering Cemat V7.1 Main classification of the Project standards Classification by Operating Mode Code Standard Main Characteristics 000 007 023 024 025 028 "normal" Heidelberger Zement Vigier Bushehr Caima Rossi Enable for single-start mode and local mode from group faceplate 004 006 026 Holcim Dyckerhoff Alsen Single start mode and local mode can be enabled individually for each drive 027 Lafarge *) Only Sequential mode and Local mode. Change of Operation mode individually per Object. *) Lafarge has a completely different operating philosophy and different block names and can not be compared with other project standards. Classification by Local Switch Code Standard Main Characteristics 000 024 028 "normal" Bushehr Rossi Local/Automatic switch Signal "EVO" 004 006 007 023 025 026 Holcim Dyckerhoff Heidelberger Zement Vigier Caima Alsen Local mode is enabled through Operator Station (Faceplate buttons) 027 Lafarge *) Local mode is enabled through Operator station. *) Lafarge has a completely different operating philosophy and different block names and can not be compared with other project standards. 2-4 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Project key 000 normal 006 Dyckerhoff Main characteristic and description Operation modes - Automatic mode, Single-start-mode and Local mode can be switched only group-wise - Local/Remote-switch xVO must be "1" in automatic mode and "0" in local mode. - Local Start via xSR, Local Stop via xSP. - In Automatic mode and in Single-start-mode the Local stop signal xSP is by default not effective (can be configured). - In Automatic mode and in Single-start-mode all interlocks are effective. - In Local mode only the protection interlock xSVG is effective. Operating modes - Dyckerhoff Standard has an automatic mode, a single-start-mode and a so-called manual mode. - In the single-start-mode all interlocks are effective and it is used for individual start/stop from the operator faceplate. - The manual mode is a non-interlocked operation and it is mainly use for local operation. In some exceptions it is also used for start/stop via operator faceplate (special rights required). - All drives can be switched individually into the respective modes The group only indicates that at least one drive is switched to single-start mode or to manual mode. - It is also possible to switch all drives group-wise back into automatic mode. Running drives continue to run after switching back to automatic mode. - In local mode Start-Button must remain pressed to run the drive. - Local mode is seen as a test mode (only for commissioning and repair works). Speed monitor must be acknowledged from local - additional acknowledge signal EVQD required Different Parameter names and additional interface flags - ESB=ESB, EBM=MSB, ESD=DWS etc. - The parameter names are used for FB and OS Copyright (c) Siemens AG. All Rights Reserved. Preparations Object types involved C_DRV_1D C_DRV_2D C_DAMPER C_VALVE C_ROUTE C_GROUP 2-5 Preparations Project key 007 HZ 026 Alsen 2-6 Engineering Cemat V7.1 Main characteristic and description Operating modes - The operating modes Automatic mode, Single-start-mode and Local mode are enabled by the group. Local mode for the drives is by default enabled. If the group signal is not connected the drive is always enabled for the local mode. - Motor, Damper, Valve: Local start with push-button xVT - With EVO = 0-Signal the drives will be stopped. EVO must be "1" in all operating modes. Additional interface ENOT for Emergency Stop - ENOT = 0-Signal will stop the drives in all modes The measured values can be switched into service mode - In the service mode the actual value of the measure is still displayed but the measure will not give any alarms and all Module outputs for limit violation are switched to "0". Additional mode non-interlocked individual start - In this mode the drives can be started/stopped via operator faceplate without evaluation of the interlock conditions for EBVG and EEVG. ESVG is still effective. - The non-interlocked individual mode needs a special release (different rights). - The symbol color turns to orange (orange flashing for running objects). Operating modes - Local mode or Single start mode for Drive, Damper and Valve can be released individually for each object (at the drive faceplate). - But via group faceplate it is also possible to switch all objects of the group into local mode or back to automatic mode. - The group symbol has a summarizing indication that at least one object has been switched to local mode. - Switching from local mode to automatic mode already started drives continue to run as long as all operating conditions and interlocks are fulfilled. Characteristics for Local Switch Signals xVO and xSP - xVO must always have 1-Signal. 0-Signal at xVO will stop the drive in all modes - Local stop xSP is effective also in automatic mode. Holderbank Code - The Holderbank code HAC is not used for function block parameter names. The normal abbreviations ERM, EVO, ESB are used. Object types involved C_DRV_1D C_DRV_2D C_DAMPER C_VALVE C_MEASUR C_DRV_1D C_DRV_2D C_DAMPER C_VALVE C_VAL_2D C_GROUP Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Project key 004 Holcim Preparations Main characteristic and description Object types involved The main differences between Normal Standard and Holcim Version C_DRV_1D are the Parameter Names for Hardware signals (HAC code is used), C_DRV_2D the Operating modes and the representation of the plant objects in C_DAMPER the pictures. C_VALVE HAC Code C_ANNUNC - Block parameters for Hardware Signals (MCC and Field) are C_ANNUN8 changed to HAC code C_PROFB Operating modes C_ROUTE - Each drive/damper/valve can individually be switched to single C_GROUP or local mode. C_SILOP - Switching to local mode and single mode is only possible if the C_ADAPT drive is not running. - Local stop is also active in automatic mode (Alarm LST). - Through a button in the group faceplate all drives of a group can be switched to local or back to AUTO mode simultaneously. With the start command of the group all drives are automatically switched back to AUTO mode. Drives which were previously started in single start mode or in local mode will continue to run. Block icons - In Holcim standard no additional motor symbols are shown beside the equipment. The equipment itself is green if it is running and grey/white if it is not in operation. Next to the equipment there is the Tagname which is the block icon. The faceplates will be opened by clicking on the tagname. The tagname shows red background if there is a fault, yellow background in case of a warning and violet background in case the object is not available. Additional indications beside the tagname show the operating mode (blue for single and white for local) and active simulations or bypass functions (orange) Alarms - The non-essential drives can be configured as "warning drives". If these drives have a fault, a yellow warning message is given. The group start is not interrupted by warning drives. Interlocks - In Single mode the Start Interlock and the Operating Interlock are not active. - Two Protection Interlocks PINT1 and PINT2, where PINT1 is always active and PINT2 can be by-passed in local mode (Inching mode). Process Feedback - Additional block C_PROFB can be used for supervision of process Feedback (Speed Monitor or Pressure). C_PROFB has to be linked to the drive block. Special Training for Holcim - The Engineering for Holcim Standard is different from the normal Standard. Therefore a separate Training is available. HDRS Engineering Tool - An engineering Tool (Excel Macros) is available. With this tool, based on the HDRS data base from Holcim, Basic CFCs can be created using Process Tag Types (IEA Assistant) Copyright (c) Siemens AG. All Rights Reserved. 2-7 Preparations Project key 024 Bushehr 025 Caima 2-8 Engineering Cemat V7.1 Main characteristic and description Different Local switch with only 2 Signals - Instead of using 3 Signals for xVO = Local/Remote Switch, xSR = Local Start and xSP = Local Stop, the same information is built internally in the function block, using only two signals which have to be seen in combination. - The Signal names are K0 and KX (KY) and they must always be seen together. - Signal coding for the local switch of the drive: K0 KX 1 0 Auto 0 0 Local Stop 0 1 Local 1 1 Local Start - Signal coding for the local switch of the damper: K0 KY KX 0 1 1 Auto 0 0 0 Local Stop 1 1 0 Local Start Di2 0 1 0 Di2 1 0 1 Local Start Di1 0 0 1 Di1 Different Local switch with only 2 Signals - Instead of using 3 Signals for xVO = Local/Remote Switch, xSR = Local Start and xSP = Local Stop, the same information is built internally in the function block, using only two signals which have to be seen in combination. - The Signal names are xSR and xVO like in normal Standard but the signals must always be seen together. - Signal coding for the local switch of the drive: EVO ESR 1 0 Auto 0 0 Local Stop 1 1 Local Start - Signal coding for the local switch of the damper: KVO KOP KCL 1 0 0 Auto 0 0 0 Local Stop 1 1 0 Local Start Di2 1 0 1 Local Start Di1 - After the local start the local switch goes back to position Automatic. The drive is then running in local mode. In order to Stop the drive the local stop must be pressed. This position is latched. - Local Stop is also effective in Automatic mode. The drive stops then with Alarm "LST". Object types involved C_DRV_1D C_DRV_2D C_D_REV C_DAMPER C_VALVE C_DRV_1D C_DRV_2D C_DAMPER C_VALVE Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Project key Main characteristic and description Preparations Object types involved C_DRV_1D C_DRV_2D C_DAMPER C_VALVE C_GROUP 023 Vigier Different Parameter names: G = Local Start S = Local Stop K = Motor Protection R = Feedback etc. no Signals for sSB and xVO 027 Lafarge Different Module types for all Control functions - C_M2B (to be used for unidirectional and bi-directional drives) - C_DAB (to be used for Valves with one output and two limit switches, no local switch) - C_DABMAB (to be used for valves with two outputs (DAB) and motorized actuators without positioning mode(MAB)) - C_AAB (to be used for damper positioners) - C_DIB (to be used for annunciations of any binary signal) - C_AIB (to be used for analog inputs for measuring values) - C_SSB (to be used for sequences) - C_SSDB (to be used for Sequential Stop including stop delays) - C_BPB (to be used for subcontrols or "black boxes") Different operation concept and control philosophy - Sequences replace the CEMAT Group function, but group status call and group object list are available as in normal CEMAT standard. - No route modules used. C_SELECT can be used for selections. - Plant section (sequence) turns into "sleep mode", if it is not in use. - Before start of a Sequence, it must be checked for availability through button AV. - Pressing AV does a wake-up. If all drives are available (all essential interlocks ok), the sequence can be started via RUN. - Normal Stop (single click on STOP) and Quick-Stop (double-click on STOP) possible. Stop sequence and stop delays are programmed with SSDB block. - Lafarge Standard has a variety of different interfaces for individual interlock signals. - No single-start-mode via operator faceplate Special engineering manual - Different engineering rules for Installation of a PCS7 Project, AS Engineering, OS Engineering. Special Training Course - As Lafarge Standard is so much different from normal CEMAT, a special Course is available for Lafarge. C_M2B C_DAB C_DABMAB C_AAB C_DIB C_AIB C_SSB C_SSDB C_BPB 028 Rossi Waiting time for single start-up-warning - In single-start-mode, the drives are switched on after the horn is off and the waiting time has elapsed (as it is in the group). Alarms for xBM and xSB in local mode - In the normal standard, in local mode no alarm will be generated for xBM and xSB. In Rossi Standard, alarms will be generated also in local mode. C_DRV_1D C_DRV_2D Copyright (c) Siemens AG. All Rights Reserved. 2-9 Preparations Engineering Cemat V7.1 Project language At the beginning of the engineering you have to decide which language is going to be used for the engineering and which display language(s) are required. We recommend you to carry out the engineering in the main display language. The following list shows you, which project standard is available in which language as per standard. At this we distinguish between Display language and language of the documentation: (In some project versions the display language can be switched into French but the French documentation is not available.) Project version Software (Display Language) Documentation 000 = CEMAT German + English (USA) + French + Italian + Spanish (traditional) German + English 004 = Holcim German + English (USA) + French + Italian + Spanish (traditional) English 006 = Dyckerhoff German + English (USA) + French + Italian + Spanish (traditional) German + English 007 = Heidelberger German + English (USA) + French + Italian Zement + Spanish (traditional) German + English 023 = Vigier German + English (USA) + French German 024 = Bushehr German + English (USA) + French + Italian + Spanish (traditional) English 025 = Caima German + English (USA) + French + Italian + Spanish (traditional) English 026 = Alsen German + English (USA) + French + Italian + Spanish (traditional) German + English 027 = Lafarge English (USA) + French + Spanish (traditional) English 028 = Rossi German + English (USA) + French + Italian + Spanish (traditional) English Additional languages can be realized as well. In this case the Texts in the Faceplates have to be completed. To simplify this work, a text library with the faceplate text is available. The file Language_V01.xls you find on the Cemat CD under Additional Information\Language. (Please also ask in the Competence Center Cement for the latest version of this file). ' The translations are carried out in the text library and can than be imported into the Faceplates with the Text Distributor. Beside the Faceplate texts, for additional languages adaptations of the blocks (messages) and in the Config files may be required. See also under "Text definitions" in Chapter AS Engineering. 2 - 10 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Preparations Designation rules for Cemat Naming conventions for PCS 7 Depending on the language and PCS7 components, only certain characters are permitted in names. Make sure that you don't use illegal characters in your PCS7 Project (e. g. for Computer names, chart names, block types and instance names, parameter names and comments, global variables......) The restrictions for the names of the PCS7 components you find in the Help function of the WinCC Explorer. Use Help AE Contents and Index and search for "Illegal characters". There you will find a list of characters which are not allowed for the individual components. Naming conventions for CEMAT Name of the PC Station For the computer name follow the restrictions of PCS7 V7! In the PCS7 Manual "PCS7 PC - Configuration and Authorization" you find the following note: Use only letters and numbers for the computer names. Additional notes you find in the Online help of WinCC. Special characters are not allowed in the PC Name. The following characters are not allowed in PCS7 and Cemat: .,;:!?"'^~-+=/\|@*#$%&()[]{}<>_ blanks only uppercase relevant The first character must be a letter! Example for a valid Designation system: Station name Info bus: TCP/IP Plant bus: MAC Plant bus: TCP/IP *) ENG01 192.168.1.10 Address marked on card 192.168.2.10 ENG02 192.168.1.11 Address marked on card 192.168.2.11 SERVER1A 192.168.1.20 Address marked on card 192.168.2.20 SERVER1B 192.168.1.21 Address marked on card 192.168.2.21 SERVER2A 192.168.1.22 Address marked on card 192.168.2.22 SERVER2B 192.168.1.23 Address marked on card 192.168.2.23 ..... OSC01 192.168.1.101 OSC02 192.168.1.102 OSC03 192.168.1.103 OSC04 192.168.1.104 .... *) TCP/IP should be deactivated in case of Softnet CPs. Copyright (c) Siemens AG. All Rights Reserved. 2 - 11 Preparations Engineering Cemat V7.1 Tagnames The tagnames are plant wide unique designations for the plant objects. With this name the plant object can be identified unequivocally. A meaningful tagname contains the designation of the plant section, the designation of the equipment, the object type and a serial number. e. g.: Plant Section: Equipment: Object type: Serial Number : Clinker transport: Bucket Elevator 3 Motor 01 CT01 BE03 M 01 In PCS7 this name is built by the chart name and the instance name (=block name), separated by a Slash (/). Optionally the hierarchy folder names can be used as a prefix. (This is not recommended for Cemat because in this case the tagnames get too long. If the Plant Section and the Equipment Name is used as chart name and the Object type plus Serial Number as Instance name, the example above will result in the following tagname: CT01_BE03/M01 The tagname is used in the facaplates and in the message system. The maximum length is 20 characters. As special characters only the underscore should be used! ! Note: The name of the motors, dampers, valves, groups, routes, selections and controllers should not be more than 13 characters. Names for Annunciations and measuring values can reach a length of 20 characters (if a separator and an extension of max. 6 characters is added to the name of the main module). Example for the Tagname of a Belt drift switch: or ! 2 - 12 CT01_BC01/M01_DS01 CT01_BC01/DS01 (If the Signal is assigned to the motor) (If the Signal is assigned to the equipment) Note: The above description is only an example. Of course you have to consider the Tagging rules for particular companies. Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Preparations Comment The block comment is used for the description of the plant object. This can be for Example: Bucket Elevator Main Drive The block Comment is used in the Faceplates and (by copying) in the message system. In most of the Cemat Faceplates there are two lines of 20 characters each, which means the maximum length of the comment can be 40 characters. ! Note: For the facaplate display an automatic word wrap is used. If possible the system avoids cutting in the middle of a word but in case of long words this may still happen sometimes! Message texts (Event texts in WinCC) In most of the Cemat Objects the message texts are standard and they are defined at the function block and in the config files. The maximum text length is 20 characters. For the Annunciation blocks C_ANNUNC and C_ANNUN8 the Message text must be defined per Instance. For technical reasons the text length must not exceed 16 characters. Signal names The maximum length for global symbols in PCS 7 is 24 characters. The signal names for the inputs and outputs of the CEMAT modules should be derived from the module tags. The maximum length of the signal comments is 80 characters. Example: 123_BE1/M01_ERM Bucket Elevator Main Drive Contactor Feedback <------24 characters----> <----------------------------------80 characters------------------------------> Plant view One of the most important decisions at the beginning of the engineering of a Cemat Project is the structure of the plant view. From the plant view the process control interface is derived. The hierarchy level which is defined as "OS Area", is relevant for the Selection Buttons in the Overview Range and for the assignation of Access Right. Example: The first hierarchy folder was selected as "OS Area" and it contains the Hierarchy folders Crusher, RawMill, Kiln, CementMill and Packing. In the Overview Area of the Runtime System you will see the buttons: Crusher, RawMill, Kiln, CementMill and Packing for direct Picture calls. If an Operator has only the Authorization for the areas Crusher and Raw Mill, he is only permitted to watch and to operate these areas. The Messages in the Alarm line and the acknowledgement function is filtered in the same way via the OS Area. ! Caution: Because of the filter functions in the CEMAT Message system the maximum number of Areas buttons is restricted to 30. Copyright (c) Siemens AG. All Rights Reserved. 2 - 13 Preparations Engineering Cemat V7.1 Object Types The definition of object types (e. g. bucket elevator, belt conveyor) with all the associated modules and interlocks will save engineering effort. Approved solutions can be used several times, whenever the function is required. In the Cemat Library ILS_CEM you find an S7-Programm TYPICALS with some examples of typical Cement Applications. Modify these Examples according to your requirement in order to define them as "Process tag type" and to use them with the Import-/Export Assistant. The following Examples are available and can be adapted and completed according to your requirements: 2 - 14 BC Belt conveyor with speed monitor, rope switch, drift switch and current measurement. BC_IL Belt conveyor with speed monitor, rope switch, drift switch and current measurement, including Interlock blocks BC_IL_71 Belt conveyor with speed monitor, rope switch, drift switch and current measurement and Pcs7AnIn, including Intlk02 blocks BC_REV Reversible belt conveyor with speed monitor, rope switch, drift switch and current measurement. BC_REV_IL Reversible belt conveyor with speed monitor, rope switch, drift switch and current measurement, including interlock block. BC_REV_IL_71 Reversible belt conveyor with speed monitor, rope switch, drift switch and current measurement and Pcs7AnIn, including intlk02 block. BE_AUX Bucket elevator auxiliary drive BE_MAIN Bucket elevator main drive with speed monitor, level switch, drift switch and current measurement BE_MAIN_71 Bucket elevator main drive with speed monitor, level switch, drift switch and current measurement and Pcs7AnIn CC Chain conveyor with speed monitor, rope switch and current measurement. CC_IL Chain conveyor with speed monitor, rope switch and current measurement, including interlock block CC_IL_71 Chain conveyor with speed monitor, rope switch and current measurement and Pcs7AnIn, including Intlk02 block DAMPER Standard damper block with torque switches DAMPER_POSI Damper Positioner Function DAMPER_POSI_71 Damper Positioner Function MOT_1D Standard Unidirectional drive with speed monitor MOT_1D_71 Standard Unidirectional drive with speed monitor MOT_1D_MEAS Standard Unidirectional drive with speed monitor and current meas. MOT_1D_MEAS_71 Standard Unidirectional drive with speed monitor and current meas. MOT_2D Standard Bi-directional drive with speed monitor MOT_2D_71 Standard Bi-directional drive with speed monitor MOD_2D_MEAS Standard Bi-directional drive with speed monitor and current meas. MOD_2D_MEAS_7 1 Standard Bi-directional drive with speed monitor and current meas. VALVE Standard Valve Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 ! Preparations Caution: Please consider that these examples were created for normal standard (Project key = 000). If you want to use the examples in a project with a different project version, you have to adapt the examples accordingly. In chapter "Engineering Examples" of this manual you find solutions for special tasks. Copyright (c) Siemens AG. All Rights Reserved. 2 - 15 Preparations Engineering Cemat V7.1 Engineering Rules Per plant the responsible engineering department must determine the project definitions. Henceforth these unique definitions are valid for all AS of the plant. Especially if the engineering is done at different locations and for supplementary plant extensions it has to be insured that the original project definitions are used. Definitions for the Engineering: - Name of the PC Stations - Definition of AS Numbers - Addressing of the AS and PC Stations (MAC Addresses, TCP/IP Addresses, Profibus) - Definition of the Project Standard and Version - The designation system of the plant tags (charts, modules, signals) - Definition of the message texts (Event) - Variable names - Names of the WinCC pictures - Rules for the generation of scripts and actions - Engineering rules (Customer standards, Teamwork) - Definitions for the documentation of a project Definitions for the Runtime-Project: 2 - 16 - The operation surface (Division of the screen, Font style and -size, Language in Runtime, Representation of the objects) - The operation concept (Picture hierarchy, operating philosophy, user rights, permitted keys) - The color definition for the annunciations, Limit values, Status, Font etc. - The communication (Communication type, Actualization cycles) - The volume of project data (Quantity of alarms, Archive values, Curves, Clients etc.) - Message and archiving procedure (Archive size and Export Concept) - Archive names per Area Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Preparations Verification of the received documents The received documents for the project must be examined, verified and if necessary completed. These are: - Object list (List of drives, measures, groups, etc.) - Signal list (with or without absolute addresses) - Plant Topology (Building, Location) - Process view (Plant, Unit, Function) - Electrical view (MCC, Panel, Feeder, Bimetal, Fuse Rating) - Panel Structure (I/O-Panels, Rack, Slot, Card, Address) - Group/ Route/ Drive assignments Project Structure Assignment of the Objects to the AS - Sensible (technological) division of the objects - Communicate as little data as possible between the individual AS - If possible, do not separate groups Determine the number of AS required - Maximum number of objects per AS - Maximum number of signals per AS - Make allowance for reserves - See table for module data in the reference manual, objects, chapter 1, General. Structure of the plant from different views - Plant topology (Locations) - Process view (Technological structure) - Control system view (Control systems, AS, I/O-Panels etc.) - Electrical View (MCC) Copyright (c) Siemens AG. All Rights Reserved. 2 - 17 Preparations Engineering Cemat V7.1 Planning the Process Control Interface Configuration Guidelines Summary of the steps required to create the process control interface: 2 - 18 Description of the action Executor 1 Determine which plant sections of the process are to appear on the screen. Customer / project management 2 Divide the complete plant into sub-processes that are to appear together in a diagram. Customer / project management 3 Determine the general rules for the process diagram creation. Project management 4 Process diagram assignment for the menu entries. Refer to the next pages 5 Determination of the general representation rules for the plant. Customer / project management 6 Determination of the color assignment, blinking, font size and form. Customer / project management refer to the default picture 7 Determination of the operation philosophy. Customer / project management CEMAT standard 8 Determination of the representation of the block icons Customer / project management CEMAT standard 9 Determination of the representation for typical process- Customer / project relevant elements. management CEMAT standard 10 Design the process diagram layout on paper or drawing program or directly using Visual Basic. 11 Determination of the directories / file names for process CEMAT standard diagrams, key assignments, graphical modules, etc. Customer / project management Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Preparations What is shown WHERE and HOW? Complete plant overview Representation: Schematic representation of the complete plant Content: Overview of the production plant with global status display from the running plant sections Operation: Selection of a production section / a sub-plant System monitoring, plant configuration diagrams Representation: Schematic representation of the complete control system Content: Overview of the network connection of the individual control system devices with global status display of the individual components. Operation: Selection of an individual component for detailed analysis Plant sections: Representation: Material flow of a complete production plant without secondary aggregates and details Content: Display of all physical variables relevant for the process control. Operation: Start and stop of the plant Specification of set points Assignment of recipes Invoke overviews for flow diagrams, measured values, closed-loop controllers, curves Tabular measured value listing Process Pictures: Representation: Representation of the plant sections with all aggregates Content: Display of the operational modes, measured values, states, curves, filling levels Operation: Selection, operation of individual aggregates and diagnosis, information and object parameter invocations Detail Pictures: Representation: Representation of the individual aggregates Content: Display of the operational modes, measured values, states Operation: Selection, operation of individual aggregates and diagnosis, information and object parameter invocations Help: Representation: User's guide for the CEMAT system User's guide for the plant User key assignment Content: Explanations and examples of the system handling. Copyright (c) Siemens AG. All Rights Reserved. 2 - 19 Preparations Engineering Cemat V7.1 Operation: 2 - 20 Complete table of contents and search key control Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Preparations Check list Step Process 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 Verifying the received documents Object list Signal list (with or without absolute addresses) Plant Topology (Building, Location) Process Overview (Plant, Unit, Function) Electrical view (MCC, Panel, Feeder, Bimetal, Fuse Rating) MCC Types Group-, Route-, Drive Assignment 1 1.1 1.2 1.3 1.4 1.5 1.6 Definition of the Project structure Structuring the plant based on technological functions Definition of plant sections Assigning the plant objects to the plant sections Locations (AS, OS, MCC, Periphery) Assigning the plant objects to the locations 2 2.1 2.2 2.3 2.4 2.5 2.6 2.7 Calculation of the required Hardware and Software Variable calculation Definition of the ES Definition of the AS (CPU Type) Definition of the Periphery Definition of the OS (Server, Clients, CAS, WebServer) Definition of the Bus Components 3 3.1 3.2 3.3 3.4 Ordering Hardware and Software, including Licenses Ordering the Hardware Ordering the Software for PCS7 Ordering the Software for Cemat Miscellaneous Status 3.5 4 4.1 4.2 4.3 4.4 4.5 4.6 4.7 Names and Addresses in the System Definition of the MAC Addresses Definition of the TCP/IP Addresses Definition of the Profibus Addresses Definition of the AS Numbers Designation of the PC Stations Designation of the AS Designation of the Periphery Copyright (c) Siemens AG. All Rights Reserved. 2 - 21 Preparations Step Process 5 5.1 5.2 Decision for the Project standard Evaluation for the Cemat Project Version to be used in the Project. Additional adaptations required in the User Program to adapt the Program to the MCC/Local Switch Signal? Are additional messages required (e. g. SIMOCODE, DRIVE_ES or Subcontrols)? 5.3 Status 6 6.1 6.2 6.3 Project language Definition of the Project language Definition of the Display language 7 7.1 7.2 7.3 Tagging System Tagging system available from the customer? Any special demands for Tagnames from the Machinery supplier? Plant Update or Migration: How can the existing Tagging System be converted into PCS7 Tagnames? Are the Standard fault texts OK or is a modification of the texts required? Definition of the fault texts for C_ANNUNC and C_ANNUN8 Definition names for the WinCC Pictures 7.4 7.5 7.6 8 8.1 8.2 8.3 8.4 Project specific modifications of the Standard Adaptations of the Blocks (e. g. fort he message system) Adaptations in the Config Files Adaptations of the Faceplate (e. g. for an additional language) All Modifications must be saved and restored in case of a Cemat update!!! 9 9.1 9.2 Definition of the Process Control Interface Definition of the plant sections "Areas" for the Overview Determine which plant sections of the process are to appear on the screen. How many levels should be used? Definition of the Process pictures and Detail Pictures. Assigning the process pictures to the area Design of the process pictures. Definition of the Operating Philosophy Definition of the block icons (how shall the plant objects be displayed)? Definitions, how to display typical technological element. 9.3 9.4 9.5 9.6 9.7 9.8 9.9 2 - 22 Engineering Cemat V7.1 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Step Process 10 10.1 Structuring the PCS7 Project Creating a Guideline with engineering rules (especially for bigger projects). Technological Hierarchy (Plant View) Definition of the Hierarchy structure (all levels) Definition of the Hierarchy folder names AS Definition of the plant names Definition of the Instance names (block names) Definition of the signal names Definition of Object types (Process Tag Types) Definition of rules for additional Texts (C_ANNUNC and C_ANNUN8) OS General rules for the process picture design. General rules for the representation of the plant Definition of colors, blinking, font size and shape 10.2 10.2.1 10.2.2 10.3 10.3.1 10.3.2 10.3.3 10.3.4 10.3.5 10.4 10.4.1 10.4.2 10.4.3 11 11.6 11.7 Creating a PCS7 MultiProject according to the Plant Configuration Creating a MultiProject with partial projects Creating an ES Creating a Project Library Definition of Software Types Creating Process Tag Types for the IEA Creating the Template Pictures for the automatic generation of block icon. Creating the AS Stations Creating the OS Stations - (Server, Clients, CAS) 12 Project backup 12.1 12.2 12.3 12.3 Define backup medium Define backup directory Name of the backup file(s) Define Backup cycles 11.1 11.2 11.3 11.4 11.4.1 11.5 Copyright (c) Siemens AG. All Rights Reserved. Preparations Status 2 - 23 Engineering Cemat V7.1 Installation of a PCS7 Project Installation of a PCS7 Project Content Installation of a PCS7 Project 1 General .................................................................................................................... 3 General engineering rules .......................................................................... 6 Installation of PCS7 ................................................................................................. 8 Installation of the CEMAT Software....................................................................... 10 File Structure.......................................................................................................... 11 Adaptation in PCS7 for CEMAT............................................................................. 13 Create a new PCS7 Project ................................................................................... 14 Hardware Configuration for a CEMAT AS ................................................ 19 Configuration of a SIMATIC PC Station.................................................... 26 Configuration of the Network Connections ............................................... 30 Download for HW Configuration and Network Connections..................... 35 Plant Structure definition........................................................................................ 37 Create a Project library .......................................................................................... 40 AS Configuration.................................................................................................... 41 Preparations for programming with the CFC ............................................ 41 Copy Standard Symbols and blocks into the PCS7 Project ..................... 42 Compile and Download CFC .................................................................... 45 OS Compile............................................................................................... 45 OS Configuration (Single-User System) ................................................................ 46 Project Properties ..................................................................................... 46 OS Project Editor ...................................................................................... 47 Computer properties ................................................................................. 50 Tag Management...................................................................................... 52 General changes in the alarm logging ...................................................... 53 Tag logging ............................................................................................... 56 User Archives............................................................................................ 57 Add User rights ......................................................................................... 60 Selection of area specific rights ................................................................ 64 Horn configuration..................................................................................... 65 Update the WinCC Project with Cemat Functions.................................... 67 Generation of the Template Pictures ........................................................ 69 OS Configuration (Server) ..................................................................................... 70 Project Properties ..................................................................................... 70 OS Project Editor ...................................................................................... 71 Computer properties ................................................................................. 73 Tag Management...................................................................................... 75 General changes in the alarm logging ...................................................... 77 Tag logging ............................................................................................... 80 User Archives............................................................................................ 81 Copyright (c) Siemens AG. Alle Rechte vorbehalten. Edition: 01/10 N:\Cemat\DOKU\V71_SP1\English\Engineering\03_PCS7_Project_009.doc 3-1 Installation of a PCS7 Project Engineering Cemat V7.1 Add User rights ......................................................................................... 84 Update the WinCC Project with Cemat Functions.................................... 85 Generation of the Template Pictures........................................................ 87 Redundancy Settings in the Server-Project ............................................. 88 OS Configuration (Standby-Server)....................................................................... 90 Standby-Server-Project ............................................................................ 90 OS Configuration (Client)....................................................................................... 91 Project Properties ..................................................................................... 91 OS Project Editor ...................................................................................... 92 Computer properties ................................................................................. 95 Tag Management...................................................................................... 96 Add User rights ......................................................................................... 97 Update the WinCC Project with Cemat Functions.................................... 98 Generating and loading of the Server Data ............................................ 100 Loading of the Server Data in a Client Project ....................................... 100 Selection of a Preferred Server .............................................................. 101 Selection of area specific rights.............................................................. 102 Horn configuration .................................................................................. 103 Archiving .............................................................................................................. 106 Tag Logging ............................................................................................ 107 Central Archive Server (CAS)................................................................. 108 Configuring an Archive Server................................................................ 108 Integrated Asset Management ............................................................................ 109 Time Synchronization .......................................................................................... 110 Time Synchronization AS ....................................................................... 110 Time Synchronization Server ................................................................. 110 Time Synchronization OS Client............................................................. 111 How to create a PDL Cache ................................................................................ 112 3-2 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Installation of a PCS7 Project General This chapter describes the installation of a PCS7 project on the Engineering Station (ES) and covers all the required settings for CEMAT based on PCS7 V7.1. For general questions regarding PCS7 Engineering we refer to the Engineering Manual for PCS7 V7.1. These items are not included in the Engineering Manual for CEMAT. As the project structure will be different from Project to Project (depending on project size, number of objects, number of AS, Servers, OS Clients etc) this description can only be an example for one of many possible solutions. The description was made based on an Example-Project with the following configuration: 3 AS 1 Engineering Station 1 redundant Server-Pair 2 OS Clients. Copyright (c) Siemens AG. All Rights Reserved. 3-3 Installation of a PCS7 Project Engineering Cemat V7.1 The following example describes the engineering of a Multiproject CEM_MP with 6 Projects and a Library: To enable independent Engineering for the different AS, individual PCS7-Projects have been created for each AS. AS1 for first AS AS2 for second AS AS3 for third AS ES for the Engineering Station OS for the OS Servers and OS Clients PRO_LIB for the Project Library ! 3-4 Caution: Avoid Underscore in the in the Name of the partial project for OS Server and Clients and also not in the name of the OS-Project for the Server because the package name is build of those two parts and the underscore is used as a separator in the package name, e. g. OS_OSSRV. If you want to use the Cemat V6.0 Message Selection Function in the Alarm line, the underscore is absolutely forbidden. Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Installation of a PCS7 Project The following screen shots show the Network Configuration of the Example Project. ! Caution: The Terminal bus and the corresponding CPs can not be displayed in the Network Configuration. Otherwise there will be errors during download to the Configuration Editor. Network Configuration for the complete Multiproject (Cross-Project Network View) ! Note: In our Example the Engineering Station has two Network Cards (1 internal CP and one 3COM) but no CP1613. In the Hardware Configuration of the PC only one Network Card for the connection to the Plant Bus can be configured! Copyright (c) Siemens AG. All Rights Reserved. 3-5 Installation of a PCS7 Project Engineering Cemat V7.1 General engineering rules Before you start creating your own PCS7 Project please get familiar with the most important engineering rules in order to avoid double work: 3-6 - The PC Names, OS Project Names and the Addresses (MAC Addresses, TCP/IP Addresses, PROFIBUS Addresses) used in the description have to be replaced by your PC Names etc. - All variable names and function name must be used exactly as it is mentioned in the description (including Capital/small letters). - In PCS7 V7.1 the complete Engineering has to be done on the Engineering Station before the OS-Project is downloaded to the PCs. Don't carry out any engineering step on the Server or OS Client itself. - Never activate the OS-Project for Server on the Engineering Station if the Redundancy is already activated. On the Engineering Station the OS-Project can be activated in Simulation Mode with "Start OS Simulation". In this case the OS-Project is duplicated and the Copy is activated. - Don't forget to take a backup of the complete Project (or MultiProject) once in a while, especially before you carry out extensive "Cut" and "Paste" functions and also if more than one person is working on the project. - Don't forget to save the modifications you made in the CEMAT Standard part. (Function blocks, Config Files, Standard Pictures). In case of a CEMAT Update these data will be overwritten. - Create a common Library for the project (based on the CEMAT Library) and make sure that everybody working for this project is using the same blocks. - The time synchronization is essential for the Alarm logging and Tag logging system. Make sure that there is only one (redundant) time Server in the system and that all the Stations (OS and AS) get the correct time. In PCS7 V7.1 the AS has always GMT!! Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Installation of a PCS7 Project The following engineering manual explains all steps for the installation and configuration of the PCS7 Project, including AS, Engineering Station, Single Station, OS Server and OS Client: For the Installation of PCS7 V7.1 AE see "Installation of PCS7" and the Engineering Manual of PCS7 V7.1 For the Installation of CEMAT AE see "Installation of the CEMAT Software" For the location of the CEMAT Software on your PC AE see "File Structure" For the additional settings on your PC which are required after the Installation of CEMAT AE see "Adaptations in PCS7 for CEMAT" For the creation of a PCS7 Project with AS and OS Stations (including Hardware Configuration and Network Configuration) AE see "Create a new PCS7 Project" For the definition of the plant structure AE see" Plant structure definition (Plant view and Process Object view)" For all the required settings in a CEMAT AS AE see" AS Configuration" For the Configuration of a Single Station AE see "OS Configuration (Single Station)" For the Configuration of an OS Server AE see "OS Configuration (Server)" For the Configuration of a Standby-Server AE see "OS Configuration (Standby-Server)" For the Configuration of an OS Client AE see "OS Configuration (OS Client)" For the creation of the Server Data AE see "Generating and loading of the Server Data" For the Project Download to the OS Stations AE see "Project Download" Copyright (c) Siemens AG. All Rights Reserved. 3-7 Installation of a PCS7 Project Engineering Cemat V7.1 Installation of PCS7 For each PC Station (ES, Server, Standby-Server and OS Client) the appropriate startup procedure must be carried out. Please follow the instructions in PCS7 V7.1 description and the readme file which is delivered with the PCS7 CDs. Only a few additional remarks for the installation: Language of the Operation System Make sure that all PC Stations are installed with the same operation system language (normally English or German). Regional Settings Make sure that the regional settings of your PC are correct for the language you want to work with. Computer Name For the computer name follow the restrictions of PCS7 V7.1! In the PCS7 Manual "PCS7 PC - Configuration and Authorization you find the following note: Use only letters and numbers for the computer names. Additional notes you find in the Online help of WinCC. Special characters are not allowed in the PC Name. The following characters are not allowed in PCS7 and Cemat: .,;:!?"'^~-+=/\|@*#$%&()[]{}<>_ blanks only uppercase relevant The first character must be a letter! Screen Resolution The recommended screen resolution for the CEMAT Faceplates and Pictures is 1920x1080. Four more screen resolutions are possible: 1280x1024, 1600x1200, 1680x1050 and 1920x1200. In this case a few standard pictures have to be exchanged. For Holcim Standard (004) and Lafarge Standard (027) the screen resolution 1600x1200 is not released. Less than 1280x1024 is not possible; otherwise the Cemat Faceplate can not be displayed. Power Options Switch off the Power saving system (for all Devices like Hard Disk, Monitor etc.) in BIOS and in the Control Panel Domain controller The installation of a Domain controller is not released for Cemat! Installation of the software for PCS7 Please, always use the actual installation instructions, which are delivered with the PCS7 installation CD. As installation language please select the language in which the system is finally delivered. (Some system messages are only displayed in the installation language!) The installation is described in the document PCS7 PC Configuration and Authorization". 3-8 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Installation of a PCS7 Project Hardware definition with Commissioning Wizard When you start your PC the first time after installation of PCS7 the Commissioning Wizard will be started automatically in order to ask you for the Settings of the PC Station. Enter these settings according to the Hardware of your PC. The configuration can be checked under: Start AE Simatic AE SIMAITC NET AE Settings AE Configuration Console. For detail information refer to the PCS7 Manual "PC Configuration and Authorization" Configuration Editor In the Configuration Editor add the WinCC Application according to the Station Type and give the correct Station Name. Copyright (c) Siemens AG. All Rights Reserved. 3-9 Installation of a PCS7 Project Engineering Cemat V7.1 Installation of the CEMAT Software The following procedure has to be carried out on all PC Stations (ES, Single Stations, Server and OS Client): Start the delivered Setup Programs from the CD and follow the instructions on the screen. - Select the installation language (English and German is possible). - Accept the license agreement - The Destination Folder for CEMAT is D:\CEMAT_CS. Don't modify the destination directory from the default. To ensure that all CEMAT functions working correctly CEMAT must be installed under D:\CEMAT_CS! - Select the correct Setup-Type: ENGINEERINGSTATION OS SERVER /CLIENT - for an Engineering Station for a Single Station, Server, Standby-Server or OS Client The list of Installation keys for the different project standards appears (the correct key must be entered later): 000 = CEMAT 004 = Holcim 006 = Dyckerhoff 007 = Heidelberg Cement 023 = Vigier 024 = Bushehr 025 = Caima 026 = Alsen 028 = Rossi - 3 - 10 Now enter the project key and start the installation. Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Installation of a PCS7 Project File Structure After running the Setup the CEMAT specific files are located in drive D, directory CEMAT_CS. D:\CEMAT_CS \BIN CEMAT IndustrialX Controls \BITMAPS CEMAT Bitmaps (zip-file) \CONFIG Configuration Files \DOCU Documentation in PDF format \HARDCOPY For Print Screen functions (print faceplates) \HOTFIX Hotfix Location (Data and Tools) \MULTIMEDIA Documents for Info-Dialog: \AS AS Cabinet drawings \ELECTRICAL_DIAGRAM Electrical schematic drawings \IO I/O cabinet drawings \LOOP_DIAGRAM Software Interlocking diagrams \MANUAL General function descriptions \MCC MCC cabinet drawings \OPERATING_PROCEDURES Operating descriptions \PERIPHERY I/O information from HW Config \SOUND Sound replay \VIDEO Video description for trouble-shooting \SIMOCODE SIMOCODE files for 3UF70 \SOUNDS Sound files for alarms \TOOLS Software Tools for CEMAT \UA User Archive structure and macros \WinCC WinCC files: \GraCS CEMAT Standard pictures and bitmaps \Library WinCC Project Functions for CEMAT (C-Scripts) \PRT WinCC Report layout \WScripts WinCC Scripts for CEMAT Copyright (c) Siemens AG. All Rights Reserved. 3 - 11 Installation of a PCS7 Project Engineering Cemat V7.1 The CEMAT libraries ILS_CEM and PRO_CEM (only available if project standard is not `000') are installed in the PCS7 system directory and will be found after the installation under C:\Program Files\Siemens\Step7\S7libs 3 - 12 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Installation of a PCS7 Project Adaptation in PCS7 for CEMAT 1. In the configuration files under D:\CEMAT_CS\Config the system can be adapted to the project requirements. The main configuration file C_Config.cfg contains the settings for the Multimedia Server. If you don't want to save the Multimedia files on every Client, you have to enter name of the PC where the Multimedia files are located under "MServer=........". [MultimediaServer] ;for Example ;MServer=CLIENT62 --> The name of the CEMAT Multimedia Server is CLIENT62 ;MServer=@RM_SERVER_NAME --> The actual server for this client with the redundancy functionality ;List here the name of the multimedia server or the redundancy functionality MServer= 2. If the Windows Firewall is activated, the following Settings have to be carried out on each Server Station under Settings AE Control Panel AE Windows Firewall: In Folder "Exceptions" select "Add Program..." and chose from directory D:\Cemat_CS\Bin the file CEMATRS.exe. After that you should see the file in window "Programs and Services". Copyright (c) Siemens AG. All Rights Reserved. 3 - 13 Installation of a PCS7 Project Engineering Cemat V7.1 Create a new PCS7 Project Define a directory where all the PCS7 projects will be stored in the future. We don't recommend using the default directories under D:\SIEMENS\STEP7\S7Proj. We recommend creating a separate directory on D drive. Use Options -> Customize to select the new directory under `Storage location for projects`. Use directory D:\PROJECTS to save your PCS7 projects. If you use Multiprojects, create a Subfolder as Storage location for the Multiproject, e. g. CEM_MP You can use the Wizard to create a new Project or Multiproject or you can create the Project or Multiproject manually. The wizard will create a Project Structure with Plant Hierarchy which you can modify or delete. In the following description the project is created manually: In the SIMATIC Manager create a new project using File -> New. Select Type Multiproject and define the Project name. Check the Storage location (it should be the Multiproject directory). Confirm with OK 3 - 14 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Installation of a PCS7 Project Select the Multiproject in the SIMATIC Manager and use Multiproject -> Create in Multiproject to create the first Project within the Multiproject. Confirm with OK. Repeat this step for all your Projects. Copyright (c) Siemens AG. All Rights Reserved. 3 - 15 Installation of a PCS7 Project Engineering Cemat V7.1 Create the Project Library using the same method. For the storage location the Folder of the Multiproject Folder is used. This library will be the Master Data Library for the Project. It should contain all Blocks and Typicals used in the Project (in the CFCs of each AS-Program). To select the library as "Master" use Multiproject -> Set as Master Data Library. 3 - 16 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Installation of a PCS7 Project For each partial Project select the display language. Select Options AE Language for Display Devices. The first time a window will pop up for Message Number Assignment Selection. Assign CPU-oriented unique message numbers. Choose the installed languages in the project and select the default language. The display language must be similar in all partial projects. ! Caution: For English and Spanish you have to select English (United States) and Spanish (Traditional Sort) as these languages are used in the Cemat Standard blocks and Faceplates. Copyright (c) Siemens AG. All Rights Reserved. 3 - 17 Installation of a PCS7 Project Engineering Cemat V7.1 Once the Projects are created and the display language is selected, you have to create the AS and the OS Stations according to the Hardware Configuration of your plant. New AS/OS can be created either in the Component View of the SIMATIC Manager using right mouse button to Insert New Object or in the Network Configuration. Change name of the OS Stations to the real Station name (e.g. CLIENT62, SERV61). For the AS give a meaningful and unique name (e. g. AS1 or KILN1). 3 - 18 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Installation of a PCS7 Project Hardware Configuration for a CEMAT AS The following pages show the settings in the Hardware Configuration for a CEMAT AS. The Screenshots in this description show the Properties of a CPU 416-3 DP and a CP443-1 in order to explain the required settings for CEMAT. Other CPUs or CPs may have slightly different Property windows. To avoid misunderstanding the most important CEMAT settings are mentioned below each screen shot. Define AS Hardware Select from Hardware Catalog -> SIMATIC 400 -> RACK-400 the Rack you want to use for your AS and drop it to the sheet. Select a power supply, CPU and a CP according to your hardware configuration. When dropping the CPU create a new PROFIBUS and connect it. Copyright (c) Siemens AG. All Rights Reserved. 3 - 19 Installation of a PCS7 Project Engineering Cemat V7.1 Settings in tab Start-up: Under "Start-up after Power ON" Warm Restart must be selected 3 - 20 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Installation of a PCS7 Project Settings in tab Cycle/Clock Memory: Enter the Scan Cycle Monitoring Time. Enter the Minimum Scan Cycle Time of 100ms Select Clock Memory. The memory Byte must be 0 Copyright (c) Siemens AG. All Rights Reserved. 3 - 21 Installation of a PCS7 Project Engineering Cemat V7.1 Settings in tab Memory: These are the minimum values for Local Data per each priority class. You have to check the required local data after completing the user program and modify the local data values if necessary. Bigger CPUs probably have more memory for local data. Please set the maximum Communication Jobs to 4000 if the type of CPU allows this. 3 - 22 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Installation of a PCS7 Project Settings in tab Diagnostics/Clock: The AS synchronization type should be "As Slave" ! Note: In PCS7 V7.1 the AS always work with GMT. Copyright (c) Siemens AG. All Rights Reserved. 3 - 23 Installation of a PCS7 Project Engineering Cemat V7.1 When dropping the CP443 connect the same to the Ethernet bus. If no Ethernet bus exists, create a new Ethernet bus and connect it to the CP443. Define the Ethernet Address for the AS, e. g. 08.00.06.6F.4F.3D (MAC Address). Properties for Ethernet interface: 3 - 24 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Installation of a PCS7 Project Under Options you have to activate the time-of-day synchronization: ! Note: In PCS7 V7.1 the AS always work with GMT. Define the I/O Periphery according to the plant configuration. Save and Compile the hardware definitions and load it to the AS. Rename S7-Program Back in the SIMATIC Manager you see the elements of the Hardware Configuration (CPU, CP) under each AS Station. Below this you find the Program Container for the elements. For better identification we recommend to rename the S7 Program Container for the CPU (e. g. P_AS1). Copyright (c) Siemens AG. All Rights Reserved. 3 - 25 Installation of a PCS7 Project Engineering Cemat V7.1 Configuration of a SIMATIC PC Station The SIMATIC PC Stations (Single Station, Server, Standby-Server and Clients) have to be configured according to the Hardware of the PC. Select the appropriate WinCC Application. Select the CP Industrial Ethernet for the Plant Bus communication according to the Hardware of your PC (CP1613 or IE General) The Index must be the same as the Index in the Configuration Editor. In the Properties for each CP configure the right addresses (MAC Address; IP Address). ! Note: It is important to use exactly the same Configuration as it is defined with the commissioning wizard. Example for the Configuration of the Engineering Station: In some plants the Engineering Station has two CPs (one internal CP and one 3COM) but no CP1613. Instead of the CP1613 the 3COM is used for the communication to the Plant Bus. In this case insert a CP "IE General" instead of CP1613 for the communication to the Plant bus. The CP for the communication to the Terminal bus must not be inserted in the Hardware Configuration. 3 - 26 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Installation of a PCS7 Project Select the Object Properties for the CP in order to enter the MAC address and connect it to the Plant Bus. When saving the HW Configuration the OS-Project for the Engineering Station is created. Change the OS Project name (e.g. ES). Die OS Project name must be unique within the complete MultiProject. Copyright (c) Siemens AG. All Rights Reserved. 3 - 27 Installation of a PCS7 Project Engineering Cemat V7.1 Example for the Configuration of a Single-User Station or a Server: Select the Object Properties for the CP1613 in order to enter the MAC address and to connect it to the Plant Bus. When saving the HW Configuration the OS-Project for the station is created. Change the OS Project name (e.g. OSSRV). Die OS Project name must be unique within the complete MultiProject. For the Standby-Server use WinCC Application (stby) instead of WinCC Application. The rest is identical to the Server Configuration. 3 - 28 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Installation of a PCS7 Project Example for the Configuration of an OS Client: When saving the HW Configuration the OS-Project for the Client is created. Change the OS Project name (e.g. OSC61). Die OS Project name must be unique within the complete MultiProject. Copyright (c) Siemens AG. All Rights Reserved. 3 - 29 Installation of a PCS7 Project Engineering Cemat V7.1 Configuration of the Network Connections After all the Stations are defined you have to configure the Network Connections for the Communication between the OS Stations and the AS Stations and for the Communication between AS. The settings for the Network Connections between the AS are not part of this description. This description only refers to the communication between the AS und OS Stations. For each Connection between AS and OS Station an S7-Connection must be configured. To define the connection, the CPs of the different Stations must be linked to an Ethernet Bus. The CP of the AS is linked via "Plant Bus" or "Process Bus" to the Server Stations. For the Process Communication normally ISO Protocol is used. The OS Clients are linked via "Terminal bus" to the Server Stations. In this Network usually TCP/IP Protocol is used. In a complete Network this would look as follows: Example with 3 AS, 1 redundant Server-Pair, 1 ES and 2 OS Clients: Client 01 Client 02 Terminal Bus*) Server Server Standby ES Plant Bus AS1 ! AS2 AS3 *) The CPs for the Terminal bus communication can not be displayed in the Network Configuration of PCS7, otherwise the Hardware cannot be downloaded to the PC Stations. For the communication to the Terminal bus no configuration in Netpro is needed. In a Multiproject the Stations are often located in different Projects. Each Project has its Network Configuration which contains Ethernet Connections to Plant Bus or Terminal bus. To enable a Network Connections between different Network Configurations the Buses must be merged. In the SIMATIC Manager you will find the merge function if you select the Multiproject and use right mouse button option Multiproject AE Adjust Projects. 3 - 30 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Installation of a PCS7 Project Select Ethernet and press Execute and the Window for Industrial Ethernet merge/unmerge will open and allow you to combine the Ethernet buses from different Networks. The highlighted subnet determines the global properties for the common Network. Under Properties you will find the S7 Subnet ID: Copyright (c) Siemens AG. All Rights Reserved. 3 - 31 Installation of a PCS7 Project Engineering Cemat V7.1 After the Network is merged the Network Connections between OS Stations and the AS Stations can be defined. 3 - 32 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Installation of a PCS7 Project To add the S7 connection, select the WinCC Application of the OS-Project or the CPU of the AS and use right mouse button for selection of "Insert New Connection". Select the AS (or the WinCC Application of the OS) and press Apply. Save with ok. Copyright (c) Siemens AG. All Rights Reserved. 3 - 33 Installation of a PCS7 Project Engineering Cemat V7.1 We recommend to change the Connection identification for Local ID from S7 connection_1 into a more meaningful name, e. g. COM_AS1. ! Note: The Connection identification for Local ID must be identical for the connection of all OS-Projects to this AS. Example: COM_AS1 for the Communication to AS1 COM_AS2 for the Communication to AS2 COM_AS3 for the Communication to AS3 etc. The name will be used as Connection Name in the OS Compile for "Named Connections". Confirm the Settings with OK. Enter the Network Connections between all the OS Stations (Server, Standby-Server and Single Station) and the AS. 3 - 34 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Installation of a PCS7 Project Download for HW Configuration and Network Connections After the Station Configuration is finished and the Network Connections are complete the Configuration Data has to be transferred to the AS Stations and to the OS Stations. Before this can be done, a few preparations are required: In the SIMATIC Manager select the OS-Project for each Station and go to Object Properties - For the Server select the Path to the Target OS Computer select the Standby-OS - For the Standby-Server select the Path to the Target OS Computer the Primary Server is already selected - For the Single Stations and OS Clients select the Path to the Target OS Computer Example for selection of the target OS: Copyright (c) Siemens AG. All Rights Reserved. 3 - 35 Installation of a PCS7 Project Engineering Cemat V7.1 Download 1. Before you can download the configuration you have to select the Access Path to PC internal (local). 2. For the Download to the Stations always start with the Engineering Station. The Network Configuration for the Engineering Station has to be exact in order to enable the Download to the AS Stations and to the other PC Stations. Check the Configuration Editor to be sure that everything is configured correctly! 3. Download the Hardware Configuration to the AS. 4. Download the Network Configuration to the AS 5. Download the Hardware Configuration for each PC Station (Single Station, Server, Standby-Server) and double-check the Configuration Editor on each Target Station in order to make sure that the configuration is correct. 6. The OS Clients don't have a Configuration Editor and the Connection via Terminal bus is not configured at all. For this reason the Hardware Configuration must not be downloaded to the OS Clients! 3 - 36 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Installation of a PCS7 Project Plant Structure definition In the component view of the SIMATIC Manager the Stations were inserted and the plant configuration was defined. Now you have to use the plant view or the process object view of the SIMATIC Manager to structure the plant according to technological criteria. In the plant view the plant is structured technologically into plant sections (AREA), as in the example into Raw Mill, Kiln, Cement Mill. Coincidentally we have only one Area per AS but there could be several areas as well. Typically the first hierarchy folder is defined as AREA (there are other options in PCS7 but they are less useful). ! Caution: The plant structure is later on used in the overview area of the OS system. Therefore it is extremely important to consider the picture hierarchy from the very beginning. The areas are shown in the selections buttons of the overview area and user rights can be given per area. Also the messages are filtered per area. Below the areas there can be units, to which you may assign detail pictures. Please make sure that the CFCs area assigned to the correct units, otherwise the summarizing indication in the overview area will not work. Example: Copyright (c) Siemens AG. All Rights Reserved. 3 - 37 Installation of a PCS7 Project Engineering Cemat V7.1 The names of the hierarchy folders can be limited for maximum number of characters. The names can be included completely or partly for the designation system. The settings for max. number of hierarchy folders, max. number of characters, include in designation you will find if you select a hierarchy folder with the right mouse button and use Options -> Plant Hierarchy -> Customize. For a Cement plant 3 hierarchy folders should be (more than) enough. For the diagnostic of the hardware up to 8 hierarchy levels are required. If you want to derive the diagnostic screens from the plant hierarchy, you have to select the function "Derive diagnostic screens from the plant hierarchy". With the OS Area you specify which Hierarchy level is used the Selection Buttons in the Overview Area. Also the Operator right can later on be specified per Area. The picture hierarchy must be derived from the plant hierarchy. Otherwise some functions can not be guaranteed any more. During OS Compile the WinCC Picture tree is then generated automatically. We don't recommend including the Hierarchy folder name in the Tagging system because the tagnames would be too long. Note: If you insist to include the Hierarchy folder name in the tagging system you have to deselect this option for the System Chart. This is done in the Properties of the Hierarchy folder under "Control and Monitoring Attributes". 3 - 38 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Installation of a PCS7 Project Before a CFC or SFC can be inserted in the Plant View or the Process Object View the Hierarchy folder has to be assigned to a chart folder in a AS. Before Pictures can be inserted in the Plant View the OS assignment is required. Select the hierarchy folder and open the object properties. Use tab AS and OS assignment to select the chart folder for the assigned AS and the assigned OS. All Elements you add to this hierarchy folder will be assigned to this AS/OS. If you pass the Selected Assignments to the Lower-level Objects, the subordinated hierarchy folders get the same AS/OS Assignment. ! Important: Always use the Plant view or Process Object view for creating new elements (CFC, SFC, Pictures). If you create the elements in the component view, the plant assignation will be missing. Exception: Pictures which shall not appear in the overview must be assigned directly to the OS-Project (in the component view). Copyright (c) Siemens AG. All Rights Reserved. 3 - 39 Installation of a PCS7 Project Engineering Cemat V7.1 Create a Project library Before you start with the configuration of the individual AS, you have to create a project library, which must contain the latest version of all standard symbols, blocks and default charts which are used later on in the program. The project library contains at all symbols, blocks and charts from the CEMAT library. It may also contain additional blocks, charts and models. During the installation of CEMAT the CEMAT library (or libraries) was (were) installed in directory C:\....\Siemens\Step7\S7libs: - The CEMAT library ILS_CEM contains the S7-Program CEM_ALL with standard symbols, blocks and charts for CEMAT. - For project standards with key unequal to `000' the library PRO_CEM contains the project specific blocks. (For project key = `000' the library PRO_CEM does not exist.) In order to create the project library proceed as follows: 3 - 40 - At the moment the project library does not contain an S7 program or it contains an empty S7 program folder (in case the wizard was used to generate the project). In the second case you have to delete the S7 program folder. - Then copy the complete S7 program folder CEM_ALL of the library ILS_CEM (including all symbols, blocks and charts) into your project library. - The program folder of the Project library can be renamed, e. g. to P_LIB. - In case of a project standard you have to open the library PRO_CEM and to copy all blocks into you project library as well (overwrite the existing blocks!). - If you want to use further blocks in addition in your project you should also copy these block into the project library. Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Installation of a PCS7 Project AS Configuration Preparations for programming with the CFC The following settings have to be carried out in the CFC Editor. This is only possible if a CFC exists. Therefore in the component view open the chart folder of your AS and create a new (Dummy-)CFC. With a double-click on the CFC the CFC editor will open. Define illegal Ranges for CFC blocks: Under Options -> Customize -> Compilation/Download you have to define the illegal ranges: DB 1 FC 0 to to 999 1399 The default value for Installed blocks per runtime group is 50. This leads to warnings during the compilation of the CFC. You can increase this number (e.g. to 300). Confirm with ok. A window appears which tells you that the CFC is already using the area which is reserved for other applications. Confirm this as well in order to accept the changes. The (Dummy-)CFC which you have created in the component view was only needed in order to make the settings in the CFC-Editor. You can delete it now. Copyright (c) Siemens AG. All Rights Reserved. 3 - 41 Installation of a PCS7 Project Engineering Cemat V7.1 Copy Standard Symbols and blocks into the PCS7 Project After the project library was created which contains all symbols, blocks and charts for CEMAT, you can copy this to the AS. 1. Copy first the symbols from the project library into the S7 Program Container of your AS. As the AS does not contain any symbols, you can copy the complete SYMBOLS from the program folder of the project library into the program folder of the AS. 2. Copy all blocks from the project library into the block Container of your AS. 3. Copy the system chart into the AS. The chart must be copied in the plant view! In the chart folder of your project library you will find the system chart SYSPLC00. This system chart is required once in each AS. First define in the plant view a hierarchy folder for the system chart. Then copy the system chart from the library into this hierarchy folder. Change the name of the system chart according to the AS number (e. g. SYSPLC02). HOLCIM Standard: Parameter REL_WSTP at block C_FB_PLC must be set to 0-Signal. Otherwise the group start will be interrupted in case of a warning: 3 - 42 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Installation of a PCS7 Project Caution: Block C_PLC_PLC must only be configured if the CEMAT AS-AS-Coupling is used (for communications to older CEMAT systems, e.g. CEMAT V4). Only in this case change Paramter PLC_NO into the PLC-NO of the own AS. The CP-Address of the CP443 for Bus A and Bus B (e. g. 16372 and 16376) must then be entered into the parameters BUS_A_AD and BUS_B_AD. The function block is called once in the restart (PLC_RESTART) and once in OB1 (MAIN_TASK). For detailed description see chapter AS-AS-Coupling. 4. With the following procedure all Cemat blocks which are used in the CFC later on will be copied to the chart folder. After this you will find them in the CFC Editor under Katalog CEMAT: In the CFC-Editor go to Options -> Block types. Select the blocks from the offline block folder and copy it into the chart folder: Copyright (c) Siemens AG. All Rights Reserved. 3 - 43 Installation of a PCS7 Project Engineering Cemat V7.1 5. List of blocks, which have to be copied into the chart folder: Absolute Symbol Task FB1001 C_DRV_1D OB1 FB1060 C_ODA OB1 FB1002 C_DAMPER OB1 FB1075 C_INTERL OB1 FB1003 C_DRV_2D OB1 FB1076 C_INTER5 OB1 FB1004 C_ANNUNC OB1 FB1077 C_RELMOD OB1 FB1005 C_ANNUN8 OB1 FB1006 C_MEASUR OB1 FB61 CTRL_PID OB35*) FB1007 C_VALVE OB1 FB70 RATIO_P OB35*) FB1009 C_ROUTE OB1 FB76 CTRL_S OB35*) FB1010 C_GROUP OB1 FB1011 C_SILOP OB1 FC1017 C_MUX OB1 FB1013 C_SELECT OB1 FC1018 C_ADAPT OB1 FC1020 C_SIMU_L OB1 FB1015 C_COUNT OB35 FB1016 C_RUNNT OB1 FB1018 C_PID3 OB35*) FB1026 C_MEAS_I OB1 FB1033 C_SIMO_A OB1 FB1034 C_SIMOS OB1 FB1036 C_STO_MA OB1 FB1037 C_STORAG OB1 FB1038 C_ANA_SEL OB1 FB1039 C_POLY3 OB1 Absolute Symbol Task *) This block can be called from any Time interrupt OB. 3 - 44 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Installation of a PCS7 Project Compile and Download CFC Once the configuration settings have been made in the system chart the AS Program is loadable and executable. ! Warning: To start the AS with the Programmer only Warm Restart is allowed! After these steps you can start with the AS Engineering. In chapter 6 of this manual "AS Engineering" you find some additional advises. You may also continue with the configuration of the OS System. To enable the OS compile, the compile of the CFC must be carried out before. For the first time a complete compile is required. OS Compile Compile the OS (for all Servers and Single User Systems). With the OS Compile, in the Tag Management of the OS the driver SIMATIC S7 PROTOCOL SUITE is added. Under "Named connections" you will find the variables of the group instance list and of the System chart. Copyright (c) Siemens AG. All Rights Reserved. 3 - 45 Installation of a PCS7 Project Engineering Cemat V7.1 OS Configuration (Single-User System) The WinCC Project (OS-Project) for the Single-User System was already defined with the SIMATIC Manager or Network Configuration. The following settings have to be carried out in the OS-Project, which means you have to open WinCC. This can be done directly from the SIMATIC Manager through selection of the OS with right mouse button and Open Object of from the Start Menu under Start -> Simatic -> WinCC -> WinCC Explorer. ! Important: The following steps must be carried out from the beginning in the engineering language, which is used for the project. If you change the language afterwards the language dependent setting must be repeated. The language settings in SIMATIC Manager are not consistent with the settings for WinCC!! Project Properties Adaptations for the Project itself can be carried out under Properties. Folder "General" contains the Project Type. Generating a new OS-Project of type "WinCC Application" automatically a "Multi-User Project" is created. As in a Single User System no Server License is available you have to select the Project type Single-User Project. ! Note: Don't delete the startup list! In Folder "Update Cycles" the time values for the Update cycles are defined. The CEMAT Symbols generally use "User Cycle 1". The default value of this is 2000ms. You have to adapt this value according to your requirement, e.g. 1000ms. 3 - 46 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Installation of a PCS7 Project OS Project Editor Settings for the user interface used by the plant operator for monitoring and controlling the plant during process operation In the OS Project Editor. A detailed description to this item you find in the PCS7 Configuration Manual Operator Station. The following pages describe only the settings relevant for CEMAT. In Tab Layout choose the screen resolution according to your Monitor. In Cemat V7.1 the default resolution is 1920x1080, but the Cemat Standard pictures are also available for 1280x1024, 1600x1200 (not for Project Version 004), 1680x1050 and 1920x1200. Also select the Number of horizontal and vertical area keys under Detail (Picture Tree) and the Monitor Configuration of your PC. Example for the Layout of a Single Station: ! Note: If you select a different screen resolution (1280x1024, 1600x1200, 1680x1050 or 1920x1200), the standard pictures @AlarmOneLine.pdl, @TopAlarmNew.pdl, @C_AlarmListing_Cemat.pdl, @AlarmEmergency.pdl, @AlarmEmergencyOP.pdl and @Overview1.pdl have to be exchanged. Copyright (c) Siemens AG. All Rights Reserved. 3 - 47 Installation of a PCS7 Project Engineering Cemat V7.1 Message display for a Single Station: The Message filter has to be set to "Acknowledgeable messages in separate list". The group display should be created and updated automatically. ! 3 - 48 Note: The sorting of the message pages is only used for the Standard WinCC Alarm list, and not relevant for the Cemat Alarm list. In the Cemat Alarm list the default sorting is "Latest message at the bottom". This setting can be changed under D:\Cemat_CS_Config in file C_Messages.cfg (see chapter Tips and Tricks). Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Installation of a PCS7 Project Runtime-Window for a Single Station Define the maximum number of windows that can be opened when faceplates and curves are called as well as the maximum number of faceplates that can be opened on a monitor. Set the maximum number of picture modules per monitor to 6 and the maximum number per picture module to 3. The rest of the settings in the OS Project Editor can remain as per default or can be adapted later. With "OK" all settings are carried out. ! Caution: If for any reason you have to run the OS-Project Editor again, make sure that all files mentioned under CEMAT Specific Preparations are deselected in Folder "Base Data". Otherwise the CEMAT Settings are overwritten with the delivery state of PCS7. AE See chapter CEMAT Specific Preparations! Copyright (c) Siemens AG. All Rights Reserved. 3 - 49 Installation of a PCS7 Project Engineering Cemat V7.1 Computer properties The computer properties must be checked and adapted to the requirements of the plant. Most of the settings can probably not be entered at the beginning of the engineering and must be adapted later (sometimes after commissioning). Folder General shows the Computer Name and the Computer Type ! 3 - 50 Caution: The Computer Name for all OS Projects is the name of the Engineering Station. During the download of the OS-Project to the individual PCs the name is automatically replaced by the Name of the PC Station. Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Installation of a PCS7 Project Folder Startup shows the applications which are started after Activation of the Runtime System Under Additional Tasks/Applications you have to add the CEMATRS.exe to the Startup list. The application is located in Directory D:\CEMAT_CS\BIN. CEMATRS.exe should be called at the end. Insert both, the Application and the working Directory and save with ok. Move the application to the last position. Copyright (c) Siemens AG. All Rights Reserved. 3 - 51 Installation of a PCS7 Project Engineering Cemat V7.1 Tag Management Cemat Tags Cemat needs a number of internal variables. Unfortunately the automatic generation of these variables during the activation of the runtime is not possible, because in this case the variables are created only on the destination station and this inhibits the download of changes. Open the Tag Management and add the internal variables for CEMAT: Add new Group "CEMAT" Within this group add the following variables: Name Data Type update C_VIEW_TAG_A Binary tag Computer-local C_VIEW_TAG_D Binary tag Computer-local C_ServerName Text tag 16bit character set Computer-local C_Empty Text tag 16bit character set Computer-local C_AlarmNavigation Text tag 16bit character set Project-wide C_ProjectCode Unsigned 8-bit value Project-wide C_ALM Unsigned 16-bit value Project-wide Redundancy Tags CEMAT needs the Redundancy tags in any case, even if this is a Single User Station. The easiest way to create the Redundancy tags is to activate the Redundancy temporarily (and to deactivate afterwards). After activating the redundancy the following internal variables have been added in group Redundancy": @RM_MASTER @RM_MASTER_NAME @RM_SERVER_NAME @RM_OFFLINE_UA_NAME ! Note: In case of a Single User Station you have to deactivate the redundancy! Horn Tags During the horn configuration additional tags are automatically created. You will find these variables in group "Horn". 3 - 52 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Installation of a PCS7 Project General changes in the alarm logging The text length is specified in the alarm pictures. Select the Alarm Logging" in the WinCC Explorer and use right mouse button to open the alarm logging editor. Click on the plus symbol in front of Message blocks Select System blocks - Use right mouse button to click on Date", and select properties (The date corresponds to regional settings in the Op. System) - Change the following settings: Flashing = off - Use right mouse button to click on Time", and select properties (The time corresponds to regional settings in the Op. System) - Change the following settings: Flashing = off - Use right mouse button to click on Status", and select properties - Change the following settings: Flashing = off - Use right mouse button to click on Comment", and select properties - Change the following settings: Flashing = off - Use right mouse button to click on Info", and select properties - Change the following settings: Flashing = off Select User text block - Use right mouse button to click on Source", and select properties - Change the following settings: Change Source" to Tagname" Flashing = off - Use right mouse button to click on Area", and select properties - Change the following settings: Flashing = off - Use right mouse button to click on Event", and select properties - Change the following settings: Flashing = off - Use right mouse button to click on Free 1" and select properties - Change the following settings: Change Free 1" to Tag Comment" Flashing = off - Use right mouse button to click on Free 2" and select properties - Change the following settings: Change Free 2" to FCL" (Fault class) Flashing = off Copyright (c) Siemens AG. All Rights Reserved. 3 - 53 Installation of a PCS7 Project Engineering Cemat V7.1 Message classes and message types Click on the plus symbol in front of Message classes Change the settings for Alarm", Warning", PLC Process Control System Messages", Process Message", Operator Input Messages" according to the following table. - Use right mouse button to click on Alarm" and select properties Go to folder General Information" and select Properties" button to change the colors. Go to folder Acknowledgement" to change the acknowledge parameters. The colors and message types have to be changes as follows: Message class Message Type Came in Text color Alarm Warning Process Message PLC Control System M. Operator Input Message Acknowledged Background color red Text Backcolor ground color black green black yellow black green black red black green white red black green black cyan H white L H black L Process white Failure Went out Text color Back- Must be ground ackn. color pink yes Come in Flashing must be acknowl. yes off yes yes off black light yellow pink yes yes off black pink yes yes off no no off The acknowledge philosophy for the message classes Alarm", Warning", Process message" and "PLC Control System Messages" has to be configured as follows: 3 - 54 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Installation of a PCS7 Project Archive Configuration Under "Archive Configuration" -> "Message Archive" -> "Properties" you have to configure the archive according to the requirements of your project: Exit the alarm logging editor and save the changes. Copyright (c) Siemens AG. All Rights Reserved. 3 - 55 Installation of a PCS7 Project Engineering Cemat V7.1 Tag logging For the archiving of the measuring values, a process value archive must be created which contains an archive tag for each measure which is archived. As default, archiving is performed locally on the OS server. If you use a central archive server, the archiving routines are performed centrally on this archive server. As an additional tool for archiving data from PCS 7, you can also use Storage Plus. This software package requires a separate license. More information about archiving possibilities you find under "Archiving" in the same manual. Required settings for CEMAT The direct call of the archive curve from the faceplate of the measure is only possible if you follow the CEMAT rules: The name of the archive tag exactly corresponds to the name of the process tag. ! Caution: If the archive name of the name of the archive tag differs from the above mentioned rules, the CEMAT Faceplate will not be able to find the Archive data and the archive curve of the measure will not be shown. Make sure that the Tag name of the measure does not contain any illegal characters for archive variables! The Name of the process value archive depends, whether you want to create only one Archive which contains all Archive Variables or you want to create different Archives (e. g. for each area). - If you create the process value archive with the WinCC Explorer the default name is ProcessValueArchive. This is also the Archive name which Cemat uses in case no further engineering is carried out in the CFC or in the block icon. - If the archive variables are created during the OS Compile (setting in the CFC) the system created a process value archive with the name SystemArchive. This name is entered into the automatically created internal variable @TagArchiveName and can be modified later on. Since V7.1, Cemat looks for Variable @TagArchiveName and, if available, the archive name is picked from there. - Beside this, the possibility exists to create different process value archives. In this case additional engineering effort is required because each measuring value must be assigned to a specific archive. Up to now this was only possible via the block icon, entering the Archive name in the Property Styles at Attribute ReturnPath. The disadvantage of this is that the archive name is only available if you open the faceplate of the measure through click on the block icon. If you open the measure faceplate through the Drive Faceplate or from the group instance list, the information from the block icon of the measure is not available and Cemat uses the default Archive name. - From Cemat V7.1 a new option is given for using different archives. The archive name must be entered in the CFC at the Structure variable PV_Out.Value under Identifier. This name is used in any case, independent whether you open the Measure faceplate via the block icon or indirectly via the drive block. The priority for the determination of the archive name is as follows: Prio1: Checking the entry in the internal variable measure.PV_Out#Value#Shortcut Prio2: Checking the entry in the block icon under property Styles, Attribute ReturnPath. Prio3: Entry in Variable @TagArchiveName (if existing) Prio4: Default setting "ProcessValueArchive" 3 - 56 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Installation of a PCS7 Project At this step it is probably more convenient, only to prepare the process value archive (Size of the archive, archiving duration, default values for archiving cycles) and to configure the archive later, because at this moment no measures exist and therefore no archive variables can be created. User Archives There are 3 user archives for CEMAT Functions. The user archive C_DriveList contains the Group-Object-Lists (list of objects associated to a route or group). The user archive C_INFO contains the object information (Info Database). The user Archive C_POLY3 is only required if the Function Polygon is used. How to create the user archive for the Group-Object-List In directory D:\CEMAT_CS\ua you will find the default user archive for the Group-Object-List. File DriveList.uap contains the structure of the Group-Object-List. The data for Group-ObjectList are entered in runtime mode. Import the structure of the C_DriveList and save: 1. Open the User-Archive 2. Import the structure of the Object list database from C_DriveList.uap 3. Save the structure. Through the import the Group-Object-List is created with the following structure: You must not enter any data into the user archive Group-Object-List. The data will be entered during runtime. Copyright (c) Siemens AG. All Rights Reserved. 3 - 57 Installation of a PCS7 Project Engineering Cemat V7.1 How to create the user archive for the Info Database In directory D:\CEMAT_CS\ua you will find the default files for the Info Database. File C_INFO.uap contains the structure of the Info Database. Import the structure of the C_INFO and save: 1. Open the User-Archive 2. Import the structure of the Info Database from C_INFO.uap 3. Save the structure. Through the import the Info Database is created with the following structure: 3 - 58 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Installation of a PCS7 Project The Info Database must be filled by the user. The easiest way is to use an Excel Tool which is described in chapter OS Engineering. ! Attention: You must create at least one line of runtime data into the Info Database. Select the input mode, in the first line enter in column C_TAG the string Dummy" and press Return. How to create the user archive for Polygon function In directory D:\CEMAT_CS\ua you will find the default user archive for the Polygon C_POLY3. File C_POLY3.uap contains the structure of the Polygon Archive. The data for the Polygon archive is entered in runtime mode. Import the structure of the C_POLY3 and save: 1. Open the User-Archive 2. Import the structure of the Polygon database from C_POLY3.uap 3. Save the structure. Copyright (c) Siemens AG. All Rights Reserved. 3 - 59 Installation of a PCS7 Project Engineering Cemat V7.1 Add User rights In CEMAT Standard additional User rights must be added to the PCS7 User rights in order to define more detailed who is authorized for which action. In the WinCC Explorer click open the User Administrator and add the rights from No. 18 to No. 29 according to the following list: 3 - 60 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Installation of a PCS7 Project The following table shows the user rights for the particular the CEMAT Functions. For some operations it is possible to give instance specific rights via block icon attributes "Processcontrolling_backup" and "HigherProcesscontrolling_backup" (see chapter OSEngineering): Object type Operation Right/ default right Instance specific settings possible via Attribute Project Code C_DRV_1D Start/Stop 05: Process controlling Processcontrolling_backup all Process parameter 22: Object Parameters all Reset Operation 23: System Operations all Bypass speed monitor 24: Interlocking Signals HigherProcesscontrolling_backup all Maintenance functions 29: Maintenance auto/man. Interl./man. Non Interl. 05: Process controlling all Processcontrolling_backup non interl. Single mode 23: System Operations Rel. non interl. Single mode 24: Interlocking Signals on/off C_DRV_2D R1/R2/Stop Process parameter 05: Process controlling 006 007 HigherProcesscontrolling_backup 004/007 Processcontrolling_backup 22: Object Parameters all all Reset Operation 23: System Operations all Bypass speed monitor 24: Interlocking Signals HigherProcesscontrolling_backup all Maintenance functions 29: Maintenance auto/man. Interl./man. Non Interl. 05: Process controlling all Processcontrolling_backup non interl. Single mode 23: System Operations Rel. non interl. Single mode 24: Interlocking Signals on/off C_DAMPER R1/R2/Stop Process parameter 05: Process controlling 006 007 HigherProcesscontrolling_backup 004/007 Processcontrolling_backup 22: Object Parameters all all Reset Operation 23: System Operations Button "up" 05: Process controlling Processcontrolling_backup all Button "down" 05: Process controlling Processcontrolling_backup all Set point 05: Process controlling Processcontrolling_backup all Release inching mode 05: Process controlling Processcontrolling_backup all Maintenance functions 29: Maintenance auto/man. Interl./man. Non Interl. 05: Process controlling non interl. Single mode 23: System Operations Rel. non interl. Single mode 24: Interlocking Signals on/off Copyright (c) Siemens AG. All Rights Reserved. all all Processcontrolling_backup 006 007 HigherProcesscontrolling_backup 004/007 3 - 61 Installation of a PCS7 Project Engineering Cemat V7.1 Object type Operation C_VALVE Right/ default right Instance specific settings possible via Attribute Project Code R1/R2/Stop 05: Process controlling Processcontrolling_backup all Process parameter 22: Object Parameters all Reset Operation 23: System Operations all Maintenance functions 29: Maintenance auto/man. Interl./man. Non Interl. 05: Process controlling all Processcontrolling_backup non interl. Single mode 23: System Operations Rel. 007 non interl. Single mode 24: Interlocking Signals on/off HigherProcesscontrolling_backup 004/007 Override limit position 24: Interlocking Signals HigherProcesscontrolling_backup 004 18: Modify Warning Limits HigherProcesscontrolling_backup all C_MEASUR Warning Limits Alarm Limits 19: Modify Alarm Limits Switching Limits 20: Modify Switching Limits Simulation 24: Interlocking Signals all Processcontrolling_backup all all Bypass Meas. Channel 24: Interlocking Signals all Process Parameters all C_GROUP Start/Stop/Interrupt/ Local/Auto/ Single/QuickStop 22: Object Parameters 05: Process controlling Processcontrolling_backup all Process Parameters 22: Object Parameters Auto 05: Process controlling Processcontrolling_backup 006 Standby mode 05: Process controlling Processcontrolling_backup 004 not empty 24: Interlocking Signals HigherProcesscontrolling_backup 004 Bypass Interlock 23: System Operations 004 C_ROUTE Select/Deselect all 05: Process controlling Processcontrolling_backup all 05: Process controlling Processcontrolling_backup 006 C_SELECT Select/Deselect 05: Process controlling Processcontrolling_backup all C_ANNUNC Process Parameters 22: Object Parameters Auto Simulation C_PROFB Process Parameters Simulation C_ANNUN8 Process Parameters Simulation 3 - 62 006 all 24: Interlocking Signals 22: Object Parameters HigherProcesscontrolling_backup all 004 24: Interlocking Signals 22: Object Parameters HigherProcesscontrolling_backup 004 all 24: Interlocking Signals HigherProcesscontrolling_backup all Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Installation of a PCS7 Project Object type Operation Right/ default right C_RUNNT Reset 23: System Operations all C_COUNT Reset 23: System Operations all C_SILOP Start 05: Process controlling Process Parameters 22: Object Parameters CTRL_PID Set point, Output Process Parameters Info-Dialog All registers without Service 05: Process controlling Instance specific settings possible via Attribute Processcontrolling_backup Project Code all all Processcontrolling_backup all 21: Controller Parameters HigherProcesscontrolling_backup all 27: Info Dialog Input all Service Register 28: Info Dialog Service all Save Button 05: Process controlling all Copyright (c) Siemens AG. All Rights Reserved. 3 - 63 Installation of a PCS7 Project Engineering Cemat V7.1 Selection of area specific rights After the definition of the additional user rights for CEMAT you must define the user groups and the users and in order to specify the rights for each user. You can e.g. enable a complete area or only certain operations within an area. With the right 2 "Authorization for area" it is defined which area can be viewed. With the right 5 Process controlling", it is defined whether a user is allowed to operate the area. He will then also get the messages from this area and the horn is activated. Example: The user Operator_1" is allowed to: open, watch operate AE Raw Mill, Kiln AE Raw Mill The area System is disabled for Operator1. Messages are only shown for areas which are enabled for operation. Operator_1 will get only the messages from the Raw Mill area and he can acknowledge only these messages. 3 - 64 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Installation of a PCS7 Project Horn configuration From CEMAT V6.1 you can define a separate Sound for each Message class. The horn must be configured as follows: 1. First define in tab "Message assignments" all message classes which should create a sound. These are Alarms, Warnings, System messages which require acknowledgement, PLC Process control message and Process messages. If you use other message classes with alarms in your project you have to define these as well. 2. Assign the Authorization Process controlling". (With this the Authorization is enabled per Area). 3. Per message class, define an internal variable with computer local actualization. Insert the variable name. With "Apply" the variable is automatically created in the tag management. 4. The definition can also be carried out per Area. Copyright (c) Siemens AG. All Rights Reserved. 3 - 65 Installation of a PCS7 Project Engineering Cemat V7.1 5. In tab "Signal assignment" you can define for each variable an individual sound. A sample of different sounds you find in directory D:\CEMAT_CS\Sounds. 3 - 66 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Installation of a PCS7 Project Update the WinCC Project with Cemat Functions In the following step the WinCC Project gets updated with the Cemat functions. During the Cemat installation the Cemat WinCC files are copied into folder D:\CEMAT_CS\WinCC under GraCS, Libray, PRT and Wscipts. These files must now be copied to the equivalent folders of the OS Project. Additionally, some PDLs are available in different Screen resolutions (1280x1024, 1600x1200, 1680x1050, 1920x1080 or 1920x1200) and must be exchanged. GraCS-Files for which different Screen Resolutions exist: 1280x102 4 1600x1200 1680x1050 1920x108 0 1920x1200 @AlarmEmergency.pdl x x x x x @AlarmEmergencyOP.pdl x x x x x @AlarmOneLine.pdl x x x @C_AlarmListing.pdl x x x @Overview1.pdl x x x @TopAlarmNew.pdl x x x x x x x In order to update the WinCC Project, please go to D:\CEMAT_CS and start 'CematProjectUpdate.exe'. The Source must be D:\CEMAT_CS Under OS Project - Destination you have to enter destination (Directory of the OS Project) Under OS Project Sub Directories you find the Subfolders which get copied during the update (cannot be modified). Copyright (c) Siemens AG. All Rights Reserved. 3 - 67 Installation of a PCS7 Project Engineering Cemat V7.1 Select the desired Screen Resolution for your Project (1280x1024, 1600x1200, 1680x1050, 1920x1080 or 1920x1200). Via an option, during the OS Project Update the above listed Standard pictures are exchanged according to the screen resolution. Press button 'Update OS Project' and the files will be copied to the corresponding directories. One by one the directories GraCS, Library, PRT and WScripts are copied into your OS Project and after this the PDLs are exchanged by the proper Screen Resolution. You have to acknowledge each step with OK and everything is entered into a LOG file. During the update procedure the following GraCS files are overwritten by Cemat files. @AlarmEmergency.pdl @AlarmEmergencyOP.pdl @AlarmOneLine.pdl @Buttons11.pdl @Buttons12.pdl @Language.pdl @Logo.pdl @Overview1.pdl @TopAlarmNew.pdl @PG_Intlk02_Standard.pdl @PG_Intlk04_Standard.pdl @PG_Intlk08_Standard.pdl @PG_Intlk16_Screen2.pdl @PG_Intlk16_Standard.pdl ! Extended Alarm line Extended Alarm line Alarm line Button keys1 Button keys 2 Language Selection Cemat Logo Overview Range Alarm lines Interlock faceplate Interlock faceplate Interlock faceplate Interlock faceplate Interlock faceplate Caution: If for any reason you have to run the OS-Project Editor again, make sure that the above mentioned PDLs are deselected in Folder "Base Data". Otherwise the CEMAT Settings are overwritten with the delivery state of PCS7. @TopAlarmNew.pdl and @Overview1.pdl can not be deselected and must be copied from D:\CEMAT_CS\WinCC\GraCS again after running the OS-Project Editor. If you have to exchange the Screen Resolution later on, you can also use program 'CematProjectUpdate.exe' to carry out this function (Button Pixel). After the update of the WinCC Project, proceed as follows: - Open the WinCC Project. - Open 'Global Script' selecting C-Editor and regenerate Header. (Menu Options -> Regenerate Header) 3 - 68 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Installation of a PCS7 Project Generation of the Template Pictures With the CEMAT project update various template pictures is copied into the GraCS folder of the OS Project. The template pictures contain default symbols for automatic generation of block icons from SIMATIC Manager. The symbols of the new template pictures C_@PCS7Typicals_CemV7.pdl and C_@PCS7Typicals_CemV7_Holcim.pdl are slightly bigger than the symbols of older Cemat Versions and contain the attributes for the new functions. In general they can be used for all screen resolutions. The old template picture for screen resolution 1280x1024 (without new functions) and the corresponding bitmaps you find on the Cemat installation DVD in directory Cemat_AddOn\CEMAT_1280\CEMAT_CS\WinCC\GraCS. You can still use these but in this case you have to copy it manually into the GraCS directory of your OS project. In each template picture you find examples for different representations of all CEMAT block types. - The picture C_@PCS7Typicals_CemV7.pdl contains the block icons for Normal Standard and for the Project standards 006, 007 and 026 (not for 004 and 027). (For all non-mentioned Project standards the symbols for Normal standard can be used.) The new block icons are slightly bigger than the old block icons, but they can be used for all screen resolutions. - The picture C_@PCS7Typicals_CemV7_1280.pdl contains smaller block icons for Normal Standard and for the Project standards 006, 007 and 026 (not for 004 and 027). (For all non-mentioned Project standards the symbols for Normal standard can be used.) Please consider that these block icons don't contain all new functions! - The picture C_@PCS7Typicals_CemV7_Holcim.pdl contains the block icons for Holcim (Project Standard 004). The picture C_@PCS7Typicals_CemV7_LF.pdl contains the block icons for Lafarge (Project Standard 027). In case of Project Standard 004 or 027, the block icons of template pictures C_@PCS7Typicals_CemV7.pdl and C_@PCS7Typicals_CemV7_1280.pdl can not be used. - For Holcim (Project Standard 004) an additional Template picture C_Holcim_Symbols.pdf is available. It contains picture elements (extended Status Display) for Motors, Dampers and Valves, which are displayed additionally to the block icon. For the automatic generation of block icons PCS7 V7.1 uses the picture @PCS7Typicals.pdl or the pictures with this name plus an extension (e. g. @PCS7Typical_1.pdl). The program searches in ascending sequence. Before you can use the automatic generation of block icons you must create a template picture with the name @PCS7Typicals_extension.pdl which contains the symbols you want to use in the project. You can use the CEMAT template pictures and rename it or you can copy parts of it into your template picture. ! Caution: Only use the block icons which fit to your Project version. Using block icons from different project versions does not guarantee full functionality. Further information regarding Template pictures you find in chapter OS Engineering. Copyright (c) Siemens AG. All Rights Reserved. 3 - 69 Installation of a PCS7 Project Engineering Cemat V7.1 OS Configuration (Server) The WinCC Project (OS-Project) for the Server was already defined with the SIMATIC Manager or Network Configuration. The following settings have to be carried out in the OSProject, which means you have to open WinCC. This can be done directly from the SIMATIC Manager through selection of the OS with right mouse button and Open Object of from the Start Menu under Start -> Simatic -> WinCC -> WinCC Explorer ! Important: The following steps must be carried out from the beginning in the engineering language, which is used for the project. If you change the language afterwards the language dependent settings must be repeated. The language settings in SIMATIC Manager are not consistent with the settings for WinCC!! Project Properties Adaptations for the Project itself can be carried out under Properties. Folder "General" contains the Project Type. A Server must be a "Multi-User Project". This is the default setting and must not be changed. In Folder "Update Cycles" the time values for the Update cycles are defined. The CEMAT Symbols generally use "User Cycle 1". The default value of this is 2000ms. You have to adapt this value according to your requirement, e.g. 1000ms. 3 - 70 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Installation of a PCS7 Project OS Project Editor Settings for the user interface used by the plant operator for monitoring and controlling the plant during process operation In the OS Project Editor. A detailed description to this item you find in the PCS7 Configuration Manual Operator Station. The following pages describe only the settings relevant for CEMAT. In Tab Layout choose the screen resolution according to your Monitor. In Cemat V7.1 the default resolution is 1920x1080, but the Cemat Standard pictures are also available for 1280x1024, 1600x1200 (not for Project Version 004), 1680x1050 and 1920x1200. Example for the Layout of a Server: The recommended screen resolution for CEMAT is 1920x1080. Sometimes smaller monitors are used for the servers which may not allow this screen resolution. Select the appropriate screen resolution for your monitor. Copyright (c) Siemens AG. All Rights Reserved. 3 - 71 Installation of a PCS7 Project Engineering Cemat V7.1 Message display for a Server: The group display should be created and updated automatically. ! Note: The sorting of the message pages is only used for the Standard WinCC Alarm list, and not relevant for the Cemat Alarm list. In the Cemat Alarm list the default sorting is "Latest message at the bottom". This setting can be changed under D:\Cemat_CS_Config in file C_Messages.cfg (see chapter Tips and Tricks). The rest of the settings in the OS Project Editor can remain as per default or can be adapted later. With "OK" all settings are carried out. 3 - 72 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Installation of a PCS7 Project Computer properties The computer properties must be checked and adapted to the requirements of the plant. Most of the settings can probably not be entered at the beginning of the engineering and must be adapted later (sometimes after commissioning). Folder General shows the Computer Name and the Computer Type ! Caution: The Computer Name for all OS Projects is the name of the Engineering Station. During the download of the OS-Project to the individual PCs the name is automatically replaced by the Name of the PC Station. Copyright (c) Siemens AG. All Rights Reserved. 3 - 73 Installation of a PCS7 Project Engineering Cemat V7.1 Folder Startup shows the applications which are started after Activation of the Runtime System Under Additional Tasks/Applications you have to add the CEMATRS.exe to the Startup list. The application is located in Directory D:\CEMAT_CS\BIN. CEMATRS.exe should be called at the end. Insert both, the Application and the working Directory and save with ok. Move the application to the last position. 3 - 74 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Installation of a PCS7 Project Tag Management Cemat Tags Cemat needs a number of internal variables. Unfortunately the automatic generation of these variables during the activation of the runtime is not possible, because in this case the variables are created only on the destination station and this inhibits the download of changes. Open the Tag Management and add the internal variables for CEMAT: Add new Group "CEMAT" Within this group add the following variables: Name Data Type update C_VIEW_TAG_A Binary tag Computer-local C_VIEW_TAG_D Binary tag Computer-local C_ServerName Text tag 16bit character set Computer-local C_Empty Text tag 16bit character set Computer-local C_AlarmNavigation Text tag 16bit character set Project-wide C_ProjectCode Unsigned 8-bit value Project-wide C_ALM Unsigned 16-bit value Project-wide Horn Tags From CEMAT V6.1 you can define a separate Sound for each Message class. The horn must be configured correspondingly. The horn configuration is carried out in the Client Project. The following configuration in the tag management of the server depends on whether you want to acknowledge the Horn on each Client independently or you want to acknowledge the Horn for different Clients at the same time. The first solution may be useful if each WinCC Client is located in a different Room. If the Clients are located close to each other and if the same plant section can be operated and controlled by different Clients at the same time, the WinCC clients should act in unison. More about Horn configuration you can read in the online-help of WinCC. In case of WinCC clients with signaling devices acting in unison you have to create one or more reset tags on the Server. If the Horn is acknowledged on one client the variable on the server will be reset. This leads to an Acknowledgement for all Clients which use the same reset variable. Create a reset variable in the Group Horn" Name Data Type update HornResetMC binary Project-wide This variable must be selected in the Horn Configuration of the Client. Copyright (c) Siemens AG. All Rights Reserved. 3 - 75 Installation of a PCS7 Project Engineering Cemat V7.1 Redundancy Tags CEMAT always needs the Redundancy tags, even if you may not have a redundant Server at the moment. The following Redundancy tags get automatically created when activating the Redundancy and will be found as internal variables in group Redundancy": @RM_MASTER @RM_MASTER_NAME @RM_SERVER_NAME @RM_OFFLINE_UA_NAME ! 3 - 76 Note: If no redundant Server is available (yet), the Redundancy must afterwards be deactivated again! Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Installation of a PCS7 Project General changes in the alarm logging The text length is specified in the alarm pictures. Select the Alarm Logging" in the WinCC Explorer and use right mouse button to open the alarm logging editor. Click on the plus symbol in front of Message blocks Select System blocks - Use right mouse button to click on Date", and select properties (The date corresponds to regional settings in the Op. System) - Change the following settings: Flashing = off - Use right mouse button to click on Time", and select properties (The time corresponds to regional settings in the Op. System) - Change the following settings: Flashing = off - Use right mouse button to click on Status", and select properties - Change the following settings: Flashing = off - Use right mouse button to click on Comment", and select properties - Change the following settings: Flashing = off - Use right mouse button to click on Info", and select properties - Change the following settings: Flashing = off Select User text block - Use right mouse button to click on Source", and select properties - Change the following settings: Change Source" to Tagname" Flashing = off - Use right mouse button to click on Area", and select properties - Change the following settings: Flashing = off - Use right mouse button to click on Event", and select properties - Change the following settings: Flashing = off - Use right mouse button to click on Free 1" and select properties - Change the following settings: Change Free 1" to Tag Comment" Flashing = off - Use right mouse button to click on Free 2" and select properties - Change the following settings: Change Free 2" to FCL" (Fault class) Flashing = off Copyright (c) Siemens AG. All Rights Reserved. 3 - 77 Installation of a PCS7 Project Engineering Cemat V7.1 Message classes and message types Click on the plus symbol in front of Message classes Change the settings for Alarm", Warning", AS Process Control System Messages", Process Message", Operator Input Messages" according to the following table. - Use right mouse button to click on Alarm" and select properties Go to folder General Information" and select Properties" button to change the colors. Go to folder Acknowledgement" to change the acknowledge parameters. The colors and message types have to be changes as follows: Message class Message Type Came in Text color Alarm Warning Process Message PLC Control System M. Operator Input Message Acknowledged Background color red Text Backcolor ground color black green black yellow black green black red black green white red black green black cyan H white L H black L Process white Failure Went out Text color Back- Must be ground ackn. color pink yes Come in Flashing must be acknowl. yes off yes yes off black light yellow pink yes yes off black pink yes yes off no no off The acknowledge philosophy for the message classes Alarm", Warning", Process message" and "PLC Control System Messages" has to be configured as follows: 3 - 78 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Installation of a PCS7 Project Archive Configuration Under "Archive Configuration" -> "Message Archive" -> "Properties" you have to configure the archive according to the requirements of your project: Exit the alarm logging editor and save the changes. Copyright (c) Siemens AG. All Rights Reserved. 3 - 79 Installation of a PCS7 Project Engineering Cemat V7.1 Tag logging For the archiving of the measuring values, a process value archive must be created which contains an archive tag for each measure which is archived. As default, archiving is performed locally on the OS server. If you use a central archive server, the archiving routines are performed centrally on this archive server. As an additional tool for archiving data from PCS 7, you can also use Storage Plus. This software package requires a separate license. More information about archiving possibilities you find under "Archiving" in the same manual. Required settings for CEMAT The direct call of the archive curve from the faceplate of the measure is only possible if you follow the CEMAT rules: The name of the archive tag exactly corresponds to the name of the process tag. ! Caution: If the archive name of the name of the archive tag differs from the above mentioned rules, the CEMAT Faceplate will not be able to find the Archive data and the archive curve of the measure will not be shown. Make sure that the Tag name of the measure does not contain any illegal characters for archive variables! The Name of the process value archive depends, whether you want to create only one Archive which contains all Archive Variables or you want to create different Archives (e. g. for each area). - If you create the process value archive with the WinCC Explorer the default name is ProcessValueArchive. This is also the Archive name which Cemat uses in case no further engineering is carried out in the CFC or in the block icon. - If the archive variables are created during the OS Compile (setting in the CFC) the system created a process value archive with the name SystemArchive. This name is entered into the automatically created internal variable @TagArchiveName and can be modified later on. Since V7.1, Cemat looks for Variable @TagArchiveName and, if available, the archive name is picked from there. - Beside this, the possibility exists to create different process value archives. In this case additional engineering effort is required because each measuring value must be assigned to a specific archive. Up to now this was only possible via the block icon, entering the Archive name in the Property Styles at Attribute ReturnPath. The disadvantage of this is that the archive name is only available if you open the faceplate of the measure through click on the block icon. If you open the measure faceplate through the Drive Faceplate or from the group instance list, the information from the block icon of the measure is not available and Cemat uses the default Archive name. - From Cemat V7.1 a new option is given for using different archives. The archive name must be entered in the CFC at the Structure variable PV_Out.Value under Identifier. This name is used in any case, independent whether you open the Measure faceplate via the block icon or indirectly via the drive block. The priority for the determination of the archive name is as follows: Prio1: Checking the entry in the internal variable measure.PV_Out#Value#Shortcut Prio2: Checking the entry in the block icon under property Styles, Attribute ReturnPath. Prio3: Entry in Variable @TagArchiveName (if existing) Prio4: Default setting "ProcessValueArchive" 3 - 80 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Installation of a PCS7 Project At this step it is probably more convenient, only to prepare the process value archive (Size of the archive, archiving duration, default values for archiving cycles) and to configure the archive later, because at this moment no measures exist and therefore no archive variables can be created. User Archives There are 2 user archives for CEMAT Functions. The user archive C_DriveList contains the Group-Object-Lists (list of objects associated to a route or group). The user archive C_INFO contains the object information (Info Database). The user Archive C_POLY3 is only required if the Function Polygon is used. How to create the user archive for the Group-Object-List In directory D:\CEMAT_CS\ua you will find the default user archive for the Group-Object-List. File DriveList.uap contains the structure of the Group-Object-List. The data for Group-ObjectList are entered in runtime mode. Import the structure of the C_DriveList and save: 1. Open the User-Archive 2. Import the structure of the Object list database from C_DriveList.uap 3. Save the structure. Through the import the Group-Object-List is created with the following structure: You must not enter any data into the user archive Group-Object-List. The data will be entered during runtime. Copyright (c) Siemens AG. All Rights Reserved. 3 - 81 Installation of a PCS7 Project Engineering Cemat V7.1 How to create the user archive for the Info Database In directory D:\CEMAT_CS\ua you will find the default files for the Info Database. File C_INFO.uap contains the structure of the Info Database. Import the structure of the C_INFO and save: 1. Open the User-Archive 2. Import the structure of the Info Database from C_INFO.uap 3. Save the structure. Through the import the Info Database is created with the following structure: 3 - 82 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Installation of a PCS7 Project The Info Database must be filled by the user. The easiest way is to use an Excel Tool which is described in chapter OS Engineering. ! Attention: You must create at least one line of runtime data into the Info Database. Select the input mode, in the first line enter in column C_TAG the string Dummy" and press Return. How to create the user archive for Polygon function In directory D:\CEMAT_CS\ua you will find the default user archive for the Polygon C_POLY3. File C_POLY3.uap contains the structure of the Polygon Archive. The data for the Polygon archive is entered in runtime mode. Import the structure of the C_POLY3 and save: 1. Open the User-Archive 2. Import the structure of the Polygon database from C_POLY3.uap 3. Save the structure. Copyright (c) Siemens AG. All Rights Reserved. 3 - 83 Installation of a PCS7 Project Engineering Cemat V7.1 Add User rights In CEMAT Standard additional User rights must be added to the PCS7 User rights in order to define more detailed who is authorized for which action. In the WinCC Explorer click open the User Administrator and add the rights from No. 18 to No. 29 according to the following list: Under OS Configuration (Single-User System) you find a table, which shows how the user rights are assigned to the CEMAT Functions. 3 - 84 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Installation of a PCS7 Project Update the WinCC Project with Cemat Functions In the following step the WinCC Project gets updated with the Cemat functions. During the Cemat installation the Cemat WinCC files are copied into folder D:\CEMAT_CS\WinCC under GraCS, Libray, PRT and WScipts. These files must now be copied to the equivalent folders of the OS Project. In order to update the WinCC Project, please go to D:\CEMAT_CS and start 'CematProjectUpdate.exe'. The Source must be D:\CEMAT_CS Under OS Project - Destination you have to enter destination (Directory of the OS Project) Under OS Project Sub Directories you find the Subfolders which get copied during the update (cannot be modified). The Screen Resolution (1280x1024, 1600x1200, 1680x1050, 1920x1080 or 1920x1200) is only important for OS Projects with Operation Interface. Via an option, during the OS Project Update the Standard pictures @AlarmEmergency.pdl, @AlarmEmergencyOP.pdl, @AlarmOneLine.pdl, @C_AlarmListing.pdl, @Overview1.pdl and @TopAlarmNew.pdl are exchanged according to the screen resolution. Press button 'Update OS Project' and the files will be copied to the corresponding directories. One by one the directories GraCS, Library, PRT and WScripts are copied into your OS Project and after this the PDLs are exchanged by the proper Screen Resolution. You have to acknowledge each step with OK and everything is entered into a LOG file. Copyright (c) Siemens AG. All Rights Reserved. 3 - 85 Installation of a PCS7 Project Engineering Cemat V7.1 During the update procedure the following GraCS files are overwritten by Cemat files. @AlarmEmergency.pdl @AlarmEmergencyOP.pdl @AlarmOneLine.pdl @Buttons11.pdl @Buttons12.pdl @Language.pdl @Logo.pdl @Overview1.pdl @TopAlarmNew.pdl @PG_Intlk02_Standard.pdl @PG_Intlk04_Standard.pdl @PG_Intlk08_Standard.pdl @PG_Intlk16_Screen2.pdl @PG_Intlk16_Standard.pdl Extended Alarm line Extended Alarm line Alarm line Button keys1 Button keys 2 Language Selection Cemat Logo Overview Range Alarm lines Interlock faceplate Interlock faceplate Interlock faceplate Interlock faceplate Interlock faceplate During the Cemat project update the above listed standard PDLs, such as Overview1.pdl are overwritten by the Cemat pictures. This is not correct for a Server because normally a Server does not have a user interface. After the Update the WinCC Project, proceed as follows: - Open the WinCC Project - Run the OS Project Editor again in order to overwrite the Standard Pictures with the original pictures from PCS7. - Open 'Global Script' selecting C-Editor and regenerate Header. (Menu Options -> Regenerate Header) 3 - 86 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Installation of a PCS7 Project Generation of the Template Pictures With the CEMAT project update various template pictures is copied into the GraCS folder of the OS Project. The template pictures contain default symbols for automatic generation of block icons from SIMATIC Manager. The symbols of the new template pictures C_@PCS7Typicals_CemV7.pdl and C_@PCS7Typicals_CemV7_Holcim.pdl are slightly bigger than the symbols of older Cemat Versions and contain the attributes for the new functions. In general they can be used for all screen resolutions. The old template picture for screen resolution 1280x1024 (without new functions) and the corresponding bitmaps you find on the Cemat installation DVD in directory Cemat_AddOn\CEMAT_1280\CEMAT_CS\WinCC\GraCS. You can still use these but in this case you have to copy it manually into the GraCS directory of your OS project. In each template picture you find examples for different representations of all CEMAT block types. - The picture C_@PCS7Typicals_CemV7.pdl contains the block icons for Normal Standard and for the Project standards 006, 007 and 026 (not for 004 and 027). (For all non-mentioned Project standards the symbols for Normal standard can be used.) The new block icons are slightly bigger than the old block icons, but they can be used for all screen resolutions. - The picture C_@PCS7Typicals_CemV7_1280.pdl contains smaller block icons for Normal Standard and for the Project standards 006, 007 and 026 (not for 004 and 027). (For all non-mentioned Project standards the symbols for Normal standard can be used.) Please consider that these block icons don't contain all new functions! - The picture C_@PCS7Typicals_CemV7_Holcim.pdl contains the block icons for Holcim (Project Standard 004). The picture C_@PCS7Typicals_CemV7_LF.pdl contains the block icons for Lafarge (Project Standard 027). In case of Project Standard 004 or 027, the block icons of template picture C_@PCS7Typicals_CemV7.pdl and C_@PCS7Typicals_CemV7_1280.pdl can not be used. - For Holcim (Project Standard 004) an additional Template picture C_Holcim_Symbols.pdf is available. It contains picture elements (extended Status Display) for Motors, Dampers and Valves, which are displayed additionally to the block icon. For the automatic generation of block icons PCS7 V7.1 uses the picture @PCS7Typicals.pdl or the pictures with this name plus an extension (e. g. @PCS7Typical_1.pdl). The program searches in ascending sequence. Before you can use the automatic generation of block icons you must create a template picture with the name @PCS7Typicals_extension.pdl which contains the symbols you want to use in the project. You can use the CEMAT template pictures and rename it or you can copy parts of it into your template picture. ! Caution: Only use the block icons which fit to your Project version. Using block icons from different project versions does not guarantee full functionality. Further information regarding Template pictures you find in chapter OS Engineering. Copyright (c) Siemens AG. All Rights Reserved. 3 - 87 Installation of a PCS7 Project Engineering Cemat V7.1 Redundancy Settings in the Server-Project After the Server-Project and the Standby-Server-Project are configured, in the Server-Project the corresponding Standby-Server-Project must be selected and the redundancy settings have to be performed. 1. Select the Server-Project in the SIMATIC Manager and select in the Properties under Target OS and Standby-OS the corresponding Standby-OS. 2. Open the Server-Project and carry out the redundancy settings: - Activate Redundancy - Select the Redundant Partner Server. - Select the options according to your requirement. 3 - 88 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Installation of a PCS7 Project 3. Activate the redundancy also for the user archives C_INFO, C_DriveList and C_POLY3. Copyright (c) Siemens AG. All Rights Reserved. 3 - 89 Installation of a PCS7 Project Engineering Cemat V7.1 OS Configuration (Standby-Server) Standby-Server-Project The Standby-Server-Project doesn't contain any data. There is only a reference to the Master- Server-Project. No additional Settings required. 3 - 90 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Installation of a PCS7 Project OS Configuration (Client) The following settings have to be performed in the OS-Project of each Client. ! Important: The following steps must be performed from the beginning in the engineering language, which is used for the project. If you change the language afterwards the language dependent setting have to be performed again. The language settings in SIMATIC Manager are not consistent with the settings for WinCC!! Project Properties Adaptations for the Project itself can be carried out under Properties. Folder "General" contains the Project Type. An OS Client is of type "Client Project". This is the default setting and must not be changed. In Folder "Update Cycles" the time values for the Update cycles are defined. The CEMAT Symbols generally use "User Cycle 1". The default value of this is 2000ms. You have to adapt this value according to your requirement, e.g. 1000ms. Copyright (c) Siemens AG. All Rights Reserved. 3 - 91 Installation of a PCS7 Project Engineering Cemat V7.1 OS Project Editor Settings for the user interface used by the plant operator for monitoring and controlling the plant during process operation In the OS Project Editor. A detailed description to this item you find in the PCS7 Configuration Manual Operator Station. The following pages describe only the settings relevant for CEMAT. In Tab Layout choose the screen resolution according to your Monitor. In Cemat V7.1 the default resolution is 1920x1080, but the Cemat Standard pictures are also available for 1280x1024, 1600x1200 (not for Project Version 004), 1680x1050 and 1920x1200. Also select the Number of horizontal and vertical area keys and the number of Servers under Detail (Picture Tree) and the Monitor Configuration of your PC. Example for the Layout of an OS Client: ! 3 - 92 Note: If you select a different screen resolution (1280x1024, 1600x1200, 1680x1050 or 1920x1200), the standard pictures @AlarmOneLine.pdl, @TopAlarmNew.pdl, @C_AlarmListing_Cemat.pdl, @AlarmEmergency.pdl, @AlarmEmergencyOP.pdl and @Overview1.pdl have to be exchanged. Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Installation of a PCS7 Project Message display for a Client Station: The Message filter has to be set to "Acknowledgeable messages in separate list". The group display should be created and updated automatically. ! Note: The sorting of the message pages is only used for the Standard WinCC Alarm list, and not relevant for the Cemat Alarm list. In the Cemat Alarm list the default sorting is "Latest message at the bottom". This setting can be changed under D:\Cemat_CS_Config in file C_Messages.cfg (see chapter Tips and Tricks). Copyright (c) Siemens AG. All Rights Reserved. 3 - 93 Installation of a PCS7 Project Engineering Cemat V7.1 Runtime Window for an OS Client: Define the maximum number of windows that can be opened when faceplates and curves are called as well as the maximum number of faceplates that can be opened on a monitor. Set the maximum number of picture modules per monitor to 6 and the maximum number per picture module to 3. The rest of the settings in the OS Project Editor can remain as per default or can be adapted later. With "OK" all settings are carried out. ! 3 - 94 Caution: If for any reason you have to run the OS-Project Editor again, make sure that all files mentioned under CEMAT Specific Preparations are deselected in Folder "Base Data". Otherwise the CEMAT Settings are overwritten with the delivery state of PCS7. AE See chapter CEMAT Specific Preparations! Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Installation of a PCS7 Project Computer properties The computer properties must be checked and adapted to the requirements of the plant. Most of the settings can probably not be entered at the beginning of the engineering and must be adapted later (sometimes after commissioning). Folder General shows the Computer Name and the Computer Type ! Caution: The Computer Name for all OS Projects is the name of the Engineering Station. During the download of the OS-Project to the individual PCs the name is automatically replaced by the Name of the PC Station. The additional application CEMATRS.exe must not be added for a Cemat Client (not required). Copyright (c) Siemens AG. All Rights Reserved. 3 - 95 Installation of a PCS7 Project Engineering Cemat V7.1 Tag Management Cemat Tags Cemat needs a number of internal variables. From Cemat V7.0 SP1, during the start of the runtime system these variables are created automatically in folder CEMAT. You don't have to create the Cemat Tags manually any more. Horn Tags During the horn configuration additional tags are automatically created. You will find these variables in group "Horn". 3 - 96 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Installation of a PCS7 Project Add User rights In the WinCC Explorer click open the User Administrator and add the rights from No. 18 to No. 29 according to the following list: Under OS Configuration (Single-User System) you find a table, which shows how the user rights are assigned to the CEMAT Functions. Later you have to define user groups and users to which you select specific authorizations. However the user rights related to specific areas can only be configured after the package is loaded. Copyright (c) Siemens AG. All Rights Reserved. 3 - 97 Installation of a PCS7 Project Engineering Cemat V7.1 Update the WinCC Project with Cemat Functions In the following step the WinCC Project gets updated with the Cemat functions. During the Cemat installation the Cemat WinCC files are copied into folder D:\CEMAT_CS\WinCC under GraCS, Libray, PRT and WScipts. These files must now be copied to the equivalent folders of the OS Project. Additionally, some PDLs are available in different Screen resolutions (1280x1024, 1600x1200, 1680x1050, 1920x1080 or 1920x1200) and must be exchanged. GraCS-Files for which different Screen Resolutions exist: 1280x102 4 1600x1200 1680x1050 1920x108 0 1920x1200 @AlarmEmergency.pdl x x x x x @AlarmEmergencyOP.pdl x x x x x @AlarmOneLine.pdl x x x @C_AlarmListing.pdl x x x @Overview1.pdl x x x @TopAlarmNew.pdl x x x x x x x In order to update the WinCC Project, please go to D:\CEMAT_CS and start 'CematProjectUpdate.exe'. The Source must be D:\CEMAT_CS Under OS Project - Destination you have to enter destination (Directory of the OS Project) Under OS Project Sub Directories you find the Subfolders which get copied during the update (cannot be modified). 3 - 98 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Installation of a PCS7 Project Select the desired Screen Resolution for your Project (1280x1024, 1600x1200, 1680x1050, 1920x1080 or 1920x1200). Via an option, during the OS Project Update the above listed Standard pictures are exchanged according to the screen resolution. Press button 'Update OS Project' and the files will be copied to the corresponding directories. One by one the directories GraCS, Library, PRT and WScripts are copied into your OS Project and after this the PDLs are exchanged by the proper Screen Resolution. You have to acknowledge each step with OK and everything is entered into a LOG file. During the update procedure the following GraCS files are overwritten by Cemat files. @AlarmEmergency.pdl @AlarmEmergencyOP.pdl @AlarmOneLine.pdl @Buttons11.pdl @Buttons12.pdl @Language.pdl @Logo.pdl @Overview1.pdl @TopAlarmNew.pdl @PG_Intlk02_Standard.pdl @PG_Intlk04_Standard.pdl @PG_Intlk08_Standard.pdl @PG_Intlk16_Screen2.pdl @PG_Intlk16_Standard.pdl ! Extended Alarm line Extended Alarm line Alarm line Button keys1 Button keys 2 Language Selection Cemat Logo Overview Range Alarm lines Interlock faceplate Interlock faceplate Interlock faceplate Interlock faceplate Interlock faceplate Caution: If for any reason you have to run the OS-Project Editor again, make sure that the above mentioned PDLs are deselected in Folder "Base Data". Otherwise the CEMAT Settings are overwritten with the delivery state of PCS7. @TopAlarmNew.pdl and @Overview1.pdl can not be deselected and must be copied from D:\CEMAT_CS\WinCC\GraCS again after running the OS-Project Editor. If you have to exchange the Screen Resolution later on, you can also use program 'CematProjectUpdate.exe' to carry out this function (Button Pixel). After the update of the WinCC Project, proceed as follows: - Open the WinCC Project. - Open 'Global Script' selecting C-Editor and regenerate Header. (Menu Options -> Regenerate Header) Copyright (c) Siemens AG. All Rights Reserved. 3 - 99 Installation of a PCS7 Project Engineering Cemat V7.1 Generating and loading of the Server Data To make the Server data available for the Client, a so-called package must be created for the Server-Project and loaded in the Client-Project. This is carried out in the SIMATIC Manager. Proceed as follows: - Select the OS-Project of the Server with the right Mouse Button and choose Option "Generate Server Data...". The same function you will also find under Options AE OS AE Generate Server Data. - After that select the OS-Project of the OS Client with the right mouse button and choose option "Assign OS Server...". Select the Server Data and press OK. The same function you will also find under Options AE OS AE Assign OS Server. Once the Server data is loaded the package gets automatically updated during compilation of the OS-Data. Now open the OS Client Project. The configuration of the standard server and the selection of the preferred server are carried out under WinCC. Loading of the Server Data in a Client Project To select the standard server, use context menu of Server data and select menu option Standard server... - Select the standard server for the components Alarms, SSM and User Archive. SSM = Split Screen Manager (e. g. the curve selection will be stored on the here selected Server). 3 - 100 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Installation of a PCS7 Project Selection of a Preferred Server To distribute the load for the servers uniformly it is useful to connect a part of the Clients to one Server and the other part to the Standby-Server. Therefore a Preferred Server must be configured under Serverdata -> Configure ... Example: If the preferred Server is stopped the Client automatically switches to the Partner-Server. Once the preferred Server runs again, the Client automatically switches back to the preferred Server. Copyright (c) Siemens AG. All Rights Reserved. 3 - 101 Installation of a PCS7 Project Engineering Cemat V7.1 Selection of area specific rights After the package is loaded the user groups and the users can be defined and their rights can be defined area specific. You can e.g. enable a complete area or only certain operations within an area. With the right 2 "Authorization for area" it is defined which area can be viewed. With the right 5 Process controlling", it is defined whether a user is allowed to operate the area. He will then also get the messages from this area and the horn is activated. Example: The user Operator_1" is allowed to: open, watch operate AE Raw Mill, Kiln AE Raw Mill The area System is disabled. Only messages from areas which are enabled for operation Messages are only shown for areas which are enabled for operation. Operator_1 will get only the messages from the Raw Mill area and he can acknowledge only these messages. 3 - 102 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Installation of a PCS7 Project Horn configuration From CEMAT V6.1 you can define a separate Sound for each Message class. The horn must be configured as follows: 1. First define in tab "Message assignments" all message classes which should create a sound. These are Alarms, Warnings, System messages which require acknowledgement, AS Process control message and Process messages. If you use other message classes with alarms in your project you have to define these as well. 2. Assign the Authorization Process controlling" (with this the Authorization is enabled per Area). 3. Per message class, define an internal variable with computer local actualization. Insert the variable name. With "Apply" the variable is automatically created in the tag management. 4. The definition can also be carried out per Area. Copyright (c) Siemens AG. All Rights Reserved. 3 - 103 Installation of a PCS7 Project Engineering Cemat V7.1 5. In tab "Signal assignment" you can define for each variable an individual sound. A sample of different sounds you find in directory D:\CEMAT_CS\Sounds. The following configuration depends on whether you want to acknowledge the Horn on each Client independently or you want to acknowledge the Horn for different Clients at the same time. For Stand-alone WinCC Clients the Horn acknowledgement is "Only local". Here you only have to select a sound file for each tag. 3 - 104 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Installation of a PCS7 Project For WinCC Clients with signal devices acting in unison a Reset Variable must exist on in the Tag Management of the Server. This tag you have already created during the Server Configuration. In this case select the Horn acknowledgement option Multiple acknowledgement by the following acknowledgement tags" and after that select the reset variable from the internal variables of the Server. Select a sound file for each tag. Copyright (c) Siemens AG. All Rights Reserved. 3 - 105 Installation of a PCS7 Project Engineering Cemat V7.1 Archiving In a PCS 7 system, you can archive various types of data that accumulates during process mode. This data includes process values such as measured values, messages and alarms. PCS 7 allows you to create archive tags for process values designated for this purpose. For each measure you want to archive, you have to create an archive variable. Select the proper archiving cycle according to the function of the measure: - Quick archiving for currents, pressures etc. - Slow archiving for temperatures etc. As default, archiving is performed locally on the various OS servers. If you also use a central archive server, further archiving routines are performed centrally on this archive server. As an additional tool for archiving data from PCS 7, you can also use Storage Plus. This software package requires a separate license. 3 - 106 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Installation of a PCS7 Project Tag Logging Archiving process values is done by the tool "Tag Logging". Curves are archived over a time range of 6 months. The following Archive configuration has to be set up in "Tag Logging" and is typical for a cement plant. Tag Logging Fast and Slow: 4. Archive size: Timeframe over all segments: 6 months. 5. Maximum size over all segments: 7 Gbyte. The Process Value Archive contains stored values of variables that have been created in the Process Value Archive. The Process Value Archive is configured as a cyclic archive. Storage location is the hard drive. Copyright (c) Siemens AG. All Rights Reserved. 3 - 107 Installation of a PCS7 Project Engineering Cemat V7.1 Central Archive Server (CAS) The central archive server is used for long-term archiving diverse plant data from PCS 7 in a central database. The central archive server enables you to manage swapped-out measured values and messages from the OS archives and OS reports. These data are provided regardless of the PCS 7 runtime system. ! Note: You need to install additional Microsoft components for the central archive server. These components are on the PCS 7 Toolset DVD in the folder Microsoft\MS_for_CAS. Install the appropriate language version for the installed operating system. Configuring an Archive Server For the configuration of the Central Archive Server refer to the PCS7 Configuration Manual Operator Station. 3 - 108 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Installation of a PCS7 Project Integrated Asset Management For detailed information regarding configuration of a Maintenance Station refer to PCS7 Configuration Manual Engineering System. Copyright (c) Siemens AG. All Rights Reserved. 3 - 109 Installation of a PCS7 Project Engineering Cemat V7.1 Time Synchronization Time Synchronization AS With the settings under "Hardware Configuration for a CEMAT AS" the AS is already configured for the time synchronization "As Slave". Time Synchronization Server The following picture shows the settings for the time synchronization. In this example the Server PCs (Primary and Standby) will be the time Master: ! 3 - 110 Note: If the Engineering Station has no CP1613 the access point can not directly be selected. In this case select the option "Display symbolic name of the access point" and select the CP1613 from the list. Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Installation of a PCS7 Project Time Synchronization OS Client The OS Client PC gets the time via Terminal Bus from the Time Master. In this example the Time Master is the Server: Copyright (c) Siemens AG. All Rights Reserved. 3 - 111 Installation of a PCS7 Project Engineering Cemat V7.1 How to create a PDL Cache To display the runtime pictures, WinCC normally accesses the corresponding WinCC Server and Retrieves the current pictures form it. Using the Picture Cache, it is possible to store the WinCC pictures locally for display in runtime. When a Picture Cache is used, the WinCC Client does not need to reload the pictures continually. Thus, shorter picture change times can be achieved. The required pictures must be manually saved on the computer which should use the Picture Cache. To do this, create a folder on the computer in the standard directory C:\.....\Siemens\WinCC\Bin\PDLCache. The name of the folder must be the symbolic computer name of the package stored on the server, e. g. OS_OSSRV The settings for the PDL Cache are carried out under Computer Properties, Register Runtime. There you can select the following options for reading the Cache. not The Picture Cache will not be used Preferred Modified pictures will be read from Server, unchanged pictures will be read from the Picture Cache. Always The pictures will always be read from the Picture Cache. Under "Path" you have the possibility to choose a different Location where the pictures are stored. The Path specification must only be entered up to the directory in which the PDLCache folder is located. If the standard directory is used, the path doesn't need to be specified. 3 - 112 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Copyright (c) Siemens AG. All Rights Reserved. Installation of a PCS7 Project 3 - 113 Engineering Cemat V7.1 Assignments Assignments Content Assignments 1 Assignments FB, FC, DB ......................................................................................... 2 Memory, Timer, Counter .......................................................................................... 3 Copyright (c) Siemens AG. Alle Rechte vorbehalten. Edition: 01/10 N:\Cemat\DOKU\V71_SP1\English\Engineering\04_Assignments_009.doc 4-1 Assignments Engineering Cemat V7.1 Assignments FB, FC, DB FB 000 FC 001 PCS7 499 1000 PCS7 400 1000 CEMAT 1199 1200 CEMAT 1199 1200 User 1799 1800 User 1399 1400 AP Library PCS7 2047 CFC-Tasks 2047 DB * UDT 001 001 PCS7 399 400 CEMAT User 599 600 CEMAT 1499 1500 999 1000 CFC-Instances 4095 4-2 User 4095 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Assignments Memory, Timer, Counter Memory 0000.0 PCS7 0000.7 0001.0 CEMAT 0199.7 0200.0 User 2047.7 The biggest memory address depends on the selected CPU Type. CEMAT Standards don`t use Timers and Counters Please consider that the quantity differs from CPU type to CPU type. The above mentioned numbers refer to CPU 416-2. Copyright (c) Siemens AG. All Rights Reserved. 4-3 Engineering Cemat V7.1 Engineering Examples Engineering Examples Content Engineering Examples i General .................................................................................................................... 3 Basic Rules ................................................................................................. 3 Connection rules and recommendations .................................................... 4 Annunciation Release ................................................................................. 4 Impulse Processing..................................................................................... 5 Group functions........................................................................................................ 6 Group start/stop .......................................................................................... 6 Start-up-warning ......................................................................................... 8 Group start interlock.................................................................................... 9 Group operation interlock ......................................................................... 10 Group switch-off interlock ......................................................................... 11 Start and Stop of the drives ...................................................................... 12 Feedback ON (all drives running) ............................................................. 14 Feedback OFF (all drives stopped) ..........................................................15 Quick stop ................................................................................................. 16 Group Links............................................................................................... 17 Acknowledgement mode .......................................................................... 19 Drive functions ....................................................................................................... 20 Change of operation mode ....................................................................... 20 Start and Stop in Automatic mode ............................................................ 23 Start and Stop in Local mode ................................................................... 27 Start-up warning in Single-start mode (and Local mode) ......................... 34 Sporadic mode.......................................................................................... 35 Drive in Standby (Alarm message also for non-running device) .............. 36 Protection interlocks.................................................................................. 37 Speed monitor supervision ....................................................................... 39 Set point input ........................................................................................... 42 Drive with SIMOCODE.............................................................................. 43 Drives with Subcontrol function ................................................................ 44 Display of an analog value in % (e. g. Motor current)............................... 45 Display analog value................................................................................. 46 Star-Delta Starting; Slip ring Rotor with Starter Motor.............................. 47 Limit positions of the Damper ................................................................... 47 Operation modes and control of the damper ............................................ 48 Analog actuators ....................................................................................... 50 Damper with middle position..................................................................... 51 Damper with torque switch ....................................................................... 52 Wagging function ...................................................................................... 53 Fan and Damper ....................................................................................... 54 Copyright (c) Siemens AG. All Rights Reserved. Edition: 01/10 N:\Cemat\DOKU\V71_SP1\English\Engineering\05_Engineering_Examples_009.doc 5-i Engineering Examples Engineering Cemat V7 Annunciation blocks............................................................................................... 56 Drive fault annunciations .......................................................................... 57 Warning messages ................................................................................... 58 Alarm interlocking for the annunciation block........................................... 59 Interlocking annunciation (Silo levels) ...................................................... 60 Two-level alarm (first warning then switch-off) ......................................... 61 Annunciation for Status call ...................................................................... 62 Release supervision ................................................................................. 63 Engineering of an ANNUN8 block ............................................................ 64 Measured value ..................................................................................................... 65 Read in a measured value........................................................................ 65 Measured values, Calculated Values ....................................................... 67 Measured values, Limit Value Supervision .............................................. 67 Alarm interlocking for the Measured Value block ..................................... 68 Using limit violation bits as interlocking condition..................................... 69 Block Measured value, Bypass, Service mode ........................................ 70 Release limit supervision .......................................................................... 71 Pressure control........................................................................................ 72 Route functions...................................................................................................... 73 Feedback ON (all drives running)............................................................. 73 Feedback OFF (all drives stopped) .......................................................... 75 Uninterrupted route change-over.............................................................. 76 Automatic Route change .......................................................................... 80 Engineering Examples for additional blocks.......................................................... 81 Display of interlocking conditions with interlock blocks ............................ 81 Query for Simulated Objects within the AS .............................................. 84 Analog Value Selection............................................................................. 85 Show related objects ................................................................................ 86 5 - ii Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Examples General This description should provide support in the solution of control tasks using the CEMAT software. Please adhere to these recommendations that have proved themselves in practice. Many block parameters start for historical reasons with a certain codification (name was never changed because of Migration of existing plants). The codification is as follows: Object type Block name Code Unidirectional drive C_DRV_1D E Damper C_DAMPER K Valve C_VALVE V Annunciation module C_ANNUNC M Measured value C_MEASUR UM Route C_ROUTE W Group C_GROUP G Selection module C_SELECT AW Silo pilot C_SILOP SP Counter C_COUNT CNT Running time C_RUNNT RT Basic Rules It is essential to conform to the following basic rules. Limit Switches The break contacts from these switches should be connected directly in the contactor control circuit. Connect the make contact elements to the AS inputs. Binary Special Signals Signals such as belt drift switch, pull-rope switch, silo full must always be connected to an annunciation module. The module flag of the annunciation module (OutSig or MAU) should then be used for the further use in the program. Start/Operation Interlock of the Group In order to display also the interlocking conditions in the status call-up of the group, the interlock signals (also internal flags) should be connected to annunciation modules. Damper Directions The following definition applies for the end position of the damper: direction 1 = closed direction 2 = open Copyright (c) Siemens AG. All Rights Reserved. 5-3 Engineering Examples Engineering Cemat V7.1 Connection rules and recommendations Selection and Route Module We provide two module types for selections: - selection module - route module The selection module is particularly suitable for smaller branches, standby circuits. Advantage: - reduced configuration effort - reduced program run-time The classical route module is particularly suitable for (long) transport routes that use different drives. Advantage: - Through assignment of the objects to a route `partial groups' are defined. - Only the status of the objects belonging to a selected route will be forwarded to the group. - Status call and object list call can be carried out for the individual route, which permits the diagnostic function per destination The question whether a selection module, a route module or various groups should be used must be decided individually. Annunciation Release In all Cemat blocks through plausibility logic it is assured that in case of several simultaneous faults only the "perpetrator" creates an alarm message. For example, in case of a protection interlock of a motor, no alarm is created by the motor block, it is created by the associated annunciation module. In order not to create an alarm flush in case of loss of control power, each Cemat block has an interface "Annunciation Release" xMFR, which has to be connected with the control power signal. In case of a periphery failure (such as bus failure, card failure, MCC failure) this signal must get "0". At this moment the Cemat block does not create further messages (no incoming, no outgoing messages). For the annunciation of the control power failure itself an additional annunciation block has to be programmed. ! 5-4 The annunciation release is one of the most important interfaces in order to achieve a smooth operation. The project engineer must assure that only the perpetrators of a fault create alarm messages. Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Examples Impulse Processing Both the pulse length and pause length must be longer than the OB1-cycle for signals that are to be recorded from the cyclical program (OB1). As guidance value, it should be longer than 200ms. OB1 Cycle Process signal 200 ms 200 ms If the signals are recorded in the 100ms-OB cycle (time-controlled alarm processing), the pulse times and the pause times of the signal must both be longer than 150 ms. There are signals that are created with a flag attached to the drive shaft and a BERO switch. Such signals, for example, have a short pulse and a long pause. BERO-Signal Such signals must not be wired directly to an input module. The signals must be converted with C1-technic hardware circuits or with series-connected mini programmable controllers (binary converter) so that the programs can record them reliably. Such signals can occur in silo pilots or speed monitors. Copyright (c) Siemens AG. All Rights Reserved. 5-5 Engineering Examples Engineering Cemat V7.1 Group functions Group start/stop Starting and stopping of a group can be achieved via Operator Faceplate, through the program or via a conventional Control desk (Push Buttons). Group Start and Stop via operator faceplate For the start and stop via operator faceplate no programming in the CFC is needed. Group start via operator faceplate is only permitted if the start interlock and the operation interlock have 1-Signal. Group Stop is only permitted if the switch-off interlock has 1-Signal. Group start and stop through the program In order to start and stop the group via program the interface GEBG must be connected with the start command and the interface GABG with the stop command. Group start via interface GEBG is only permitted if the start interlock and the operation interlock have 1-Signal. A rising edge on GEBG is required. ! ! 5-6 For the group stop via interface GABG the switch-off-interlock is not considered! In project standard 004 (Holcim), the group start via interface GEBG is only permitted if the group is switched into Standby mode. The Standby mode must be enabled by the operator. The group stop via interface GABG is always permitted. Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Examples Group start and stop via conventional control desk (push buttons) For the start and stop via conventional push-buttons the interface GTA must be connected with the Stop button and interface GTE with the start button. GTA is normally closed, which means it must be "1" if the button is not pressed. GTE is normally open. In order to ensure a two-hand operation, the interface GFGS must additionally be connected with a Release button. The Release button must be pressed together with the GTE or GTA button. The group start via GTE is only permitted if the start interlock and operation interlock have 1Signal. A rising edge on GTE is required. Group Stop via GTA is only permitted if the switch-off interlock has 1-Signal. In order to enable the interfaces GTA and GTA the pushbutton release GPTS must be connected with a 1-Signal. (For the operation via operator faceplate GPTS must have 0Signal). If you want to allow a parallel operation, via operator faceplate and via push buttons, this can be achieved with the following logic. Copyright (c) Siemens AG. All Rights Reserved. 5-7 Engineering Examples Engineering Cemat V7.1 Start-up-warning Before the group start is transmitted to the drives, a start-up-warning must be given. The group block has two outputs, one for a lamp and one for an acoustical signal (horn). The lamp output GLA remains set during the complete start-up sequence and it will be switched off when the group start is completed. The horn output GHA will be set for the duration of parameter HORN_TIM. It can be used for an acoustical alarm in the field. The drives get started only after the waiting time WAIT_TIM has elapsed. ! Horn time and Waiting time start simultaneously, which means that the waiting time should be a little bit bigger than the horn time. This insures that after the horn goes off the start is still delayed for some seconds. The start command is limited by the release time RELS_TIM. After the release time elapsed no start command is given to the drives. ! In case of a problem in any of the group objects during the start procedure, the dynamic fault of the object interrupts the group start command, but in this case the release time still proceeds. If the problem can be solved within the release time the group start can be triggered without creating a new start-up warning. Time diagram: Group start St.-up-w. Horn GHA (HORN_TIM) Waiting time (WAIT_TIM) ON Command GBE St-up-w. lamp GLA Feedback ON GREZ Group start Horn time elapsed Waiting time elapsed Group completely running Parameters and Block outputs for the start-up-warning: ! 5-8 For the start-up-warning in single-start-mode the HORN outputs of the drives must additionally be considered. Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Examples Group start interlock Through group start interlock you can avoid a start-up-warning for a group which is not ready to start (e. g. if a route must be selected before group start). Two interfaces exist, which are effective at the same time, which means that they must both have 1-Signal in order to allow the group start. The interface GEVG has format BOOL and can be used for connecting binary signals or one of the binary interlock blocks C_INTERL or C_INTER5. The interface IntStart (from Cemat V7.1) has STRUCTURE format and can be connected with a structure output or with a structure interlock block, e. g. Intlk02. If this interface is used, the connected block can directly be opened via the faceplate of the group. Example: One of two routes must be selected in order to allow the group start. ! In order to provide this information in the status call of the group, annunciation blocks must be programmed for the start interlocks. See "Annunciation bocks for status call function". Copyright (c) Siemens AG. All Rights Reserved. 5-9 Engineering Examples Engineering Cemat V7.1 Group operation interlock Process signals which must stop a group have to be connected to the operation interlock (e. g. Silo full or discharging group has tripped). Stopping of the group is similar to a normal group stop (no Quick Stop). This kind of group stops must be acknowledged by the operator. Two interfaces exist, which are effective at the same time, which means if one of these interfaces has 0-Signal the group will be stopped. The interface GBVG has format BOOL and can be used for connecting binary signals or one of the binary interlock blocks C_INTERL or C_INTER5. The interface IntOper (from Cemat V7.1) has STRUCTURE format and can be connected with a structure output or with a structure interlock block, e. g. Intlk02. If this interface is used, the connected block can directly be opened via the faceplate of the group. Example: The feeding group must be stopped if the silo is full. ! 5 - 10 In order to provide this information in the status call of the group, annunciation blocks must be programmed for the operation interlocks. See "Annunciation bocks for status call function". Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Examples Group switch-off interlock Via switch-off interlock, stopping of a group can be inhibited; e. g. if another group must be switched off before. Two interfaces exist, which are effective at the same time, which means that they must both have 1-Signal in order to permit the group stop. The interface GAVG has format BOOL and can be used for connecting binary signals or one of the binary interlock blocks C_INTERL or C_INTER5. The interface IntSwOff (from Cemat V7.1) has STRUCTURE format and can be connected with a structure output or with a structure interlock block, e. g. Intlk02. If this interface is used, the connected block can directly be opened via the faceplate of the group. Example: Before a group can be switched off, the feeding group must be stopped. ! In order to provide this information in the status call of the group, annunciation blocks must be programmed for the switch-off interlocks. See "Annunciation bocks for status call function". Copyright (c) Siemens AG. All Rights Reserved. 5 - 11 Engineering Examples Engineering Cemat V7.1 Start and Stop of the drives For the Start of the drives, use output GBE of the group. The group output GBE is set after the start-up-warning (Horn time and waiting time) has elapsed and if there is no fault it remains "1" until the group is completely running. If it comes to a fault within the start-up sequence, the group output GBE is reset. After the release time has elapsed the group output GBE is also reset. The group output GBE must be simultaneously connected to all drives. The start sequence is programmed through process interlocking between the drive. The start of the drives can additionally be delayed via parameter STARTDEL (see drive blocks). ! 5 - 12 Beside output GBE the group has an additional output GDE (continuous on command). Signal GDE is not suitable for starting the drives, because it is not reset in case of a fault. The drive fault can not be acknowledged as long as there is a continuous 1-Signal on the motor start command! Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Examples For the Stop of the drives, use output GDA of the group. The group output GDA is set with the group stop and remains "1" until all drives of the group have been stopped. There is no switch-off interlock available for the drives. For a sequential stop, the stop condition (feeding drive has been stopped) must be connected together with the group output GDA to the drive. The drive stop can additionally be delayed via parameter STOPDEL (see drive blocks). ! Beside output GDA the group has an additional output GBA (Off command). Output GBA is only a pulse, which means it is not suitable for stopping the drives (if a stop delay is programmed, the output GBA doesn't stay long enough). Copyright (c) Siemens AG. All Rights Reserved. 5 - 13 Engineering Examples Engineering Cemat V7.1 Feedback ON (all drives running) Via the group feedback ON (interface GREZ) the group is informed that the start-up has been completed and all drives are running. Depending on the application this can be an AND-Function with the running signal of all drives, or the last drive of a start sequence. With 1-Signal at input GREZ the start-up warning lamp GLA goes off and the on command GBE is reset. In case of a group with routes, the route outputs WRE (Route Feedback ON) of the relevant routes are connected to input GREZ of the group. ! 5 - 14 As long as GREZ has 1-Signal the start button of the group is disabled and restart is not possible. This especially has to be considered in case of an uninterrupted route change-over, if one route is still running while a second route shall be started. Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Examples Feedback OFF (all drives stopped) Via group feedback OFF (interface GRAZ) the group is informed that the stop sequence has been completed and all drives are stopped. Depending on the application this can be an AND-Function with the inverted running signal of all drives, or from the last drive of a stop sequence. With 1-Signal at input GRAZ the off command GDA is reset as well as the output GVG of the group. In case of a group with routes, the route outputs WRA (Route Feedback OFF) of the relevant routes are connected to input GRAZ of the group. ! Route Feedback OFF (Signal WRA) has 0-Signal if the route is not selected or if the route is completely stopped. For this reason, WRA must be inverted for the connection to the group feedback OFF. Copyright (c) Siemens AG. All Rights Reserved. 5 - 15 Engineering Examples Engineering Cemat V7.1 Quick stop The group Quick Stop function is used for an immediate stop of the drives, which means the stop delay STOPDEL is not considered. The Quick Stop can either be carried out via the operator faceplate through the program via interface GQSP. In both cases the group sets an output GQS, which has to be connected to input QSTP of the drives. ! In order to display the Quick Stop Button in the operator faceplate, in the property Styles" of the block icon the attribute StyleTag" must be adapted accordingly. With StyleTag 2, 6, 7 and 8 or. 102, 106, 107 and 108; the button "Quick Stop" in the group faceplate will be visible. AE See description 08_OS_Engineering_009.doc. 5 - 16 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Examples Group Links All objects (Drives, Annunciation blocks, Measured values) belonging to a group must be assigned to this group via group link. This connection is essential, in order to inform the group about the status of the objects. - Via the group link the group knows if one of the assigned objects has a problem. This is important for the summarizing indication (summarizing fault and summarizing warning in the block icon of the group) and for the status call. - Dynamic faults interrupt the group start (GBE is reset). - From Cemat V7.1 the group has a function to highlight all assigned objects in the process picture. Connect output G_LINK of the group to input GR_LINK1 (or GR_LINK2) off all related objects (Drives, Annunciation blocks and Measured value blocks). Copyright (c) Siemens AG. All Rights Reserved. 5 - 17 Engineering Examples Engineering Cemat V7.1 As an object may belong to more than one group, each object has two link inputs GR_LINK1 and GR_LINK2 and an additional input MUX_LINK for the connection to a multiplex block C_MUX. With this method the object can be assigned to an unlimited number of groups. The main group should be connected to input GR_LINK1 of the object, because the button "Related Objects" opens the faceplate of this group. ! ! 5 - 18 If multiplex blocks C_MUX are used the runtime sequence is crucial: The C_MUX must be called before the drive/annunciation/measured value. In case of cascaded multiplex block the runtime sequence must be followed as well! Refer to engineering tool "CEMAT CHECK TOOL.XLS", which can be used for checking the availability of group links and the proper runtime sequence. If the group has route modules, the output G_LINK of the group must be connected to input G_LINK of the route and output R_LINK of the route has to be connected to GR_LINK1/ GR_LINK2 of drives, annunciations and measured values. Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Examples Acknowledgement mode All dynamic faults, warnings and interlocks must be acknowledged. AS-wide Acknowledgement Normally the fault acknowledgement goes together with the acknowledgement of the alarm message in the alarm line and faults are acknowledged for the complete AS. In case of an alarm message from AS1 in the alarm line, the acknowledgement will reset the faults of this AS (only the dynamic fault of the blocks, the messages must be acknowledged individually.) This is the default setting in the system chart SYSPLCxx at block C_FB_PLC, if parameter ACK_GR and ACK_OB have value "0". In our opinion this is the most convenient method, because beside the acknowledgement of the alarm message no further action is required. Group-wise acknowledgement Beside this there is a possibility of acknowledgement per group. In this case, in the system chart SYSPLCxx at block C_FB_PLC the parameter ACK_GR must be changed to 1-Signal. Additionally the output ACK of the group must be connected to the acknowledgement inputs EQIT, KQT1, VQIT, MQIT and UQIT of all related objects. ! Output ACK of the group is only set in this mode! Object-wise acknowledgement If in the setting in system chart SYSPLCxx at block C_FB_PLC the parameter ACK_OB is set to 1-Signal, the acknowledgement is be carried out per object, which means that via the acknowledgement of the message in the alarm line only the object which created the alarm is acknowledged. This method has a disadvantage: For protection interlocks only the annunciation block creates the message but also the drive block which is stopped by protection interlock has a dynamic fault. In this case the drive fault must be acknowledged additionally via the drive faceplate. Copyright (c) Siemens AG. All Rights Reserved. 5 - 19 Engineering Examples Engineering Cemat V7.1 Drive functions Change of operation mode Starting and stopping of drives can be carried out in three different operation modes. The most important operation mode is the Automatic mode. In the Automatic mode the drives are started and stopped via a group. All process interlocks are effective. In Local mode the drives can be started and stopped via locally installed push-buttons. In this operating mode the process interlocks are not effective. In Single-start mode the drives can be started and stopped via operator faceplate from HMI. Regarding process interlocks the behaviour is different in the individual project versions: - In project version 004 the single-start mode is meant for maintenance only, and the process interlocks are therefore not effective. - Im Project veraions 006 and 007 there is a possiblility of a non-interlocked single-start mode. But this mode must be explicitely released. In some of the project versions (000, 007, 023, 024,025, 028) the operation mode is enabled by the group block, the faceplate of the group has buttons for operation mode change and the group block has outputs for enabling the corresponding operation mode of the drives. Therefore the group output GES must be connected to drive input xEIZ and group output GLO must be connected to drive input xLOC. 5 - 20 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Examples In all other project versions (004, 006, 026, 027) the operation mode can be changed individually via the drive faceplate. Some project versions additionally allow group-wise mode change from local to automatic (004, 002, 026) or from automatik to local (004, 026). In Project version 004 group output ENLM switches the drives into local mode and output DILM switches the drives back to automatic. Both outputs are only pulses and must be connected to the input of the drives with the same name. The feedback to the group (LOCAL to FB_L) is used for the indication in the block icon and tells the operator that at least one drive is in local mode. In Project version 026 group output GVE must be connected to drive input xVFE and group output GVA must be connected to drive input xVFA. The outputs of the group are pulses and only used for switching over. The feedback to the group (EBV to GRVO) is used for the indication in the block icon and tells the operator that at least one drive is in local mode. Copyright (c) Siemens AG. All Rights Reserved. 5 - 21 Engineering Examples Engineering Cemat V7.1 In Project version 006 the group has an output GAU (Pulse) which must be connected to input xAUT of the drives, in order to switch all drives of a group back into automatic mode. In case of a group with routes, the switch-back can be carried out per route. In this case output GAU of the group must be connected to input WAUT of the route and output WAU of the route must be connected to input xAUT of the drives. The feedback to the group (EHV to GZHV) is used for the indication in the block icon and tells the operator that at least one drive is in `Manual interlocked' mode. The feedback to the group (EHE to GZHE) is used for the indication in the block icon and tells the operator that at least one drive is in `Manual non-interlocked' mode. 5 - 22 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Examples Start and Stop in Automatic mode For the Start of the drives in automatic mode the output GBE of the group must be connected to input EBFE, KEB1, KEB2 or VBFE of the drives. Output GBE remains "1" until the group is completely running. In case of a fault during the start-up of the group, output GBE is reset. Output GBE is connected simultaneously to all drives. The start sequence is determined through interlocking among the drive. The start of the drive can be delayed additionally via parameter STARTDEL. ! Output GDE of the group is not suitable as drive start command, because this signal is not reset in case of a fault. The drive fault can not be acknowledged as long a there is a continuous 1-Signal at the on command!! Copyright (c) Siemens AG. All Rights Reserved. 5 - 23 Engineering Examples Engineering Cemat V7.1 For the Stop of the drives in automatic mode the output GDA of the group must be connected to input EBFA or VBFA of the drives. Output GDA is set with the group Stop and remains "1" until the group is completely stopped. As the drives to not have a stop interlocking, for a sequential stop the stop condition (feeding drive is stopped) must be connected together with the group output GDA to the drive. The drive stop can additionally be delayed via parameter STOPDEL. ! 5 - 24 Group Output GBA (Command Off) is only a pulse and normally not suitable for stopping the drives (if a stop delay is used output GBA does not stay long enough). Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Examples For the Quick stop of the drives the group output GQS must be connected to input QSTP of the drives. In case of a Quick Stop the drive is stopped immediately (without considering the Stop delay). Copyright (c) Siemens AG. All Rights Reserved. 5 - 25 Engineering Examples Engineering Cemat V7.1 Start and Stop in Single-start mode For start and Stop in single-start mode no additional connections are required. Only the permission must be given. In some of the project versions the change into single-start mode can be inhibited by switching the faceplate buttons of the drive to invisible. This can be achieved in project version 004 and 026 via interface EN_SINGL and in Project version 006 via interface EEIZ. At this point we would like to mention again the non-interlocked single-start mode of project versions 004, 006 and 007. 5 - 26 - In Project version 004 the single-start mode is always non-interlocked. - In Project version 006 the drive faceplate has a button fort he so-called non-interlocked mode. In this case only the fix start interlocks and operation interlocks are effective. Some of the start interlocks and operation interlocks will be bypassed. - In Project version 007 there is also a possibility for a non-interlocked single-start mode, but it needs a special permission and must additionally be enabled. Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Examples Start and Stop in Local mode In local mode the start and the stop of the drives is carried out via a local switch. This can either be a switch or start and stop buttons, located beside the device. Local switches differ a lot and are described separately. In most cases, the signals of the local switch go into the PLC; which means, also in local mode the drive is started and stopped by the SIMATIC. In old installations, it also happens that the signals from the local switch controls the drive directly, which allows the local mode even if the SIMATIC is not running. In this case a signal is needed which tells the SIMATIC that the drive is in local mode, otherwise the local start leads to a feedback fault. Variants of Local switches: 1. Switch with positions Remote - Local Stop - Local - Local Start The position 'Local Start' is non-locking, which means after starting the switch goes back into position 'Local'. Local start is a make contact (normally open) and local stop is break contact (normally closed). 2. Switch with position Local Stop - Remote - Local Start The position 'Local Start' is non-locking, which means after starting the switch goes back into position `Automatic'. Local start is a make contact and local stop is break contact. 3. Buttons for Start and Stop, where the start button is a make contact and the stop button is a break contact. An additional input permits the local mode (for the mode change from automatic to local). 4. Buttons for Start and Stop, where the start button is a make contact and the stop button is a break contact. The permission of the local mode is exclusively given through HMI. 5. Buttons for Start and Stop, where the start button is a make contact and the stop button is a break contact. An additional repair switch (with locks) is effective in all operation modes and inhibits the drive start during maintenance action (Signal 'Local Isolated'). The permission of the local mode is exclusively given through HMI. 6. Start button (make contact). An additional local switch is effective in all operation modes and inhibits the start of the drive. The local mode is always enabled or must be enabled exclusively through HMI. 7. Start button (make contact). The local mode is an inching mode, which means the motor remains started as long as the button is pressed. The permission of the local mode is exclusively given through HMI. Regarding local mode the project versions are different, which means depending on the local switch which is used one project version is more or less suitable. Probably other variants of local switches exist. In case you have any doubts and can not decide which project version fits best, please contact the Cemat Competence Center. On the following pages you find examples for the different project versions: Copyright (c) Siemens AG. All Rights Reserved. 5 - 27 Engineering Examples Engineering Cemat V7.1 Project versions 000 and 028: ESR ESP EVO ELOC Local Start (normally open) Local Stop (normally closed) Local Selection Switch (1 = Remote; 0 = Local) Enable local mode via HMI The Project versions 000 and 028 can be used for variant 1, variant 3 and variant 4. The Local mode is enabled per group. Additionally the switch EVO must be in position Local. If no additional switch for the selection between Remote/Local is available, the input EVO must be simulated using inverted group enable GLO. If the enable via HMI shall not be used, the input ELOC must be simulated by using inverted EVO signal. 5 - 28 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Examples Project version 004: G S U ENLM DILM Local Start (normally open) Local Stop (normally closed) Local repair switch (Local Isolated) must always be "1". Pulse for change into local mode Pulse for change into automatic mode The Project version 004 is suitable for variant 5. The local mode is enabled via the faceplate of the drive or the faceplate of the group and can only be given when the drive is not running. Change into automatic mode can be carried out via the faceplate of the drive or via the faceplate of the group as well as automatically during group start. Project version 006: TSE EAUT Local Start (normally open) Switch back into automatic mode The project version 006 is suitable for Variant 7. The local mode is enabled via the faceplate of the drive. Switching back into automatic mode can be carried out via the faceplate of the drive and also via the faceplate of the group (or the route). Copyright (c) Siemens AG. All Rights Reserved. 5 - 29 Engineering Examples Engineering Cemat V7.1 Project version 007: EVT EVO ELOC Local Start (normally open) Local switch (must always be "1") Enable local mode via HMI The Project version 007 is suitable for variant 6. The local mode is either always enabled (ELOC is preset with "1") or can be enabled by the group. Project version 023: G S ELOC Local Start (normally open) Local Stop (normally closed) Enable local mode via HMI The Project version 023 is suitable for variant 4. The local mode is enabled group-wise (through the group faceplate). 5 - 30 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Examples Project version 024: KX K0 ELOC Local input KX Local input K0 Enable local mode via HMI The project version 024 is suitable for variant 1, but it requires a special matrix. In this matrix 4 different situations are simulated with only two signals. Switch position K0 KX Automatic 1 0 Local Stop 0 0 Local 0 1 Local Start 1 1 The local mode is enabled group-wise (through the group faceplate). Copyright (c) Siemens AG. All Rights Reserved. 5 - 31 Engineering Examples Engineering Cemat V7.1 Project version 025: EVO ESR ELOC Local input EVO Local input ESR Enable local mode via HMI The project version 025 is suitable for variant 2, but it requires a special matrix. In this matrix 3 different situations are simulated with only two signals. Switch position EVO ESR Automatic 1 0 Local Stop 0 0 Local Start 1 1 The local mode is enabled group-wise (through the group faceplate). 5 - 32 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Examples Project version 026: ESR ESP EVO EVFE EVFA Local Start (normally open) Local Stop (normally closed) Local repair switch (Local Isolated) must always be "1". Pulse for change into local mode Pulse for change into automatic mode The Project version 026 is suitable for Variant 5 The local mode is enabled via the faceplate of the drive or the faceplate of the group and can only be given when the drive is not running. Change into automatic mode can be carried out via the faceplate of the drive or via the faceplate of the group as well as automatically during group start. Project version 027: L1 LS DLOC Local Start (normally open) Local Stop (normally closed) Enable local mode The Project version 027 is suitable for Variant 4. Local mode is enabled via the faceplate of the drive or via interface DLOC. ! Caution: If DLOC is connected the mode change via drive faceplate is no longer possible! Copyright (c) Siemens AG. All Rights Reserved. 5 - 33 Engineering Examples Engineering Cemat V7.1 Start-up warning in Single-start mode (and Local mode) In the automatic mode the start-up warning is carried out through the corresponding group. However, if the drive is started in single-start mode then at least in remote it must be insured that before drive start an acoustic alarm is created. This is done via output HORN of the drive blocks. The duration of the start-up warning can be set via process parameter HORN_TIM. The contactor command is only given after this time has elapsed. Connect output HORN of the drives together with the start-up warning signal of the group to the corresponding hardware outputs. If the start-up warning shall be given also in local mode, you have to change parameter L_STA_WA of the drive to 1-Signal. See drive M3. ! 5 - 34 Caution: In local mode the start button must remain pressed until the start-up warning is completed. Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Examples Sporadic mode Concerns Unidirectional drive, Bi-directional drive and Valve Sometimes it is required to start and stop drives dependent on a process signal or time controlled. This concerns devices for heating, cooling, lubrication or valves for silo aeration. In this case the drives have to be activated via group start signal GBE or via route start signal WBE and can then be switched on and off via the status at interface ESPO. 0-Signal at interface ESPO stops the motor without reset of the command memory EKS. The motor remains activated and starts automatically with 1-Signal at this interface. To switch off the drive completely it needs a 1-Signal at EBFA or 0-Signal at the operation interlock (EBVG or IntOper). If the drive has been stopped by fault the group must be started again. For the feedback to the group signal EVSP must be used. EVSP has 1-Signal, as soon as the drive is activated. This interface is only effective in automatic mode. In Single-start mode or in Local mode ESPO is not considered. In case of a mode change the behaviour is as follows: - If a drive which is running in automatic mode is switched to single-start mode, it will then run continuously. - If a drive which is running in single-start mode is switched into automatic mode, the signal status of ESPO is considered. If ESPO = 0-Signal the drive is stopped (EKS is reset). If ESPO = 1-Signal the drive will proceed in sporadic mode. ! Caution: Modified function for project version 007 - If a drive which is running in automatic mode is switched into single-start mode it will continue to run sporadically until the drive gets stopped. - If the drive was started in single-start mode or in local mode, ESPO is not considered, the drive is running continuously. - If a drive which was started in single-start mode is switched into automatic mode, at the moment of the mode change the signal status of ESPO is considered: If ESPO = 0-Signal the motor will be stopped (EKS is reset). If ESPO is 1-Signal the drive continues to run in sporadic mode. Copyright (c) Siemens AG. All Rights Reserved. 5 - 35 Engineering Examples Engineering Cemat V7.1 Drive in Standby (Alarm message also for non-running device) If a drive is not started or if it is in local mode, in case of a fault no dynamic fault and no alarm message is created. This is important in order to avoid alarms during maintenance, or if the plant section is not in operation. However, in some occasions it might be required to get the alarms, even if the drive is not running at this moment, e. g. if the drive has a 'Standby-Function'. Through 1-Signal at interface ESTB (VSTB, KSTB) also for a non-running device alarm messages are created, which must be acknowledged by the operator. 5 - 36 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Examples Protection interlocks Protection interlocks are interlocking conditions which must stop the drive in case of a fault, in order to protect machines or persons. In case of a missing protection interlock the drive indicates `faulty' (red indication), similar to normal drive faults (static fault if the drive was not running, dynamic fault if the drive was stopped through protection interlock.) Unlike for normal drive signals as e. g. electrical availability or overload, the drive block does not create alarm messages for protection interlocks. An annunciation block has to be programmed for this purpose. See chapter 'Drive fault annunciations'. Always active protection interlocks In all drive blocks you find 2 interfaces which are effective in all operation modes. If one of these interfaces has 0-Signal the drive will be stopped. The interface ESVG (VSVG, KSV1, KSV2) has format BOOL and can be used for connecting binary signals (e. g. output MAU of the annunciation block or an output of the binary interlock blocks C_INTERL or C_INTER5). The interface IntProtG (from Cemat V7.1) has STRUCTURE format and can be connected with the structure output OutSig of the annunciation block or with a structure interlock block, e. g. Intlk02. If the structure interface is used, the connected block can directly be opened via the faceplate of the drive. Copyright (c) Siemens AG. All Rights Reserved. 5 - 37 Engineering Examples Engineering Cemat V7.1 Protections only active in Automatic mode and Single-start mode For Unidirectional drives and Bidirectional drives you additionally find two interfaces which are effective only in automatic mode and Single-start mode. These interfaces can be used for signals like Drift switches, where the local start must be permitted. The interface ESVA has format BOOL and can be used for connecting binary signals (e. g. output MAU of the annunciation block or an output of the binary interlock blocks C_INTERL or C_INTER5). The interface IntProtA (from Cemat V7.1) has STRUCTURE format and can be connected with the structure output OutSig of the annunciation block or with a structure interlock block, e. g. Intlk02. If the structure interface is used, the connected block can directly be opened via the faceplate of the drive. In Project version 004 the binary interfaces are called PINT1, PINT, PINTX and PINTY, the structure interfaces are called IntProt1, IntProt, IntProtX and IntProtY. These interfaces are effective in all operation modes. The Unidirectional drive and the Bi-directional drive have an additional binary interface PINT2 and an additional structure interface IntProt2, which can be by-passed in local mode with the local start button. In this case the motor will run only as long as the start button is pressed. 5 - 38 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Examples Speed monitor supervision Speed Monitor signals are detected by the drive block and the drive block also creates the alarm message. This is valid for all project versions except 004. An example for project version 004 is described behind. Input 'Speed Monitor' can be a continuous signal or a pulse. The drive block can handle both types. In both cases the process parameter SPEEDTIM must be set to the time after which the process feedback supervision has to be activated. Via parameter SM_EVS_I you can decide whether the signal `motor running' is created after the supervision time SPEEDTIM or if signal `motor running' should immediately be given with the process feedback. Some examples with explanations: 1. The process feedback is a continuous signal. The signal must be connected to interface EDRW and parameter REL_SSM must have 0-Signal. The feedback supervision time SPEEDTIM is set to 10 seconds and parameter SM_EVS_I is configured in a way that outputs EVS and RunSig are immediately set when the process feedback is true. 2. The process feedback signal is a pulse. The signal must be connected to interface SW_SPEED and parameter REL_SSM must have 1-Signal. The feedback supervision time SPEEDTIM is set to 10 seconds and parameter SM_EVS_I is configured in a way that outputs EVS and RunSing are set after the feedback supervision time. The tolerance value for the detection of pulses TOL_SSM is preset to 50 cycles, which means if after 50 OB1 cycles no signal change at input SW_SPEED is detected, the motor is switched off with `Speed monitor fault'. Copyright (c) Siemens AG. All Rights Reserved. 5 - 39 Engineering Examples Engineering Cemat V7.1 In Project version 006 the drive block has an additional interface EVQD for the acknowledgement of the speed monitor fault. The speed monitor must be acknowledged from local. Via the normal fault acknowledgement the speed monitor fault can not be reset. In Project version 004, block C_PROFB is used for process feedback supervision and alarm message. Also this block has two options, the supervision of a continuous signal or the supervision of pulses Via connection of drive output STAT_DRV to input STAT_DRV of block C_PROFB the process feedback block receives the status of the drive. The output `ProFb' of block C_PROFB transmits the process feedback to the motor and output `Fault' of block C_PROFB must be used as protection interlock in order to switch off the drive in case of a fault. Dependent on the function, different options exist: 1. The process feedback is a continuous signal. The signal must be connected to interface IN_SIG and parameter EN_SSM must have 0-Signal. The feedback supervision time during start-up ON_DEL is set to 10 seconds and parameter OUTIM is configured in a way that outputs EVS and RunSig are immediately set when the process feedback is true. Via parameter EN_OFFDM the supervision during switch-off is activated and parameter OFF_DLY is set to 15 seconds. 5 - 40 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Examples 2. The process feedback signal is a pulse. The signal must be connected to interface PULS_SSM and parameter EN_SSM must have 1-Signal. The feedback supervision time during start-up ON_DEL is set to 10 seconds and parameter OUTIM is configured in a way that outputs EVS and RunSing are set after the feedback supervision time. The tolerance value for the detection of pulses TOL_SSM is preset to 50 cycles, which means if after 50 OB1 cycles no signal change at input PULS_SSM is detected, the motor is switched off with `Process feedback fault'. The supervision during switch-off is deactivated. Copyright (c) Siemens AG. All Rights Reserved. 5 - 41 Engineering Examples Engineering Cemat V7.1 Set point input A set point, as e. g. the speed can directly be entered via the drive faceplate and will be transmitted to output SP_O of the drive block. From there the value can be connected to an analog output or to another block. In order to display the set point input field in the drive faceplate the function must be enabled via interface EN_SP. The set point limits are configured via parameter SP_HLM and SP_LLM. The default unit 'rpm' can be modified via signal attributes. The actual value (e.g. actual speed) must be connected to structure input PV_IN. If the set point is given by a program, e. g. by a primary controller, this function must be enabled via interface EN_SPEX and the external set point must be connected to input SP_EX. For set point tracking SP_TR must have 1-Signal. 5 - 42 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Examples Drive with SIMOCODE The SIMOCODE Adapter block C_SIMOS reads the cyclic data from SIMOCODE transmits this information to the drive. The start commands from the drive are transmitted to the SIMOCODE. Block C_SIMOS can be used for unidirectional drives, bi-directional drives, valves and dampers. Block C_SIMOS and the corresponding faceplate are only templates and may have to be adapted. The block is `open' (not protected) and can be modified by the user. Connections between drive block and C_SIMOS: The name of the SIMOCOE Adapter must be similar to the drive + '_SC'. In the example above the motor block is called 'M1' and the Adapter block is called 'M1_SC'. Parameter REL_SC must contain the block type for the SIMOCODE Adapter, in this case C_SIMOS. The drive gives the start command (output EBE) to the C_SIMOS (input START2). The C_SIMOS gives the feedback (output FEED_ON2) to the drive (input ERM). The C_SIMOS transmits the status (output STAT_SC) to the drive (STAT_SC). The status contains the information 'General Fault' and 'General Warning', which is displayed in the diagnostic window of the drive block. If the motor current in % shall be displayed in the drive faceplate, the function must be enabled via parameter REL_MVC and output I_PERC of C_SIMOS must be connected to input MV_PERC of the drive. At the SIMOCODE Adapter block you have to configure the Basic type and the start address for inputs and outputs. Make sure that the inputs and outputs are in the process image! Additional connections: The 4 free configurable outputs INPUT1_O, INPUT2_O, INPUT3_O and INPUT4_O of the C_SIMOS are not predefined and can be used in order to transmit additional information (e. g. electrical availability or overload) from the SIMOCODE block to the drive. Input RESET of C_SIMOS can be used in order to acknowledge the SIMOCODE fault via program. Copyright (c) Siemens AG. All Rights Reserved. 5 - 43 Engineering Examples Engineering Cemat V7.1 Drives with Subcontrol function For complex functions like weigh feeders, filters etc. you may get blocks and faceplates from sub-suppliers. These functions often have a completely different operator interface and can not directly be connected to the Cemat group without using an adapter block. We recommend using a unidirectional drive block in order to control the function. The advantage is that you can use the drive interfaces for process interlocks, change of operation modes, process parameters as usual, and that the operation is identical to the rest of the system. Subcontrol Function controlled by a C_DRV_1D block The Subcontrol does not have its own block icon. If required, the subcontrol faceplate can be opened via the drive faceplate. The block icon of the drive must have special attributes, containing the information about the subcontrol name and type. Additional Link Attributes for Subcontrol Functions (only for C_DRV_1D, Index 150): SubText SubTag SubType 5 - 44 is the button Text, displayed in the motor faceplate is the TAG (Tagname) of the Subcontrol is the S7 Structure name (Block type) Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Examples Display of an analog value in % (e. g. Motor current) In the drive faceplate a percentage value of a measure (e. g. for motor current or power) can be displayed. To enable the function the input REL_MVC of the drive must be set to 1-Signal and input MV_PERC of the drive must be connected with output MV_PERC of the measured value. Caution: The output MV_PERC of the measured value is calculated based on the upper limit 1, which means VAL_H corresponds to 100%. If you want to display a power instead value of a current value, you have to modify the description at parameter CURR_OS: Copyright (c) Siemens AG. All Rights Reserved. 5 - 45 Engineering Examples Engineering Cemat V7.1 Display analog value In the drive faceplate an analog value including its status information (limit exceeded, simulation) can be displayed. The output PV_Out of the measured value must be connected to input PV of the drive and the output PV_Stat of the measured value to input PV_Stat of the drive. The structure connections allow the direct faceplate call of the measured value from the drive faceplate. If you want to link more than one measured values to the drive and select one of those for display in the drive faceplate, you have to use the function C_ANASEL. This block is described under additional blocks. 5 - 46 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Examples Star-Delta Starting; Slip ring Rotor with Starter Motor For drives with star-delta starting or slip ring rotor with starter motor, the contactor feedback ERM may be created after a big delay (20-30 seconds). For these drives the feedback time in seconds must be adapted at process parameter FEEDBTIM. ! Note: In the local operation (local control using the AS), the Local-On push-button must remain depressed until the drive runs fully (ERM=1). The ERM signal provides the criteria for maintaining the On command. If the On command was stored immediately and the drive for some reason did not start, then dangerous operational states could arise, because the motor could start subsequently without the pushbutton being activated. Limit positions of the Damper Limit switches must be wired directly in the contactor control circuit and so perform a hardware disconnection of the drive. The signals passed to SIMATIC must not be used for the disconnection, but are required for interlocking and annunciation tasks. This rule has to be followed for all positioning actions and end limit switches. Copyright (c) Siemens AG. All Rights Reserved. 5 - 47 Engineering Examples Engineering Cemat V7.1 Operation modes and control of the damper Like all drive blocks, also the damper has the operation modes Automatic mode, Singlestart mode and Local mode in which the damper is either controlled via automatic program (group or route), operator faceplate or local switch from one end limit to the other. Only a pulse is required to start the drive, and the motor will be switched off if the damper has reached the limit position. Beside this the damper can be controlled into a certain intermediate position. This can be achieved via Inching mode or Positioning mode. ! Caution: In all Operation modes (Automatic mode, Single-start mode, Local mode, Inching mode or Positioning mode) the damper is controlled via two binary outputs. Inching mode is possible via conventional control desk buttons or via the operator faceplate. In case of control desk buttons the damper is opened/ closed as long as there is a 1-Signal at the corresponding input. In case of Inching mode via HMI the damper is opened and closed step-wise via faceplate buttons. For the inching mode a special release function is required (KTFG = 1) which disables the ON commands for automatic mode. a) Inching via conventional control desk buttons b) Inching via HMI 5 - 48 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Examples The Positioning mode allows entering a set point (as external set point or via damper faceplate) and the damper is opened or closed until the actual position matches with the set point. In this case a position feedback is always required. - The release of the positioning mode is achieved through a 1-Signal at interface KPOS and KTFG - Output `PV_Out` of the measured value for damper position must be connected to interface POS_IN of the damper. - Via parameter SCB, SCE and UNIT Scale beginning, Scale end and Dimension for the Set point can be defined. The actual value (damper position) is always in %. - Set point tracking can be enabled via parameter KSNF. - Via parameter KWUG and KWOG the set point limits can be defined. - You also have to parameterize the minimum pulse length TMIN, the damper runtime TM, and ..for a Hysteresis function the response threshold AN and the dropout threshold AB. a) Positioning via operator faceplate: b) Positioning via external Set point (e. g. PID-Controller) Via interface KWEE the external Set point is enabled and via interface KWEX the set point value is transmitted. Copyright (c) Siemens AG. All Rights Reserved. 5 - 49 Engineering Examples Engineering Cemat V7.1 Analog actuators If the damper/actuator needs an analog signal for the control (like e. g. analog actuators from AUMA), this can be achieved as follows: ! 5 - 50 Caution: These actuators can exclusively be controlled in positioning mode, because in all other operation modes the output W_ACT_O is not actualized. In local mode the analog output must be controlled directly (not via PLC)! Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Examples Damper with middle position The damper block includes the supervision of 2 limit positions. Limit position 1 = Closed, Limit position 2 = Open. In some cases the supervision of 3 limit positions is needed (Open position - Middle position - Closed position). The following example shows a solution for a damper with middle position. Copyright (c) Siemens AG. All Rights Reserved. 5 - 51 Engineering Examples Engineering Cemat V7.1 Damper with torque switch In order to stop the damper in case of a torque switch fault, the torque switch signals must be connected to interface KDR1/KDR2. An alarm message "Torque switch" will be created. 5 - 52 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Examples Wagging function If the wagging function is enabled (KWED = 1-Signal), in case of a torque switch trip the damper will be controlled back to the old position. After this it will try again for the controlled position. This behaviour is called `wagging'. The number of trials (wagging number) can be configured at process parameter WAGG_NO. If after the maximum number of trials the selected limit position is still not reached, an alarm message is given for 'Mechanical fault'. Example for a damper with torque switches, in case the wagging function is enabled: Copyright (c) Siemens AG. All Rights Reserved. 5 - 53 Engineering Examples Engineering Cemat V7.1 Fan and Damper The big fans can only be started of the damper is closed. If the process allows, it makes sense to close the damper automatically when the group is stopped. The following example shows how this task can be solved. Also after an eventual damper fault the damper can be closed through group stop, or it will be closed during group start. In example a) the positioning of the damper is carried out via the inching commands of the damper block. This solution is suitable for conventional control desks or local control panels. In example b) the positioner function is used for the same task. This allows entering a numeric set point via HMI. a) Connections between fan and damper in case of positioning through control desk buttons: 5 - 54 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Examples b) Connections between fan and damper positioner Copyright (c) Siemens AG. All Rights Reserved. 5 - 55 Engineering Examples Engineering Cemat V7.1 Annunciation blocks Annunciation blocks are used to for the supervision of binary process signals. The signal status is displayed in the process picture (ok, fault or warning) and in the summarizing indication of the group. In case of a fault a message (fault message or warning message) can be created in the alarm line. Depending on the format of the input to be evaluated, the annunciation block has different interfaces. MST0 for the evaluation of a Boolean signal MST0 + QUALITY for the connection of channel driver block CH_DI PV for the evaluation of a structure input (e. g. from APL channel driver Pcs7DiIn) Parameter OKS decides how the signal is evaluated. The status of OKS corresponds to status 'input signal ok'. As most of the process signals are fail-safe, which means in good condition they are "1", we recommend to set parameter OKS to 1-Signal in order to avoid the negation of the input. The simulation value M_SIM should be similar to the OK-Signal. Via the process parameters IN_DEL and OUT_DEL incoming and outgoing faults can be delayed. Parameter WMOD decides if a fault or a warning is displayed. (WMOD = 1-Signal for warnings). 5 - 56 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Examples The following pages show different applications for annunciation blocks: Drive fault annunciations All protection interlocks which lead to a drive stop (e. g. pull rope switch, belt drift switch, bearing temperature) must create an alarm message at this moment. The alarm message shows the operator which condition caused the drive stop and only in case of a present alarm the drive fault can be acknowledged with the acknowledge button in the alarm line. - In the example above the binary signals are directly read from the process image. For this purpose interface MST0 is used. Both signals are fail-safe (in good condition '1'); therefore OKS and M_SIM are set to 1-Signal. - The message for the pull rope switch must be created without delay (process parameter IN_DEL = 0). The message for the belt drift switch has to be delayed for 10 seconds (Process parameter IN_DEL = 10). - In order to create the message at the same time as the drive stop, the output of the annunciation block (MAU or OutSig) bust be used for the connection to the protection interlock. It must be distinguished between protection interlocks which are always effective (ESVG or IntProtG) and protection interlocks which are effective only in automatic or single-start mode. (ESVA or IntProtA). - In order to trigger the alarm with each drive fault (even if the operator tries to start an already faulty motor) the alarm activation MAAT of the annunciation block must be connected with the output `dynamic fault' (EST, VST, KST) of the drive block. - The annunciation release of drive block and annunciation block must be connected with the same signal for `control power ok'. Copyright (c) Siemens AG. All Rights Reserved. 5 - 57 Engineering Examples Engineering Cemat V7.1 Warning messages Via parameter WMOD is defined if in case of a bad input signal a fault or a warning is indicated. (WMOD = 1-Signal for warning). If the signal is used for interlocks with other blocks, block output 'Warn' must be used, because MAU and OutSig are always `good'. Another example you find under "Interlocking Annunciation". ! 5 - 58 Caution: Output `Warn' does not depend on OKS. In case of a fault output `Warn' has 1-Signal! Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Examples Alarm interlocking for the annunciation block For drive blocks it is assured that a fault message is only created if the drive is "active", which means a) if a running drive stops with fault, b) if a start command is given for an already faulty drive and c) if the drive is in standby mode and a fault occurs. For the annunciation blocks (C_ANNUNC) you have to insure that only plausible alarm messages are created. In case of drive fault annunciations this is already guaranteed through the connection of the alarm activation (MAAT). For the annunciation of process signals which do not belong to any drive, the alarm interlocking MAMV must connected in order to create only plausible messages. Which signal is used for the alarm interlocking depends on the technological function of your application. Criteria for the plausibility of a message could be group running completely, drive running, group status etc. Example: The alarm message must only be created if the group was started (and not stopped). Copyright (c) Siemens AG. All Rights Reserved. 5 - 59 Engineering Examples Engineering Cemat V7.1 Interlocking annunciation (Silo levels) Annunciation blocks are not only used for the indication of faults but also for interlocking conditions. In the following example the silo levels "High" and "Maximum" are used as interlocking conditions for the group. At level "High" only the group start shall be inhibited. If the group is running and level "High" is reached, a warning message is created but the group will continue to run. Level "Maximum" must inhibit the group start and must also switch off the group together with a red (fault) message. 5 - 60 - Via connection of WMOD with 1-Signal, in case of level "High" a warning message is created instead of a fault message. Output "Warn" is used as start interlocking of the group. Caution: Signal must be inverted (does not depend on OKS). - The connection of MMZS with 1-Signal effects that the fault or warning is not included in the summarizing indication of the group. After all, the silo levels are no faults or warnings, they are only interlocking conditions. - If GFSO is connected with 1-Signal the interlocking would be excluded form group status call as well. However, this behaviour is not wanted, because the interlocking should appear in the status call as well. - Through connection of the alarm interlocking MAMV with signal GVG of the group, the message is only created if the group was started. If the group is was not started only a static indication is given (without message). - The annunciation release must be connected with the signal for `control power ok'. Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Examples Two-level alarm (first warning then switch-off) In the following example, for the same process signal (belt drift switch) first a warning message is created and after a time delay a fault message is created. The warning does not switch off the motor. Only with the fault message the motor is switched off via protection interlock. ! - As parameter IN_DEL has 0-signal, the warning message is created without delay. However, a time delay for the warning is also possible. - Via parameter WARN_DEL the time delay between warning message and fault message is configured. - Signal OutSig is not influenced by the warning and switches off the drive only in case of a fault. - Input AWAN activates the two-level alarm and must be connected with the running signal of the motor. Only for a running drive (EVS = 1-Signal) the belt drift fault leads to a two-level alarm. In case of a present belt drift fault at the moment of a drive start, the fault message is created immediately. Caution: In project version 004 the running signal EVS can not be used for AWAN because in single-start mode the running signal is not created. You must use a logic instead: Contactor feedback ERM & not LOCAL. Copyright (c) Siemens AG. All Rights Reserved. 5 - 61 Engineering Examples Engineering Cemat V7.1 Annunciation for Status call Annunciation blocks can also be used in order to visualize software interlocks in the status call of the group. In the following example, before starting the group it has to be insured that at least one route is selected. In order to visualize the interlocking condition in the status call, an annunciation block is programmed. 5 - 62 - Interface MMZS is connected with 1-Signal in order to exclude the annunciation block in the summarizing indication of the group. - Interface MAMV is connected with 0-Signal, this kind of annunciation block must never create an alarm. - This annunciation block does not need a block icon. Deselect the option in the block properties. Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Examples Release supervision Certain process signals must only be evaluated if the associated device which creates or influences this signal is running. The following example shows a pressure supervision which should only be active if the associated pump is in operation. If 10 seconds after the pump start the pressure is not yet built or in case of pressure loss during operation, the pump will be stopped immediately (via protection interlock). - The supervision gets enabled through connection of interface RELS with the running signal EVS of the drive. The time delay of 10 seconds for the supervision is configured at parameter REL_DEL. - If the input signal which is connected to MST0 is additionally connected to MSIG, the block icon in the process picture shows green colour as soon as the pressure is built. - With 1-Signal at interface MTRIP you achieve that after the stop the fault is memorized until acknowledgement. If MTRIP has 0-Signal, immediately after the drive stop the status of the annunciation block is `good' again. Copyright (c) Siemens AG. All Rights Reserved. 5 - 63 Engineering Examples Engineering Cemat V7.1 Engineering of an ANNUN8 block Instead of the annunciation block C_ANNUNC the annunciation block C_ANNUN8 can be used. Block C_ANNUN8 is capable to create 7 fault messages or warning message and can be used if you want to show the status of these signals in a common block icon. The block icon only has a summarizing indication and always shows the worst status. Example: Annunciations of 6 Rope switches for a long belt conveyor. 5 - 64 - Via connection of the protection interlocking IntProtG with the summarizing fault FX of the annunciation block (negation required) the motor will be switched off if one of the ropes is pulled. - Through connection of the alarm activation FAT1 - FAT7 with the dynamic fault of the drive, the fault message is only created if the motor is stopped by fault. - Don't forget to enter the individual fault texts via property `identifier' at parameter FLS1 - FLS7. The texts are used in the diagnostic window and in the status call function. The maximum text length is 16 characters. - The annunciation release SWK must be connected with the signal for `control power ok'. Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Examples Measured value Read in a measured value Measured value blocks are used for the supervision of analog process signals. The value and the signal status are displayed in the process picture and in the summarizing indication of the group. In case of a fault a message (fault message or warning message) will be created in the alarm line. Depending on the format of the input to be evaluated, the measured value block has different interfaces. Parameter TYP defines which input is evaluated: TYP = 77 Reading a card value from input MV_CARD TYP = 10 Reading a REAL value form input MV_PHYS TYP = 20 Reading a REAL structure from input PV Reading a card value (WORD Format) - With TYP = 77 reading from MV_CARD is selected - The analog input must be connected to input MV_CARD of the C_MEASUR. - Scale beginning, scale end and dimension must be defined at parameter SCB, SCE and UNIT. - In this case the measured value block must do the conversion of the card value into the physical value. Scale beginning and scale end of the card value have to be defined at parameter CARD_SCB and CARD_SCE. Copyright (c) Siemens AG. All Rights Reserved. 5 - 65 Engineering Examples Engineering Cemat V7.1 Reading a physical value from the channel driver block CH_AI - With TYP = 10 reading from MV_PHYS is selected - The output V of the channel driver block must be connected to input MV_PHYS of the C_MEASUR. - Output QUALITY of the channel driver block must be connected to input QUALITY of the C_MEASUR. - Scale beginning, scale end and dimension must be defined at parameter SCB, SCE and UNIT. - In order to use similar scaling for measured value and driver block, you should connect the outputs SCB_OUT and SCE_OUT of the measured value to the inputs VLRANGE and VHRANGE of the driver block. Caution: In case of thermo elements (PT100) don't connect!! Reading a physical value in structure format (e. g. from APL driver block Pcs7AnIn) 5 - 66 - With TYP = 20 reading from PV is selected - The structure output PV_Out of the channel driver block must be connected to structure input PV of the C_MEASUR. - Scale beginning, scale end and dimension must be defined at parameter SCB, SCE and UNIT. - In order to use similar scaling for measured value and driver block, you should connect the outputs SCB_OUT and SCE_OUT to structure converter StruScOu which provides an output `Scale' for connection to the driver block. Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Examples Measured values, Calculated Values Certain values are calculated during the plant configuration, e. g. total amounts from subamounts, temperature or pressure average values. Similar to analog signals coming from the periphery, also for the calculated values a measured value block should be programmed. The measured value block simplifies the integration in the HMI system. To improve the readability, the calculation should be performed before the invocation of the measured value block. Measured values, Limit Value Supervision The measured value block has 8 limit values. The violation of limit values VAL_HH, VAL_H, VAL_L and VAL_LL leads to a message, the limit values VAL_SHH, VAL_H, VAL_L and VAL_LL are only switching limits and don't create messages. - If UGWB = 0-Signal the limit supervision is completely blocked. - In case of a limit violation the corresponding output HH, H, L, LL, SHH; SH, SL or SLL is set. H and L lead to a warning message and HH and LL to a fault message. - If parameter RA_HH, RA_H, RA_L or RA_LL are connected with 0-Signal the corresponding limit behaves like a switching limit, the fault bits are not set and no message is created. The outputs HH, H, L and LL are still set. If you want to inhibit the outputs HH, H, L and LL in the above mentioned situation as well, you have to connect interface RA_OI with 0-Signal. Copyright (c) Siemens AG. All Rights Reserved. 5 - 67 Engineering Examples Engineering Cemat V7.1 Alarm interlocking for the Measured Value block For drive blocks it is assured that a fault message is only created if the drive is "active", which means a) if a running drive stops with fault, b) if a start command is given for an already faulty drive and c) if the drive is in standby mode and a fault occurs. For measured value blocks (C_MEASUR) you have to insure that the alarm message is only created if the corresponding plant section is running and the message is plausible. The alarm interlocking UAMV has to be programmed individually, dependent on the technological function. Criteria for the plausibility of messages could be group running completely, drive running, group status etc. Example: The message for the limit supervisions should only be created if the group is completely started. 5 - 68 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Examples Using limit violation bits as interlocking condition In the following example the silo levels are used as interlocking condition for the group. The violation of upper limit 1 inhibits the group start and leads to a warning message. The violation of upper limit 2 stops the running group and leads to a fault message. If the limit bits are used for start interlock or operation interlock of the group the following aspects have to be considered: - Upper limit 1 and upper limit 2 are interlocks and should not be included in the summarizing indications of the group block icon. Therefore UMZS has to be connected with the limit bits. If UMZS is connected with a continuous 1-Signal (LOG1) also Life Zero fault (bad quality) is excluded from the summarizing indication. - By connecting the alarm interlocking UAMV with Signal GVG of the group, the measured value block only creates alarm messages when the group is started. - Via status call function the operator can check for existing interlocks at any time (also if the group has not been started). Copyright (c) Siemens AG. All Rights Reserved. 5 - 69 Engineering Examples Engineering Cemat V7.1 Block Measured value, Bypass, Service mode There are two possibilities to block the measured value: a) The bypass function is not activated: In this case the measured value is blocked with a 1-Signal at interface UGWA (for example while the calibration is running). If UGWA = 1-Signal the measured value is not read in any more and the last value is frozen. The limit bits are frozen as well. b) The bypass function is activated: In this case the bypass is carried out via HMI (Service mode). In the Service mode the measured value is still read but all limit bits are forced to "0". 5 - 70 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Examples Release limit supervision For some analog values the limit supervision must only be enabled if the associated device is running. The following example shows the supervision of a motor current. Violation of lower limit 2 as well as violation of upper limit 2 shall stop the drive by protection interlocking. The evaluation should begin 10 seconds after the drive start. - The limit supervision is enabled via connection of interface RELS with the running signal EVS of the corresponding drive. The time delay of 10 seconds is configured at parameter REL_DEL. - With 1-Signal at interface MTRIP you achieve that after the drive stop the fault is memorized until acknowledgement. If MTRIP has 0-Signal, immediately after the drive stop the status of the measured value block is `good' again. Copyright (c) Siemens AG. All Rights Reserved. 5 - 71 Engineering Examples Engineering Cemat V7.1 Pressure control A pump shall be switched on if the minimum pressure is reached and switched off with maximum pressure. 5 - 72 - The switching limit `SL` is used for switching ON and the switching limit `SH` for switching OFF. - Start and stop of the pump is carried out via interface ESPO. - For the feedback to the group EVSP is used instead of EVS. Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Examples Route functions Feedback ON (all drives running) Via the route feedback ON (interface WREZ) the route is informed that the start-up has been completed and all drives are running. Depending on the application this can be an AND-Function with the running signal of all drives, or the last drive of a start sequence. With 1-Signal at input WREZ, for a selected route the binary output WRE is set, which is used as feedback to the group. Copyright (c) Siemens AG. All Rights Reserved. 5 - 73 Engineering Examples Engineering Cemat V7.1 a) Feedback to the group if one out of two routes must be running: b) Feedback to the group if both routes may run at the same time: If one route is already running and a second group shall be started additionally, you have to take care that with the selection of the new route the group feedback gets "0". Otherwise restart of the group is not possible. 5 - 74 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Examples Feedback OFF (all drives stopped) Via route feedback OFF (interface WRAZ) the route is informed that the stop sequence has been completed and all drives are stopped. Depending on the application, this can be an AND-Function with the inverted running signal of all drives or with the last drive of a stop sequence. With 1-Signal at input WRAZ the binary output WRA which is used for the feedback to the group is reset. ! The route feedback OFF (Signal WRA) gets "0" if the route is not selected or completely stopped. For the connection of the group feedback OFF the output WRA must therefore be inverted! Copyright (c) Siemens AG. All Rights Reserved. 5 - 75 Engineering Examples Engineering Cemat V7.1 Uninterrupted route change-over Task: The change for charging into Silo1 or Silo 2 has to be without interrupt, i.e., the feeding drives should not be stopped during the switching operation. Both air slides E02 and E03 must run while the damper is being moved. The part of the old transport direction that is no longer required is switched off only when the new direction has been traversed completely. The following connection example provides a solution for a transport group with two routes: The air slides E02 and E03 and the damper position K1 (direction silo 1) belong to route 1. The air slides E01 and E03 and the damper position K2 (direction silo 2) belong to route 2. Operation: During the switching, the new route must be selected first and then the group started. Whether the route selection and the group start takes place manually or automatically is not relevant. 5 - 76 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Copyright (c) Siemens AG. All Rights Reserved. Engineering Examples 5 - 77 Engineering Examples 5 - 78 Engineering Cemat V7.1 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Examples The connection example becomes clearer by looking at the individual conditions that must be fulfilled for a change of routes without interrupt. - The route change can only take place when the group is stationary or runs completely refer to WHVR - If a route was pre-selected and the pre-selection of another route is added, then the own pre-selection must be removed. refer to WVWL and WUUS - In case of a route change without interrupt the group has to be started while it is completely running (because the drives of the "old" route are still running). To permit the group to give the start command again, the "group feedback On / route feedback On" must be removed. This is done by linking the route pre-selection WVE with the drive feedbacks. refer to WREZ - The old route is deselected automatically once the newly started route runs completely. refer to WVWA - The de-selection of the "old" route stops the drives that are no longer required. refer to EBVG from E02 and E03 - The disconnection of the complete group is performed only for group stop (use GDA signal) or for a fault if the switching has not been performed within a specified time. refer to EBFA from E01 Copyright (c) Siemens AG. All Rights Reserved. 5 - 79 Engineering Examples Engineering Cemat V7.1 Automatic Route change In this example the route change and start is not performed manually but with a process signal (e.g., silo filling level). The process signal (start condition) must be unique. If necessary, use an interlock to ensure that only one signal is pending! Example: The process signal automatically pre-selects the route. Refer to WVWE ! 5 - 80 Note: The automatic group-On command must be supplied only when the GREZ signal of the group becomes zero (otherwise no start is possible). refer to GEBG. Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Examples Engineering Examples for additional blocks Display of interlocking conditions with interlock blocks Via interlock blocks interlocking conditions can directly be called from the diagnostic window of the Cemat block. Using structure interlocks the faceplate of the interlock block can be opened directly from the faceplate of the Cemat block. (It is also possible to open a connected Cemat block instead.) a) Structure interlocks Intlk02, Intlk04, Intlk08 and Intlk16 The name of the Interlock block is not relevant. Exception: don't use the naming conventions for binary interlock blocks (in this case do not use M1_IntProtG1), otherwise the interlock faceplate will be opened two times. In the faceplate of the interlock block at each input the name of the connected block is displayed automatically, here e. g. 100_BC2/RS01. For additional information you can enter a text at the corresponding input under Object properties AE Text 0 and Text 1 (maximum 16 characters). Copyright (c) Siemens AG. All Rights Reserved. 5 - 81 Engineering Examples Engineering Cemat V7.1 b) Binary interlock block C_INTER5 (can only be called from diagnostic window) C_INTER5 is called via the variable name. The interlock block must therefore be named as follows: Name of the Cemat block + Underline + Name of the interface + Index (1/2/3). You can connect 3 blocks of type C_INTER5 to each interface. The text for the inputs is configured via parameter S_TEXT (5 texts a 16 characters, separated by semicolon). 5 - 82 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Examples c) Binary interlock block C_INTERL (can only be called from diagnostic window) C_INTER5 is called via the variable name. The interlock block must therefore be named as follows: Name of the Cemat block + Underline + Name of the interface + Index (1/2/3). You can connect 3 blocks of type C_INTERL to each interface. The text for the inputs is configured via parameter S_TEXT (5 texts a 16 characters, separated by semicolon). The texts for the inputs are defined via object properties of the corresponding input (I1_1 to I1_5 and I2_1 to I2_5) under Text 1 (text length max. 16 characters). ! Caution: A mix of C_INTER5 and C_INTERL at the same interface is not permitted. Copyright (c) Siemens AG. All Rights Reserved. 5 - 83 Engineering Examples Engineering Cemat V7.1 Query for Simulated Objects within the AS Via the function "Object Browser" the operator will get a list of all simulated objects within an AS. See description 08_OS_Engineering_009.pdf under "General Cemat Functions". The function for left mouse click must be adapted (enter number of the AS): All Cemat blocks within the AS which are switched to 'Simulation' are listed automatically. Interlock blocks, which are switched to 'Simulation' (Bypass function) are not automatically shown. In order to list the interlock blocks as well, you have to insert the additional block C_SIMU_L. The output `Out' of the interlock block Intlk02, Intlk04, Intlk08 or Intlk16 must be connected to input OBJECT of C_SIMU_L. ! 5 - 84 Caution: In our opinion the Simulation at the interlock block is only recommended in some occasions. Is case of a protection signal connected to an annunciation module it is better to switch the annunciation block into Simulation. Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Examples Analog Value Selection Via block C_ANASEL up to 16 measured values can be linked to a drive C_DRV_1D, C_DRV_2D or C_DAMPER. Via the drive faceplate the faceplate of the C_ANASEL block can be opened, and from there you can select the desired measured value. In the drive faceplate you will see the selected measured value + Unit as well as the status (limit violation, simulation, quality). - You have to connect output PV_Out of the measured value to input Inxx of the C_ANASEL and output PV_Stat of the measured value to input InxxStat of the C_ANASEL. - The output Out_Val of the C_ANASEL must be connected to input PV of the drive and the output Out_Stat of the C_ANASEL to input PV_Stat of the drive. Copyright (c) Siemens AG. All Rights Reserved. 5 - 85 Engineering Examples Engineering Cemat V7.1 Show related objects Via interface UserFace of the Cemat blocks any block can be linked to the Cemat block and its faceplate can then be opened through the Cemat block. This possibility exists for C_DRV_1D, C_DRV_2D, C_DAMPER, C_VALVE C_GROUP, C_ROUTE, C_SELECT and C_ANASEL. The link has no influence in the control function, it has only for visualization purpose. In the following example the block C_RelMod is connected to a unidirectional drive. The block C_RelMod has 20 inputs over which further blocks can be assigned to the drive. 5 - 86 - Connect any output of the desired block to input SelFpDx of C_RelMod. - Connect output OutSig of C_RelMod to input UserFace of the Cemat block. Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 AS Engineering AS Engineering Content AS Engineering 1 Signal list (Symbols) ................................................................................................ 2 Creating the AS Program with CFC......................................................................... 3 CEMAT Functions....................................................................................... 3 How to add a new chart and insert a block................................................. 4 Block Properties.......................................................................................... 5 How to connect and parameterize blocks................................................... 7 Text definitions for the Cemat Faceplates ................................................ 14 Annunciation Release ............................................................................... 15 Definition of the run sequence .................................................................. 16 Check of the run sequence and the group / route links............................ 17 Invisible Module Parameters .................................................................... 18 Conventional control desks.......................................................................22 Show simulated Objects ........................................................................... 24 Acknowledgement mode .......................................................................... 25 Warning mode........................................................................................... 26 Sequence-Test.......................................................................................... 27 Using driver blocks with CEMAT .............................................................. 28 Function block CPU_RT ........................................................................... 35 Compile CFC ......................................................................................................... 36 Download to the AS ............................................................................................... 37 OS Compile............................................................................................................ 38 Project-Download................................................................................................... 41 Integrated Asset Management............................................................................... 44 Copyright (c) Siemens AG. Alle Rechte vorbehalten. Edition: 01/10 N:\Cemat\DOKU\V71_SP1\English\Engineering\06_AS_Engineering_009.doc 6-1 AS Engineering Engineering Cemat V7.1 Signal list (Symbols) The hardware signals can be entered directly in the hardware configuration. They will be added to the Symbols list and can further on be used in CFC. There is also the possibility to import the hardware signal list from an excel file. 6-2 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 AS Engineering Creating the AS Program with CFC CEMAT Functions Drive functions C_DRV_1D C_DRV_2D C_DAMPER C_VALVE C_SIMO_A C_SIMOS Unidirectional drive Bi-directional Damper Valve Adapter for SIMOCODE (until Cemat V6.1) Adapter for SIMOCODE (with Curve Display) Annunciation functions C_ANNUNC C_ANNUN8 C_MEASUR C_ANASEL C_STORAG C_STO_MA Annunciation module Annunciation module with 8 Alarms Measuring value Analog value selection Storage module Storage module (Master for Multichamber) Control/Supervision C_GROUP C_MUX C_ROUTE C_SELECT Group module Additional block for group/route Route module Selection module Controller functions CTRL_PID C_PID3 CTRL_S RATIO_P C_POLY3 PID-Controller PID-Controller with 3 Parameter tables Step Controller Ratio Controller Polygon Module Caution: CEMAT V7 has no special block for analogue output function. You have to use the PCS7 driver block CH_AO. Silo pilot function C_SILOP Silo pilot Information system C_RUNNT C_COUNT C_MEAS_I Runtime supervision (MIS) Counter block (MIS) Measuring value integration (MIS) Special functions C_ADAPT C_PUSHB C_RelMod C_SIMU_L Adapter block to include non-CEMAT modules into group supervision. Parameterization of a conventional Control Desk with Push Buttons and Lamps Show related Modules Entry into Cemat list simulated Objects The detailed description of the CEMAT Functions you find in the object description an in the only help. All other blocks from the PCS7 standard library can be used as well. Copyright (c) Siemens AG. All Rights Reserved. 6-3 AS Engineering Engineering Cemat V7.1 How to add a new chart and insert a block The program logic is written in the Continuous Function Charts (CFC). To insert new Charts use Plant view or Process object view. Later the charts can be edited from all views of the SIMATIC Manager. After adding a new chart you have to rename it according to your tagging system. The chart name is the first part of the tagname, e. g. 345_BC1. Open the chart and select a block from the catalog. Drag and drop it to the chart. The CEMAT Standard functions are located in Folder CEMAT. The controller functions you will find in Folder CONTROL. 6-4 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 AS Engineering Block Properties Double-click on the block in order to open the properties dialog. Carry out the following settings in the property window: Name: The name (instance name, e.g. M1) is the second part of the tagname of the motor. If the Hierarchy folder name is not part of the tagname (project setting), the tagname of the motor consists of the chart name and the instance name. In the above mentioned example this would be 345_BC1/M1. Make sure that the complete tagname does not exceed 20 characters. Comment: The comment contains an explanation of the motor, e. g. "Belt Conveyor". This text is later on available in WinCC as internal variable #comment and will be displayed in the e. g. in the faceplate of the motor. The maximum length of the comment is 40 characters. Under "OCM possible" you find the settings regarding WinCC: Create Block Icon: Select the option "Create block icon" if the block icon should be created automatically. In this case the block icon which corresponds to the Index entered below will be chosen from the template picture @PCS7Typicalsx.pdl. Copyright (c) Siemens AG. All Rights Reserved. 6-5 AS Engineering Engineering Cemat V7.1 Save the Object Properties with OK. 6-6 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 AS Engineering How to connect and parameterize blocks Each block has a list of input and output parameters, which can be connected either with a signal (from the symbols file or an output of another block) or parameterized with a value. Due to its utilization the inputs and outputs have different attributes which can be seen in the object properties in tab "I/Os". In Cemat we distinguish between different parameter types: Hardware Inputs and Outputs These are the interfaces which are connected to the inputs and outputs of the periphery, as e. g. contactor feedback, electrical readiness, bimetal, on command of the motor of the analog input of a measure. Normally a signal from the symbols file is assigned to this interface. The Hardware inputs and outputs are of type "Signal". The assignment of the periphery signal can either be carried out in the CFC or in the process object view in tab "Signals". Input Interfaces The so-called interface flags are used for starting, stopping, changing operation modes or interlocking the blocks. They are mostly connected to an output of another Cemat block or to some logic. The interface flags are of type "Parameter". The linking if the interface flags can either be done in the CFC or in the process object view in tab "Parameters". New: With Cemat V7.1 the interlock interfaces (start interlock, operating interlock, protection interlock etc.) and some of the block outputs (drive running, route selected etc.) are available as structure inputs. Instead of a binary connection, the link can be made via structure connection. Beside the binary information the structure contains the signal status, which is displayed in the diagnosis window. An additional advantage of the structure connection is that in the operation system you can directly jump from one object faceplate to its predecessor or to the following object. Using this method you can follow a missing interlocking condition very fast to its original cause. The binary interfaces for interlocking conditions can still be used, if someone doesn't want to use the new functions (e. g. in case of a migration). It is also possible to use both inputs (binary and structure) parallel. Releases Some functions of the Cemat blocks must be enabled or disabled according to the demand. Some release functions can be carried out by the program others only from the Operator Station (both is not possible). The Release bits which can be connected in the CFC are of type "Parameter". The connection can be programmed in the CFC or in the process object view in tab "Parameters". Links Each drive, annunciation block and measure must be connected to the group via the so-called group link. The blocks can directly be connected to the group or indirectly via route module. The links are of type "Parameter" and can be connected in the CFC or in the process object view in tab "Parameters". Copyright (c) Siemens AG. All Rights Reserved. 6-7 AS Engineering Engineering Cemat V7.1 Process Values Limit values, supervision or delay times are called the process values of the blocks. You can retain the default values or if required you can adapt it according to the need of your application. The adaptation can be carried out either in the CFC or from the Operator Station. We recommend to adapt the values as far as possible during the engineering and to leave the fine tuning for the commissioning. The process values are of type "Parameter". The parameterization can be carried out in the CFC or in the process object view in tab "Parameters". Output Interfaces The most important information of the blocks are transferred to block outputs and therefore available for the connection to other blocks. New: Some of the outputs (drive running, route selected etc.) are additionally available as structure output. See Input Interfaces. A detailed functional description of the blocks you will find in the reference manual. There is a separate chapter for each object type. 6-8 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 AS Engineering Message Programming Each Cemat block uses one ore more ALARM_8 block or ALARM_8P block, whose signals SIG1 to SIG8 are assigned a particular function. The message texts (Event texts in WinCC) and the Message classes are standard for the most blocks and therefore locked in the function block. An adaptation per instance is not required. ! Note: The message texts are defined at the function block and can be modified at the function block itself. For any modification please note the following: 1. If you carry out an update fort he blocks the message definitions get overwritten. In this case you have to define the message texts again. 2. For the status call the message texts are defined in the object specific Config files under [Fault]. Make sure that you use the similar texts in the message definition and in the Config files. Take a backup of the Config files because they also get overwritten in case of an update. Example: Message text definition in the Config File of a Unidirectional Drive: [Fault] ;Visible, Attribut,Comment,Bit,Fault Class 1,ESS,Feedback,9,M 1,ESB,Available,10,E 1,EVO,Local,11,P 1,EBM,Overload,12,M 1,ESD,Speed monitor,13,M 1,LST,Local Stop,15,E 1,SCF,Simocode Fault.,8,E 1,SUB,Subc.general fault,32,E Copyright (c) Siemens AG. All Rights Reserved. 6-9 AS Engineering Engineering Cemat V7.1 In case of the annunciation blocks C_ANNUNC and C_ANNUN8 there is no particular message text definition. The user must insert an individual text (max. 16 characters). Message text definition in block C_ANNUNC: ! Note: You need to configure either the message text for the Warning (Warning - above) or the text for the Error message (Alarm - above) according of Parameter WMOD of the annunciation block. In case of a two-level alarm you have to use similar texts for Warning and Error Message. As in each annunciation block C_ANNUNC we have individual message texts, it is not possible to predefine the message texts fort he status call in the Config file. Here you have two options: 1. Display of an individual fault text in the status call: In this case a wild card "?" must be entered in the Config file (default setting). The individual message text must then be defined in the CFC at block parameter IN_DEL: Settings in the Config File of the annunciation block C_ANNUNC: [Fault] ;Visible, Attribut,Comment,Bit,Fault Class 1,MS0,?,1,M To enter the message text in the CFC, select parameter IN_DEL of block C_ANNUNC and go to Object properties. The text must be entered under "Identifier" (max. 16 characters). After the OS Compile this text is available as an internal variable in the tag management of the OS. 2. Display of a standard fault text in the status call (similar for all annunciation blocks): In this case a fix text must be entered in the Config file: [Fault] ;Visible, Attribut,Comment,Bit,Fault Class 1,MS0,Fault,1,M 6 - 10 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Copyright (c) Siemens AG. All Rights Reserved. AS Engineering 6 - 11 AS Engineering Engineering Cemat V7.1 Message text definition in block C_ANNUN8: Also in the annunciation block C_ANNUN8 individual message texts can be defined, which means it is not possible to predefine the message texts fort he status call in the Config file. Also here you have two options: 1. Display of an individual fault text in the status call: In this case a wild card "?" must be entered in the Config file (default setting). The individual message text must be defined in the CFC at block parameter FLS1 - FLS7 under "Text 1": Settings in the Config File of the annunciation block C_ANNUN8: [Fault] ;Number, Attribut,Comment,Bit,Fault Class 1,MS1,?,3,M 2,MS2,?,4,M 3,MS3,?,5,M 4,MS4,?,6,M 5,MS5,?,7,M 6,MS6,?,8,M 7,MS7,?,9,M To enter the message text in the CFC, select parameter FLS1 - FLS7 of block C_ANNUN8 and go to Object properties. The text must be entered under "Text 1" (max. 16 characters). After the OS Compile this text is available as an internal variable in the tag management of the OS. 2. Display of a standard fault text in the status call (similar for all annunciation blocks): In this case a fix text must be entered in the Config file: [Fault] ;Number, Attribut,Comment,Bit,Fault Class 1,MS1,Fault 1,3,M 2,MS2,Fault 2,4,M 3,MS3,Fault 3,5,M 4,MS4,Fault 4,6,M 5,MS5,Fault 5,7,M 6,MS6,Fault 6,8,M 7,MS7,Fault 7,9,M 6 - 12 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 AS Engineering Another special characteristic in Cemat is the representation of the block comment as a separate text field in the message line. To enable this you must provide Additional text 5 (in WinCC this is "Free Text 1") with the block comment. This can be carried out in the CFC (under Object properties AE Special properties AE Messages... AE More AE Tab "Additional Texts" and there Consec. No. 5) or you may use the Process Object View, tab "Messages" and copy the content of column "Block comment" into column "Free Text 1". ! Caution: If the Process Object View, tab "Messages" does not contain the column "Free Text 1", you have to change the settings to make it visible. In the SIMATIC Manager under Options AE Customize.... AE Columns AE Process Object view AE Messages select the corresponding column. A detailed function description you will find in the Reference Manual. Each object type is described in a separate chapter. Copyright (c) Siemens AG. All Rights Reserved. 6 - 13 AS Engineering Engineering Cemat V7.1 Text definitions for the Cemat Faceplates The Faceplates of some of the Cemat Objects contain Text variables which have to be defined in the CFC. For Performance reasons there are different methods for the engineering of the individual texts. The following list shows the different text variables and the engineering of each: The physical unit of the measuring value C_MEASUR In difference to the PCS7 Standard Libraries the physical unit of the measuring value block C_MEASUR is configured at the block parameter UNIT. The variable UNIT is part of the Tag Management of the OS and can be modified online. The Texts of the Cemat Interlock block C_INTERL At the block C_INTERL the texts are configured via block parameter I1_1 to I1_5 and I2_1 to I2_5. In the object properties of the corresponding parameter you have to enter a string of up to 16 characters into field "Text 1". After the OS Compile the texts are available as internal variables in the Tag Management of the OS. A modification of the texts requires a new OS Compile. The Texts of the Cemat Interlock block C_INTER5 At the block C_INTER5 the texts are configured via block parameter S_TEXT. The maximum length of the String Variable is 80 characters (up to 5 text strings of maximum 16 characters must be separated by Semicolon). The variable S_TEXT is available in the Tag Management of the OS and can be modified online. The individual faults in the diagnosis picture of C_ANNUN8 In the diagnosis picture of the ANNUN8 block the single faults are named with "Fault 1" to "Fault 7". Instead of this default text, for each fault type an individual text can be displayed. The texts are configured in the CFC via block parameters FLS1 to FLS7. In the Object properties of the corresponding parameter you can enter a text (up to 16 characters) into field "Text 1". After the OS Compile the texts are available as internal variables in the Tag Management of the OS. A modification of the texts requires a new OS Compile. The Message Text for Status Call function for C_ANNUNC and C_ANNUN8 As it is already mentioned in the last chapter, the message texts for block C_ANNUNC and C_ANNUN8 have to be configured individually according to the function. In order to show the same text also in the status call function under "Fault Type", you have to enter the text for block C_ANNUNC into the object properties of parameter IN_DEL under "Identifier". For the block C_ANNUN8 the text must be entered in object properties of parameter FLS1 to FLS7 under "Text 1". In both cases the text is limited to 16 characters. After the OS Compile the text is available as an internal variable in the Tag Management of the OS. A modification of the texts requires a new OS Compile. 6 - 14 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 AS Engineering The bar description for motor current in the drive faceplate If a measuring value is assigned via input MV_PERC to the motor, the faceplate of the drive shows a bar with the percentage value of the measure and the measuring value in %. The description of the measure depends on the measure itself (normally current of power measurement) and must therefore be configured at the drive block. The parameterization is carried out in the object properties of parameter CORR_OS under "Identifier". After the OS Compile the text is available as an internal variable in the Tag Management of the OS. A modification of the texts requires a new OS Compile. The Unit for Set Point and Actual Value of a VDS drive For Variable Speed drives, the Setpoint can directly be entered via the Faceplate of the drive block C_DRV_1D and the actual speed is indicated there as well. In order to show the correct Unit in the faceplate (default is "rpm") you have to modify in the CFC the property "Unit" of bock parameters SP_IN, SP_EX.Value and SP_O.Value the unit for PV_IN.Value must be entered under "Identifier"! After the OS Compile the text is available as an internal variable in the Tag Management of the OS. A modification of the texts requires a new OS Compile. Annunciation Release In all Cemat blocks through plausibility logic it is assured that in case of several similar faults only the "perpetrator" creates an alarm message. For example, in case of a protection interlock of a motor, no alarm is created by the motor block, it is created by the associated annunciation module. In order not to create an alarm flush in case of loss of control power, each Cemat block has an interface "Annunciation Release" xMFR, which has to be connected with the control power signal. In case of a periphery failure (such as bus failure, card failure, MCC failure) this signal must get "0". Now the Cemat block does not create further messages (no incoming, no outgoing messages). For the annunciation of the control power failure itself an additional annunciation block has to be programmed. ! The annunciation release is one of the most important interfaces in order to achieve a smooth operation. The project engineer must assure that only the perpetrators of a fault create alarm messages. Copyright (c) Siemens AG. All Rights Reserved. 6 - 15 AS Engineering Engineering Cemat V7.1 Definition of the run sequence Make sure that the blocks are called at the right position in the runtime sequence (see object descriptions). The CEMAT blocks must be called in (OB1 = MAIN_TASK) between the runtime groups OB1_START and OB1_END. The Runtime Sequence is: 1. evtl. MUX 2. Annunciations and Drives 3. Corresponding Routes 4. Corresponding Groups All modules in the CFC will be assigned to a (default) OB. The module which was defined last will automatically be the predecessor for the installation of the next module. The so-called run-time editor allows the definition of Run-time groups and the modification of the run sequence according to the desired structure of the program. 6 - 16 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 AS Engineering Check of the run sequence and the group / route links With the Excel tool "CEMAT CHECK TOOL.XLS" you can check your Group links and your runtime sequence. E. g. you call a drive block before his related C_MUX or you call a drive block after his related C_GROUP block. The Excel tool will detect this engineering fault and show this kind of engineering faults in a list. The Excel tool "CEMAT CHECK TOOL.XLS" you will find in the directory D:\Cemat_CS\Tools. The user manual for the tool you will find in the chapter 10_Checkliste_009.pdf. Copyright (c) Siemens AG. All Rights Reserved. 6 - 17 AS Engineering Engineering Cemat V7.1 Invisible Module Parameters In the Object description you will find a list of the Parameters for all Objects as well as a detailed description of the programming rules. For the CEMAT Modules by default only the module parameters which are usually used in most of the plants are set to visible. This means, if you drop a CEMAT Module to your chart, you will not see all the available parameters. The invisible parameters can be switched to visible if required. This can be done generally at the FB itself (change of the Attribute S7_visible to true`) or in the CFC for each instance. ! Note: With a Standard Update your attribute changes at the function block will be lost and must be performed again if required. The instances keep the original Settings. Display of Motor current (or Power) in the drive faceplate The following interfaces of C_DRV_1D and DRV_2D allow the display of the motor current in % in the drive faceplate. In the default settings they are switched to invisible but they can be changed to visible if required. Element Bedeutung REL_MVC enable display of motor current MV_PERC Motor current from C_MEASUR Typ Vorbesetzung Art Attr. BOOL 0 I U POINTER 0 I U B&B zulassige Werte Display of an additional measuring value in the drive faceplate The following interfaces are used for the link to a measuring value of to an Analog Selection block. This permits the display of an additional measure in the drive faceplate and the jump to the connected block. In the default settings the interfaces are invisible but they can be changed to visible if required. 6 - 18 Element Bedeutung Typ PV Process value input (general use) PV.Value Value REAL PV.ST Signal Status BYTE PV_Stat Process value status + unit Vorbesetzung Art Attr. I U 0.0 I U 16#FF I U I U STRUCT STRUCT B&B + PV_Stat.UNIT Unit STRING [8] % I U + PV_Stat.STA TUS DWORD 16#00 I U + Status zulassige Werte Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 AS Engineering Variable Speed Drives The following interfaces of the C_DRV_1D belong to the Variable Speed Drive function. In the default settings they are switched to invisible but they can be changed to visible if required. Format Default Typ e Attr. Enable setpoint function BOOL 0 I U EN_SPEX Enable external setpoint BOOL 0 I U SP_TR Setpoint tracking BOOL 0 I U SP_IN Setpoint from OS REAL 0.0 I U SP_EX External Setpoint STRUCT I U SP_EX.Value Value REAL 0.0 I U SP_EX.ST Signal Status BYTE 16#FF I U SP_HLM Setpoint high limit REAL 0.0 I U + SP_LLM Setpoint low limit REAL 0.0 I U + PV_IN Process value input for setpoint function I U PV_IN.Value Value REAL 0.0 I U PV_IN.ST Signal Status BYTE 16#FF I U SP_O Setpoint Output O U SP_O.Value Value REAL 0.0 O U SP_O.ST Signal Status BYTE 16#80 O U Element Meaning EN_SP STRUCT STRUCT HMI Permitted Values + + + + Subcontrol Function The following interface of C_DRV_1D is needed in case of Subcontrol Functions. In the default settings it is switched to invisible but they can be changed to visible if required. Element Bedeutung SUBC_FT General fault Subcontrol Copyright (c) Siemens AG. All Rights Reserved. Typ Vorbesetzung Art Attr. BOOL 0 I U B&B zulassige Werte 6 - 19 AS Engineering Engineering Cemat V7.1 Positioner function The following interfaces of the C_DAMPER belong to the positioner function. In the default settings they are switched to invisible but they can be changed to visible if required. 6 - 20 Element Meaning Format Default Typ e Attr. KPOS Positioner BOOL 0 I U KSNF Setpoint tracking BOOL 1 I U W_OS Setpoint of OS (KWCO) REAL 0.0 I U + KWUG Setpoint lower limit REAL 0.0 I U + KWOG Setpoint upper limit REAL 100.0 I U + KWEE External setpoint active BOOL 0 I U KWEX External setpoint I U KWEX.Value Value REAL 0.0 I U KWEX.ST Signal Status BYTE 16#FF I U SCB Scale beginning REAL 0.0 I U + SCE Scale end REAL 100.0 I U + UNIT Unit STRING [8] %` I U + POS_IN Position value 0-100 STRUCT I U POS_IN.Value Value REAL 0.0 I U POS_IN.ST Signal Status BYTE 16#FF I U POS_LZ Live-zero for position BOOL 0 I U TMIN Min. pulse length REAL 0.5 I U + TM Actuator run-time REAL 60.0 I U + AN Switch on of the dead zone REAL 1.0 I U + AB Switch off of the dead zone REAL 1.0 I U + X_POS_OS Damper position display O U X_POS_OS. Value Value REAL 0.0 I U X_POS_OS. ST Signal Status BYTE 16#80 I U KPO Positioner ON BOOL 0 O U STRUCT STRUCT HMI Permitted Values + + Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 AS Engineering Drives with SIMOCODE The following interfaces of the drive blocks are needed in case of a connection to a SIMOCODE Adapter block. In the default settings it is switched to invisible but they can be changed to visible if required. Typ Vorbesetzung Art Attr. B&B Enable SIMOCODE BOOL 0 I U + Status SIMOCODE BYTE 16#00 I U Element Bedeutung REL_SC STAT_SC Copyright (c) Siemens AG. All Rights Reserved. zulassige Werte 6 - 21 AS Engineering Engineering Cemat V7.1 Conventional control desks Some clients still like to use conventional control desks for certain applications. In this case block C_PUSHB must be called. C_PUSHB has input parameters for Release, Fault Acknowledgement, Horn Acknowledgement and Lamp Test, as well as an output which can be connected to a horn. ! Note: The inputs and outputs connected to C_PUSHB are always effective for the complete AS. If Fault Acknowledgement, Lamp Test or Release Functions should work only for specific CEMAT objects, the interfaces at C_PUSHB can not be used. You have to connect the signals to the xQIT, xLPZ and xFGS interface of the CEMAT Object itself. Module Parameters of C_PUSHB Input parameters FGS Release Button Basic State: 0-Signal Format BOOL The Release Button must be pressed together with Group Start, Group Stop, Route Selection etc. (2-Hand-Operation). QT Acknowledge Faults Basic State: 0-Signal Format BOOL With a positive Edge on QT all dynamic faults in the AS are acknowledged. QT_H Acknowledge Horn Basic State: 0-Signal Format BOOL With a positive Edge on QT_H the horn gets switched off. LP Lamp Test Basic State: 0-Signal Format BOOL Parameter LP is used to parameterize a Lamp Test button for Running/Fault Lamps of the drives, Annunciation lamps, Group status indications and Route selection lamps. THUP Horn time in Seconds Basic State: 120 Format INTEGER After this time the horn is switched off. Output Parameters HORN Horn Format BOOL The output can be used for an acoustical alarm in the control room. 6 - 22 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 AS Engineering Control desk interfaces at the CEMAT Objects The following interfaces will only be required if a conventional control desk with pushbuttons and lamps is used. In the default settings they are switched to invisible but they can be changed to visible if necessary. Function DRV_1D DRV_2D DAMPER VALVE ANNUNC Lamp test ELPZ ELPZ KLP1 VLPZ MLPZ Acknowledge EQIT EQIT KQT1 VQIT MQIT MEASUR ROUTE GROUP WLPZ GLPZ UQIT GQIT Release signal GFGS Pushbutton release WPTS GPTS Pushbuttons WVT GTA GTE WVL GZV GZS GZB Lamps ELS Copyright (c) Siemens AG. All Rights Reserved. ELS1 ELS2 KL1 KL2 VL1 VL2 MLA 6 - 23 AS Engineering Engineering Cemat V7.1 Show simulated Objects A new function in Cemat V7.1 allows the display of all simulated objects within an AS. With this function all drives with bypassed Speed Monitor Supervision and all measures and annunciation blocks with simulation are listed. Simulations of the new Structure interlock blocks or simulations of a non Cemat block can not be detected automatically. In order to show these simulations as well have to insert the additional block C_SIMU_L. The output `Out' of the interlock block Intlk02, Intlk04, Intlk08 or Intlk16 must be connected to input OBJECT of C_SIMU_L. Block C_SIMU_L provides the Instance-DB for the list of simulated objects. Module Parameters of C_SIMU_L Input parameter OBJECT Object with Simulation Format ANY This interface can be connected with a binary output, with a status byte, with a structure output with BOOL structure or with a structure output with REAL structure. If interface OBJECT is connected with a binary signal, RLO = 1 means Simulation. If interface OBJECT is connected with a Status-Byte B#16#60 = Simulation. If interface OBJECT is connected with a BOOL structure (e. g. the output Out of block Intlk02) or a REAL structure, the structure variable .ST contains the status information. In this case B#16#60 = Simulation. ! Caution: The status information at output "Out" of the structure interlock blocks (e.g. Intlk02) only show "Simulation" if the information is relevant. This means, in case of an OR function, that if one of the inputs is "valid" and the other input is "simulated", the output shows "valid". Output Parameters P_ERROR Error Code Format INTEGER The following error codes are possible: P_ERROR = -1 P_ERROR = -2 Instance-DB < 1000 Structure length not 2 or not 6 or not binary variable and no structure connected. INST_DB Instance-DB Format INTEGER Block number of the Instance-DB. 6 - 24 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 AS Engineering Acknowledgement mode In CEMAT V7.1 three acknowledgement modes exist: The fault acknowledgment can be carried out either for the complete AS or group-wise or per object (refer to Reference Manual, System). By default the fault acknowledgement is carried out per AS. If the fault acknowledgement shall be carried out per group, or per object this requires a modification of the settings in the system chart and some additional programming for each object. Group-wise acknowledgement In the System chart at block C_FB_PLC you have to change the setting for parameter ACK_GR at block to 1-Signal. In order to acknowledge the objects by the corresponding group you have to link the output ACK of the group with the interfaces EQIT, VQIT, KQT1 etc. of all objects belonging to the group. Example for a Motor: M1 G1 C_GROUP C_DRV_1D MAIN_TASK Transport group BO GQIT Motor1 MAIN_TASK 1/2 1/5 ACK BO BO EQIT G_LINK ST ST GR_LINK1 ST GR_LINK2 ST MUX_LINK The link from output ACK of the group to GQIT (for acknowledgement of the group interlocking) is not needed any more as the Group Acknowledgment does this internally now. Copyright (c) Siemens AG. All Rights Reserved. 6 - 25 AS Engineering Engineering Cemat V7.1 Object-wise acknowledgement In the System chart at block C_FB_PLC you have to change the setting for parameter ACK_OB at block to 1-Signal. In this case the acknowledgment of the alarm acknowledges the object fault at the same time. ! Caution: In case of protection interlock of a drive, the message is created by an annunciation block or measure, not by the drive itself. In this case the Acknowledgement of the alarm line does not acknowledge the drive fault. The drive faceplate must be opened and Acknowledge Button must be pressed there. Warning mode In the default setting, if a warning occurs during the start-up of the group the start is interrupted and the start command GBE is reset (behavior of former Cemat Versions). Since Cemat V7.1 the option exists to disable the group interrupt in case of a warning. The block C_FB_PLC in the system chart has a parameter REL_WSTP, which must be changed to 0-Signal in order to disable the group start interrupt in case of a warning. ! 6 - 26 Holcim Standard: Parameter REL_WSTP at block C_FB_PLC must be connected with 0Signal, otherwise in case of a warning message the group start gets interrupted. Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 AS Engineering Sequence-Test In the Sequence test mode the program can be tested without Hardware inputs and outputs. It is a pure simulation mode and can only be activated or deactivated with a restart of the AS. Start and Stop of the Sequence test mode is carried out in system chart, block C_FB_PLC, via Parameter SEQ_TEST. To start the sequence test mode, enter string `TEST' on input parameter SEQ_TEST and restart the AS. To leave the sequence test mode, enter string `NO' on input parameter SEQ_TEST and restart the AS. In sequence test mode, for all Drive and Annunciation blocks the output SIM_ON is set. If module drivers are used, the output SIM_ON can be connected to input SIM_ON of the driver block in order to use the Simulation Value. See also "Using driver blocks with CEMAT". In case of the Motor, the feedback of the contactor and eventually a speed monitor are simulated. In case of damper or valve, the limit switches are simulated. All further hardware inputs are still active and must be simulated via test program at the beginning of OB1 Cycle. If module drivers are used, the output SIM_ON of the CEMAT block can be connected to input SIM_ON of the driver block in order to use the simulation value. Copyright (c) Siemens AG. All Rights Reserved. 6 - 27 AS Engineering Engineering Cemat V7.1 Using driver blocks with CEMAT Driver blocks are not necessary for Cemat. As before, the block inputs and outputs can be directly connected to the periphery (process image). The only exceptions are the Analog outputs (e. g. from a PID controller), where the calculation from REAL value to card value is carried out by the driver block CH_AO. Some customers use driver blocks for Analog Inputs as well. (The driver block detects the Card type and converts the Card Value into REAL format.) ! Caution: Through the driver wizard a lot of additional charts and blocks are generated which require additional resources (Communication jobs). This can especially be critical if ET200S periphery is used. From Cemat V6, connecting the Cemat blocks to the driver blocks is possible. If you wish to use driver blocks in your project, please pay attention to the following engineering rules: 6 - 28 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 AS Engineering Driver functions and drive blocks The parameterization of the driver bocks can exclusively be carried out in CFC, at the driver block itself. Only in the CFC the simulation value can be set and the behavior in case of module fault (substitution value or last valid value) can be parameterized. Connecting output SIM_ON of the CEMAT drive block to the input SIM_ON of the Driver block, in sequence test mode the driver blocks will be automatically switched to simulation mode. Display of "Bad Quality" and "Simulation" at the drive block icon and faceplate: - If the driver block recognizes a fault the output QBAD will be set. In order to indicate this status in the drive block icon and faceplate, you have to connect output QBAD of all related driver blocks with an OR-Function to interface DSIG_BQ of the drive. - If the driver block is switched to Simulation the output QSIM will be set. In order to indicate this status in the drive block icon and faceplate, you have to connect output QSIM of all related driver blocks with an OR-Function to interface DSIG_SIM of the drive. ! Caution: The Display of "Bad Quality" and "Simulation" in the block icon of the motor requires special attributes of the block icons. See OS Engineering. Example: Copyright (c) Siemens AG. All Rights Reserved. 6 - 29 AS Engineering Engineering Cemat V7.1 Driver functions and Annunciation blocks The parameterization of the driver bocks can exclusively be carried out in CFC, at the driver block itself. Only in the CFC the simulation value can be set and the behavior in case of module fault (substitution value, last valid value or invalid value) can be parameterized. Simulation: Block C_ANNUNC already includes a simulation function, which can be enabled via the operator station. The simulation value must be configured in the CFC at block C_ANNUNC via parameter M_SIM. In case of a simulation the status is displayed in the block icon and in the Faceplate and the block is entered into the list of simulated objects. Changing the AS into Sequence test mode automatically switches all annunciation blocks into simulation. In case of a simulation via the driver block, only the quality code shows that it is a simulated value. There is no entry into the list of simulated objects and the Simulation can not be enabled via the faceplate of the annunciation block. For this reason you should use the simulation at the annunciation block rather than the simulation at the driver block. Configuration of the behavior in case of "Bad Quality": For the configuration of the driver blocks in PCS7 V7, the following options exist: SUBS_ON = 1 and LAST_ON = 0 SUBS_ON = 0 and LAST_ON = 1 SUBS_ON = 0 and LAST_ON = 0 SUBS_ON = 1 and LAST_ON = 1 Substitution value (Quality Code = 16#48) Last valid value (Quality Code = 16#44) Invalid value (Quality Code = 16#00) Invalid value (Quality Code = 16#00) In case of Bad Quality the Quality Code is displayed in the Diagnosis picture of the Annunciation block. Example: 6 - 30 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 AS Engineering Driver functions and Measuring values With the appropriate connections between driver block and Measuring value block, the parameterization of the driver block is possible online (via faceplate of the Measuring value). From the Diagnostic Picture the Simulation value and the Substitution value can be entered and via Enable functions the Simulation can be switched on/off and the behavior in case of a module failure (substitution value or last valid value) can be parameterized. To enable this, the following connections between Measuring value block and driver block are required: To read in a physical value the Measuring value type (parameter TYP) must be 10. The output Q of the driver block has to be connected to input MV_PHYS of the measuring value. The output QUALITY of the driver block has to be connected to input QUALITY of the measuring value. This enables the display of the module status "Bad Quality" or "Simulation" in the block icon of the measure and in the faceplate. ! Caution: The Display of the Module status in the block icon of the measure requires special attributes of the block icons. See OS Engineering. Simulation: Block C_MEASUR already includes a simulation function, which can be enabled via the operator station. The simulation value must be configured in the CFC at block C_MEASUR via parameter SIM_VAL. In case of a simulation the status is displayed in the block icon and in the Faceplate and the block is entered into the list of simulated objects. Changing the AS into Sequence test mode automatically switches all measuring value blocks into simulation. In case of a simulation via the driver block, only the quality code shows that it is a simulated value. There is no entry into the list of simulated objects and the Simulation can not be enabled via the faceplate of the measuring value block. For this reason you should use the simulation at the measuring value block rather than the simulation at the driver block. Configuration of the behavior in case of "Bad Quality": For the configuration of the driver blocks in PCS7 V7, the following options exist: SUBS_ON = 1 and LAST_ON = 0 SUBS_ON = 0 and LAST_ON = 1 SUBS_ON = 0 and LAST_ON = 0 SUBS_ON = 1 and LAST_ON = 1 Substitution value (Quality Code = 16#48) Last valid value (Quality Code = 16#44) Invalid value (Quality Code = 16#00) Invalid value (Quality Code = 16#00) - The Cemat Measure block has a Process Parameter for Substitution value, in order to show this value in the diagnosis picture. If you chose "Substitution value", you have to set REL_SUBS to 1-Signal and enter the Substitution value to SUBS_VAL. In order to transmit this information to the PCS7 driver block, connect output SUBS_V_O of the measure to input SUBS_V of the driver block. To enable the function at the driver block, connect output SUBS_ON of the measure to input SUBS_ON of the driver block and the inverted information to input LAST_ON of the driver block. - In order to use the "Last valid value", set input REL_SUBS to 0-Signal and connect output SUBS_ON of the measure to input SUBS_ON of the driver block and the inverted information to input LAST_ON of the driver block. - For option "Invalid Value", set input REL_SUBS to 0-Signal and at the driver block you may set signals LAST_ON and SUBS_ON either both to 1-Signal or both to 0-Signal. In case of Bad Quality the Quality Code is displayed in the Diagnosis picture of the Measure. Copyright (c) Siemens AG. All Rights Reserved. 6 - 31 AS Engineering Engineering Cemat V7.1 In order to enter the Measuring range only once, the outputs SCB_OUT and SCE_OUT of the Measure can be connected to inputs VLRANGE and VHRANGE of the driver block. ! Caution: For PT100 VLRANGE and VHRANGE must not be connected!!! Example: 6 - 32 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 AS Engineering APL Driver block and Measuring value With TYP = 20 the measuring value block can read and evaluate the analog value form the APL driver block Pcs7AnIn. Via the output structure PV_Out of Pcs7AnIn the value and the status is transmitted. As Scale beginning and Scale end is already configured at the C_MEASUR, we recommend connecting the outputs SCB_OUT and SCE_OUT. However, a structure converter must be used. (See example below.) ! Caution: Structure input Scale of driver block Pcs7AnIn must not be connected in case of PT100 and in this case Scale beginning and Scale end must be set to 0! The behavior in case of Bad Quality is configured via Feature word. This may be either 'Bad value', 'Substitute value' or 'Hold last value'. Please parameterize the C_MEASUR accordingly. ! Caution: In the APL blocks the evaluation and display of card failures differs from the driver blocks of the standard PCS7 library. See comparison next page. Copyright (c) Siemens AG. All Rights Reserved. 6 - 33 AS Engineering Engineering Cemat V7.1 Operation status Standard PCS7 Driver APL Driver Valid value 80 (valid value) 80 (valid value) Simulation 60 (Simulation) 60 (Simulation) Substitute value 48 (Substitute value) 60 (Simulation) Hold last value 44 (Last valid value 60 (Simulation) Invalid value 00 (Invalid value) 00 (Invalid value) Settings at the block and Result: Settings for Bad Value: Feature bit 'Bad Value' = 1 and REL_SUBS = 0 In case of a card failure, the diagnosis picture of C_MEASUR shows 'Invalid Value" and the C_MEASUR creates a message for "Bad Quality". Settings for Substitute value: Feature bit 'Substitute value' = 1 and REL_SUBS = 1 In case of a card failure, the diagnosis picture of C_MEASUR shows 'Simulation" and the C_MEASUR creates no message. Settings for Hold last value: Feature bit 'Hold last value' = 1 and REL_SUBS = 0 In case of a card failure, the diagnosis picture of C_MEASUR shows 'Simulation" and the C_MEASUR creates no message. 6 - 34 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 AS Engineering Function block CPU_RT During the generation of the driver blocks, independent on CPU and the FW of the CPU, automatically the chart @CPU_RT is generated. This chart contains the block CPU_RT "Performance data and Stop Avoidance" which are called in OB100, OB1, and in all OB3x as well as OB8x. The CPU_RT determines the runtime of the individual OBs and their participation in the cycle time. It leads to stop avoidance if the CPU is overloaded (OB80, Cycle time exceeded). Through "load shedding" the CPU can be prevented from becoming inoperable. The load shedding is achieved by interrupting the cyclic levels and is an emergency operation. ! Caution: For Cemat this behavior is not desirable! Therefore parameter MAX_RTRG has to be changed to "0", in order to switch off the function "Fault avoidance in case of overload". @CPU_RT CPU_RT CPU Performance 0 I AS_RESTART 0/- MAX_RTRG Copyright (c) Siemens AG. All Rights Reserved. 6 - 35 AS Engineering Engineering Cemat V7.1 Compile CFC Before you can download the program into the AS it must be compiled. It will be transferred into a machine language (SCL). During compilation the program will be checked for errors and warnings. You can compile the complete program or only the changes. ! 6 - 36 During the generation of the driver blocks the chart @CPU_RT with block CPU_RT is generated. The first time the parameter MAX_RTRG of block CPU_RT is preset with value "50" and it has to be changed to "0"! Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 AS Engineering Download to the AS First the hardware definitions and the network configuration have to be downloaded into the AS (if this was not done before). The S7 Program has to be downloaded from the CFC. PCS 7 takes care of the right order of the loading procedure. Do not download the blocks! You will be asked for a complete download or to download only the changes. Changes in the interfaces of a function or function block will require a download of the complete program. This means AS stop. Copyright (c) Siemens AG. All Rights Reserved. 6 - 37 AS Engineering Engineering Cemat V7.1 OS Compile With the OS Compile the following steps are carried out: - From the CFC blocks all Variables with Attribute 'Operator Control and Monitoring' are transferred into the Tag Management of WinCC. The Messages, defined in the CFC blocks are transferred to the Alarm Logging. In the background the Archive variables are generated. (This function cannot be used in Cemat because all automatically generated Archives are created in the SystemArchive. In Cemat the Archives have to be located in the ProcessValueArchive or in an Area specific Archive. Also in the background the Block Icons are generated and/or actualized. In order to prevent the automatic generation you have to deselect the option in the Object properties of the Process picture. - The SFC Visualization is generated. (This is not needed on Cemat.) - Based on the Plant view of the SIMATIC Manager the Picture Tree is created and/or actualized. This is essential because in this step also the Group Display get actualized. Start the OS Compile from the SIMATIC through selection of the OS with right mouse button and option 'Compile'. In the Introduction Window say 'Next >' In the following window you see the assignment of the areas to the operation station: Continue with 'Next >' 6 - 38 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 AS Engineering In the following window you can select the network connections for the S7-Programs associated with the areas. Select each AS and press 'Connection...' Select the network connection you want to use for the communication to WinCC. In PCS7 V7 for a real AS always use `Named connections'. In case of PLCSIM you have to use MPI. Copyright (c) Siemens AG. All Rights Reserved. 6 - 39 AS Engineering Engineering Cemat V7.1 Finally select the transfer data and the scope of compilation. Now press 'Finish' to start the transfer. 6 - 40 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 AS Engineering Project-Download After new plant objects or pictures were added the Servers and the Client have to be updated as well. This requires a Project Download to the OS PCs. If there was no structural change and as long as an OS Compile for changes is possible the OS Stations can remain in Runtime mode during the Project Download. After a complete OS compilation the destination Project has to be deactivated during the Download procedure. ! Note: The modifications in the OS-Projects for the Server, Standby-Server, and Terminals are never carried out directly on the OS Stations. Any modification has to be carried out on the Engineering station and then being downloaded are different OS Stations. The update procedure can be performed manually (step by step) or automatically using the "Compile and Download Objects" Dialog in the SIMATIC Manager. Manual update procedure for changes (The AS is running and both Servers are activated): 1. Compilation for changes of the AS-Program (from CFC) 2. Download for changes of the CFC 3. Compile the OS Project(s) The compilation of the OS must be carried out for each Server and single station. At the end of the OS Compile procedure the Server Data is automatically updated by the system and the updated package is automatically loaded into the Client Projects. 4. For the Download for changes in a Server Project, select the OS in the SIMATIC Manager and press the Download Button. The Download for changes is carried out first to the Standby-Server. The 'Successful completed' message must be confirmed. After that the Download is carried out to the primary Server. The Clients get automatically actualized as well (the new package is loaded). 5. For the download into the Single User Station use the same procedure. Copyright (c) Siemens AG. All Rights Reserved. 6 - 41 AS Engineering Engineering Cemat V7.1 The Function "Compile and Download Objects" allows to select the above mentioned Steps in a Selection List and to start it with one Button. Compile and Download Objects: ! 6 - 42 Note: Even if only the OS Project for Server is selected for Compilation and Download, the Standby-Server is getting updated as well. Update for the Client is not required. Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 AS Engineering Structural changes (e. g. the format of a variable was modified for an existing object or a variable was added) result in an interface conflict and require the stop of the Runtime System during the Project Download. This is still no problem because of redundant Servers but the Download Procedure is slightly different: 1. To actualize the Tag Management an OS Compile has to be performed. The OS Compile must be carried out into the OS-Projects of ES and Server. At the end of the OS Compile procedure the Server Data is automatically updated by the system and the updated package is automatically loaded into the Client Projects. 2. After that you must close the OS-Project on the primary Server Station. First close the WinCC Explorer (if it is not already closed) and second the Runtime. The Standby-Server will be MASTER, the Clients will be switched to the Standby-Server. ! Important: After closing the WinCC Project on the Server Station, you have to wait for at least 2 minutes. During this time the project is still "used". 3. Now you can carry out the Project-Download from the Engineering Station to the primary Server Station. The Server-Project on the Engineering Station must remain closed. The Download is carried out from the SIMATIC Manager. 4. Wait for the "Download successfully completed" - Message before you continue. 5. After both Servers are running again, the Redundancy Manager starts actualising the Server data. If possible wait until the procedure is finished. 6. Now you can close the OS-Project on the Standby Server Station. First close the WinCC Explorer (if it is not already closed) and second the Runtime. The primary Server will be MASTER, the Clients will be switched to the primary Server. ! Important: After closing the WinCC Project on the Server Station, you have to wait for at least 2 minutes. During this time the project is still "used". 7. Now you can carry out the Project-Download from the Engineering Station to the Standby-Server Station. The Download is carried out from the SIMATIC Manager. 8. After the "Download successfully completed" - Message the Project Download is finished! 9. If it is necessary to update the Clients as well (may not always be required), use the same procedure for each Client. Copyright (c) Siemens AG. All Rights Reserved. 6 - 43 AS Engineering Engineering Cemat V7.1 Integrated Asset Management SIMATIC PCS 7 with the diagnostic and maintenance functions provides the monitoring of the various components of a PCS 7 plant, and display of the status in the process mode. This status is shown with defined symbols, which are the basis for the NAMUR/PNO definition. When diagnostic and maintenance functions are used, a Maintenance Station must be created. For detailed information regarding configuration of a Maintenance Station refer to the PCS7 Configuration Manual Engineering System and to the PCS7 Configuration Manual Operator Station. 6 - 44 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 AS-AS Coupling AS-AS Coupling Content AS-AS Coupling 1 AS-AS Coupling with PCS7 blocks.......................................................................... 2 General ....................................................................................................... 2 Send with SEND_BO .................................................................................. 3 Receive with REC_BO................................................................................ 4 Send with SEND_R..................................................................................... 5 Receive with REC_R .................................................................................. 6 Send with BSEND....................................................................................... 7 Receive with BRCV..................................................................................... 9 Function block adjustments ...................................................................... 11 AS-AS Coupling to older CEMAT Versions ........................................................... 12 General ..................................................................................................... 12 Interfaces .................................................................................................. 15 Configuration Example.............................................................................. 18 System Description ................................................................................... 26 Coupling from CEMAT S5 V X.X and other Control System or Third-Party PLCs ......................................................................................................... 28 Copyright (c) Siemens AG. Alle Rechte vorbehalten. Edition: 01/10 N:\Cemat\DOKU\V71_SP1\English\Engineering\07_AS-AS_Coupling_009.doc 7-1 AS-AS Coupling Engineering Cemat V7.1 AS-AS Coupling with PCS7 blocks General For the AS-AS coupling to another PCS7 AS please use only the blocks from the Standard Library and from the PCS7 V7.1 Library. ! Caution: The blocks C_PLC_SEND and C_PLC_RECEIVE from the CEMAT Library are foreseen for the communication to an AS from older CEMAT Versions (V2, V3 and V4). As with this communication only ISO Transport connection and no S7 Connection is possible, these blocks can not be recommended the communication to another PCS7 AS. ! Caution: Since PCS7 V7.1 you have the possibility to create with CFC AS-wide interconnections. Please use this possibility very carefully and check with the online help the limits of this kind of communication. Otherwise you could cause performance problems. If you create your communication with PCS7 blocks listed in the following, then you control how many data are sent and when the telegrams are sent. For the AS - AS communication the following blocks are available: USEND, URCV, BSEND, BRCV from the Standard Library or SEND_BO, REC_BO, SEND_R, REC_R from the PCS7 V7.1 Library. These blocks use as link a S7 connection. A S7 connection could be used for different telegrams between two AS. The parameter R_ID is for the determination of the different telegrams, which are transported via the same S7 connection. Project settings in NETPRO: S7 connection: E.g. the ID "A2" is in AS PLC01 and e. g. the ID "A1" is in AS PLC02. 7-2 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 AS-AS Coupling Send with SEND_BO With block SEND_BO up to 128 BOOL values can be sent. If more than 128 BOOL values are needed, the block can be called multiple times. The different orders are identified by Parameter R_ID. In the destination AS a block REC_BO must be called which has the same R_ID as in the corresponding send call. The ID of the S7 connection you find in the connection programming in NETPRO. Example: PLC02 sends data to PLC01: According to the NETPRO connections above the Send call in the AS PLC02 must have the ID "A1". The corresponding Receive call in the AS PLC01 must have the ID "A2". The send job will be triggered by the (invisible) parameter "COM". To trigger the send job each second then there are two possibilities: 1. Keep the parameter "COM" at default value "1" and call the block SEND_BO in OB32 (each second). 2. Change parameter "COM" to "visible" and connect it to a pulse (one pulse each second). The block SEND_BO must be called at least every second (corresponding OB). See the help function of SEND_BO. Copyright (c) Siemens AG. All Rights Reserved. 7-3 AS-AS Coupling Engineering Cemat V7.1 Receive with REC_BO With block REC_BO up to 128 BOOL values can be received. If more than 128 BOOL values are needed, the block can be called multiple times. The different orders are identified by Parameter R_ID. On the send side a block SEND_BO must be called which has the same R_ID as in the corresponding receive call. The ID of the S7 connection you find in the connection programming in NETPRO. Example: PLC02 receives data from PLC01. According to the NETPRO connections above the Receive call in the AS PLC02 must have the ID "A1". The corresponding Send call in the AS PLC01 must have the ID "A2". To receive the data correctly two calls of the REC_BO are necessary. That means if you call the REC_BO every second you will receive data only every 2 seconds. If you need the data every second, then you should call the block REC_BO in the 500 ms OB. The monitoring can be parameterized through the (invisible) parameter REC_MON. The default value is 3 cycles (calls). If a longer monitoring time is needed, then the value on parameter REC_MON must be increased. If after the predefined number of block calls no telegram is received, then there is a fault and all values can be overwritten by substitution values. For each of the 128 BOOL variables a substitution value can be defined. With parameter SUBS_ON you can decide if you want to use substitute values or not. See the help function of REC_BO. 7-4 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 AS-AS Coupling Send with SEND_R With block SEND_R up to 32 BOOL values and 32 REAL values can be sent. If more than 32 BOOL values or more than 32 REAL values are needed, the block can be called multiple times. The different orders are identified by Parameter R_ID. In the destination AS a block REC_R must be called which has the same R_ID as in the corresponding send call. The ID of the S7 connection you find in the connection programming in NETPRO. Example: PLC02 sends data to PLC01: According to the NETPRO connections above the Send call in the AS PLC02 must have the ID "A1". The corresponding Receive call in the AS PLC01 must have the ID "A2". The send job will be triggered by the (invisible) parameter "COM". To trigger the send job each second then there are two possibilities: 1. Keep the parameter "COM" at default value "1" and call the block SEND_R in OB32 (each second). 2. Change parameter "COM" to "visible" and connect it to a pulse (one pulse each second). The block SEND_R must be called at least every second (corresponding OB). See the help function of SEND_R. Copyright (c) Siemens AG. All Rights Reserved. 7-5 AS-AS Coupling Engineering Cemat V7.1 Receive with REC_R With block REC_R up to 32 BOOL values and 32 REAL values can be received. If more than 32 BOOL values and 32 REAL values are needed, the block can be called multiple times. The different orders are identified by Parameter R_ID. On the send side a block SEND_R must be called which has the same R_ID as in the corresponding receive call. The ID of the S7 connection you find in the connection programming in NETPRO. Example: PLC02 receives data from PLC01. According to the NETPRO connections above the Receive call in the AS PLC02 must have the ID "A1". The corresponding Send call in the AS PLC01 must have the ID "A2". To receive the data correctly two calls of the REC_R are necessary. That means if you call the REC_R every second you will receive data only every 2 seconds. If you need the data every second, then you should call the block REC_R in the 500 ms OB. The monitoring can be parameterized through the (invisible) parameter REC_MON. The default value is 3 cycles (calls). If a longer monitoring time is needed, then the value on parameter REC_MON must be increased. If after the predefined number of block calls no telegram is received, then there is a fault and all values can be overwritten by substitution values. For each of the 32 BOOL variables and the 32 REAL values a substitution value can be defined. With parameter SUBS_ON you can decide if you want to use substitute values or not. See the help function of REC_R. 7-6 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 AS-AS Coupling Send with BSEND How to create your own function block with input parameters of different formats, which are sent using BSEND block. The Cemat Library contains the two function blocks SEND_CFC_EXAMPLE (FB 1601) and BSEND_CALL (FB 1603). These blocks are an example for the send of any CFC parameters. Based on the SEND_CFC_EXAMPLE you have to create "your" SEND_TO_AS02 as required: E. g. 20 Boolean, 5 Integer and 8 Real values have to be sent from AS01 to AS02. In this case you have to create a function block with at least 20 Boolean, 5 Integer and 8 Real values as input parameters. Additionally the block needs two output parameters of the type integer (I_DB and LENGTH) and the following 4 local variables: VAR_TEMP DBNR : WORD ; RET_VALUE : INT ; DBLENGTH : WORD ; NO_WRITE : BOOL ; END_VAR We recommend to creating some spare variables of each type. In this case you can easily send some more data without an interface change (AS stop). Renaming of the parameters later on is no problem (no interface change). Beside these individual input parameters and the two output parameters there should be no further parameter. The function block needs the following STL code: L DINO; T #I_DB; T #DBNR; CALL "TEST_DB" ( //SEND-DB into variable typ WORD DB_NUMBER := #DBNR, RET_VAL := #RET_VALUE, DB_LENGTH := #DBLENGTH, WRITE_PROT := #NO_WRITE); L #DBLENGTH; + -4; T #LENGHT; BE ; //- I_DB and LENGHT See example function block FB SEND_CFC_EXAMPLE (FB 1601)! For each SEND_CFC_EXAMPLE you have to create the appropriate function block RECEIVE_CFC_EXAMPLE for receiving the data with exactly the same parameters. But on the receive side these are output parameters. See chapter with RECEIVE_CFC_EXAMPLE. The function block BSEND_CALL (FB 1603) is a simple call of the system function block SFB12 BSEND. Up to 65534 byte could be send with the function block BSEND. Attention: Max. 400 bytes can be transferred in one telegram as a consistent data block. If you have to transfer more data and the consistency is important you have to take care of this at the receive side. See consistency at the receiving! Copyright (c) Siemens AG. All Rights Reserved. 7-7 AS-AS Coupling Engineering Cemat V7.1 Block connection Connect in CFC the parameter I_DB (SEND_CFC_EXAMPLE) with DB_S (BSEND_CALL) and the parameter LENGTH (SEND_CFC_EXAMPLE) with LENGTH (BSEND_CALL). Parameter ID must contain the local ID of the S7 Connection. The Parameter TEL_ID corresponds to the Parameter R_ID of the blocks BSEND, SEND_BO or SEND_R. Thus multiple telegrams for the same S7 connection can be distinguished. The send order is triggered via the parameter "SEND". If the program has to be sent every second, the parameter "SEND" must be connected accordingly (every second a pulse). The status and the fault of BSEND can be seen in the output parameters ERROR, DONE and STAT. If more detailed information is required the Example function block BSEND_CALL has to be modified. See the help function of BSEND. Example for connections between SEND_CFC_EXAMPLE and BSEND_CALL 7-8 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 AS-AS Coupling Receive with BRCV How to create your own receive block, using BRCV block, in order to Receive CFCParameters of different formats. The Cemat Library contains the two function blocks RECEIVE_CFC_EXAMPLE (FB 1602) and BRCV_CALL (FB 1604). These blocks are an example for receiving any desired CFC parameters. Example: AS02 shall receive 20 Boolean, 5 Integer and 8 Real values from AS01. In this case create based on the REICEIVE_CFC_EXAMPLE (and equivalent to the "SEND_TO_AS02" of the source AS) a function block "REICEIVE_FROM_AS01" with at least 20 Boolean, 5 Integer and 8 Real values as output parameters. Additionally the block needs two output parameters of the type integer (I_DB and LENGTH) and the following local variables: VAR_TEMP DBNR : WORD ; RET_VALUE : INT ; DBLENGTH : WORD ; NO_WRITE : BOOL ; END_VAR We recommend to creating some spare variables of each type. In this case you can easily send some more data without an interface change (AS stop). Renaming of the parameters later on is no problem (no interface change). Beside these individual output parameters and the two output parameters there should be no further parameter. The function block needs the following STL code: L DINO; T #I_DB; T #DBNR; CALL "TEST_DB" ( //RECEIVE-DB into variable typ WORD DB_NUMBER := #DBNR, RET_VAL := #RET_VALUE, DB_LENGTH := #DBLENGTH, WRITE_PROT := #NO_WRITE); L #DBLENGTH; + -4; T #LENGHT; BE ; //- I_DB and LENGHT See Example function block RECEIVE_CFC_EXAMPLE! The function block BRCV_CALL (FB 1604) is a simple call of the system function block SFB13 BRCV. Up to 65534 byte could be send with the function block BSEND. Copyright (c) Siemens AG. All Rights Reserved. 7-9 AS-AS Coupling Engineering Cemat V7.1 Attention: Max. 400 bytes can be transferred in one telegram as a consistent data block. If you have to transfer more data and the consistency is important you have to take care of this after receiving. In this case the function block BRCF_CALL (FB1604) must be modified in order to write the data in a receive buffer and to copy the data only after the transfer is successfully completed. If you don't have enough programming knowledge of STL to write the function yourself, please contact a system integrator. Block connection Connect in CFC the parameter I_DB (RECEIVE_CFC_EXAMPLE) with DB_R (BRCV_CALL) and the parameter LENGTH (RECEIVE_CFC_EXAMPLE) with LENGTH (BRCV_CALL). Parameter ID must contain the local ID of the S7 Connection. The Parameter TEL_ID corresponds to the Parameter R_ID of the blocks BRCV, REC_BO or REC_R. Thus multiple telegrams for the same S7 connection can be distinguished. Through parameter WATCHDOG_SET a supervision time can be set. The default for WATCHDOG_SET is 8 seconds. This means, if after 8 seconds no telegram has been received, the receive data are overwritten with 0. If a different supervision time is required, the value for WATCHDOG-SET must be adapted. . The status and the fault of BRCV can be seen in the output parameters ERROR, DONE and STAT. If more detailed information is required the Example function block BRCV_CALL has to be modified. See the help function of BRCV. Example for connections between RECEIVE_CFC_EXAMPLE and BRCV_CALL 7 - 10 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 AS-AS Coupling Function block adjustments The blocks SEND_CFC_EXAMPLE, BSEND_CALL, RECEIVE_CFC_EXAMPLE and BRCV_CALL are only programming examples. The blocks are not know how protected and could be changed for your own requirements. You must consider that on each Cemat-Update the blocks are overwritten. Therefore use for your modified blocks different function block numbers. For each transport connection the must be exist a pair of the blocks SEND_CFC_EXAMPLE and RECEIVE_CFC_EXAMPLE. Copyright (c) Siemens AG. All Rights Reserved. 7 - 11 AS-AS Coupling Engineering Cemat V7.1 AS-AS Coupling to older CEMAT Versions General ! Caution: This AS-AS communication from the CEMAT Library should exclusively be used for communication to AS with older CEMAT Generations (V2, V3, V4), because the connection type has to be an ISO transport connection. For the communication between one PCS7 AS to another PCS7 AS, we recommend "S7 connections" and the standard communication blocks from the PCS7 library. In the following description the expression "AS" is used for automation system. In the TSAP and in the Variable tables the expression "AG" is used for automation system. This is necessary to be compatible with older CEMAT versions (V3, V4). The PLC-PLC Coupling of the Cemat V7.1 Library enables the transmission of user data blocks (DB599 >= DB => DB 400) between SMR-PLCs. The communication is performed via Industrial Ethernet which can be designed as a double bus. The user configures the job parameters in CFC with the blocks C_PLC_SEND = FB1052 and C_PLC_RECEIVE = FB1053. The send job is initiated by setting the job bit TRIGGER and the reception is signalled through a receive bit RECEIVED. Complete Structure Single bus: PLC01 PLC02 PLC03 .... PLC20 Third-party PLC01 .... Third-party PLC04 Bus A Double bus: PLC01 PLC02 PLC03 .... PLC20 Third-party PLC01 .... Third-party PLC04 Bus A Bus B 7 - 12 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 AS-AS Coupling Performance Data * 20 SMR-PLCs and 4 third-party PLCs (CEMAT V1.9, V2.0, V3.0 / V4.0 other control system or third-party system). * Transmission of CEMAT user data blocks (DB599 >= DB => DB 400). * Max. transmission length = 600 Bytes. * Initiation of the individual transmissions by setting the initiation bit TRIGGER in the send PLC. * Signalling of the successful transmissions through a set message bit RECEIVED in the receive PLC. * Coupling monitoring in case of parameterized coupling request. * Individual user telegram monitoring for each of the 24 couplings: If the monitoring time is exceeded the receive DB can be deleted on request completely or partially. * Diagnostics interfaces like: - Global display for bus A and bus B from the point of view of each individual PLC: Bus is OK. - Receipt OK (bus A or bus B) for each parameterized coupling job. - Parameterization error for each parameterized coupling job. - Status (bus A or bus B) for each parameterized coupling job. Copyright (c) Siemens AG. All Rights Reserved. 7 - 13 AS-AS Coupling Engineering Cemat V7.1 Activation of Coupling By calling the blocks C_PLC_SEND = FB1052 and C_PLC_RECEIVE = FB1053 in a CFC chart, the user can parameterize his coupling jobs. As soon as a valid coupling job is parameterized the Coupling becomes active. You do not have to do anything else. To install a coupling job and then to activate it, the best is to proceed as follows: If the links don't exist, create the links with NETPRO. See chapter "Project network communication" page 11. 1. Parameterize the send parameters on the function block C_PLC_SEND = FB1052. 2. Parameterize the receive parameters in the corresponding PLC on the function block C_PLC_ RECEIVE = FB1053. 3. Programming the logic for initiation (SET TRIGGER). 4. Compile the CFC chart new and transfer the changes to the PLC. If the links already exits, the transfer is possible during running PLC. Further possibilities like connection monitoring see page 16. 7 - 14 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 AS-AS Coupling Interfaces Initiation Bits and Receive Indicator for Coupling Job The user must set the corresponding initiation bit to activate the send job = TRIGGER and he can find out through a query of the corresponding receive bit = RECEIVED whether data have arrived. Is the RECEIVED bit used, after query the Bit REC_ACKN must be set. If the REC_ACKN bit is set, the Bit RECEIVED is reset. The initiation and receive bits are located in the parameter set of the FBs C_PLC_SEND and C_PLC_RECEIVE. Parameters for Coupling Jobs All settings are made in the own PLC. There are no settings (like DB no.) for the partner PLC. The send parameters are made in the sending PLC. The receive parameters are made in the receiving PLC. Parameters for the send job: TO_PLC DB_No OFFSET LENGTH = PLC No. , to which the job is sended (1-24). = DB-No. in the sending PLC with the source data (400-599). = start byte no. of the source area (0-65535). = number of bytes of the source area (1-600). Parameters for the receive job: FROM_PLC = PLC No.,from where the job is received (1-24). DB_No = DB-No. in the receiving PLC with the destination data (400-599). OFFSET = start byte no. of the destination area (0-65535). TIMEOUT = watch dog time in seconds. DEL_BYTE = number of bytes which will be deleted, when the watch dog time is elapsed. (start byte is the start byte of the destination area). Copyright (c) Siemens AG. All Rights Reserved. 7 - 15 AS-AS Coupling Engineering Cemat V7.1 DB_No: No. of the DB to be sent (DB599 >= DB => DB 400) PLC n Send-DB 1st byte SEND Sending length OFFSET: 1st byte in send-DB LENGTH: Length of the Send range Receive-DB 1st byte Range to be deleted in case of fault Received length DB_No: No. of the DB (> 400) in which received data are stored RECEIVE DEL_BYTE: Number of bytes which are deleted from the 1st byte onwards in case the user monitoring time is exceeded (RECEIVE_TIMEOUT_PLCx) OFFSET: 1st byte from receive-DB 7 - 16 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 AS-AS Coupling Diagnosis Variable for Users A fault-free coupling is only possible if the parameterization error bits and fault bits have the value 0. Otherwise one must search for the fault and correct it using the additional information. Diagnosis SEND in the parameter-set of FB C_PLC_SEND: BUS_A_FT BUS_B_FT ENG_ERR COM_ERR E_ERR_CO A_ERR_CO B_ERR_CO = Fault during SEND on bus A to PLC x = Fault during SEND on bus B to PLC x = Parametrize failure on SEND to PLC x = dynamic fault during SEND to PLC x = Error code for engineering failure for SEND to PLC x = Error code for SEND on bus A to PLC x = Error code for SEND on bus B to PLC x Diagnosis RECEIVE in the parameter-set of FB C_PLC_ RECEIVE: BUS_A_FT BUS_B_FT ENG_ERR COM_ERR E_ERR_CO A_ERR_CO B_ERR_CO R_LENGTH COUNT_T = Fault during RECEIVE on bus A to PLC x = Fault during RECEIVE on bus B to PLC x = Parametrize failure on RECEIVE to PLC x = dynamic fault during RECEIVE to PLC x = Error code for engineering failure for RECEIVE to PLC x = Error code for RECEIVE on bus A to PLC x = Error code for RECEIVE on bus B to PLC x = Received telegram length in bytes = telegram counter Additional informationen for parameterization error in ENG_ERR_CODE: 0 1 2 3 4 5 6 7 = = = = = = = = 8 9 10 = = = No error! Illegal DB (only > 400)! DB does not exist! 1st DW is not permitted! Send-DB is too short! Sending length is not permitted (max. 238 bytes)! Receive-DB for block delete during absence of user telegram is too short! Block length for block delete during absence of user telegram is not permitted! Receive-DB is too short for received length! A send-DB is entered in the parameter-set for your own PLC! A receive-DB is entered in the parameter-set for your own PLC! Error codes in case of a communication fault: "AG_AG_KOMMUNIKATION".VERBINDUNG_x.FEHL_SEND_A Error code SEND Bus A "AG_AG_KOMMUNIKATION".VERBINDUNG_x.FEHL_SEND_A Error code SEND Bus B "AG_AG_KOMMUNIKATION".VERBINDUNG_x.ANZW_REC_A Error code RECEIVE Bus A "AG_AG_KOMMUNIKATION".VERBINDUNG_x.ANZW_REC_A Error code RECEIVE Bus B Additional information regarding error codes is available in the help (mark block and press F1") of FC50 (SEND) and FC60 (RECEIVE) or in the NCM S7 manual for Industrial Ethernet. Copyright (c) Siemens AG. All Rights Reserved. 7 - 17 AS-AS Coupling Engineering Cemat V7.1 Configuration Example Exemplary Description Transmission is to happen as often as possible Delete range in case of fault; do not analyse receive PLC15 PLC16 DB 410 DB 420 Byte 10 Byte 110 50 Bytes SENDEN RECEIVE Delete 10 bytes after 8 sec. In case of fault Byte 59 Byte 0 Byte 159 DB 411 DB 401 RECEIVE Byte 19 No deletion in case of fault; set DB402, D1.0 at receive 7 - 18 SEND Byte 0 20 Bytes Byte 19 Initiation every second Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 AS-AS Coupling CFC chart for example PLC 15: PLC 16: Copyright (c) Siemens AG. All Rights Reserved. 7 - 19 AS-AS Coupling Engineering Cemat V7.1 Please be careful during connecting the TRIGGER bit on the SEND block. Please do not use the LOG1 signal. The LOG1 signal would be reseted after a succesful SEND job. 7 - 20 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 AS-AS Coupling Settings in the Network Communication Select in the SIMATIC Manager the CPU container and open NETPRO with double click on the connections. Select the CPU -> you see the connection table: ID 1A = to PLC16 Connection ID 19 = to PLC15 Local ID PLC15 to PLC16 1A PLC16 to PLC15 19 Copyright (c) Siemens AG. All Rights Reserved. Partner ID Active connection setup 19 1A yes no 7 - 21 AS-AS Coupling Engineering Cemat V7.1 Select the CPU and choose with right mouse button New connection": Connection Partner Station Select the station to which the connection should be established, in our example the PLC 16. Connection type The connetion type is ISO-Transport-Connection (Local) ID The connection between the CPU program and the connection link is done by the (local) ID. For CEMAT exist the following rule: ID 0xB 0xC 0xD 0xE 0xF 0x10 0x11 0x12 0x13 0x14 0x15 0x16 0x17 0x18 0x19 0x1A 0x1B 0x1C 0x1D 0x1E 0x1F 0x20 0x21 0x22 7 - 22 Partner PLC PLC 1 PLC 2 PLC 3 PLC 4 PLC 5 PLC 6 PLC 7 PLC 8 PLC 9 PLC 10 PLC 11 PLC 12 PLC 13 PLC 14 PLC 15 PLC 16 PLC 17 PLC 18 PLC 19 PLC 20 PLC 21 PLC 22 PLC 23 PLC 24 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 AS-AS Coupling TSAP For the connection setup is for every connection a local and a remote TSAP necessary. The ethernet adress allone is not enough for the connection setup. There are more than one connections possible betwenn two ethernet cards. For CEMAT exist the rulel: local TSAP = remote TSAP For PLC-PLC-Connections is the TSAP AG----AG" (Hexadezimalcode: 41 47 2D 2D 2D 2D 41 47). ACTIV / PASSIV For PLC-PLC-Connections is defined: The communication partner with the smaller PLC no is activ for the connection setup. Copyright (c) Siemens AG. All Rights Reserved. 7 - 23 AS-AS Coupling Engineering Cemat V7.1 Project work for the system call of PLC PLC coupling Open the hardware editor and check with View -> Adress Overview" the adresses of the CP443. 16376 = e. g. adress of Bus A CP 7 - 24 16372 = e. g. adress of Bus B CP Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 AS-AS Coupling In the system chart SYSPLCxx the FB 1054 = C_PLC_PLC must be called on AS restart and in the cycle. The parameters for adress bus A, adress bus B and own PLC no. must be supplied. If bus B don't exist, please set the adress to 0". If the parameter PLC_NO = 0, then the PLC PLC coupling is switched off. Adress of bus A CP e. g. = 16376 Adress of bus B CP e. g. = 16372 FB1054 in AS restart OB100 Copyright (c) Siemens AG. All Rights Reserved. Own PLC number, e. g. = 15 FB1054 in cycle OB1 7 - 25 AS-AS Coupling Engineering Cemat V7.1 System Description Diagnosis The variables table AG_AG_KOM_Diagnose provides an aid for the diagnosis of the PLCPLC coupling. Remedies in Case of Faults If the coupling does not work properly or not as expected one has to check the following: * Is the bus interface CP443-1 inserted for bus A and bus B, respectively? Check: The bits 0.0 to 0.3 must be set to "0" in DB "00PLC_PLC_ENG"! * Are the addresses of the CP443-1 correctly configured? The S7 hardware configuration and parameterization on FB C_PLC_PLC (FB1054) must be identical. The FB C_PLC_PLC (FB1054) must be called in the cycle (OB1) and during AS restart (OB 100)! Check: The bits 0.0 to 0.3 must be set to "0" in DB "00PLC_PLC_ENG"! * Check the bus cable connection (Is the plug loose? Bus A or B mixed up?) * Is the connection engineered and loaded to the PLC? * Check the parameters on C_PLC_SEND (FB1052) and C_PLC_RECEIVE (FB1053). The output parameter ENG_ERR must be "0". If the is a "1", check the E_ERR_CO. (For error numbers refer to page 6) Check using the variables table "AG_AG_KOM_Projektierung": * If there is no parameterization error, then check status of the connection! Check using the variables table `'AG_AG_KOM_Diagnose: (For error numbers refer to page 6) The status information must be 0! * If no parameterization error exists and the corresponding connection is OK, then one must couple user telegrams. Check using the variables table `'AG_AG_KOM_Diagnose: Receive bit should be set to `1' and/or initiation bit should be blinking. Check : Is the initiation bit set? 7 - 26 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 AS-AS Coupling Structure of Double-Bus Interfacing of an Individual SMR-PLC Addresses of the CP 443-1 PLC Addr. CP Bus A Addr. CP Bus B Bus A Bus B Function of the Double-Bus The PLC-PLC Coupling is designed for double-bus operation. Of course, it also functions when a single-bus is used. Generally, "Bus A" is the master bus; "Bus B" is (provided it exists) only monitored with regards to function and is used exclusively in the event of the failure of "Bus A" for user telegrams. As soon as "Bus A" functions faultless again "Bus B" switches back to "Bus A". This means there is no load distribution on "Bus A" and "Bus B". The reversing logic is on the sending side and triggers the user telegram on the respective bus system. On the receiving side both bus systems have equal rights and receive the incoming telegrams. By checking the telegram in the receive buffer one determines whether it is a test telegram or a user telegram. The user telegram is copied to the user receive DB. Structure of the Test Telegram The test telegram for checking the connections is sent from the work-DB and consists of the length KF = 2 and the text KC = TEST. Copyright (c) Siemens AG. All Rights Reserved. 7 - 27 AS-AS Coupling Engineering Cemat V7.1 Coupling from CEMAT S5 V X.X and other Control System or Third-Party PLCs Refer to the SIMATIC S5 PLC-PLC Coupling description Chapter 8 7 - 28 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 OS Engineering OS Engineering Content OS Engineering 1 General .................................................................................................................... 2 Generation of Process Pictures ............................................................................... 3 Templates ................................................................................................... 3 Projectstandard related Styles (>=500) ...................................................... 6 Properties of the Block Icons for CEMAT ................................................... 7 Name definitions ......................................................................................... 8 C_DRV_1D, C_DRV_2D, C_DAMPER, C_VALVE and C_SILOP ............ 9 C_ANNUNC und C_ANNUN8 .................................................................. 15 C_GROUP, C_ROUTE and C_SELECT .................................................. 18 C_MEASUR .............................................................................................. 24 C_COUNT and C_RUNNT ....................................................................... 29 CTRL_PID, CTRL_S and C_PID3 ............................................................ 32 Window Position of the Faceplates........................................................... 38 Bitmaps ..................................................................................................... 39 Instance specific Authorizations ............................................................... 40 General Cemat Functions......................................................................... 42 Open curve group on full screen (optional) .............................................. 43 Message archive.................................................................................................... 45 Tag logging ............................................................................................................ 45 User Archives......................................................................................................... 46 Structure of the Info data base ................................................................. 46 Generation of the Info data ....................................................................... 47 Import into the user archive ...................................................................... 47 Multimedia Interface.................................................................................. 49 Configuration of Print functions.............................................................................. 55 WEB ....................................................................................................................... 56 Copyright (c) Siemens AG. Alle Rechte vorbehalten. Edition: 01/10 N:\Cemat\DOKU\V71_SP1\English\Engineering\08_OS_Engineering_009.doc 8-1 OS Engineering Engineering Cemat V7.1 General The project settings which have to be carried out during the installation of a new PCS7 project are no longer described here. These steps you can find in chapter 3 of this manual (PCS7Project_009.pdf). Chapter OS-Engineering contains all steps which are carried out during the engineering of the WinCC Project. Basically this comprises the generation of the process pictures and archives. Even before you start with the process pictures design you have to decide how the Process Objects shall be displayed and how you want to operate. The following aspects have to be considered: - Size of the block icons - Which additional information shall be displayed (Tagname, Mark, Quality, etc.) - Which symbols shall be used? - Do you have additional functions in your project which have to be enabled through parameterization at the block icons? - Who can operate (User rights)? - Positioning of the Faceplates - Do you want to use any superordinated function and from where do you want to call it? - Display of simulated Objects in the AS - Buttons to open overview pictures (e. g. for INFO or MAINTENANCE) - Button to close all open windows - Buttons to open curve groups We recommend creating a template picture for the project. The template pictures C_@PCS7Typicals_CemV7_1680_1920.pdl and C_@PCS7Typicals_CemV7_1280.pdl, which have been copied during the Cemat installation, have a lot of examples. You have to decide yourself how the process objects shall be presented in your project. For the archiving the time period and the type of archiving has to be considered. Regarding the user archive you have to decide which information you want provide. The corresponding options in the Config files must be set. The data for the user archive can be created in Excel and then imported (see engineering tools). 8-2 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 OS Engineering Generation of Process Pictures All process pictures for direct access from Overview Range (picture tree) have to be created in the process object view or plant view of the SIMATIC Manager. Pictures which are not included in the picture tree (because they are called from other pictures) have to be created in the component view of the SIMATIC Manager (directly assign to the OSProject). Templates During the Installation procedure, a Template-Picture has been copied into your project, which contains predefined symbols (block icons) for CEMAT Objects: C_@PCS7Typicals_CemV7_1680_1920.pdl or C_@PCS7Typicals_CemV7_1280.pdl The block icons in this picture are examples and have to be adapted according to the requirements of the project. ! Note: Please consider the project code! The default symbols in the upper part of the template picture were created for normal standard (key = 000). If you use a special standard version for your project (key > 000) you may have to adapt the symbols. Some examples for project versions you can find at the bottom of the picture. Please check the module states in configuration dialog (status, color) according to the object description, "module states" and correct the default symbols if required. The picture C_@PCS7Typicals_CemV7_1680_1920.pdl contains the default symbols for automatic generation of block icons from SIMATIC Manager. The symbols of this template picture were enhanced by the new functions of PCS7 V7.1 SP1. If you start with a new project with CEMAT V7.1, you should use the templates from this picture. During the automatic generation of block icons PCS7 V7 is looking for a template picture with the name @PCS7Typicals.pdl. From PCS7 V6.1 multiple template pictures are possible (@PCS7Typical1.pdl, (@PCS7Typical2.pdl, ......). The pictures are used in ascending order. Before you can start with the engineering of your project, you have to create a template picture @PCS7Typicals.pdl according to the examples in C_@PCS7Typicals_CemV7_1680_1920.pdl. Your template picture should only contain the symbols which are really used. (If your template picture contains many "unused" block icons, the generation of the block icons takes unnecessarily long because always the complete picture is scanned!) ! Note: With Cemat V7.1 no Cemat Template Picture @Template.pdl for manual Generation of Block Icons (with Property 'type' without index) is delivered any more. In the following description you can find the attributes, which are important for CEMAT. Copyright (c) Siemens AG. All Rights Reserved. 8-3 OS Engineering Engineering Cemat V7.1 Automatic generation of block icons Using the `automatic generation of block icons' the symbols in the process pictures are automatically created and linked to the corresponding variables. The template picture @PCS7Typicals.pdl (or @PCS7Typicals1.pdl, @PCS7Typicals2.pdl,....) must contain all the symbols used for automatic generation in the project. The different block icons for the same block type distinguish in the Index, which is entered in the block icon properties under General, Type (e. g. @C_DRV_1D/100). In the CEMAT template picture C_@PCS7Typicals_CemV7_1680_1920.pdl the index is written below each symbol in order to facilitate the searching. In order to generate the block icons automatically, in the CFC in the Object properties of the block you have to select the option "Generate block icon" and to enter the corresponding index. In PCS7 V7 the function for the automatic generation of block icons is automatically carried out with the OS Compile. It can also be carried out in the Plant View or Process Object View of the SIMATIC Manager under Options -> Plant Hierarchy -> Create/Update Block Icons. After the automatic generation the symbols are located in the upper left corner of the picture and must be moved to the correct position. After that you can make further adaptations directly at the generated block icon, as e. g. for TooltipText, Formats, Window position when opening the faceplate. In order not to overwrite the modifications in case of a repetition of the generation of block icons, the affected attributes must be listed in the configurations file @PCS7Typicals.cfg. The file @PCS7Typicals.cfg was already copied into the OS-Project folder under WScripts. Manual symbol generation Beside the automatic generation of block icons you can also link the block icons manually, using the wizard. In order to do this you can create a template picture @Template.pdl (or @Template1.pdl, @Template2.pdl, ...) with symbols without Index or you take the normal Block Icons (from @PCS7Typicals.pdl) and delete the Index after copying. ! Note: If the block icon has an Index, during the next automatic generation it will be "actualized" and eventually the block icon will be deleted. After that, as mentioned above you can adapt the symbol properties (e.g. TooltipText, Formats, Window Position when opening the faceplate). 8-4 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 OS Engineering C_@PCS7Typicals_CemV7_1680_1920.pdl The template picture C_@PCS7Typicals_CemV7_1680_1920.pdl contains the block icons for automatic generation of CEMAT Objects. Extract of the template picture: ! Caution: The Symbols from CEMAT V5 can not be used in CEMAT V7.1 any more! The symbols from CEMAT V6 and Cemat V7.0 can only be used with restrictions. Functions as e. g. "Highlighting of the selected Object" have not been available in Cemat V6. The block icons of C_GROUP, C_ROUTE, C_SELECT, C_MEASUR, and C_DAMPER can not simply be used. These block icons have to be replaced or the old block icons must be adapted to the new functions. Copyright (c) Siemens AG. All Rights Reserved. 8-5 OS Engineering Engineering Cemat V7.1 Projectstandard related Styles (>=500) For some of the project versions of CEMAT, modified symbols are required. These symbols you find at the bottom of the template pictures. If you use a project version (Project key > 000) please check if special symbols are available! In this case, if you use the normal symbols, some functions are not guaranteed. Example for Project Symbols: 8-6 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 OS Engineering Properties of the Block Icons for CEMAT All CEMAT objects are available as Customized object. They can be generated automatically using template picture @PCS7Typicals.pdl or linked manually using templates from @Template.pdl. The following description explains the most important properties of each block type: - In Property Miscellaneous you find the attributes regarding Authorization and Password Level and regarding the Faceplate coordinates (at which position the faceplate should be displayed in the picture). For all objects which can create an alarm you also find here the color definition for highlighting the object in case the picture is opened via loop-in-alarm function. - In Property General the main attributes for the object are defined, such as 'tag', 'type', 'tagname', 'Servername', 'Version' and the 'Tooltip-Text'. 'tag' and 'tagname' will be replaced by the Object Tag during automatic generation of block Icons. The Tooltip-Text is not automatically generated and must be entered manually. The attribute 'type' has a special function regarding the automatic generation of block icons. The entry consists of @Blocktype and an index (e. g. @C_DRV_1D/103 for Index = 103). In the template picture C_@PCS7Typicals_CemV7_1680_1920.pdl the index range is linked to a certain functionality, which means it is possible to estimate the function by index number: from 0 99 - 98 100 - 199 200 300 - 299 - 399 >500 simple status display status display with alarm symbol and "test mode" and "bad Quality" display Status display with Testmode" and Bad Quality" and partly with TAG indication Special representations like index 100++ but with additional properties for variable faceplate button text (C_DRV_2D, C_VALVE, C_DAMPER) Project standards For your own block icons you should use an index number outside of the default range (e. g. > 1000 or starting with a letter). Copyright (c) Siemens AG. All Rights Reserved. 8-7 OS Engineering - Engineering Cemat V7.1 In Property Styles the appearance of the block icon or the faceplate can be modified. The possible settings you will find in the description of the object types below: Special function StyleTag: Via attribute StyleTag you can switch faceplate buttons to visible or invisible. This option is used in the groups, routes and selections and in project version 026 also for the drive functions. In the faceplate call via block icon a number is transmitted to the faceplate. In the faceplate functions the transmitted StyleTag is evaluated. If the StyleTag > 0 the display is adapted according to the definition. At the same time the internal variable Tagname_ButtonStyle is created and stored on the computer. In case of an indirect faceplate call (e. g. via instance list or a linked object), in the faceplate the attribute StyleTag remains in the default setting (=0) and the number will be read from variable Tagname_ButtonStyle. Caution: If the StyleTag = 0 the internal variable is not stored. If you change the StyleTag of your block icon from > 0 to 0, you have to delete the variable manually. For the deletion the runtime can remain activated. - In Property Links the symbol is connected to numerous variables of each object. The connection is carried out automatically during automatic generation of block icons. - In Property User Text (for groups, routes and selections) a text can be defined which will be displayed in the symbol instead of the Tagname. Name definitions Picture Names For the picture names there are no fixed rules. The maximum length is 24 characters. Object names The object names are created in the Engineering of the CFC. In the OS only selection of existing objects is possible. 8-8 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 OS Engineering C_DRV_1D, C_DRV_2D, C_DAMPER, C_VALVE and C_SILOP In the process pictures the blocks C_DRV_1D, C_DRV_2D, C_DAMPER, C_VALVE and C_SILOP are represented by a drive symbol, which contains the status display (drive stopped, running, faulty and eventually the operation mode). In this case, all further objects, belonging to the customized object are hidden behind the status display or invisible by default. However there are block icons with additional indications and block icons with attributes which are evaluated in the faceplate itself. Example 1: with Tagname and display of Quality/Test mode/Simulation Example 2: with Tagname and Signal status QC Example 3: Motor symbol with display of set point and actual value Example 4: Motor symbol with related measuring value Example 5: Damper positioner Copyright (c) Siemens AG. All Rights Reserved. 8-9 OS Engineering Engineering Cemat V7.1 Function overview for the different block icons: C_DRV_1D: Index 0-98 Index 99 Index 100-102 Index 103 Index 104 Index 122-123 Index 150 Index 151 only status display Status display + Group display Status display + Quality/Test mode/Simulation Status display + Quality/Test mode/Simulation + Tagname Status display + Signal status QC Status display + measuring value Status display + Subcontrol function Status display + Quality/Test mode/Simulation + Set point/actual value C_DRV_2D: Index 1 Index 99 Index 100 Index 101 Index 104 Index 300 only status display Status display + Group display Status display + Quality/Test mode/Simulation Status display + Quality/Test mode/Simulation + Tagname Status display + Signal status QC Status display + Button text C_DAMPER: Index 0-12 Index 99 Index 100 Index 101-102 Index 104 Index 200 Index 300 only status display Status display + Group display Status display + Quality/Test mode/Simulation Status display + Quality/Test mode/Simulation + Tagname Status display + Signal status QC Damper positioner Status display + Button text C_VALVE: Index 0-92 Index 99 Index 100 Index 101 Index 104 Index 300 only status display Status display + Group display Status display + Quality/Test mode/Simulation Status display + Quality/Test mode/Simulation + Tagname Status display + Signal status QC Status display + Button text C_SILOP: Index 1 Index 2-3 Index 4 ! 8 - 10 only status display + Tagname only measure for silo level Status display + Quality/Test mode/Simulation Caution: For project versions 007 Heidelberg Cement and 026 Alsen the block icons need special adaptations. Examples you can find in the template picture C_@PCS7Typicals_CemV7_1680_1920.pdl (Index 7xx for Project version 007 and Index 5xx for Project version 026). Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 OS Engineering Property General Property General of object type C_DRV_1D: ! Caution: The screen shot of the object properties shows the property General in template picture C_@PCS7Typicals_CemV7_1680_1920.pdl. Attribute 'type' is used for the automatic generation of block icons via OS compile and must therefore consist of an @-sign, the block type and an index. For the manual link you should replace attribute 'type' by 'C_DRV_1D' (removing @-sign and index), in order not to overwrite the data in the next OS compile. The Attribute ToolTipText is not entered automatically. You have to copy the text (normally the Tagname) manually. Property Links In Property Links all Attributes must be connected as follows to the variables of the corresponding object. (They will be connected automatically in case of automatic generation of Block Icons): Property Links of object type C_DRV_1D: Copyright (c) Siemens AG. All Rights Reserved. 8 - 11 OS Engineering Engineering Cemat V7.1 Link Attributes of the drives: CollectValue to .EventState Index Status1 Status3 to to to .VISU_OS .STATUS .STATUS3 for Group Display in the overview Range (the group display is normally not shown at the object itself) for the status display , Test mode , Simulation for Bad Quality Marking the Object (Function related. Objects) QC to .RunSig1#ST Display of the Signal status QC , Additional Link Attributes for indication of setpoint and actual value (only for C_DRV_1D, Index 151): SP_IN SP_IN_UNIT PV_IN PV_IN_UNIT to to to to .SP_IN .SP_IN#shortcut .PV_IN#value .PV_IN#shortcut for Set point display for the display of the set point unit for the display of the actual value for the display of the actual value unit Additional Link Attributes for Subcontrol functions (only for C_DRV_1D, Index 150): SubText SubTag SubType is the button text in the faceplate of the motor is the tagname of the subcontrol function is the S7 structure name (block type) Additional Link Attributes for measure display (only for C_DRV_1D, Index 122/123): OutputValue BlockName LeftHandText StatusAlarm UnitText to to .PV#Value .PV#Jump to to .PV_Stat#Status .PV_Stat#UNIT for the display of the measure for the tagname of the measure for the tool-tip (tagname of the measure + comment) for the limit indications for the unit of the measure (only Index 123) Additional Link Attributes for damper positioner (only for C_DAMPER, Index 200): D_MODE D_ExternalSetpoint D_Fault D_FaultAnalog XValue XUnit to to to to to .STATUS .STATUS2 .STATUS .STATUS .X_POS_OS#Value % WValue WUnit WLimMax WLimMin to to to to .W_OS .UNIT .KWOG .KWUG Damper mode External set point Damper fault Analog value fault Actual value No connection because actual value is always in % Set point Set point unit for Set point upper limit for Set point lower limit Additional Link Attributes for Silopilot PV Unit 8 - 12 to to .PV .UNIT for the display of the silo level for the display of the unit Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 OS Engineering Status Display function is used to define the representation of the block icon the different states (running, off, faulty...). The possible states of each object are documented in the object description of the corresponding object type (Variable VISU_OS). The following picture shows the states object type C_DRV_1D: ! Achtung: The project version 007 Heidelberg Cement has additional status displays for noninterlocked single start mode (e. g. status 9 and 10 for C_DRV_1D). Examples you can find in the template picture C_@PCS7Typicals_CemV7_1680_1920.pdl. Copyright (c) Siemens AG. All Rights Reserved. 8 - 13 OS Engineering Engineering Cemat V7.1 Property Styles In Property Styles the appearance of the symbol or the faceplate can be modified. Property Styles of object type C_DRV_1D: Style Attributes for the drives: View_Tag Relevant Visible1 to C_VIEW_TAG_D Yes No Tagname will be switched to 'visible' via button "D" for Group display (no connection) (no connection) Additional Style Attributes for the button text in the Facplate (only for C_DRV_2D, C_DAMPER and C_VALVE): BText1 BText2 Button text for single start direction 1 (left button) Button text for single start direction 2 (right button) Zusatzliche Link-Attribute fur Klappenpositionierer (nur bei C_DAMPER, Index 200): ReturnPath StandardTrend StyleTag WBackColor ! .U:CO_DKGREEN 2 1,0000000 grey internal (default setting must remain!) internal (default setting must remain!) internal (default setting must remain!) internal (default setting must remain!) Caution: Project version 026 Alsen has an additional Style Attribute for C_DRV_1D, C_DRV_2D, C_DAMPER, C_VALVE and C_VAL_2D, in order to switch the buttons for the operation mode change to local mode to invisible. Examples you can find in the template picture C_@PCS7Typicals_CemV7_1680_1920.pdl StyleTag 0 = Buttons for local mode on/off are visible 1 = Buttons invisible In order to make the StyleTag available also for indirect faceplate calls, if the StyleTag > 0, an internal variable Tagname_ButtonStyle is created on the computer, in order to save the StyleTag. (This happens automatically during the faceplate call via block icon). If StyleTag = 0 the display follows the default settings. 8 - 14 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 OS Engineering C_ANNUNC und C_ANNUN8 In the process pictures the blocks C_ANNUNC and C_ANNUN8 are represented by a status display only (Signal ok, Warning, Fault). In this case, all further objects, belonging to the customized object are hidden behind the status display or invisible by default. However there are block icons with additional indications, as e. g. tagname or signal status: Example 1: with tagname and display of Quality/Test mode/Simulation Example 2: with Signal status QC Function overview for the different block icons: C_ANNUNC: Index 0-13 Index 14 Index 99 Index 104 Status display + Tagname only status display Status display + Group display + Tagname + QC Status display + Signal status QC C_ANNUN8: Index 1 Index 2 Index 99 Status display + Tagname Status display + Quality/Test mode/Simulation Status display + Group display + Tagname Copyright (c) Siemens AG. All Rights Reserved. 8 - 15 OS Engineering Engineering Cemat V7.1 Property General Property General of object type C_ANNUNC: ! Caution: The screen shot of the object properties shows the property General in template picture C_@PCS7Typicals_CemV7_1680_1920.pdl. Attribute 'type' is used for the automatic generation of block icons via OS compile and must therefore consist of an @-sign, the block type and an index. For the manual link you should replace attribute 'type' e.g. by 'C_ANNUNC' (removing @-sign and index), in order not to overwrite the data in the next OS compile. The Attribute ToolTipText is not entered automatically. You have to copy the text (normally the Tagname) manually. Property Links In Property Links all Attributes must be connected as follows to the variables of the corresponding object. (They will be connected automatically in case of automatic generation of Block Icons): Property Links of object type C_ANNUNC: 8 - 16 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 OS Engineering Link Attributes of the annunciation blocks: CollectValue to .EventState Process Index Status3 to to .STATUS 0 .STATUS for Group Display in the overview Range (the group display is normally not shown at the object itself) for Bad Quality , Test mode , Simulation not used at the moment Marking the Object (Function related. Objects) QC to .RunSig1#ST Display of the Signal status QC , Property Styles In Property Styles the appearance of the symbol or the faceplate can be modified. Property Styles of object type C_ANNUNC: Style Attributes for the annunciation blocks: View_Tag Relevant Visible1 to C_VIEW_TAG_D Yes No Copyright (c) Siemens AG. All Rights Reserved. Tagname will be switched to 'visible' via button "D" for Group display (no connection) (no connection) 8 - 17 OS Engineering Engineering Cemat V7.1 C_GROUP, C_ROUTE and C_SELECT In the process picture the blocks C_GROUP, C_ROUTE, and C_SELECT are represented by a symbol in order to display the actual status (operation status, operation mode, summarizing fault, summarizing warning, interlocks and selections). In this case, all further objects, belonging to the customized object are hidden behind the status display or invisible by default. In the template picture you find various block icons in different sizes and attributes. Also the language has to be considered. Beside German and English block icons there are multilingual block icons which automatically adapt to the operating language. Example 1: Single line representation without Tagname: Function overview for the different block icons: C_GROUP: Index 1 Index 2 Index 101 Index 102 Index 201 big Symbol English small Symbol English big Symbol German small Symbol German big Symbol multilingual C_ROUTE: Index 1 Index 2 Index 101 Index 102 Index 201 big Symbol English small Symbol English big Symbol German small Symbol German big Symbol multilingual C_SELECT: Index 1 Index 2 Index 4 Index 5 Index 6 Index 101 Index 102 Index 104 Index 201 8 - 18 big Symbol English small Symbol English with Tagname and mouse click left/right (left mouse-click for select/deselect; right mouse click opens faceplate) small Symbol English small Symbol with additional text (left mouse-click for select/deselect; right mouse click opens faceplate) small Symbol with additional text and interlock display (left mouse-click for select/deselect; right mouse click opens faceplate) big Symbol German small Symbol German with Tagname and mouse click left/right (left mouse-click for select/deselect; right mouse click opens faceplate) small Symbol German big Symbol multilingual Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 ! OS Engineering Caution: For Project version 006 Dyckerhoff especially adapted block icons exist for group and route (with modifications in the status display for manual interlocked and manual noninterlocked). Examples you can find in the template picture C_@PCS7Typicals_CemV7_1680_1920.pdl (Index 5xx). Property General The following picture shows the General properties of object type C_GROUP: ! Caution: The screen shot of the object properties shows the property General in template picture C_@PCS7Typicals_CemV7_1680_1920.pdl. Attribute 'type' is used for the automatic generation of block icons via OS compile and must therefore consist of an @-sign, the block type and an index. For the manual link you should replace attribute 'type' e.g. by 'C_GROUP' (removing @-sign and index), in order not to overwrite the data in the next OS compile. The Attribute ToolTipText is not entered automatically. You have to copy the text (normally the Tagname) manually. In some block icons under Property 'General', you find the additional Attribute TagOut, which is used for a text output in the block icon. Copyright (c) Siemens AG. All Rights Reserved. 8 - 19 OS Engineering Engineering Cemat V7.1 Property Links For each group in Property Links all Attributes must be connected as follows to the variables of the corresponding object. (They will be connected automatically in case of automatic generation of Block Icons): Property Links of object type C_GROUP: Link Attributes of the group: CollectValue to .EventState Status2 Status to to .STATUS2 .STATUS for Group Display in the overview Range (the group display is normally not shown at the object itself). for the display of operation status and interlocking for the display of operation mode, fault and warning Link Attributes or the route: CollectValue to .EventState Status to .STATUS for Group Display in the overview Range (the group display is normally not shown at the object itself) for the display of locked, selection, fault, warning and interlocking Link Attributes of the selection block: CollectValue to .EventState Status to .STATUS for Group Display in the overview Range (the group display is normally not shown at the object itself) for the display of selection and interlocking Additional Link Attributes for C_SELECT with Index 2 and 102: S_Status S_Interlock to to .STATUS .STATUS for the display of the selection for the display of the interlocking Additional Link Attributes for C_SELECT with Text output (Index 4): OutputValue Operation1 8 - 20 to to .STATUS .NON_INTL for the display of the selection in case of an interlocking the button text is grey. Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 OS Engineering Additional Link Attributes for C_SELECT with Text output (Index 5): Operation1 to ON .NON_INTL Yes in case of an interlocking the button text is grey. (The display of the selection is carried out via Styles!) must remain Property Style In Property Styles the appearance of the symbol or the faceplate can be modified. Property Styles of object type C_GROUP: Styles attributes of the group: View_Tag ReturnPath StandardTrend Relevant StandardTrend StyleTag to C_VIEW_TAG_D Tagname will be switched to 'visible' via button "D" this only makes sense in case of small block icons because the big block icons already contain the Tagname. .U:CO_DKGREEN internal (default setting must remain!) 2 internal (default setting must remain!) Yes internal (default setting must remain!) 2 internal (default setting must remain!) 0,0000000 modifies Faceplate Buttons: 0 - Start_Stop_Automatic_Local_Single (default) 1 - Buttons_Invisible 2 - Start_Stop_Automatic_Local_Single_QuickStop 3 - Start_Stop 4 - Start_Stop_Automatic_Local 5 - Start_Stop_Automatic_Single 6 - Start_Stop_Automatic_Local_QuickStop 7 - Start_Stop_Automatic_Single_QuickStop 8 - Start_Stop_Automatic_QuickStop (only for Project Standard 006 Dyckerhoff) For the display of the interrupt button you have to add +100 to the StyleTag number In order to make the StyleTag available also for indirect faceplate calls, if the StyleTag > 0, an internal variable Tagname_ButtonStyle is created on the computer, in order to save the StyleTag. (This happens automatically during the faceplate call via block icon). If StyleTag = 0 the display follows the default settings. Copyright (c) Siemens AG. All Rights Reserved. 8 - 21 OS Engineering ! Engineering Cemat V7.1 Caution: The project version 026 Alsen has different Style Attributes for C_GROUP, because there is no group-wise change of operation modes. There are just two buttons in order to enable all drives of the group for local mode or to switch the complete group back to automatic mode (for maintenance). Style_Tag 0 - Start_Stop_Local on/Local off (default) 1 - Buttons_Invisible 3 - Start_Stop_Local on/Local off 8 - Start_Stop_ Local on/Local off_QuickStop 9 - Start_Stop_QuickStop 10 - Start_Stop For the display of the interrupt button you have to add +100 to the StyleTag number In order to make the StyleTag available also for indirect faceplate calls, if the StyleTag > 0, an internal variable Tagname_ButtonStyle is created on the computer, in order to save the StyleTag. (This happens automatically during the faceplate call via block icon). If StyleTag = 0 the display follows the default settings. Style Attribute or the route: View_Tag to ReturnPath StandardTrend Relevant StandardTrend StyleTag C_VIEW_TAG_D .U:CO_DKGREEN 2 Yes 2 0,0000000 Tagname will be switched to 'visible' via button "D" this only makes sense in case of small block icons because the big block icons already contain the Tagname. internal (default setting must remain!) internal (default setting must remain!) internal (default setting must remain!) internal (default setting must remain!) modifies Faceplate Buttons: 0 - Selection_Deselection (default) 1 - Buttons invisible Style Attributes of the selection block: View_Tag to C_VIEW_TAG_D ReturnPath StandardTrend Relevant StandardTrend StyleTag .U:CO_DKGREEN 2 Yes 2 0,0000000 Visible2 No Tagname will be switched to 'visible' via button "D" this only makes sense in case of small block icons because the big block icons already contain the Tagname. internal (default setting must remain!) internal (default setting must remain!) internal (default setting must remain!) internal (default setting must remain!) modifies Faceplate Buttons: 0 - Selection_Deselection (default) 1 - Buttons invisible internal Additional Style Attributes for C_SELECT, Index 6: ForeColor BackColor 8 - 22 must be connected manually to Tagname.STATUS must be connected manually to Tagname.STATUS Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 OS Engineering Property User Text Normally the symbol shows the Tagname of the group, route or selection. If a different description should be displayed in the object symbol, the property User Text can be used. If Visible1 is set to 'No' the object tagname is displayed in Runtime mode. In order to display a user defined text instead of the tagname the Attribute Visible1 of Property UserText must be changed to 'Yes' and the text must be entered into Attribute Text. Display of a group with UserText Entry: Copyright (c) Siemens AG. All Rights Reserved. 8 - 23 OS Engineering Engineering Cemat V7.1 C_MEASUR The block icon for C_MEASUR shows the actual measuring value, the dimension and eventual limit violations (color change). In this case, all further objects, belonging to the customized object are hidden behind the status display or invisible by default. However there are block icons with additional indications, as e. g. tagname or signal status and block icons with attributes which are evaluated in the faceplate itself. Example 1: with tagname and display of Quality/Test mode/Simulation Example 2: with signal status QC Example 3: Line representation with Tagname and comment. Function overview for the different block icons: C_MEASUR: Index 1 Index 2 Index 3 Index 4 Index 99 Index 100 Index 104 Index 205 Index 206 8 - 24 Measured value with Tagname. Measured value Line representation with Tagname and comment. Measured value with red frame in case of Simulation Measured value with big Group display, Tagname and status display for Bad Quality/Simulation Measured value with Tagname and status display for Bad Quality/Simulation Measured value with Signal status QC Colors for bar and Value can be adapted Measured value APL-like with big Group display Measured value APL-like with small Group display Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 OS Engineering Property General Property General of object type C_MEASUR: ! Caution: The screen shot of the object properties shows the property General in template picture C_@PCS7Typicals_CemV7_1680_1920.pdl. Attribute 'type' is used for the automatic generation of block icons via OS compile and must therefore consist of an @-sign, the block type and an index. For the manual link you should replace attribute 'type' by 'C_MEASUR' (removing @-sign and index), in order not to overwrite the data in the next OS compile. The Attribute ToolTipText is not entered automatically. You have to copy the text (normally the Tagname) manually. Copyright (c) Siemens AG. All Rights Reserved. 8 - 25 OS Engineering Engineering Cemat V7.1 Property Links In Property Links all Attributes must be connected as follows to the variables of the corresponding object. (They will be connected automatically in case of automatic generation of Block Icons): Property Links of object type C_MEASUR: Link Attribute of the measured value block: 8 - 26 CollectValue to .EventState Unit PV Status Status1 Status3 to to to to to .PV_Stat#UNIT .MV .VSTATUS .PV_Stat#STATUS .PV_Stat#STATUS for Group Display in the overview Range (the group display is normally not shown at the object itself). for the display of the unit for the display of the process value for the colors , Test mode , Simulation for Bad Quality Marking the Object (Function related. Objects) QC to .PV_Out#ST Display of the Signal status QC , Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 OS Engineering Property Styles In Property Styles the appearance of the symbol or the faceplate can be modified. Property Styles of object type C_MEASUR: Style Attribute of the measured value block: View_Tag ReturnPath to C_VIEW_TAG_A .U:CO_DKGREEN StandardTrend Format_OutputValue Format_xx Relevant Format_InputValue 2 ##0.0 ##0.0 Yes 0 Visible1 No Tagname will be switched to 'visible' via button "A" Archive name (optional) AE See 'Adding an archive tag to the process value archive' internal (default setting must remain!) not relevant not relevant internal (default setting must remain!) Output format for the measured value 0.0 one digit behind the comma 0.00 two digits behind the comma 0.0## one fix digit behind the comma and two optional digits (only if not 0). These settings are also used in the faceplate of the object for actual value and limits. internal Additional Style Attributes for C_MEASUR, Index 104 (for color adaptations): TrendColor1 FillColor1 ValueColor1 ValueFillColor1 dark green light green dark green light green Copyright (c) Siemens AG. All Rights Reserved. for bar color for bar color for value color for value color 8 - 27 OS Engineering Engineering Cemat V7.1 Adding an archive tag to Process Value Archive By opening the faceplate of the measured value the trend curve is shown. If an archive tag is available for the measure, the archive curve can be displayed via button "Curve". In the Engineering for the Process Value Archive, certain rules have to be followed, in order to enable the call-up of the Archive curve. 1. The archive tag name must be derived from the tag name of the measure. This implies the following: a) The object tag of the measure must not contain any special character, because the in the archive tag name, special characters are not allowed and will be removed by the system. b) The archive tag name, automatically given by the System must not be modified. 2. The name of the process value archive mainly depends on the decision, whether only a single archive shall be created or whether you prefer to define various archives (e. g. for each plant section). - If you create a process value archive with the WinCC Explorer, the default name is ProcessValueArchive. This is also the default name which is used in Cemat, if no additional programming in the CFC or in the block icon is done. - If the archive tag is generated during the OS Compile (through settings in the CFC) a process value archive with the name SystemArchive gets created. This name is entered into the automatically generated internal variable @TagArchiveName and can be modified later on. Since V7.1, Cemat looks for Variable @TagArchiveName and, if available, the archive name is picked from there. - Beside this, the possibility exists to create different process value archives. In this case additional engineering effort is required because each measuring value must be assigned to a specific archive. Up to now this was only possible via the block icon, entering the Archive name in the Property Styles at Attribute ReturnPath. The disadvantage of this is that the archive name is only available if you open the faceplate of the measure through click on the block icon. If you open the measure faceplate through the Drive Faceplate or from the group instance list, the information from the block icon of the measure is not available and Cemat uses the default Archive name. - From Cemat V7.1 a new option is given for using different archives. The archive name must be entered in the CFC at the Structure variable PV_Out.Value under Identifier. This name is used in any case, independent whether you open the Measure faceplate via the block icon or indirectly via the drive block. The priority for the determination of the archive name is as follows: Prio1: Checking the entry in the internal variable measure.PV_Out#Value#Shortcut Prio2: Checking the entry in the block icon under property Styles, Attribute ReturnPath. Prio3: Entry in Variable @TagArchiveName (if existing) Prio4: Default setting "ProcessValueArchive" 8 - 28 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 OS Engineering C_COUNT and C_RUNNT In the process pictures the blocks C_COUNT and C_RUNNT are represented by a block icon which shows the counter values. In this case, all further objects, belonging to the customized object are hidden behind the status display or invisible by default. The template picture contains only one block icon for each block type. Function overview for the different block icons: C_COUNT: Index 1 Display of the counter value and the tagname C_RUNNT: Index 1 Display of the operating hours and the tagname. Property General Property General of object type C_COUNT: ! Caution: The screen shot of the object properties shows the property General in template picture C_@PCS7Typicals_CemV7_1680_1920.pdl. Attribute 'type' is used for the automatic generation of block icons via OS compile and must therefore consist of an @-sign, the block type and an index. For the manual link you should replace attribute 'type' e. g. by 'C_COUNT' (removing @-sign and index), in order not to overwrite the data in the next OS compile. The Attribute ToolTipText is not entered automatically. You have to copy the text (normally the Tagname) manually. Copyright (c) Siemens AG. All Rights Reserved. 8 - 29 OS Engineering Engineering Cemat V7.1 Property Links For each Counter in Property Links all Attributes must be connected as follows to the variables of the corresponding counter. (They will be connected automatically in case of automatic generation of Block Icons): Property Links of object type C_COUNT: Link-Attribute des C_COUNT: Value Unit to to .RT_OS .UNIT to show the counter value to show the Unit Link-Attribute des C_RUNNT: Value 8 - 30 to .RT_OS to show the operating hours Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 OS Engineering Property Styles Property Styles of object type C_COUNT: Style Attributes of C_COUNT: View_Tag to Format_OutputValue Format_xx Format_InputValue C_VIEW_TAG_A 0.# 0.## 0 Tagname will be switched to 'visible' via button "A" not relevant not relevant Output format for the counter value: 0.0 one digit behind the comma 0.00 two digits behind the comma 0.0## one fix digit behind the comma and two optional digits (only if not 0). These settings are also used in the faceplate of the object. Style Attributes of C_RUNNT: View_Tag to Format_OutputValue Format_xx Format_InputValue C_VIEW_TAG_A 0.# 0.## 0 Text h Copyright (c) Siemens AG. All Rights Reserved. Tagname will be switched to 'visible' via button "A" not relevant not relevant Output format for the runtime (operating hours): 0.0 one digit behind the comma 0.00 two digits behind the comma 0.0## one fix digit behind the comma and two optional digits (only if not 0). These settings are also used in the faceplate of the object. time unit 8 - 31 OS Engineering Engineering Cemat V7.1 CTRL_PID, CTRL_S and C_PID3 The controller functions CTRL_PID and CTRL_S are no CEMAT blocks and belong to the PCS7 V7 Library. For further explanations see PCS7 Manuals. The controller function C_PID3 (Controller with three parameter tables) is an enhancement of block CTRL_PID. The properties of the block icon correspond to the properties of CTRL_PID. The faceplates for block CTRL_PID have been adapted to Cemat (same look and feel). In the block icon the most important controller values are displayed. In this case, all further objects, belonging to the customized object are hidden behind the status display or invisible by default. However there are block icons with additional indications. Example 1: Line representation with Tagname, Comment, Status and Set point Example 2: with Group Display (Index 5) or with Group Display and bar for control deviation (Index 7) Example 3: with actual value, set point, output and output feedback, including bar indication (Index 6) 8 - 32 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 OS Engineering Beside this you can also use the standard block icons from the PCS7 library. These block icons call the Standard faceplates of PCS7: Example 4: Block icons form the PCS7 Standard library The block icon of C_PID3 is identical to the block icon of CTRL_PID. For block CTRL_S adapted Faceplates for Cemat do not exist. In case of the block icon, also the block icon of the PCS7 standard library is used. Function overview for the different block icons: CTRL_PID: Index 1 and 2 Index 3 Index 4 Index 5 Index 6 Index 7 from PCS7-Standard library (calls PCS7 Standard Faceplates) with Setpoint, Actual value, Output and Status display Line representation with tagname, comment, status and set point with Set point, actual value, output, status and Group display shows the controller values, including bar indication and Group display with Group display and bar for controller deviation CTRL_S: Index 1 from PCS7-Standard library (calls PCS7 Standard Faceplates) C_PID3: Index 1 with Set point, Actual value, Output and status display Copyright (c) Siemens AG. All Rights Reserved. 8 - 33 OS Engineering Engineering Cemat V7.1 Property General Property General of object types CTRL_PID (with Cemat Faceplate call) and C_PID3 Property General of object type CTRL_PID (with call of PCS7 Standard faceplate) or CTRL_S ! Caution: The screen shot of the object properties shows the property General in template picture C_@PCS7Typicals_CemV7_1680_1920.pdl. Attribute 'type' is used for the automatic generation of block icons via OS compile and must therefore consist of an @-sign, the block type and an index. For the manual link you should replace attribute 'type' e. g. by 'CTRL_PID' (removing @-sign and index), in order not to overwrite the data in the next OS compile. The Attribute ToolTipText is not entered automatically. You have to copy the text (normally the Tagname) manually. 8 - 34 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 OS Engineering Property Links For each Counter in Property Links all Attributes must be connected as follows to the variables of the corresponding counter. (They will be connected automatically in case of automatic generation of Block Icons): Property Links for object type CTRL_PID: Link Attributes of CTRL_PID: CollectValue PV_Unit MV_Unit Mode_AM Mode_InEx Mode_LMN ProcessValue OutputValue SetpointValue to to to to to to to to to .EventState .PV_IN#unit .MAN_OP#unit .QMAN_OUT .QSPEXTON .LMN_SEL .PV_IN .LMNR_IN .SP to show the group display to show the Unit for the Actual value to show the Unit for the Controller Output to show the Mode Automatic/Manual to show the Mode Internal/External to show the Mode of the Output to show the Actual Value to show the Output to show the Set point Additional Attributes for the line representation (Index 4) Comment to .#Comment to show the block comment Additional Link Attributes for bar indication (Index 6) MV_IN LLMR ULMR LLMR_MA ULMR_MA to to to to to .MAN_OP .MO_PVLR .MO_PVHR .MAN_LLM .MAN_HLM Additional Link Attributes for the display of the controller deviation (Index 7) ER to ER_AlarmHigh_% ER_AlarmLow_% Copyright (c) Siemens AG. All Rights Reserved. .ER 50 -50 to show the controller deviation Limit for alarm high Limit for alarm low 8 - 35 OS Engineering Engineering Cemat V7.1 Link Attributes of CTRL_S: CollectValue SetpointValue ProcessValue OutputValue QLMNR_ON QLMNUP QLMNDN Mode_MAN_AUT Mode_INT_EXT LMN_SEL to to to to to to to to to to .EventState .SP .PV_IN .LMNR_IN .QLMNR_ON .QLMNUP .QLMNDN .QMAN_OUT .QSPEXTON .LMN_SEL to show the group display to show the Set point to show the Actual Value to show the Output to show the Output to show the Output to show the Output to show the Mode Automatic/Manual to show the Mode Internal/External to show the Mode of the Output .EventState .PV_IN#unit .MAN_OP#unit .QMAN_OUT .QSPEXTON .LMN_SEL .PV_IN .LMNR_IN .SP to show the group display to show the Unit for the Actual value to show the Unit for the Controller Output to show the Mode Automatic/Manual to show the Mode Internal/External to show the Mode of the Output to show the Actual Value to show the Output to show the Set point Link Attributes of C_PID3: CollectValue PV_Unit MV_Unit Mode_AM Mode_InEx Mode_LMN ProcessValue OutputValue SetpointValue 8 - 36 to to to to to to to to to Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 OS Engineering Property Styles Property Styles for object type CTRL_PID: Style Attributes of CTRL_PID and C_PID3:: View_Tag to ReturnPath StandardTrend Relevant Format_InputValue Format_OutputValue Format_xx Visible2 C_VIEW_TAG_A Tagname will be switched to 'visible' via button "A" .U:CO_DKGREEN internal (default setting must remain!) 2 internal (default setting must remain!) Yes internal (default setting must remain!) ##0.0 Output format: 0.0 one digit behind the comma 0.00 two digits behind the comma 0.0## one fix digit behind the comma and two optional digits (only if not 0). These settings are also used in the faceplate of the object. ##0.0 see Format_InputValue ##0.0 see Format_InputValue No intern Style-Attribute of Standard CTRL_PID or CTRL_S: View_Tag ReturnPath StandardTrend Relevant Format_InputValue Format_OutputValue Format_xx FontName FontSize FontNameNameOfTag FontSizeNameOfTag Copyright (c) Siemens AG. All Rights Reserved. Yes visible .U:CO_DKGREEN internal (default setting must remain!) 2 internal (default setting must remain!) Yes internal (default setting must remain!) ##0.0 Output format Set point ##0.0 Output format Output value ##0.0 Output format Actual value Arial text description 12 text description Arial text description 12 text description 8 - 37 OS Engineering Engineering Cemat V7.1 Window Position of the Faceplates In Property Miscellaneous via the Attributes topPos, leftPos and defaultPos it can be defined at which screen position the faceplate appears when it is opened via click on the block icon. For the Positioning the following possibilities exist: a) The Faceplate appears at the Default Position TopPos leftPos DefaultPos = irrelevant = irrelevant = yes b) The Faceplate appears at the Curser-Position for TopPos leftPos DefaultPos =0 =0 = no c) The Faceplate appears at the set Position for TopPos leftPos DefaultPos ! 8 - 38 = Wert > 0 = Wert > 0 = no Note: The Positioning of the Faceplates via Function PCS7_OpenGroupDisplay_V6_CEMAT (Cemat V6.0 Method) is not possible any more in Cemat V7.1. Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 OS Engineering Bitmaps The bitmaps for the symbols are stored on all clients and servers in the standard directory (D:\CEMAT_CS\bitmap\). Symbols used for the project must be copied into the \GraCS, otherwise they cannot be used in the OS Engineering. The master for the bitmaps is the Server. The distribution can be done with a batch file. The bitmaps for the Symbols (Drives, Valves) from Version 4.12 of CEMAT can be used. You find further models on the CD under CD:\Additional_Information\CEM_DRAFTS. For Drives and Valves all bitmaps must exist, which are theoretically foreseen for the Symbol, even if the status is never used in Runtime. WinCC will give an error message if any of the bitmaps does not exist. Copyright (c) Siemens AG. All Rights Reserved. 8 - 39 OS Engineering Engineering Cemat V7.1 Instance specific Authorizations The Authorizations are defined in the User Administrator of WinCC. Beside the authorizations of WinCC during the generation of the project additional authorizations have been defined for CEMAT (see chapter 3). There, you also find a list which explains which authorization is needed for which operation. Defining different user groups and users you can enable or disable specific functions. This is possible per OS-Area. In addition for some Operations it is possible to define instance specific rights. The settings have to be carried out at the block icon under Miscellaneous. The two attributes Processcontrolling_backup" and HigherProcesscontrolling_backup" are variables which are used in order to transmit free definable authorizations to the faceplate. In the table in chapter 3 you can see for which operations instance specific rights are possible. Extract of the table of authorizations from chapter 3 (example for C_DRV_1D): Object type Operation Right/ default right Instance specific settings possible via Attribute Project Code C_DRV_1D Start/Stop Jump to Interlock Jump to rel. Group Jump to User Object Jump to Measure Obj. Jump to Ext. Setpoint Jump to SP Feedback 05: Process controlling Processcontrolling_backup all Process parameter 22: Object Parameters all Reset Operation 23: System Operations all Bypass speed monitor 24: Interlocking Signals HigherProcesscontrolling_backup all Maintenance functions 29: Maintenance auto/man. Interl./man. Non Interl. 05: Process controlling all Processcontrolling_backup non interl. Single mode 23: System Operations Rel. 006 007 non interl. Single mode 24: Interlocking Signals on/off HigherProcesscontrolling_backup 004/007 The first 5 operation functions in the list are possible for all project versions: 1. The Operations (Start and Stop, call of the interlock faceplate, call of the related group, call of a user object, call of the assigned measure, call of External Setpoint or Setpoint feedback source) are assigned to authorization 5 "Process controlling". In this case it is not fix assignment, the authorization is transmitted via variable Processcontrolling_backup. 2. The Operations for the modification of the Process parameters is assigned fix to authorization 22 "Object parameters". 3. The Reset Operation has a fix assignment to 23 "System Operations". 4. The Operation Bypass Speed Monitor is assigned to authorization 24 "Interlocking Signals". In this case it is not a fix assignment; the authorization is transmitted via variable HigherProcesscontrolling_backup. 5. The Maintenance functions are assigned to authorization 29 "Maintenance". 8 - 40 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 OS Engineering Some Operations are only available in Project Versions. 6. In Project Version "006" the Operation auto/manual Interlocked/manual non Interlocked is assigned to authorization 5 "Process controlling". The assignment is carries out via variable Processcontrolling_backup. 7. In project version "007" the function Release non-interlocked single-start-mode is assigned fix to right 23 "System Operations". 8. In the project versions "004" and "007" the function non-interlocked single-start ON/OFF is assigned to authorization 24 "Interlocking Signals". The assignment is carried out via variable HigherProcesscontrolling_backup. ! Caution: Please keep in mind that the modifications of the attributes Processcontrolling_backup or HigherProcesscontrolling_backup, effect all operations which are assigned to Processcontrolling_backup or HigherProcesscontrolling_backup. For the operations Start and Stop the same authorization is needed as for auto/manual Interlocked/manual non Interlocked. Copyright (c) Siemens AG. All Rights Reserved. 8 - 41 OS Engineering Engineering Cemat V7.1 General Cemat Functions The template picture C_Symbols.pdl contains general Cemat Functions. The buttons can be inserted in any process picture (e. g. in the system overview) in order to call superordinated functions. The examples must be adapted and labeled accordingly. Call of the Maintenance Overview Via button "Maintenance List" the Maintenance Overview will open: Adaptations are not required. Call of the Info Overview Via button "Info" a window will open which shows the last entry into the user archive. From there you can browse back or change to a spreadsheet format. Adaptations are not required. Query for Simulated Objects Via button "Object Browser" the operator will get a list of all simulated objects within an AS. The function for left mouse click must be adapted (enter number of the AS): Close all open windows Button "Close all Faceplates" closes all the open windows at a time. Adaptations are not required. 8 - 42 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 OS Engineering Open curve group on full screen (optional) This option allows the display of pre-configured curve groups in full screen mode, which means, when opening the curve group the complete screen is used as working area. There is no alarm line, no overview range (picture tree) and not button line.. Caution: The full screen representation of curve groups is only possible for OS with only one screen. Multiscreen does not work. On the Cemat installation CD under Cemat_AddOn\Full_Screen\WinCC\GraCS you find the required PDLs which you have to copy into your OS, if the function is required: @screen_CEM_1280.pdl @screen_CEM_1680.pdl @screen_CEM_1920.pdl @screen_CEM_1920x1080.pdl C_Curve_Group1.pdl C_Curve_Group1_1280.pdl C_Curve_Group1_1680.pdl C_Curve_Group1_1920.pdl C_Curve_Group1_1920x1080.Pdl C_Curve_Group2.pdl C_Curve_Group2_1280.pdl C_Curve_Group2_1680.pdl C_Curve_Group2_1920.pdl C_Curve_Group2_1920x1080.Pdl C_Curve_Group3.pdl C_Curve_Group3_1280.pdl C_Curve_Group3_1680.pdl C_Curve_Group3_1920.pdl C_Curve_Group3_1920x1080.Pdl Screen organization (1280x1024) Screen organization (1680x1050) Screen organization (1920x1200) Screen organization (1920x1080) Example 1 Curve groups default (1680x1050) Example 1 Curve groups (11280x1024) Example 1 Curve groups (1680x1050) Example 1 Curve groups (1920x1200) Example 1 Curve groups (1920x1080) Example 2 Curve groups default (1680x1050) Example 2 Curve groups (11280x1024) Example 2 Curve groups (1680x1050) Example 2 Curve groups (1920x1200) Example 2 Curve groups (1920x1080) Example 3 Curve groups default (1680x1050) Example 3 Curve groups (11280x1024) Example 3 Curve groups (1680x1050) Example 3 Curve groups (1920x1200) Example 3 Curve groups (1920x1080) File @screen.pdl must be copied into the OS project in the required screen resolution. The rest of the pictures contain examples for the display of curve groups, also in different screen resolutions, which you can use as template. Just copy it into a new file name and make the adaptations according to the process values you want to show. Copyright (c) Siemens AG. All Rights Reserved. 8 - 43 OS Engineering Engineering Cemat V7.1 For the call of the curve groups in full screen mode you have to use the button function from template picture C_Symbols.pdl. Copy this into your process picture and adapt the function for Mouse Action, by entering the name of the curve group: 8 - 44 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 OS Engineering Message archive The message system under PCS 7 is generated by the OS Project Editor. After running the OS Project Editor a few adaptations have to be performed (see Chapter PCS7 Project"). Tag logging For each measure which needs to be archived, in the process value archive an archive tag has to be created. Select the proper archiving cycle according to the function of the measure. - Quick archiving for currents, pressures etc. - Slow archiving for temperatures etc. Example of typical configuration for cement plant: Process value Type Cycle Time in Sec. Archiving Time in Sec. Temperature 30 30 Level 10 30 Pressure 2 10 Flow 5 10 How to create a process value archive and the archive tags is described in the engineering manual of PCS7 and not part of this description. The direct call of the archive curve from the faceplate of the measure is only possible if you follow the CEMAT rules: - The name of the archive tag exactly corresponds to the name of the process tag. - The default name of the process value archive is ProcessValueArchive. If the archive tags are created automatically, PCS7 creates the archive tags in an archive with the name SystemArchive. You can leave the name as it is because Cemat evaluates the internal variable @TagArchiveName, which contains the archive name. If you prefer a different archive name you may change the value for the internal variable. - If more than one process value archive is used (e. g. per plant section) you either have to carry out adaptations in the CFC at parameter PV_Out.Value of the C_MEASUR or in the block icon via Style 'ReturnPath' by entering the archive name. In this case archive tags can not be generated automatically, because PCS7 supports only one process value archive. Copyright (c) Siemens AG. All Rights Reserved. 8 - 45 OS Engineering Engineering Cemat V7.1 User Archives During the installation of the Project (chapter 3) two user archives have been created. Through the import of the files DriveList.uap and C_INFO.uap the data base structure was already created in the correct format. The group instance list C_DriveList does not need any further engineering. The data will be provided online. The User Archive C_INFO is empty and must be filled with data, in order to provide it for the Info Dialog of the Objects. We recommend to create the Info-Data with Excel (CSV-File) and to import it afterwards into the user archive. An example for the CSV-File you find in directory D:\Cemat_CS\ua. File C_INFO.csv contains one line with example data (only headers). Structure of the Info data base The structure of the Info data base is already explained in chapter 2. Subsequently you find some additional remarks regarding the particular data fields: - The content of fields ID, Obj_ID and C_TAG must be unique. ID and Obj_ID contain a consecutive number and C_TAG contains the tagname of the object. - The rest of the fields are grouped by subject under which you will find the information later on in the Information Dialog. You can identify the subject on its prefix. GL_ G_ I_ M_ H_ = General Locations = Register Service = Register Input/Output = Register MCC Data = AS Hardware / Software - The fields LastUser and LastAccess can remain empty. They are used by the system itself. - The entry in field G_LoopA serves as a reference to the process picture to be opened if the loop-in-Alarm Button is pressed. If this field remains empty, the system looks into the 'Component list Editor' of WinCC in order to open the 'Entry point picture'. - By entering the file name for manuals and video files, these documents can be opened from the Info-Dialog by additional buttons. Important notes for the import: 1. ID and Obj_ID must be numbered consecutively. 2. Via Import function only new records can be imported, i. e. if you want to modify existing data records you have to export these records, and to delete it before you can import it again. 8 - 46 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 OS Engineering Generation of the Info data From CEMAT V6.1 an Engineering Tool (Excel Macro) is available, which can be used to create the Info Data from the PCS7 Engineering Data (Hardware Configuration, Process Object view). The Excel Macro generates a file C_INFO.csv, which can be imported into the User Archive. A detailed description of the Excel Macros you will find in chapter 09_Engineering_Tools. The Engineering Tool does not generate the complete Info Data, which means if you want to store additional information such as filenames for Sound, Map, Video or Manual, you have to add this manually in Excel, before you import the file into the User Archive. Import into the user archive Import the runtime data into the user archive 1. Open the User Archive and select C_INFO 2. Deselect in the User Archive Editor the menu item Edit -> Runtime Data". 3. Select in menu Runtime Data -> Import". Copyright (c) Siemens AG. All Rights Reserved. 8 - 47 OS Engineering Engineering Cemat V7.1 4. Select the file C_INFO.CSV, which was created by the Excel macro. Select the Archive C_INFO". If there are already runtime data in the archive, this data records must be deleted before the import. If you like to keep some data from the already existing records, please export the runtime data and copy them into the import file C_INFO.CSV. If you import data records with an already existing ID, you will get an error message. The import will be then aborted. 8 - 48 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 OS Engineering Multimedia Interface From the Info Dialog object specific Documents can be opened. As these documents are not always available it can be configured for each object type, which means for each object type it is possible to decide which additional Buttons should be visible in the Info Dialog. The settings are carried out in directory D:\CEMAT_CS\CONFIG in the Configuration file of the particular object type. In the Folders "Input/Output", "MCC Data" and "AS Hardware and Software" a button will open respective drawings: Assignment of the input/output cards (cabinet assignment) Folder 'Input/output' Assignment of the MCC cabinet (cabinet assignment) Folder 'MCC data' Construction of the cabinet in which the AS is installed which this object belongs to (cabinet assignment). Folder 'AS hardware' The additional Buttons at the bottom of the information dialog can be used to open a Sound file, a Video, a Operation procedure, a Function description, a Loop diagram, an Electrical schematic or a MCC Data. Sound Sound replay (USER) Video guide Video description for trouble-shooting (USER) Operation procedures Descriptions how to operate (USER) as doc, pdf, xls General function desc. Descriptions of general functions for this object (USER) as doc, pdf, xls Loop diagrams Process engineering- and Software interlock as CAD drawing Electrical schematic Electrical schematic Drawings as CAD drawing MCC data MCC cabinet drawings, settings as CAD drawing Copyright (c) Siemens AG. All Rights Reserved. 8 - 49 OS Engineering Engineering Cemat V7.1 In Folder I/O Info Text files with Input/ Output Information can be displayed. The Text files for I/O Info can be created with an Excel Macro based on the data from the HW-Configuration and the Process object view. Refer to chapter 09_Engineering_Tools. 8 - 50 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 OS Engineering Enable the Multimedia Functions In order to enable the user program neutral interfaces for multimedia applications, open in the directory D:\CEMAT_CS\CONFIG the module specific to file, e.g., C_DRV_1D_009.cfg and edit the area [Programs] as follows: In the following example the Video Function and the Service Manual shall be enabled. 1. Switch buttons visible by place the parameter xxxxxBUTTON = 1 2. Write Path and Program name of the Viewer into "XXXXX" - write xxxx_Class_Name (see define Window-Class-Name) assignment of button to cfg Line Copyright (c) Siemens AG. All Rights Reserved. 8 - 51 OS Engineering Engineering Cemat V7.1 Define Window-Class-Name To view the external program modal", it is necessary to know the Window-Class-Name. Please follow the steps: 1. Start the desired program (Word viewer) 2. Start then from D:\CEMAT_CS\BIN" the program CematClassFinder.exe" 3. Use the magnifier from ClassFinder" and move them over the Frame of the external program . - it will be shown the WindowClaasName" and the - Path (incl. programname) 4. Copy both into the corresponding lines of CFG-file. 8 - 52 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 OS Engineering Enter Filenames in the INFO Dialog The names for a Video, a Operation procedure, a Function description, a Loop diagram, an Electrical schematic or an MCC Datasheet are to entered for each object in the register 'service' without path. Storage Location of the Multimedia Files During the Cemat installation the multimedia directory is automatically created under D:\CEMAT_CS. \Multimedia \AS \ELECTRICAL_DIAGRAM \IO \LOOP_DIAGRAM \Manual \Map \MCC \OPERATING_PROCEDURES \Periphery \Sound \Video CAD Pictures of AS objects CAD pictures of electrical drawings (free name) CAD Pictures input/output of the objects Loop Diagrams CAD (free name) general function description (free name) not used anymore CAD Pictures form the MCC Description of operating procedures (free name) I/O Information from HW Config Sound files for info dialog place of deposit of the video-files The user files have to be located in the respective subfolders. Copyright (c) Siemens AG. All Rights Reserved. 8 - 53 OS Engineering Engineering Cemat V7.1 Naming conventions for the user files The images for 'AS', 'IO', 'MCC' are always derived from the Tagname. In addition the following rule has to be considered: - Special characters in the Tagname have to be substituted by "_" - File endings must be .jpg or .tif (.bmp is not allowed). The text files under 'Periphery' are always derived from the Tagname. In addition the following rule has to be considered: - Special characters in the Tagname have to be substituted by "_" - The file ending must be .txt The file names for Video, Operation procedure, Function description, Loop diagram, Electrical schematic and MCC Datasheet are freely eligible. - The corresponding file endings are .pdf, .doc, .xls, .wav, .avi, .dwg ! 8 - 54 Note: The Names are case sensitive! Don't use blank in the name. Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 OS Engineering Configuration of Print functions For the printing of trend curves, with the Cemat delivery you received the Layout C_TrendReport.RPL, which has been copied into your OS Projects already during the setup of your PCS7 Project. After this the layout is available in the WinCC Project under Report Designer AE Layouts AE Language neutral. For the configuration of the print functions you have to create a print job. Rename the print job into C_TrendReport and as Layout file select the Cemat Layout C_TrendReport.RPL. Copyright (c) Siemens AG. All Rights Reserved. 8 - 55 OS Engineering Engineering Cemat V7.1 WEB For information regarding CEMAT WEB see directory Cemat_AddOn\CEMAT_WEB on the Cemat installation DVD. 8 - 56 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Tools Engineering Tools Content Engineering Tools 1 User Archive C_INFO .............................................................................................. 2 Generation of the user archive C_INFO ..................................................... 2 Overview ..................................................................................................... 3 Export of the hardware configuration of the PLCs...................................... 4 Export of the symbols file............................................................................ 5 Export from the process object view........................................................... 6 Import into Excel ......................................................................................... 9 Edit and / or convert the User Archive C_INFO........................................ 11 Cemat CFC Engineering Tool................................................................................ 12 Function description.................................................................................. 12 Operating principle.................................................................................... 13 Short summary of the engineering sequence........................................... 15 Scope of delivery ...................................................................................... 19 Presettings ................................................................................................ 25 Structure of the signal list.......................................................................... 26 Creating Process Tag Types (Typicals) in PCS7 ..................................... 29 Definition of PCS7 Process Tag Types in the Cemat Engineering Tool .. 36 Create the symbol list ............................................................................... 46 Create the object list (block list)................................................................ 47 Create CFC chart list ................................................................................ 50 Assignment of the charts to groups, routes and hierarchy ....................... 51 Check Charts regarding the existing Process Tag Types ........................ 53 Generation of the IEA-Files ...................................................................... 54 CFC Generation with the IEA Editor (PCS7) ............................................ 55 Manually post CFC Engineering ............................................................... 62 Appendix A: Structure of the sheets SIGNALTYPES xxx......................... 68 Appendix B: Structure of the sheet IEA_Struc.......................................... 68 Appendix C: Structure of the sheet LIST_DATA ...................................... 69 Appendix D: Structure of the sheet BLOCKFUNCTIONS ........................ 73 Appendix E: Structure of the sheet HEADER ........................................... 74 Appendix F: How to integrate a user function block in a Process Tag Type75 Copyright (c) Siemens AG. Alle Rechte vorbehalten. Ausgabe : 13.04.2010 N:\Cemat\DOKU\V71_SP1\English\Engineering\09_Engineering_Tools_009.doc 9-1 Engineering Tools Engineering Cemat V7.1 User Archive C_INFO With CEMAT V7 an Excel Macro is available, which can be used to create the Info Data from the PCS7 Engineering Data (Hardware Configuration, Process Object view). The Excel Macro generates a file C_INFO.csv, which can be imported into the User Archive. The procedure how to generate the Info-Data is described in the following chapter. Generation of the user archive C_INFO This chapter describes the generation of the user archives C_INFO from the data of the PCS7 Project. For this purpose necessary excel file C_INFO_V71.xls are available in the directory D:\CEMAT_CS\ua. For the generation of the User Archive C_INFO from the process object view and the hardware configuration of the PLCs the following requirements must be met: - The hardware configuration of each PLC must be exported as CFG files. - The symbol tables of each PLC must be exported as SDF files. - The content of the process objects views General" and Picture objects" must be copied into text files. - All I/Os of the process objects view must be exported into text files. The following columns are filled during this procedure: 9-2 - ID -> will be numbered continuously. - C_TAG = TAG - GL_Complex = Complex = Manual input = identically for all objects. - GL_Plant = Project = Manual input = identically for all objects. - GL_Plant_zone = Plant zone = 1. Hierarchy folder. - G_LoopA = Process mimic = from process object view picture objects". - H_PLC_Name = PLC = from process object view "General" or hardware configuration. Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Tools Overview SIMATIC Manager Process object view General Process object view: Picture objects Process object view: Export IOs Text file Text file Text file Excel Tool with macros Hardware configuration Symbol tables Copyright (c) Siemens AG. All Rights Reserved. SIMATIC Manager EXCEL Text file C_INFO.CSV User archive Runtime data Import Text file Text file 9-3 Engineering Tools Engineering Cemat V7.1 Export of the hardware configuration of the PLCs 1. Open the hardware configuration of the 1. PLC. 2. Select menu Station -> Export". 3. Enter export file, e. g. 1202_cfc.cfg and Save". Repeat Step 1 to 3 for each PLC. 9-4 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Tools Export of the symbols file Open the symbols table and select Symbol Table AE Export... Export the symbols in System Data Format (*.SDF) Copyright (c) Siemens AG. All Rights Reserved. 9-5 Engineering Tools Engineering Cemat V7.1 Export from the process object view Process object view General" Copy the process object view General" as a text file, e.g. as GENERAL PO.txt. 1. Select process object view. 2. Select the topmost hierarchy folder (from the project with the PLCs, not the multi project folder). 3. Refresh the view (F5). 4. Select in all lines all fields, except the line numbers. 5. Copy with CTRL-C all lines into the clipboard. 6. Start the text editor (notepad) and insert all lines with CTRL-V. 7. Save the text file, e.g. as GENERAL PO.txt. If the AS devices are stored in different single projects of a multi project, then you have to select each single project and copy the "General" view of each single project into files, e. g. GENERAL PO.txt. The specific file names must be entered in the sheet "Presettings" of the Excel tool. 9-6 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Tools Process object view Picture objects" Copy the process object view picture objects" as a text file, e.g. as PO picture.txt. 1. Select process object view "Picture objects". 2. Select the topmost hierarchy folder (from the project with the PLCs, not the multi project folder). 3. Refresh the view (F5). 4. Select all lines. 5. Copy with CTRL-C all lines into the clipboard. 6. Start the text editor (notepad) and insert all lines with CTRL-V. 7. Save the text file, e.g. as PO picture.txt. If the AS devices are stored in different single projects of a multi project, then you have to select each single project and copy the process object view "Picture objects" of each single project into files, e. g. PO_picture.txt. The specific file names must be entered in the sheet "Presettings" of the Excel tool. Copyright (c) Siemens AG. All Rights Reserved. 9-7 Engineering Tools Engineering Cemat V7.1 Process objects view Export I/Os" Export the block I/Os into a text file, e.g. into LS01_PS.csv. 1. Select process object view "Parameters. 2. Select the topmost hierarchy folder (from the project with the PLCs, not the multi project folder). 3. Refresh the view (F5). 4. Select with the right mouse button the menu "Process objects -> Export All I/Os". 5. Save the export file, e.g. as LS01_PS.csv. If the AS devices are stored in different single projects of a multi project, then you have to select each single project and the process object view "Parameter" of each single project must be stored in a separate file. The specific file names must be entered in the sheet "Presettings" of the Excel tool. 9-8 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Tools Import into Excel Open the file C_INFO_V71.xls and do in the table "Presettings" the following presettings: PO general = name of the text file with the process object view General". PO export files with parameter = name of the text files with the I/O export from the object process view "Parameter". Names of the files with hardware config = export files with the hardware configuration of each PLC. Files with symbol list = export files with the symbol tables of each PLC. ID start number = start number for the data records List separator = list separator for the CSV files ;" for German MS Windows or ," for English MS Windows (refer to regional settings in control panel). Language = D or E. Complex = same for all objects. Project = same for all objects PO picture objects = name of the text file with the process object view picture objects". PO general GE_1202_PO.txt GE_1203_PO.txt GE_1204_PO.txt GE_1205_PO.txt PO export files with parameter files with hardware config files with symbol list ID start number List separator language Complex Project PO picture objects AS1202_PS.txt AS1203_PS.txt AS1204_PS.txt AS1205_PS.txt as1202.cfg as1203.cfg as1204.cfg as1205.cfg as1202.sdf as1203.sdf as1204.sdf as1205.sdf 1 ; E XXXX Line 1 PO_pict1202.txt PO_pict1203.txt PO_pict1204.txt PO_pict1205.txt Copy all export files into the same directory like the Excel file C_INFO_V71.xls. Copyright (c) Siemens AG. All Rights Reserved. 9-9 Engineering Tools Engineering Cemat V7.1 If all necessary files are present, you can start the Excel macro CINFO". Wait until "Ready" appears again in the status bar of Excel. For a complete line the macro could run very long., maybe up to one hour runtime. Check: 9 - 10 * The file C_INFO.CSV" should be created by the macro. Attention: An existing file C_INFO.CSV will be overwritten without a query. Import this file as runtime data with the user archive editor from WinCC. A detailed description of the Runtime data import you will find in chapter 08_OS_Engineering. * For every tag there should be created a text file in the subdirectory "Periphery". These text files contain the I/O information of the tag. Also these files will be overwritten without a query. Copy these files to D:\CEMAT_CS\MULTIMEDIA\Periphery\. In this case, the I/O information will be shown in the object faceplate "Info" -> I/O Info". Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Tools Edit and / or convert the User Archive C_INFO To edit the user archive you can also use the Excel tool C_INFO_V71.xls. Export the Runtime data into a CSV file. Open the file C_INFO_V71.xls and do in the table "Presettings" the following presettings: Import file V6 for edit = name of the file with the user archive data V6 for edit or convert. Export file V6 after edit = name of the file with the user archive data V6 for saving after editing. Import file V7 for edit = name of the file with the user archive data V7 for edit or convert. Export file V7 after edit = name of the file with the user archive data V7 for saving after editing. Import file V6 for edit Export file V6 after edit Import file V7 for edit Export file V7 after edit IMPORT_V6_UA.csv EXPORT_V6_UA.csv IMPORT_V7_UA.csv EXPORT_V7_UA.csv Copy all runtime data files into the same directory like the Excel file C_INFO_V71.xls. Run the macro "READ_UA_V7" -> A sheet "UA" will be created (an existing sheet "UA" will be deleted). As import file the file name from "B15" = "Import file V7 for edit" will be used. Wait until "Ready" appears again in the status bar of Excel. The user archive "C_INFO" could now be edited in the sheet "UA". Run the macro "SAVE_UA_V7" -> the sheet "UA" will be saved into the file listed in "B16" = "Export file V7 for edit". Wait until "Ready" appears again in the status bar of Excel. If the file already exists, the file will be overwritten without a query. With this tool you can also convert or edit the user archive "C_INFO" with the version 6 structure. For editing use the macros "READ_UA_V6" and "SAVE_UA_V6". For converting to the V7 structure use the macros "READ_UA_V6" and "SAVE_UA_V7". Copyright (c) Siemens AG. All Rights Reserved. 9 - 11 Engineering Tools Engineering Cemat V7.1 Cemat CFC Engineering Tool Function description Requirement The PCS7 license "SIMATIC PCS 7 Import-Export Assistant V7.1" must be installed on the Engineering Station. The user has to know, how to create "Process Tag Types", how IEA files are build up and how to import IEA files to create CFC charts. The new Cemat Engineering tool works only after installation of PCS7 V 7.1 SP1. Functions The user has to fill the sheet "SIGNALLIST" with the signals of a PLC. The user can either use the existing Process Tag Types (Typicals, prototype charts) or better, he creates with PCS7 Process Tag Types, which fit better to the requirements of his plant. - The Cemat Engineering Tool creates from the signal list (sheet "SIGNALLIST") a symbol table for Simatic program (SDF file). This SDF file can be imported into the Symbol editor. - The Cemat Engineering Tool creates from the sheet "SIGNALLIST" an object list (block list). - The Cemat Engineering Tool creates from the object list a CFC chart list. Sheet CEM_TYPICALS contains a description of predefined Process Tag Types (prototype charts). The user can add the description of own designed Process Tag Types to this sheet. The Cemat Engineering Tool first determines by chart name, which objects (blocks) shall be placed in the same chart and it tries to find the most suitable Process Tag Type (the Process tag type which has as many as possible of the required objects). Of course, not for every chart, which has to be created, a perfect Process Tag Type exists. For some charts the Engineering Tool chooses Process Tag Types which contain too many objects. In this case the objects which are not needed must be deleted manually afterwards. In some cases more than one Process Tag types is needed to cover the function, which means more than one chart will be created. The objects of these charts must later on be manually moved together into one chart. The operating principle of the Cemat Engineering Tool you find on the following page. 9 - 12 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Tools Operating principle TYPICALS Manually Engineering sheet SIGNALLIST Manually entered or presetting OBJECTS CEM_TYPICALS GROUPS Hierarchy GR_LINK IEA_TYPICALS CHARTS Hierarchy IEA_OBJECTS Manually Engineering IEA Structure ROUTES Groups Routes Hierarchy Hardware Configuration IEA files PCS7 Process Tag Types = prototype charts CFC charts Copyright (c) Siemens AG. Alle Rechte vorbehalten. Ausgabe : 13.04.2010 N:\Cemat\DOKU\V71_SP1\English\Engineering\09_Engineering_Tools_009.doc Plant Hierarchy Symbol list Hardware Configuration 9 - 13 Engineering Cemat V7.1 Engineering Tools Short summary of the engineering sequence 1. Create a PCS7 project according to the Cemat guidelines. See Cemat Engineering manual 03_PCS7_Project_009.pdf. 2. Select the Cemat Project standard, e. g. "000 Cemat". 3. Copy the delivered Process Tag Types into the Master Data Library of your PCS7 multi project. Take care, that you use the correct Cemat project standard! The block types in your project, the Master Library and the delivered libraries must be identical. If necessary update in all S7 programs the block types with the latest version. You can only copy the Process Tag Types and generate charts, if you use the identical block types in all block and chart containers! 4. If necessary, create your own Process Tag Types (prototype charts). 5. Create your signal list. See the structure of the signal list on page 26. One line for each hardware signal. 6. Macro: Create Symbol list (SDF file), (Button "Create symbol list"). 7. Macro: Create object list (block list), (Button "Create Cemat object list"). An Excel macro creates from the signal list an object list. Each block call (motor, measured value, annunciation, etc.) in the CFC corresponds to one line in the Excel sheet OBJECTS. 8. Macro: Create CFC chart list (Button "Create Cemat chart list"). In the object list it is defined, which objects have to be placed together on one chart. The macro checks which process tag types are available and it tries to find the most suitable process tag type for the required chart. If the macro doesn't find an ideal Process Tag Types, the function is spit into several process tag types; i. e. more than one chart will be created. The content of the additional charts must later be copied manually into the main chart. * Example: A chart E51_BC1 should be created. The tool creates e. g. the charts E51_BC1, E51_BC1_2, E51_BC1_3 and E51_BC1_4. The block calls from the charts E51_BC1_2, E51_BC1_3 and E51_BC1_4 have to be moved manually into the chart E51_BC1. Afterwards the empty charts E51_BC1_2, E51_BC1_3 and E51_BC1_4 can be deleted. It may also happen that the macro chooses a Process Tag Type, which contains more objects than needed for the function. The unnecessary block calls have to be deleted later on manually. * Example: A belt conveyor needs two C_ANNUNC blocks as rope switches. The most suitable a Process Tag Type has four C_ANNUNC blocks for rope switch annunciations. The two unnecessary C_ANNUNC block call have to be deleted manually afterwards. The CFC chart list is the sheet CHARTS. Each CFC chart corresponds to one line in the Excel sheet CHARTS. 9. In the sheet OBJECTS, only the block types are listed which are connected to hardware signals. The lists of groups, routes and selections have to be created manually. In the sheet GROUPS you have to list all group modules, in the sheet ROUTES you have to list all route modules and in the sheet SELECT you have to list all selection modules. Copyright (c) Siemens AG. Alle Rechte vorbehalten. Edition: 04/10 N:\Cemat\DOKU\V71_SP1\English\Engineering\09_Engineering_Tools_009.doc 9 - 15 Engineering Tools Engineering Cemat V7.1 10. Each chart has to be assigned at least to one group and / or one route. These assignments have to be done in the sheet GR_LINK. With a macro the chart list from CHARTS can be taken over into the sheet GR_LINK. For charts, which are split first into several charts, e. g. E51_BC1, E51_BC1_2, E51_BC1_3 and E51_BC1_4, only the main chart has to be entered in GR_LINK, e. g. E51_BC1. In the columns "Group 1", "Route 1", "Group 2" and "Route 2" you have to enter manually the assigned groups and routes. In the column "Hierarchy" you have to enter the assigned hierarchy folder. 11. Macro: "Check chart list" (Button "Check chart list"). This macro checks, if each chart from CHARTS is listed in GR_LINK and if the charts are assigned at least to one group. The macro colorizes the sheet CHARTS in order to show the user whether the existing process tag types cover all the functions, or if it is better to design some more suitable process tag types. Each chart gets alternating another color. Charts, which are split into several charts, e. g. E51_BC1, E51_BC1_2, E51_BC1_3 and E51_BC1_4, get the same color. Objects, which have to be deleted afterwards, like e. g. not needed rope switches, will be yellow. See chapter " 9 - 16 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Tools Check Charts regarding the existing Process Tag Types". Create new Process Tag Types if needed. According to the new Process Tag Types extend the sheets CEM_TYPICALS, IEA_TYPICALS and IEA_OBJECTS. The new entries in the sheets CEM_TYPICALS, IEA_TYPICALS and IEA_OBJECTS can be checked with the macro "Check typicals and IEA structure". Are your new typicals OK, create the sheet CHARTS again new -> see point 8. 12. Macro: "Create IEA files" (Button "Create IEA files"). First of all, the macro creates for all entries in sheet IEA_TYPICALS an IEA file, which only consists of 4 header lines. After this, for all entries in the sheets CHARTS, GROUPS, ROUTES and SELECT one line is attached in the corresponding IEA file. E. g. the Process Tag Type MOT_2PI_2PIA is chosen for the chart E51_BC1. After the macro has created file MOT_2PI_2PIA00.IEA with the 4 header lines, one more line with the data for chart E51_BC1 will be attached to MOT_2PI_2PIA00.IEA. 13. Please check: Are the newest Cemat function blocks in the AS project and in the Master Data Library? Are the function blocks identical in the AS project and in the Master Data Library? Are the block types updated in the chart folders (Options -> Block Types...)? You can only generated charts in the next step, if you have in all block and chart containers the identical block types! 14. Create CFC charts (Import of the IEA files with PCS7) Copy the IEA files, which you create in point 12, into the "Global" directory of the Master Data Library. Each Process Tag Type has to be assigned with his corresponding IEA file (See IEA PCS7 manual). If all Process Tag Type are assigned with an IEA file, the import of the Process Tag Types can be started. During the import, the CFC charts will be created. 15. Completing the CFCs: For not used Process Tag Types the Cemat Engineering tool creates a dummy chart. Theses dummy charts are created in the hierarchy folder "Delete". Delete this hierarchy folder "Delete" including the dummy charts. Not all objects of generated charts are needed. For some charts, Process Tag Types are used which contain unnecessary block calls. These blocks have been renamed to "DELETE_XX", e. g. to "DELETE_D1", "DELETE_M1" or "DELETE_L1", etc. All these objects / blocks, whose name starts with the name "DELETE_ " have to be deleted. Use the Process Object View to find all objects which name start with "DELETE". Unfortunately they can not be deleted from the process object view! Proceed as follows: Open the Process Object View -> Select Tab "Blocks" and sort by block name. Select all blocks, which names start with "DELETE_" and choose with the right mouse button the menu "Open chart". Delete now manually in the opened charts all objects, which names start with "DELETE_". Copyright (c) Siemens AG. All Rights Reserved. 9 - 17 Engineering Tools Engineering Cemat V7.1 Some blocks could not be renamed, because a block with the same name already exists in the typical. The existing block will later be renamed or deleted. The blocks, which could not be renamed to its final designation, get a temporary name "RENAME_XX". E. g. an annunciation block with the name L1 should be created, but in the used typical chart exists already a measured value block with the name "L1". The chart will be created with the following block name: The annunciation block will get the name "RENAME_L1" and the not needed measured value block will get the name "DELETE_L1". So after deleting the not used block "DELETE_L1" the Annunciation block "RENAME_L1" can be manually renamed into "L1". Use the Process Object View to find all objects which name start with "RENAME_". For some charts for which no suitable Process Tag Type was detected. In this case, for some charts additional process tag types are created, i. e. instead of one chart several charts will be generated. The content of these additional charts have to be copied manually later on into the main chart. E. g. for the chart E51_BC1 the charts E51_BC1 and three additional charts E51_BC1_2, E51_BC1_3 and E51_BC1_4 are created. All objects from the extra charts E51_BC1_2, E51_BC1_3 and E51_BC1_4 have to be moved manually to the chart E51_BC1. Afterwards delete the empty extra charts (e. g. chart E51_BC1_2, E51_BC1_3 and E51_BC1_4). 16. During the IEA import, some textual interconnections are generated. With the menu "Options -> Close textual interconnections" all still existing textual interconnections will be closed. 17. After the closing of textual interconnection no more textual interconnections should remain. Please check this with the menu "Options -> Delete textual interconnections". The window with the textual interconnections should be empty. If not, this indicates a problem. Please search for the reason! 18. Runtime editor. The objects from the additional charts, e. g. E51_BC1_2, E51_BC1_3 and E51_BC1_4, are located in the runtime groups E51_BC1_2, E51_BC1_3 and E51_BC1_4. Unfortunately the objects remain in these runtime groups, even if they are moved into the main destination chart. Please move the objects manually into the runtime group of the main chart (e. g. E51_BC1). Delete afterwards the empty runtime groups of the additional charts. 19. Now the bulk engineering is over and the "real engineering" work in the CFC starts. You can add now the start interlocks, operating interlocks, etc. 9 - 18 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Tools Scope of delivery The Cemat Engineering Tool is an Excel file, delivered together with 9 libraries (Process Tag Types) and 9 PSC7 example projects. The libraries and the master data libraries of the example projects contain the same Process Tag Types which are defined in the Excel tool (sheet CEM_TYPICALS). The Excel tool and the libraries are not on the Cemat DVD. The Tool and the libraries will only be delivered on demand. Please copy the Process Tag Types from the delivered library (choose the correct project standard) into the Master Data Library of your multi project. Assignment project standard - libraries and example projects Project standard ! Projectstandardcode ZIP file with library ZIP file with example project Cemat 000 CEM_ENG_LIB.ZIP CEM_ENG_MP.ZIP Holcim 004 HOL_ENG_LIB.ZIP HOL_ENG_MP.ZIP Dyckerhoff 006 DYC_ENG_LIB.ZIP DYC_ENG_MP.ZIP HZ 007 HZ_ENG_LIB.ZIP HZ_ENG_MP.ZIP Vigier 023 VIG_ENG_LIB.ZIP VIG_ENG_MP.ZIP Busher 024 BUS_ENG_LIB.ZIP BUS_ENG_MP.ZIP Caima 025 CAI_ENG_LIB.ZIP CAI_ENG_MP.ZIP Alsen 026 ALS_ENG_LIB.ZIP ALS_ENG_MP.ZIP Lafarge 027 LAF_ENG_LIB.ZIP LAF_ENG_MP.ZIP Attention: Create your PCS7 project according the Cemat rules and don't use in any case one of the example project as your project. Copy only the Process Tag Types from the delivered library (choose the correct project standard) into the Master Data Library of your multi project. The example projects are incomplete. E. g. there is no system chart SYSPLC00 and therefore the PLC program is not working. Furthermore the example projects or the Process Tag Type libraries could be obsolescent regarding the blocks. It is not guaranteed that the blocks and the symbol list are up-to-date. The projects are only examples and show the working principle of the Excel tool and the Process Tag Types. Copyright (c) Siemens AG. All Rights Reserved. 9 - 19 Engineering Tools Engineering Cemat V7.1 Cemat Engineering Tool Description of the Excel Worksheets used in the Cemat Engineering Tool: 9 - 20 PRESETTINGS Presettings (Cemat Project Standard, file names, PCS7 Project names). SIGNALLIST Signal list. The Signal list has to be filled by the user and must contain the hardware signals of all Cemat objects. OBJECTS Cemat Object list. Will be created by the Engineering Tool from the signal list. CHARTS CFC chart list. Will be created by the Engineering Tool from the object list. GROUPS Group list. The group list has to be filled by the user and must contain all groups to be generated. ROUTES Route list. The route list has to be filled by the user and must contain all routes to be generated. SELECT Selection list. The selection list has to be filled by the user and must contain all all selection modules to be generated. GR_LINK Group / route assignment for all charts from the chart list CHARTS. The group / route assignment list has to be filled by the user. IEA_Struc IEA header structure for used keyword in the sheets IEA_OBJECTS xxx. LIST_DATA Lists of allowed signal functions, blocks, keywords, etc. BLOCKFUNCTIONS Lists of allowed block functions HEADER Header lines for the sheets "OBJECTS", "CHARTS", "GROUPS", "ROUTES", "SELECT", "GR_LINK". IEA keyword Allowed keywords for user function blocks (non Cemat). IEA_Block_Names Block names of user function blocks (non Cemat). SIGNALTYPES 000 SIGNALTYPES 004 SIGNALTYPES 006 SIGNALTYPES 007 SIGNALTYPES 023 SIGNALTYPES 024 SIGNALTYPES 025 SIGNALTYPES 026 SIGNALTYPES 027 Allowed signal types and the relevant signal function for each block. For each Cemat project standard a corresponding signal type list exists. CEM_TYPICALS CEM_TYPICALS_004 CEM_TYPICALS_026 CEM_TYPICALS_027 List of the existing Process Tag Types (prototype charts). The most suitable process tag type for a function is evaluated based on this sheet. For each Process Tag Type, the assigned objects (block calls) are listed together with the block name and the block function. The project standards "Holcim 004", "Alsen 026" and "Lafarge 027" use their own Process Tag Type list. The content of the sheet CEM_TYPICALS must fit to the Process Tag Types of the Master Data Library (compare definition of CEM_TYPICALS and example project of delivery state). Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Tools IEA_TYPICALS IEA_TYPICALS_004 IEA_TYPICALS_026 IEA_TYPICALS_027 Structure of the IEA file of the respective Process Tag Types. In the sheet IEA_TYPICALS, only the sequence of the blocks in the IEA file is defined. The always repeating IEA detail structures for blocks have to be defined in the sheet IEA_OBJECTS. The project standards "Holcim 004", "Alsen 026" and "Lafarge 027" use their own IEA structure list. The content of the sheet IEA_TYPICALS must fit to the Process Tag Types of the Master Data Library (compare definition of IEA_TYPICALS and example project of delivery state). IEA_OBJECTS 000 IEA_OBJECTS 004 IEA_OBJECTS 006 IEA_OBJECTS 007 IEA_OBJECTS 023 IEA_OBJECTS 024 IEA_OBJECTS 025 IEA_OBJECTS 026 IEA_OBJECTS 027 IEA detail structures for blocks. In Process Tag Types blocks are often used several times. For these blocks always the same parameters are chosen as variable places. In this case the IEA file contains the repeated columns, e. g. for each C_ANNUNC block. Therefore the block structure is defined in a separate file and the IEA_TYPICALS contain only a reference to this. For each Cemat project standard exists an own IEA_OBJECTS sheet. The content of the sheet IEA_OBJECTS must fit to the Process Tag Types of the Master Data Library (compare definition of IEA_OBJECTS and example project of delivery state). LOG If an error occurs during generating of the sheets OBJECTS or CHARTS, the macro will list these errors in the sheet LOGS. Copyright (c) Siemens AG. All Rights Reserved. 9 - 21 Engineering Tools Engineering Cemat V7.1 Predefined Process Tag Types (Prototype charts, Typicals) Die following Process Tag Types are necessary for the system and it is not allowed to delete them: AND8 AND gate with 8 inputs. All digital inputs, which can not be connected to a Cemat standard block, will be connected to the block AND8. If there is only 1 digital input, the system will use the Process tag Type BIT1. BIT1 AND gate with 1 input. All digital inputs, which can not be connected to a Cemat standard block, will be connected to the block BIT1. If there is more than 1 digital input, the system will use the Process tag Type AND8. OUT AND gate with 1 variable output. All digital outputs, which can not be connected to a Cemat standard block, will be connected to the block OUT. Die following Process Tag Types are examples and can be copied, changed or extended. According to requirements of the plant, the Process Tag Types have to be changed before creating the IEA files and the CFC charts. All project standards except Lafarge: DRV_1D Unidirectional drive without additional signals 9 - 22 DRV_1D_SC Unidirectional drive with Simocode, but without additional signals DRV_2D Bi-directional drive without additional signals. DRV_2D_SC Bi-directional drive with Simocode, but without additional signals MOT_CURR Drive with a flow measurement. MOT_2PI_2PIA MOT_2PI_3PIA (Holcim) Drive with 2 protection interlock annunciations and with 2 automatic mode protection interlock annunciations. MOT_4PI_4PIA MOT_4PI_5PIA (Holcim) Drive with 4 protection interlock annunciations and with 4 automatic mode protection interlock annunciations. MOT_SC_4PI_4PIA MOT_SC_4PI_5PIA (Holcim) Simocode drive with 4 protection interlock annunciations and with 4 automatic mode protection interlock annunciations. MOT_2PI_2PIA_CURR MOT_2PI_3PIA_CURR (Holcim) Drive with 2 protection interlock annunciations and with 2 automatic mode protection interlock annunciations and with motor current measurement. MOT_4PI_4PIA_CURR MOT_4PI_4PIA_CURR (Holcim) Drive with 4 protection interlock annunciations and with 4 automatic mode protection interlock annunciations and with motor current measurement. MOT_8PI_8PIA_CURR MOT_8PI_9PIA_CURR (Holcim) Drive with 8 protection interlock annunciations and with 8 automatic mode protection interlock annunciations and with motor current measurement MOT_MAIN Main drive and auxiliary drive with 4 protection interlock annunciations and with 4 automatic mode protection interlock annunciations and with motor current measurement and 1 common annunciation. Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Tools MOTR_CURR Bi-directional drive with motor current measurement. MOTR_2PI_2PIA MOTR_2PI_3PIA (Holcim) Bi-directional drive with 2 protection interlock annunciations and with 2 automatic mode protection interlock annunciations. MOTR_4PI_4PIA MOTR_4PI_5PIA (Holcim) Bi-directional drive with 4 protection interlock annunciations and with 4 automatic mode protection interlock annunciations. MOTR_SC_4PI_4PIA MOTR_SC_4PI_5PIA (Holcim) Simocode Bi-directional drive with 4 protection interlock annunciations and with 4 automatic mode protection interlock annunciations. MOTR_2PI_2PIA_CURR MOTR_2PI_3PIA_CURR (Holcim) Bi-directional drive with 2 protection interlock annunciations and with 2 automatic mode protection interlock annunciations and with motor current measurement. MOTR_4PI_4PIA_CURR MOTR_4PI_5PIA_CURR (Holcim) Bi-directional drive with 4 protection interlock annunciations and with 4 automatic mode protection interlock annunciations and with motor current measurement. MOT_SPEED Drive with speed measurement and set point. MOT_SINA_GS Drive with SINA_GS (Variable speed drive). ANNUNC Annunciation block. ANNUNC2 2 Annunciation blocks. ANNUNC6 6 Annunciation blocks. DAMPER Damper without additional signals. DAMPER_SC Simocode Damper without additional signals. DAMPER_P Damper with positioning function. VALVE Valve without additional signals. VALVE_SC Simocode Valve without additional signals. VALVE_2D (only Alsen) Bi-directional Valve without additional signals. VALVE_2D_SC (only Alsen) Simocode Bi-directional Simocode Valve without additional signals. MEASUR Measurement MEASUR2 2 Measurements MEASUR6 6 Measurements ANNUNC2_MEASUR2 2 Annunciation blocks and 2 Measurements. GROUP Group module ROUTE Route module SELECT Selection module AO Channel output module with CH_AO PROFB (only Holcim) Process feedback block SILOPILOT (not for Holcim) Silo pilot ANNUN8 ANNUN8 with 7 annunciations USER_BLOCK Example for a user defined block Copyright (c) Siemens AG. All Rights Reserved. 9 - 23 Engineering Tools Engineering Cemat V7.1 Lafarge: BPB 9 - 24 Simple drive block M2B Drive without additional signals (Unidirectional or Bidirectional M2B_CURR Drive with motor current measurement. M2B_2HS_2PE2 Drive with 2 emergency shut down interlock annunciations and with 2 automatic mode protection interlock annunciations. M2B_2HS_2PE1_2PE2 Drive with 2 emergency shut down interlock annunciations and with 2 protection interlock annunciations and with 2 automatic mode protection interlocks annunciations. M2B_2HS_2PE2_CURR Drive with 2 emergency shut down interlock annunciations and with 2 automatic mode protection interlock annunciations and with motor current measurement. M2B_2HS_2PE1_2PE2_CURR Drive with 2 emergency shut down interlock annunciations and with 2 protection interlock annunciations and with 2 automatic mode protection interlock annunciations and with motor current measurement. M2B_4HS_4PE1_4PE2_CURR Drive with 4 emergency shut down interlock annunciations and with 4 protection interlock annunciations and with 4 automatic mode protection interlock annunciations and with motor current measurement. DIB Annunciation block (Digital input block) DIB2 2 Annunciation blocks (Digital input blocks). DIB6 6 Annunciation blocks (Digital input blocks). DABMAB Damper without additional signals. AAB Analog positioning function. DAB Valve without additional signals. AIB Measurement (Analog input block) AIB2 2 Measurements (Analog input blocks) AIB6 6 Measurements (Analog input blocks) DIB2_AIB2 2 Annunciation blocks (Digital input blocks) and 2 Measurements (Analog input blocks). SSB Group module SELECT Selection module AO Channel output module with CH_AO SPEEDM Speed monitor block SILOPILOT Silo pilot USER_BLOCK Example for a user defined block Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Tools Presettings In the sheet PRESETTINGS you have to do all predefinitions (file names, project names, etc.). There you also find the buttons for starting the macros. File for symbol list Start button to create the symbol list Language selection PCS7 project name S7 program name Cemat project standard Start button to create the object list Start button to create the chart list Start button to create the IEA files Caution: The Cemat Engineering Tool and the export files must be located in the same directory. Recommendation: The sheets "SIGNALTYPES xxx", "CEM_TYPICALS xxx", "IEA_TYPICALS xxx" and "IEA_OBJECTS xxx" exists for each Cemat project standard. Delete the unnecessary sheets, before you start with the engineering for a concrete plant. This reduces the number of sheets and gives you a much better overview. If you work e. g. with the Cemat standard 000, then it is enough if you keep only the sheets "SIGNALTYPES 000", "CEM_TYPICALS", "IEA_TYPICALS" and "IEA_OBJECTS 000". Copyright (c) Siemens AG. All Rights Reserved. 9 - 25 Engineering Tools Engineering Cemat V7.1 Structure of the signal list Field Comment Allowed values Signal name Signal description Text IOType IO Type DI, DO, AI, AO ConvType Signal conversion type NO (DI, normally open) NC (DI normally closed) Puls (DI pulse) 0-20mA, 4-20mA, 0-10V, PT100 (AI / AO analogue signal) DB (DI, DO, AI, AO virtual signal from a sub system) SignalType Signal type 2w (two wiring) or 4w (four wiring) SignalLocation Signal location Field, MCC IOAddress Absolute address E. g. I 4.0 SignalText Signal text Text ChartName CFC chart name Text, follow the PCS7 rules ObjectName Block name Text, follow the PCS7 rules BlockComment Block comment Text, follow the PCS7 rules EventText Event text Text, follow the PCS7 rules SignalFunction Signal function e. g. feedback, allowed function see in the following pages ObjectType PCS7 block type e. g. C_DRV_1D RangeMin Measuring range minimum Real value RangeMax Measuring range maximum Real value, has to be bigger than RangeMin Unit Measuring unit Text AlarmType Alarm type Alarm or Warning WA = warning, all other values are an alarm In the field "IOType", "ConvType", "SignalType", "SignalLocation", "SignalFunction" and "ObjectType" only specific entries are permitted. With the button "Create list fields in signal list" the cells in the Excel sheet will be changed into Excel list fields. With the list fields you can enter only permitted values. Example list field for the block type: the list fields will With the button "Delete list fields in signal list" be changed back to normal Excel cells, i. e. now all values could be entered. 9 - 26 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Tools Signal functions Function name feedback feedback1 feedback2 limitpos1 limitpos2 available overload local locstart locstart1 locstart2 locstop torque1 torque2 speedmon ON ON1 ON2 alarm operation protection shutdown autoprotection fault1 fault2 fault3 fault4 fault5 fault6 fault7 analogvalue actposition AO BIT OUT beltbreak limitpos puls Simocode_I Function description Feedback ON relay, e. g. ERM, RME, R, B1 Feedback ON direction 1 relay, e. g. ERM1, RME1, RX, B1 Feedback ON direction 2 relay, e. g. ERM2, RME2, RY, B2 Limit position 1, e. g. KWE1, ESL, VE1, Y, BP1 Limit position 2, e. g. KWE2, ESR, VE2, X, BP2 Electrical ready, available, e. g. ESB, K, AV Bimetal, mechanical fault, e. g. EBM, MSB, T, SMUE Local switch, e. g. EVO, U Local start, e. g. ESR, TSE, G, L1 Local start direction 1, e. g. ESR1, TSE1, GY, L1 Local start direction 2, e. g. ESR2, TSE2, GX, L2 Local Stop, e. g. ESP, S, LS Torque switch direction 1, e. g. KDR1, TY, PE1 Torque switch direction 2, e. g. KDR2, TX, PE2 Speed monitor, e. g. EDRW, SW_SPEED, IN_SIG, PULS_SSM, BP, PULS Command ON, e. g. EBE, SEE, D, C1 Command ON direction 1, e. g. EBE1, SEE1, DY, C1 Command ON direction 2, e. g. EBE2, SEE2, DX, C2 Alarm signal MST0 for C_ANNUNC or DIG for C_DIB Alarm signal MST0 for C_ANNUNC or DIG for C_DIB (Operation interlock drive = EBVG and interlock block) Alarm signal MST0 for C_ANNUNC or DIG for C_DIB (Protection interlock drive = ESVG, PINT1, PE1 and interlock block) Alarm signal DIG for C_DIB ("Emergency shut down" drive HS and interlock block) (only Lafarge) Alarm signal MST0 for C_ANNUNC or DIG for C_DIB (Protection interlock drive in automatic mode = ESVA, PINT2, PE2 and interlock block) Fault 1 for C_ANNUN8 = FLS1 Fault 2 for C_ANNUN8 = FLS2 Fault 3 for C_ANNUN8 = FLS3 Fault 4 for C_ANNUN8 = FLS4 Fault 5 for C_ANNUN8 = FLS5 Fault 6 for C_ANNUN8 = FLS6 Fault 7 for C_ANNUN8 = FLS7 Analogue input MV_CARD for C_MEASUR, AI for C_AIB, VALUE for CH_AI or VALUE for SINA_GS, etc. Position value AMV for C_AAB (only Lafarge) Analogue output VALUE for CH_AO Common digital input signal, will be connected to an AND gate Common digital output signal, will be connected to the output of an AND gate Belt break silo pilot Upper limit position silo pilot Input pulses silo pilot Simocode start address input area Copyright (c) Siemens AG. All Rights Reserved. 9 - 27 Engineering Tools Simocode_Q 9 - 28 Engineering Cemat V7.1 Simocode start address output area Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Tools Creating Process Tag Types (Typicals) in PCS7 If you want to use the delivered Process Tag Types and don't create your own Process Tag Types, you can jump directly to the chapter "Create the symbol list". Typical types in PCS7 In PCS7 you can define two types of typicals: 1. Models: A PCS7 Model could consist of several charts and several hierarchy folders. 2. Process Tag Types: A Process Tag Types consist of only one chart. The Cemat Engineering Tool uses only Process Tag Types! Copyright (c) Siemens AG. All Rights Reserved. 9 - 29 Engineering Tools Engineering Cemat V7.1 Create a Process Tag Types in PCS7 Process Tag Types can only be created in a PCS7 multiproject with a Master Data Library (see PCS7 manual). In a PCS7 project or in a normal PCS7 library you can't create Process Tag Types. The Master Data Library contains the Process Tag Types for the multiproject. The Process Tag Types are templates. Based on these templates CFC charts will be generated. Example: Drive with 2 protection interlock annunciations and with 2 automatic mode protection interlock annunciations = CFC chart MOT_2PI_2PIA. The example Process Tag Type MOT_2PI_2PIA consists of the following objects: M1 = main drive = Cemat bock C_DRV_1D M1_ProtG = interlock block for protection = PCS7 block Intlk02 M1_ProtA = interlock block for automatic mode protection = PCS7 block Intlk02 D1 = drift switch = Cemat block C_ANNUNC D2 = drift switch = Cemat block C_ANNUNC R1 = rope switch = Cemat block C_ANNUNC R2 = rope switch = Cemat block C_ANNUNC Based on this Process Tag Type MOT_2PI_2PIA, multiple copies of this chart be generated, e. g. E51_BC1, E51_BC2, etc. The block names M1, D1, R1, etc. are variable and can be changed during the chart generation. E. g. instead of a "D2", a "D3" has to be generated. In this case, the block "D2" will be renamed during chart generating into "D3". 9 - 30 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Tools Editing a Process Tag Types In your Master Data Library, you first of all need a hierarchy folder, where the Process Tag Types of your project are stored. You should use a folder name like "Process Tag Types". In this folder you first create a normal CFC chart. This chart must contain all blocks for the new process tag type, including all static interconnections, as for example the links from the C_ANNUNC blocks to the interlock blocks, from the interlock blocks to the drives, from the motor current measurements to the drives, etc. Only the variable connections will not be created. Variable interconnections will be created during the CFC chart generation. (E. g. the links between drive blocks to the group). In the next step you have to select all spots (parameters), which are variable and should be changed for every instance of the chart. Example: * Block parameter, which will be connected to symbols from the symbol list. * Block parameter, which will be connected to another block (select only the input parameter!) * Block parameter, which values will be adapted, e. g. range min and range max of a measured value, etc. To create a Process Tag Type, you have to select the CFC chart in the Master Data Library (Plant View) and with the right mouse button you call the menu: Process Tags -> Create/Change Process Tag Type... Copyright (c) Siemens AG. All Rights Reserved. 9 - 31 Engineering Tools Engineering Cemat V7.1 Confirm the following window with "Next". In the next window you see on the left side a list with all blocks and all parameters of the blocks of the chart. In this list you have to select these parameters, which are variable and which interconnection or value shall be adapted to the IEA file. Select the parameter with a double click or select the parameter and click on the arrow button . Example: In the following screen shot, you see the Process Tag Type ANNUNC. For C_ANNUNC are the following parameters are selected: MST0 - on this parameter, the symbol from the symbol list should be connected. OKS - this parameter gets a 0 or a1, depending on "normally closed" or "normally open". M_SIM - this parameter gets a 0 or a1, depending on "normally closed" or "normally open". IN_DEL - this parameter gets the default value 0, but to the "Event text" will be written to the property "Identifier". GR_LINK1 - this parameter gets the textual interconnection to the first group / route. GR_LINK2 - this parameter gets the textual interconnection to the second group / route. If you like to change also the alarm texts during generating of the charts, you have to select also the parameter "message". In this way all variable places of the 8 messages of the ALARM8 block can be modified via IEA file. In Cemat this will be used to enter the "event text" and the "TAG comment" 9 - 32 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Tools Create a template IEA file for a Process Tag Type After all variable parameters have been selected the IEA file has to be created. The structure of an IEA file is similar to a CSV file. As list separator the list separator from the regional settings (Control Panel) is used, else the semicolon ";" or the comma",". The corresponding list separator could be set in the sheet PRESETTINGS. The data field between the list separators is always limited by the text limiter """. An IEA file has always 4 header lines. The first header line is a comment line. In the next 3 header lines, there is a description of the variable places of a Process Tag Type (see chapter before "Create a Process Tag Types in PCS7"). The Engineering Tool will later add one line for each chart, which has to be generated. The corresponding columns contain the variable data (symbol names, values, message texts, textual interconnections, etc.). In the Cemat Engineering Tool you have to define, which Process Tag Types exists and how the IEA file structure for the Process Tag Types is built. You can create a template IEA file with the Import/Export Assistant of PCS7. Based on this template you can parameterize the Cemat Engineering Tool. Create a template IEA file: Select the CFC chart in the Master Data Library (Plant View) and with the right mouse button call the menu: Process Tags AE Assign/Create Import File... Confirm the following window with "Next". In the next window you select the button "Create File Template..." . In the next box you have to enter the file name and the file location. We recommend accepting the default settings: File name = "Name of the Process Tag Types & 00.IEA". Location = directory of the Master Data Library, Subdirectory "Global". Copyright (c) Siemens AG. All Rights Reserved. 9 - 33 Engineering Tools Engineering Cemat V7.1 After the confirmation of the file name with "OK" a new window opens. Please carry out the following settings, in order to get a template file with the same file structure, which is created by the Cemat Engineering Tool: Select in tab General: * * * * Assigned CPU Chart comment Block name Block comment Select in tab Parameters: * * * * * 9 - 34 Value Identifier Unit Text 0 Text 1 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Tools Select in tab Signals: * Symbol name Select in tab Messages: * * Event Free text 1 Confirm all tabs with "OK". In the specified directory you will find the new template IEA file. The IEA file can be displayed and edited with the PCS7 IEA File Editor. ! Attention: According to this generated template IEA file you have to design the entries for this Process Tag Type. The parameterization is done in sheets CEM_TYPICALS, IEA_TYPICALS and IEA_OBJECTS of the Cemat Engineering Tool. See also example of the delivered Process Tag Types. Copyright (c) Siemens AG. All Rights Reserved. 9 - 35 Engineering Tools Engineering Cemat V7.1 Definition of PCS7 Process Tag Types in the Cemat Engineering Tool After creating new Process Tag Types in PCS7, you have to define them also in the Cemat Engineering Tool (to be considered in the chart recognition and the generation of the IEA files). For the definition you have to modify 3 sheets: 1. CEM_TYPICALS In this sheet, all existing objects in the Process Tag Type are listed. For each block, you have to define the block name, the block type and the function. 2. IEA_TYPICALS and IEA_OBJECTS In these two sheets, the structure of the corresponding IEA files is defined. If the Process Tag Type has more than one block of the same type (several C_ANNUNC blocks), the IEA structure definition of each block type is repeating. In order to avoid repetitions, the IEA_TYPICALS describes only the block sequence within the IEA file and it has a reference to a detailed description in IEA_OBJECTS. In IEA_OBJECTS the detailed IEA file structure for an individual block is described Details see in the next chapters. Sheet CEM_TYPICALS For the project standards "Holcim 004", "Alsen 026" and "Lafarge 027" please use the sheets CEM_TYPICALS_004, CEM_TYPICALS_026 or CEM_TYPICALS_027. In this sheet all existing objects in the Process Tag Type are listed. For each block, you have to define the block name, the block type and the function. found No. Of func found del. No. Of block block Obj. Obj. Name Obj1 Obj2 MOT_2PI_2PIA M1 D1 MOT_2PI_2PIA C_DRV_1D C_ANNUNC MOT_2PI_2PIA main Obj3 Obj4 Obj5 D2 R1 R2 C_ANNUNC C_ANNUNC C_ANNUNC autoprotection autoprotection protection protection MOT_2PI_2PIA In upper sheet there is the example for the Process Tag Type MOT_2PI_2PIA. For each Process Tag Type, 4 lines are reserved in the sheet CEM_TYPICALS. The columns "A" to "D" are empty and will be used later on from the Excel macros. In the column "E" you have to enter the name of the Process Tag Type in all 4 lines (e. g. "MOT_2PI_2PIA"). In the next columns you have to enter the objects of the Process Tag Type. In the first line you enter the name of the object, e. g. "M1". In the second line you have to enter the block type, e. g. "C_DRV_1D". In the third line you have to enter the object function, e. g. "main" = main drive. The example Process Tag Type "MOT_2PI_2PIA" (defined in the upper sheet) consists of the following objects: Object name 9 - 36 Block type Function Description MM1 1D1 C_DRV_1D Main Main drive C_ANNUNC autoprotection Drift switch =D2 C_ANNUNC autoprotection Drift switch R1 C_ANNUNC protection Rope switch R2 C_ANNUNC protection Rope switch Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Tools Permitted entries in CEM_TYPICALS Follow the PCS7 rules and the Cemat rules for block names. All permitted types are listed in sheet LIST_DAT, column "M" (Lafarge column "N"). The user can add new block types in the corresponding columns. AND Common digital input to an AND gate C_ANNUN8 C_ANNUN8 C_ANNUNC C_ANNUNC C_DAMPER C_DAMPER C_DRV_1D C_DRV_1D C_DRV_2D C_DRV_2D C_MEASUR C_MEASUR C_VALVE C_VALVE CH_AO PCS7 driver block CH_AO OUT Common digital output, which will be connected to the output of an AND gate C_GROUP C_GROUP C_ROUTE C_ROUTE C_SELECT C_SELECT C_SILOP C_SILOP SINA_GS Block SINA_GS from the library SINAMICS for speed controlled drives C_VAL_2D C_VAL_2D C_PROFB C_PROFB IEA_USER IEA_USER = example for an user function block Copyright (c) Siemens AG. All Rights Reserved. 9 - 37 Engineering Tools Engineering Cemat V7.1 Permitted functions are listed in sheet LIST_DATA, column "F". main Main drive main_SC Main drive with Simocode aux Auxiliary drive aux_SC Auxiliary drive with Simocode alarm Common alarm operation autoprotectio n Operation message protection Protection interlock alarm shutdown "Emergency shut down" interlock alarm (only Lafarge) analogvalue Analogue input drive_curr Power or Current measurement for drive drive_speed Speed measurement for drive speedmon Speed monitor (only Holcim and Lafarge) silo Silopilot annun8 7 common messages AO Analogue output VALUE for CH_AO BIT Common digital input signal, will be connected to an AND gate OUT Common digital output signal, will be connected to the output of an AND gate Protection interlock alarm in automatic mode For each new Process Tag Type you have to add 4 lines in the sheet CEM_TYPICALS. Please refer to the entries for already existing Process Tag Types and use them as examples. 9 - 38 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Tools Sheet IEA_TYPICALS For the project standards "Holcim 004", "Alsen 026" and "Lafarge 027", please use the sheets IEA_TYPICALS_004, IEA_TYPICALS_026 or IEA_TYPICALS_027. Sheets IEA_TYPICALS and IEA_OBJECTS contain a description of the IEA files for the Process TAG Types. Based on these structures the Cemat Engineering Tool generates the IEA files for the existing Process Tag Types. Normally for the same block types (C_DRV_1D, C_ANNUNC, etc.) you will select always the same parameter /signals as variable places in a Process Tag Types (e. g. the connectors MST0, OKS, M_SIM, IN_DEL, GR_LINK1, GR_LINK2 for a C_ANNUNC). More objects of the same block type in a Process Tag Types result in a repetition of the structures within the IEA file. E. g. for each C_ANNUNC you have always the same structure as part of the complete structure within the IEA file. The structure of the message texts (event texts / block comments) is also identical for each block type. If you have more objects of the same block type in a Process Tag Types, you also have repeating structures for the message texts within the IEA file. All these repeating sections for objects / blocks within an IEA file are defined in the sheet IEA_OBJECTS. The common structure of an IEA file and the sequence of the objects within the IEA file is defined in the sheet IEA_TYPICALS. The sequence of the blocks within an IEA file is determined by the alphabetic order of the block names. For each Process Tag Type 2 lines are reserved in the sheet IEA_TYPICALS. In these two a detailed description of the IEA file must be configured. The description must fit exactly to the PCS7 definition of the Process Tag Types. * The first four elements of an IEA file are standard definitions (always 1. Project, 2. Hierarchy, 3. PLC name and 4. CFC chart name) and not listed in the sheet IEA_TYPICALS. * In column "A" of both lines you have to enter the name of the Process Tag, e. g. "MOT_2PI_2PIA". * In column "B" of both lines you have to enter the file name of the IEA file, which is assigned to the Process Tag Types, e. g. "MOT_2PI_2PIA00.IEA". * The column "C" is empty and will be used later on from the Excel macros. Starting from column "D" the objects of the Process Tag Types are listed. In the first line you have to enter the object name (block name), e. g. "D1". In the second line you have to enter the name of the IEA part structure from the sheet IEA_OBJECTS, e. g. "ANNUNC_B". For interlock blocks you to enter the block names of all involved objects, separated by "/". (drive name /Interlock name/Object1/Object2/etc., e. g. "M1/ESVA1/D1/D2"). The sequence of the objects is the alphabetic order and the objects with messages are listed twice in the IEA file: First all block parameter and block signals and then all object again in alphabetic order with their message IEA structures for the ALARM8. See the existing examples and compare the structure and sequence in IEA_TYPICALS and IEA_OBJECTS with an IEA template file, which you can create with PCS7. ! Attention: Follow the rules for interlock names. For the Cemat interlock blocks C_INTER5 und C_INTERL there are strict rules for the interlock block names, e. g. M1_ESVA1 (refer to manuals). For the new PCS7 interlock blocks Intlk02 to Intlk16 there are no rules, except it is not allowed to give them names which are conform to the rules for names for C_INTER5 and C_INTERL. Copyright (c) Siemens AG. All Rights Reserved. 9 - 39 Engineering Tools Engineering Cemat V7.1 Example with Cemat Interlock blocks C_INTER5: The IEA structure description for the Process Tag Type "MOT_2PI_2PIA" consists of the definition of the variable parameters and signals for the drive M1 (C_DRV_1D), the additional annunciation blocks D1/D2/R1/R2 (C_ANNUNC) and the interlock blocks M1_ESVG1/M1_ESVA1 (C_INTER5). Columns A to G B C Typical Name A D E IEA file used MOT_2PI_2PIA MOT_2PI_2PIA00.IEA D1 MOT_2PI_2PIA MOT_2PI_2PIA00.IEA ANNUNC_B ANNUNC_B DRV1D_COM INTER5 D2 F G M1 M1/ESVA1/D1/D2 Columns H to O H I J M1/ESVG1/R1/R2 R1 INTER5 R2 K L D1 M D2 N M1 R1 O R2 ANNUNC_B ANNUNC_B ANNUNC_A ANNUNC_A DRV1D_A ANNUNC_A ANNUNC_A Example with PCS7 interlock blocks Intl02: The IEA structure description for the Process Tag Type "MOT_2PI_2PIA" consist of the definition of the variable parameters and signals for the drive M1 (C_DRV_1D), the additional annunciation blocks D1/D2/R1/R2 (C_ANNUNC) and the interlock blocks M1_ProtG/M1_ProtA (Intl02). Columns A to G A B C Typical Name D E IEA file used MOT_2PI_2PIA MOT_2PI_2PIA00.IEA D1 MOT_2PI_2PIA MOT_2PI_2PIA00.IEA ANNUNC_B ANNUNC_B DRV1D_COM S_INTER2 D2 F G M1 M1/ProtA/D1/D2 Columns H to O H I J R2 K D1 L D2 M M1 N R1 O M1/ProtG/R1/R2 R1 R2 S_INTER2 ANNUNC_B ANNUNC_B ANNUNC_A ANNUNC_A DRV1D_A ANNUNC_A ANNUNC_A For each new Process Tag Type you have to add 2 lines in the sheet IEA_TYPICALS. Please use already existing Process Tag Types as a template for your new Process Tag Types. 9 - 40 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Tools Sheet IEA_OBJECTS For each Cemat project standard exist an own sheet IEA_OBJECTS. For "Cemat 000" please use the sheet IEA_OBJECTS_000. For all other Cemat project standards use the sheets with the according code number. In the sheet IEA_OBJECTS the IEA structures of an individual block / object are defined. These structures are only a part/segment of the structure of an IEA file and can be used several times within the structure of one IEA file. Each of these segments gets a unique name (e. g. "DRV_1D_COM" = drive with group commands). By this name the sheet IEA_TYPICALS refers to this structure segment. E. g., if in a Process Tag Type the C_ANNUNC block is used 8 times, then the IEA file contains for each of this 8 C_ANNUNC the same structure. This applies for the parameter structures as well for the message structures. With a single definition of the block types in sheet IEA_OBJECTS and a reference to IEA_OBJECTS in sheet IEA_TYPICALS the entries in sheet IEA_TYPICALS are much more simple and short. For each new IEA structure section you have to add 2 lines in the sheet IEA_OBJECTS. In these two lines you have to enter a detailed description of the IEA structure segment. Please use the already existing definitions in IEA_OBJECTS as a template for new IEA segment. Example: Drive with interconnections to the group commands: DRV1D_CO C_DRV_1 M D ERM | Blocknam e | Comment ESBEBMEVOESP ESR LOCA GR_LINK GR_LINK L SINGLEEBFE EBFAQSTP 1 2 EBE 1. Line 1. Column = IEA structure segment name, e. g. DRV1D_COM = with interconnections to the group commands (Start / Stop / Single mode / etc.). 1. Line 2. Column = Block type, e. g. "C_DRV_1D" or "Alarm8" for an IEA structure segment with the message definition of an object. 1. Line 3. Column = Block type, if column 2 = "Alarm8", e. g. "C_DRV_1D" 1. Line x. Column = Block type for further blocks in this IEA structure segment, e. g. a "CH_AI" for a measured value block or AND / OR gates for groups and routes ("G_RUNNING", "G_STOPPED", etc.) 2. Line: elements (keywords) of the IEA definition. The following elements / keywords are permitted. Signals for Objects, which are listed in the sheets "SIGNALTYPES xxx". For each Cemat project standard exist an own sheet "SIGNALTYPES xxx". "xxx" is the project standard code, e. g. 000" for the Cemat Normal Standard. In these sheets is the assignment between parameter <-> function defined. E. g. for parameter "ERM", block type "C_DRV_1D" is the function "feedback" defined. All parameter from the column "E" (sheet SIGNALTYPES xxx) could used in the sheet IEA_OBJECTS. The macro will enter the signal (symbol name) into the IEA file. Copyright (c) Siemens AG. All Rights Reserved. 9 - 41 Engineering Tools Engineering Cemat V7.1 Otherwise refer to the following table with allowed IEA_OBJECTS elements / keywords 9 - 42 Keyword Entry into the IEA file BLOCKNAME Block name, e. g. "M1" BLOCKNAME_AI Block name + appendix "_AI", e. g. "P1_AI" BLOCKNAME_DI Block name + appendix "_DI", e. g. "D1_DI" BLOCKNAME_SC Block name + appendix "_SC", e. g. "M1_SC" BLOCKNAME_INTERL Block name of the Interlock block, e. g. "M1_ESVG1 COMMENT Block comment COMMENT_ INTERL Block comment for Interlock blocks EVENT Event text EVENT_SIG1, EVENT_SIG2, EVENT_SIG3, EVENT_SIG4, EVENT_SIG5, EVENT_SIG6, EVENT_SIG7, Event text of the according signals of a C_ANNUN8 EVENT1, EVENT2, EVENT3, EVENT4, EVENT5, EVENT6, EVENT7, EVENT8, EVENT9, EVENT10, EVENT11, EVENT12, EVENT13, EVENT14, EVENT15, EVENT16 Event text of the according signals of a C_INTER5 or C_INTERL or Intlk02 or Intlk04 or Intlk08 or Intlk16 INTERL_1, INTERL_2, INTERL_3, INTERL_4, INTERL_5, INTERL_6, INTERL_7, INTERL_8, INTERL_9, INTERL_10 Empty field. The property "Text_1" will be filled with the event text of the signal. Because of the empty field, the existing interconnection will remain. | |, no text limiter """ and no list separator ";" ONLY | Empty field with "|" (inclusive text limiter """ and list separator ";" EMPTY Empty field (inclusive text limiter """ and list separator ";" EBFE, EBFE1, EBFEX, EBFEY, VBFE, VBFE1, KEB1 Textual interconnection to group (GBE) or to route (WBE) SST1 Textual interconnection to group (ST), Lafarge WEBW Textual interconnection to group (GBE) EBFA, VBFA, KEB2 Textual interconnection to group (GDA) or to route (WBA) WABW, WGWA (Holcim) Textual interconnection to group (GDA) LOCAL Textual interconnection to group (GLO) SINGLE Textual interconnection to group (GES) ENLM Textual interconnection to group (ENLM), Holcim DILM Textual interconnection to group (DILM), Holcim EAUT, KAUT, VAUT Textual interconnection to group (GAU) or to route (WAU), Dyckerhoff SWK Textual interconnection to group (WK), Lafarge RST Textual interconnection to group (RS), Lafarge Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Tools SRT Textual interconnection to group (RT), Lafarge QSTP Textual interconnection to group (QSTP) GSTP Textual interconnection to group (GR_STP), Holcim G_LINK Textual interconnection to group (G_LINK) GR_LINK1 Textual interconnection to group (G_LINK) or to route (R_LINK) GR_LINK2 Textual interconnection to group (G_LINK) or to route (R_LINK) SCB, LPHL Scale begin for C_MEASUR / C_AIB SCE, HPHL Scale end for C_MEASUR / C_AIB UNIT Unit for C_MEASUR / C_AIB VAL_HH, HH HH Limit for C_MEASUR / C_AIB VAL_H, H H Limit for C_MEASUR / C_AIB VAL_L, L L Limit for C_MEASUR / C_AIB VAL_LL, LL LL Limit for C_MEASUR / C_AIB VAL_SHH SHH Limit for C_MEASUR VAL_SH, HPRO SH Limit for C_MEASUR / C_AIB VAL_SL, LPRO SL Limit for C_MEASUR / C_AIB VAL_SLL SLL Limit for C_MEASUR SCB_OUT Textual interconnection from driver block CH_AI to C_MEASUR (SCB_OUT), if not PT100 SCE_OUT Textual interconnection from driver block CH_AI to C_MEASUR (SCE_OUT), if not PT100 REL_MVC 1, if current / power measurement for drive exists, otherwise 0 OKS, SIM_VAL, M_SIM, NS 0, if signal is normally open = 0 1, if signal is normally closed = 1 IN_DEL Default value 0. The property "Identifier" will be filled with the event text of the signal WMOD 0, if alarm type = alarm 1, if alarm type = WA = warning, Holcim TYP 0, if alarm type = alarm 1, if alarm type = WA = warning, Lafarge ON_DLY Default value 10. The property "Identifier" will be filled with the event text of the signal, only Holcim and block type C_PROFB IN_SIG Speed monitor signal, no pulse signal, only Holcim and block type C_PROFB PULS_SSM Speed monitor signal, pulse signal, only Holcim and block type C_PROFB EN_SSM 0, if speed monitor signal is no pulse signal 1, if speed monitor signal is a pulse signal only Holcim and block type C_PROFB REL_SSM 0, if no speed monitor signal exists Copyright (c) Siemens AG. All Rights Reserved. 9 - 43 Engineering Tools Engineering Cemat V7.1 1, if a speed monitor signal exists, Lafarge 9 - 44 I_ADDR Simocode start address input area for C_SIMOS O_ADDR Simocode start address output area for C_SIMOS BEGINTEXT ' = text limiter for S_TEXT, C_INTER5 ENDTEXT ' = text limiter for S_TEXT, C_INTER5 ; ; = separator character within S_TEXT, C_INTER5 SIG_TXT1, SIG_TXT2, SIG_TXT3, SIG_TXT4, SIG_TXT5, SIG_TXT6, SIG_TXT7 Signal description as annunciation text for C_ANNUN8 SSB_BF1, SSB_BF2, SSB_BF3, SSB_BF4, SSDB, G_DRIVES_HE, G_DRIVES_HV, G_LOCAL, G_R_RUNNING, G_R_STOPPED, G_RUNNING, G_STOPPED, R_DRIVES_HE, R_DRIVES_HV, R_RUNNING, R_STOPPED Block names for according AND / OR gates of the groups and routes COMMENT_BF1, COMMENT_BF2, COMMENT_BF3, COMMENT_BF4, COMMENT_HE, COMMENT_HV, COMMENT_LOCAL, COMMENT_ROUTES_RUNNING, COMMENT_ROUTES_STOPPED, COMMENT_RUNNING, COMMENT_STOPPED, COMMENT_ SEQUENCE, Block comments for according AND / OR gates of the groups and routes GHA, GLA Empty fields, group signals, not used at the moment SAV Default value = 0, SSB block Lafarge T1 Default value = 0, SSDB block Lafarge GREZ1, GREZ2, ..., GREZ50 Textual interconnection to drive (EVS, EVS1, EVS2, EVSY, EVSX, KVS2, KVSX, VVS2, VVSX) GRAZ1, GRAZ2, ..., GRAZ50 Textual interconnection to drive (EVS, EVS1, EVS2, EVSY, EVSX, KVS1, KVSY, VVS1, VVSY) R_GREZ1 and R_GREZ2 Textual interconnection to route (WRE) R_GRAZ1 and R_GRAZ2 Textual interconnection to route (WRA) FB_L1, FB_L2, ..., FB_L50 Textual interconnection to drive (LOCAL) only Holcim HV1, HV2, ..., HV50 Textual interconnection to drive (EHV, KHV, VHV) only Dyckerhoff HE1, HE2, ..., HE50 Textual interconnection to drive (EHE, KHE, VHE) only Dyckerhoff R_HV1 and R_HV2 Textual interconnection to route (WHV) only Dyckerhoff R_HE1 and R_HE2 Textual interconnection to route (WHE) only Dyckerhoff BF1_1, BF1_2, ..., BF1_50 Textual interconnection to drive (ST1) only Lafarge Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Tools BF2_1, BF2_2, ..., BF2_50 Textual interconnection to drive (ST1) only Lafarge BF3_1, BF3_2, ..., BF3_100 Textual interconnection to object (FW) only Lafarge BF4_1, BF4_2, ..., BF4_100 Textual interconnection to object (FT) only Lafarge AEVG 1 = Default value Select block DESELECTED 'DESELECTED' = Default value Select block SELECTED 'SELECTED' = Default value Select block Copyright (c) Siemens AG. All Rights Reserved. 9 - 45 Engineering Tools Engineering Cemat V7.1 Check the consistency of the IEA structure description in the sheets CEM_TYPICALS, IEA_TYPICALS and IEA_OBJECTS. With the button "Check typicals and IEA structure" you can check the consistency of the sheets CEM_TYPICALS, IEA_TYPICALS and IEA_OBJECTS. If the macro finds a wrong entry, you will get an error message within a message box. Create the symbol list With the button "Create symbol list", a macro creates a symbol list (SDF file), based on the sheet SIGNALLIST. Errors will be listed in the sheet LOGS. Depending on the language settings "deutsch" or "English", the symbol list will be created with German or English mnemonics, e. g. E 3.4 or I 3.4. Lines with errors will be not written into the SDF file! The SDF file can be imported with the Symbol Editor of the Simatic Manager. File for symbol list SIMATIC Manager Symbol Editor Import function CEMAT.SDF 9 - 46 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Tools Create the object list (block list) With the button "Create Cemat object list" object list (sheet OBJECTS), based on the sheet SIGNALLIST. , a macro creates an The object is defined by chart name and object name (block name). The signal list SIGNALLIST list has to be sorted in a way that all signals for the same object are in sequence; all object signals for the same chart also have to be in sequence. For each signal you have to define an object type (e. g. block type = C_DRV_1D) and a function (e. g. "feedback"). In the sheets "SIGNALTYPES xxx" (xxx = project standard code) the allowed combinations of block type and function are listed. For each new object name/chart name in the signal list, the Engineering Tool creates a new line in table OBJECTS. If the macro finds the combination block type and function in the sheet "SIGNALTYPES xxx", then the signal name is entered in the matrix of the sheet OBJECTS. If the macro doesn't find the combination block type and function in the sheet "SIGNALTYPES xxx", then a new object will be created according to the IO type (DI, DO, AI, AO). See following table: IO type signal list Object type block type Description AI C_MEASUR Analogue signal connected to a C_MEASUR block AO CH_AO Analogue signal connected to a CH_AO block DI AND Digital signal connected to the input of an AND gate DO OUT Digital signal connected to the output of an AND gate For the field "function", depending on the block type, only certain entries are allowed. With the button "Create list fields in object list" the cells in column "function" can be changed into Excel list fields. This has the advantage that via list fields only permitted values can be entered. Example list field for the function of a C_ANNUNC block: With the button "Delete list fields in object list" changed back to normal Excel cells, i. e. now all values can be entered. Copyright (c) Siemens AG. All Rights Reserved. the list fields will be 9 - 47 Engineering Tools Engineering Cemat V7.1 Block functions Example object list: A B C D E F Chart Object Block text Event Cemat_Object function text E51_BC1 M1 Belt Conveyor Below E523B1 C_DRV_1D main E51_3S1 T1 Silo E51-3S1 Temperature C_MEASUR analogvalue L VAL_HH M VAL_H N VAL_L O P VAL_LL VAL_SHH Q VAL_SH R VAL_SL G ConvType H I J K AlarmTyp SCB SCE Unit PT100 0 S VAL_SLL 200 T C U feedback1 feedback E51_BC1_M1_ERM 200 V feedback2 200 0 0 200 200 W X Y limitpos1 limitpos2 intlimitpos1 0 Z intlimitpos2 0 AA available overload AB E51_BC1_M1_ESB E51_BC1_M1_EBM AC Local E51_BC1_M1_EVO AD locstart E51_BC1_M1_ESR AE AF AG locstart1 locstart2 locstop E51_BC1_M1_ESP AK ON E51_BC1_M1_EBE AL ON1 AO AP AQ operation protection shutdown AV AW AX fault4 fault5 fault6 AM ON2 AY fault7 AN alarm AZ BA analogvalue actposition BB AO BC BIT BD OUT AH torque1 AR autoprotection AI torque2 AJ speedmon E51_BC1_SI AS fault1 AT AU fault2 fault3 BE BF BG beltbreak limitpos puls E51_3S1_T1 Signal analogue value Signals drive Die header line will be copied from the sheet HEADER, line 2. Please don't change this line! The macro automatically determines a function for each object: The first drive of a chart will get the function "main" = main drive, all other drives on the chart will get the function "aux" = auxiliary drive. For analogue values, keywords are defined in sheet LIST_DATA, column "I" to "L". If the macro finds a keyword in the "Block text" and a main drive exists, then the block function will be changed from "analogvalue" into "drive_curr" = current / power measurement main drive or "drive_speed" = speed measurement main drive. Please check the function of the objects. If the macro determines a wrong function, please change it manually to the correct function. Later, during chart detection, a macro is searching for the most suitable Process Tag Type (Typical) for each chart. The Process Tag Type searching considers not only the block type, but also the block function. 9 - 48 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Tools Object functions Block Function name Description C_DRV_1D, C_DRV_2D, C_BPB, C_M2B, C_DAMPER, C_DABMAB, C_AAB, C_VALVE, C_VAL_2D, C_DAB main Main drive, if the is a current or power or speed measurement, then the measurement will be connected to the main drive C_DRV_1D, C_DRV_2D, C_DAMPER, C_VALVE, C_VAL_2D main_SC Main drive with Simocode C_DRV_1D, C_DRV_2D, C_BPB, C_M2B, C_DAMPER, C_DABMAB, C_AAB, C_VALVE, C_VAL_2D, C_DAB aux Auxiliary drive C_DRV_1D, C_DRV_2D, C_DAMPER, C_VALVE, C_VAL_2D aux_SC Auxiliary drive with Simocode C_ANNUNC, C_DIB alarm Alarm message C_ANNUNC, C_DIB operation Alarm message, which is connected via interlock block to the operation interlock of the drive = EBVG C_ANNUNC, C_DIB protection Alarm message, which is connected via interlock block to the protection interlock of the drive = ESVG, PINT1, PE1 shutdown Alarm message, which is connected via interlock block to the emergency shut down interlock of the drive = HS (only Lafarge) C_ANNUNC, C_DIB autoprotection Alarm message, which is connected via interlock block to the protection interlock automatic mode of the drive = ESVA, PINT2, PE2 C_MEASUR, C_AIB analogvalue Analogue value input C_MEASUR, C_AIB drive_curr Current or power measurement for the main drive C_MEASUR, C_AIB drive_speed Speed measurement for the main drive C_ANNUN8 annun8 7 fault messages C_SILOP silo Silo pilot C_PROFB speedmon Speed monitor (only Holcim) C_SPEEDM speedmon Speed monitor (only Lafarge) CH_AO AO Analogue output VALUE for CH_AO AND BIT Common digital input signal, will be connected to an AND gate OUT OUT Common digital output signal, will be connected to the output of an AND gate SINA_GS drive_speed Speed measurement for the main drive C_DIB Copyright (c) Siemens AG. All Rights Reserved. 9 - 49 Engineering Tools Engineering Cemat V7.1 Create CFC chart list From the object list (sheet OBJECTS) a chart list is created (sheet CHARTS). The most suitable Process Tag Type will be selected from the list of Typicals (sheet CEM_TYPICALS). The Typical (Process Tag Type) should contain all objects which belong to the chart. If no suitable Process Tag Type is found, a Process Tag Type will be chosen which fit best as possible for the charts, which should be created. Priority for the searching: 1. Current or speed measurement exists and also in the Process Tag Type 2. More identical block types and block functions. 3. More identical block types. 4. Less not needed objects, which have to be deleted afterwards For the rest of the objects, which are not covered by the first Process Tag Type, again a Process Tag Type is searched. The chart gets the original chart name with the extension "_2", e. g. E51_BC1_2. If still objects are remaining, again a typical search is started. This happens until all needed objects are placed in a chart. All these extension charts have the same name like the first chart and the extensions "_2", "_3", "_4", etc. Later on, during editing the CFCs, all this objects in these extension charts have to be moved into the first chart. After these moves, the extension charts are empty and have to be deleted. With the button "Create Cemat chart list" created. The button is in the sheet PRESETTINGS. the chart list will be Preconditions for the creating of the CFC chart list are: * All existing Process Tag Types have to be listed in CEM_TYPICALS. * The IEA file structures of all existing Process Tag Types have to be defined in the sheets IEA_TYPICALS and IEA_OBJECTS. EXCEL CEMAT Excel Tool with Macros Object list 9 - 50 CFC-chart list Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Tools Assignment of the charts to groups, routes and hierarchy In the sheets GROUPS, ROUTES and SELECT the chart name of the groups, routes and select modules have to be entered (Lafarge only groups = SSB blocks and select modules). The object name for groups is always "G". The object name for routes is always "R". For Lafarge the group name is always SSB. In the sheet GR_LINK for each chart the associated groups (max. 2) and eventually the associated routes (max. 2) must be entered. The link to further routes and groups must be carried out manually after the generation of the charts. In column "Hierarchy" of sheet GROUPS, each group must be assigned to the hierarchy folder. After the chart generation the group chart will be found in this hierarchy folder. EXCEL CEMAT Excel Tool with Macros Project Engineer Sheets: GROUPS ROUTES SELECT GR_LINK Structure sheet GROUPS Groups E51_100 E52_100 E53_100 Hierarchy Test_System\E51 Test_System\E52 Test_System\E53 BlockText Block Text Group 1 Block Text Group 2 Block Text Group 3 GLA GHA The additional columns "Route 1", "Route 2", "Drives", "Drive 1", "Drive 2", etc. will be used by the macros. Structure sheet ROUTES Routes E51_101 E51_102 E51_103 Hierarchy Test_System\E51 Test_System\E51 Test_System\E51 BlockText Block Text Route 1 Block Text Route 2 Block Text Route 3 The additional columns "Drive 1", "Drive 2", etc. will be used by the macros. Copyright (c) Siemens AG. All Rights Reserved. 9 - 51 Engineering Tools Engineering Cemat V7.1 Structure sheet GR_LINK CHART Hierarchy Group 1 Route 1 Group 2 Route 2 Chart Comment E51_3S1 Test_System\E51 E51_100 E51_101 E51_102 E51 Concrete - Silo 1 E51 Concrete - Silo 2 E51_3S2 Test_System\E51 E51_100 E52_100 The first column "CHART" could be filled automatically by starting a macro with the button "Create chart list......" . All charts from the sheet CHARTS will be copied, except the extension charts like E51_BC1_2, i. e. there is only one line for chart E51_BC1 in GR_LINK, even when extension charts like E51_BC1_2 or E51_BC1_3 exist. If the sheet GR_LINK is already filled, you can choose to keep it and to add only new charts from sheet CHARTS to add to sheet GR_LINK. Extension charts must not listed in GR_LINK. The columns "Hierarchy", "Group 1", "Route 1", "Group 2", "Route 2"and "Chart Comment" has to be filled manually. Enter for each chart the hierarchy folder, the chart - group / route assignment and the chart comment. In the column "Group 1" there has to be an entry! Additionally you can enter a second group in "Group2", but then no entry in "Route 1" or Route 2" is allowed. Or you enter additionally to "Group 1" 2 routes in "Route 1" and "Route 2". All other group or route assignments have to be edit later on in the generated charts, especially, when you have to use a C_MUX block. Structure sheet SELECT Select S1 S2 S1 S1 S1 Hierarchy HDRS_Test\E51 HDRS_Test\E51 HDRS_Test\E51 HDRS_Test\E52 HDRS_Test\E53 Chart E51_FN1 E51_FN1 E51_RF1 E52_BE1 E53_100 Gen. Chart E51_FN1_3 E51_FN1_4 E51_RF1_3 E52_BE1_4 E53_100_2 BlockText E51 Fan Motor Select 1 E51 Fan Motor Select 2 E51 Rotary Feeder 1 Aux drive E52 Bucket Elevator 1 Aux drive Group E53 Fan Select The column "Gen. Chart" will be filled by the macro. The macro checks, is the chart name already used by a chart from sheet CHARTS or from a group or from a route. If the chart name is already used, the select module will be generated in an extension chart. The chart name in "Gen. Chart" will be used for the chart generation. 9 - 52 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Tools Check Charts regarding the existing Process Tag Types With the button you can check the consistency of the sheets GROUPS, ROUTES and GR_ LINK. The macro checks also how good the used Process Tag Types fit to charts, which has to be created. The list will get colored. The color of lines is changing for each chart (turquoise or azure); i. e. a chart and his extension charts will be colored with the same color. In this way it is easy to see, if a similar combination of objects is used several times in your project and leads always to the same extension charts. In this case it is recommended to create a new Process Tag Type to cover all needed objects in one Process Tag Type. All fields for not needed objects will be colored yellow. If a Process Tag Type is several times used and always you have to delete the same objects, so you see always the same pattern of yellow fields. Summary: If Process Tag Types are used several times and for the charts you have to do always the same edit jobs (Copy objects together into one chart or deleting objects), then it is recommended to create new Process Tag Types, which cover better the charts, which have to be created. Enter for test the new Process Tag Types only in CEM_TYPICALS and create the sheet CHARTS new and check with "Check chart list" new. If you have less extension charts and less objects, which you have to delete afterwards, then it is better to create the new Process Tag Types really in PCS7. Of course you have to increase then the sheets IEA_TYPICALS and IEA_OBJECTS with the structures of the new Process Tag Types. Check your entries with the button "Check typicals and IEA structure". Example of a colored chart list: Copyright (c) Siemens AG. All Rights Reserved. 9 - 53 Engineering Tools Engineering Cemat V7.1 Generation of the IEA-Files For each Process Tag Type the structure of the IEA files must be described in the sheets IEA_TYPICALS and IEA_OBJECTS (see Chapters "Sheet IEA_TYPICALS" and "Sheet IEA_OBJECTS"). The generation of the IEA files will be started with the button "Create IEA files". The button "Create IEA files" is in the sheet PRESETTINGS. Based on the definitions in IEA_TYPICALS and IEA_OBJECTS will be first an IEA file created, which contain only the 4 header lines of an IEA file. For each chart, listed in the sheets CHARTS, GROUPS, ROUTES and SELECT, will be one line attached to the corresponding IEA file. For not used Process Tag Types will be one line added, which contain the data for a dummy chart. This avoids an errors message, if the assigned IEA file is missing or don't contain any data. The not needed dummy charts could be easily deleted afterwards. In a later step, through import of these IEA files in the Simatic Manager, the CFC-Charts will be generated. The import of the IEA files has to be carried out in the Simatic Manager. For this import you need the IEA Simatic license. There is no trial license! EXCEL CFC chart list CHARTS CEMAT Excel Tool with macros CEM_TYPICALS IEA_TYPICALS IEA_OBJECTS 9 - 54 SIMATIC Manager Process Tag Types DRV_1D MOT_CURR MOT_MAIN ANNUNC DAMPER VALVE MEASUR GROUP Etc. CFC Charts with objects DRV_1D00.IEA MOT_CURR00.IEA MOT_MAIN00.IEA ANNUNC00.IEA DAMPER00.IEA VALVE00.IEA MEASUR00.IEA GROUP00.IEA Etc. Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Tools CFC Generation with the IEA Editor (PCS7) Using already existing Process Tag Types Process Tag Types could only be used, if they are located in the Master Data Library of a See PCS7 Multiproject in a hierarchy folder. The Master Data Library has a blue icon. manual "Master Data Library"! Copy all delivered examples (Process Tag Types) into the Master Data Library of your Multiproject. Use during coping the "Plant View" and copy all Process Tag Types into one Hierarchy folder, e. g. "Process Tag Types". In this hierarchy folder you could define also your own Process Tag Types. Before you copy the delivered Process Tag Types into your Master Data Library, update all libraries and AS programs with the latest version of the block types. Don't forget to update also the chart folders with "Options -> Blocktypes....". If the block types in source and destination are different, you can't copy the Process Tag Types. Copyright (c) Siemens AG. All Rights Reserved. 9 - 55 Engineering Tools Engineering Cemat V7.1 Assigning the IEA files to the Process Tag Types The Process Tag Types must be assigned to the created IEA-Files: In the plant view of the SIMATIC manager you have to assign each Process Tag Type to his according IEA file. In the plant view of the SIMATIC manager select the Process Tag Type chart with right mouse button and chose "Process Tags -> Assign/Create Import File....". Acknowledge the introduction window with "Next". 9 - 56 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Tools With the button "Other File..." you can choose the IEA file. For the Process Tag Type MOT_2PI_2PIA you have to choose the IEA file MOT_2PI_2PIA00.IEA, for the Process Tag Type MEASUR you have to choose the IEA file MEASUR00.IEA, etc. With the button "Finish" the IEA file assignment will be finished. The default directory for IEA files is the subdirectory "Global" of the storage location of the Master Data Library. The assignment is much easier, if you copy all IEA files, created from the Cemat Engineering Tool, into the subdirectory "Global" of the storage location of the Master Data Library. This proceeding has another advantage. If you like to create the charts for several PLCs with IEA files, you have to assign only ones the IEA files. For further PLCs overwrite the IEA files in "Global" with the next IEA files of the next PLC. Copyright (c) Siemens AG. All Rights Reserved. 9 - 57 Engineering Tools Engineering Cemat V7.1 Generating the CFC charts To generate the CFC charts with the IEA, please select the hierarchy folder in the Master Data Library with the Process Tag Types in the "Plant View" of the Simatic Manager. Select with the right mouse button the menu "Process Tags -> Import...". If you use blocks from other libraries, e. g. SINA_GS from the function block library for SINAMICS, please copy the block to the Master Data Library and to the block folder of the PLC. Update also the block in the chart folder of the Master data Library and in the chart folder of the PLC. Otherwise you will have problems during chart generation. Confirm the introduction screen with "Next". 9 - 58 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Tools In the following screen all Process Tag Types are listed together with the associated IEAFiles: For the Process Tag Types, which are not needed for the creation of the charts, has the Cemat Engineering Tool although IEA files generated. In these IEA files are only data for a dummy chart. In this way each Process Tag Type should be assigned with an IEA file. This is necessary, because the IEA file import of PCS7 stops completely, if one of the used Process Tag Types is assigned with a not valid IEA file (minimum one user line). The by this way created IEA files could be deleted later on. Confirm the Process Tag Type list with "Next". With the button "Finish" the import of the IEA files will be started. We recommend to select the option "Only show errors and warnings in log". If you do so, then it is easier to see, is there a problem during import. The location of the log file is also shown in this window. Copyright (c) Siemens AG. All Rights Reserved. 9 - 59 Engineering Tools Engineering Cemat V7.1 The import can take more than an hour: After the import is completed, you have to acknowledge with the "Exit" button: 9 - 60 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Tools After the import the Plant Hierarchy and the CFC charts have been generated: hierarchy folder PLC hierarchy folder dummy charts hierarchy folder Chart E51 BC1 Extension charts E51_BC1_2 and E51_BC1_3 Copyright (c) Siemens AG. All Rights Reserved. 9 - 61 Engineering Tools Engineering Cemat V7.1 Manually post CFC Engineering 1. Deleting not needed objects (blocks and charts) A hierarchy folder with the name "Delete" has been generated. In this folder "Delete" are the dummy charts of the not used Process Tag Types. Delete the folder "Delete" inclusive of the dummy charts. In some charts the IEA has not needed objects (blocks) generated. This happens, if not all objects of the Process Tag Types are needed for the wanted chart. The Engineering Tool renamed these blocks into "DELETE_XX", e. g. in "DELETE_D1", "DELETE_M1" or "DELETE_L1". E. g. the Process Tag Type MOT_4PI_4PIA has 4 drift switch annunciations (D1 to D4). If for a concrete chart this Process Tag Type will be used and the concrete chart has only 2 drift switch annunciations (e. g. D1 and D2), then the not needed drift switch annunciations (D3 and D4) will be renamed into "DELETE_D3" and "DELETE_D4". These blocks have to be deleted manually. With the "Process Object View" of PCS7 it is easy to find these objects, which name start with "DELETE_". Open the Process Object View. Select the highest hierarchy folder of your PLC. Select Tab "Blocks". Sort by "Blocks" = block name. Select all blocks, whose names start with "DELETE_" or with "DEL_". Select with the right mouse button the menu "Open chart". Search in all opened charts the blocks, whose names start with "DELETE_" or with "DEL_" and delete them manually. Unfortunately the blocks could not be deleted directly in one step from the Process Object View. 9 - 62 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Tools 2. Rename objects Some of the blocks could not get during IEA import the final destination name. This happens, if a block with this name already in the Process Tag Type exists. This is so, even if the already existing block will be later deleted or renamed. All blocks, which can't renamed into the final destination name get the temporary name "RENAME_XX". E. g. an annunciation block C_ANNUNC should be created with the name "LM". Another not needed block in the Process Tag Type has the name "LM". This already existing block "LM" will later on be renamed and deleted. Our annunciation block will get during IEA import the temporary name "RENAME_LM". After chart generation with IEA there exists an annunciation block with the name "RENAME_L1" and the not needed block has now the name "DELETE_LM". The not needed block "DELETE_LM" is already deleted during the first editing step. The block "RENAME_L1" could be now manually renamed into "LM". With the "Process Object View" of PCS7 it is easy to find these objects, which name start with "RENAME_". Open the Process Object View. Select the highest hierarchy folder of your PLC. Select Tab "Blocks". Sort by "Blocks" = block name. Select all blocks, whose names start with "RENAME_". Select with the right mouse button the menu "Open chart". Search in all opened charts the blocks, whose names start with "RENAME_" and rename them manually. The blocks could also easily be renamed directly in the Process Object View. Copyright (c) Siemens AG. All Rights Reserved. 9 - 63 Engineering Tools Engineering Cemat V7.1 3. Move objects together from extension charts into the destination chart Mostly the existing Process Tag Types doesn't fit perfect for the charts, which have to be created. For the rest of the objects, the Cemat Engineering Tool searches for another Process Tag Type = extension chart. This will happen as long as all objects of a chart, which has to be created, are placed in a Process Tag Type. Only the first chart of the first found Process Tag Type get the original chart name, e. g. E51_BC1. Each of the extension charts gets the chart name and a "_" and an extension number. Example: For the chart E51_BC1 we need 2 more extension charts to cover all objects. The three generated charts have the names: E51_BC1, E51_BC1_2, and E51_BC1_3. In the next step you have to move manually all objects of the extension charts (e. g. E51_BC1_2 and E51_BC1_3) into the original chart (e. g. E51_BC1). After the manual moving the extension charts (e. g. E51_BC1_2 and E51_BC1_3) are empty and could be deleted. Open the Component View and select the chart folder of your PLC. Select the chart and his extension charts and select with the right mouse button the menu "Open Object". The chart and his extension charts are parallel now open. Arrange all windows of the opened charts and select in all charts the view "Overview". Now you can move all blocks from the extension chart into the original chart. The empty extension charts could be deleted afterwards. ! 9 - 64 Attention: Check that the extension charts are really empty, before you delete them. If you forget some objects there and you delete the extension charts, the generated objects are lost! Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Tools 4. Close Textual interconnections If all blocks are moved to their destination chart and all extension charts are deleted, then you can close the Textual interconnections. During the import of the IEA files, some objects will be create before the group blocks or vice versa, or the blocks are located first in the extension charts. Because of this, the textual interconnections between groups, routes and drives could not be closed and remain as Textual Interconnection. After the moving of objects into their original charts, all Textual interconnection can be closed now. Choose the menu "Options -> Close Textual Interconnections". 5. Delete Textual Interconnections After closing the Textual Interconnections, you can check with the menu "Options -> Delete Textual Interconnections", do there still Textual Interconnections exist or not. Normally there should not remain a "Textual Interconnection". In this case the following window is empty, like in the following screen shot. If there is still a Textual Interconnections, then this points to an edit fault. Maybe you forgot to move an object from an extension chart and you delete this object together with the extension chart. Or you during deleting the "DELETE_" object you select also real object and you delete the real object together with a not needed object. Please check the reason for the still existing Textual Interconnection. Copyright (c) Siemens AG. All Rights Reserved. 9 - 65 Engineering Tools Engineering Cemat V7.1 6. Edit the runtime groups with the Runtime Editor The objects of the extension charts e. g. E51_BC1_2, E51_BC1_3 and E51_BC1_4, are placed into the runtime groups E51_BC1_2, E51_BC1_3 and E51_BC1_4. Unfortunately the objects remain in these runtime groups, although the blocks are moved already into their final destination chart. It's better to move the objects (blocks) into the runtime group for the destination main chart, e. g. E51_BC1: The runtime groups E51_BC1_2 and E51_BC1_3 are empty after the movement. 9 - 66 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Tools Delete the empty runtime groups with the menu "Edit -> Delete Empty Runtime Groups". Result: There are only the runtime groups of the original destination charts. Copyright (c) Siemens AG. All Rights Reserved. 9 - 67 Engineering Tools Engineering Cemat V7.1 Appendix A: Structure of the sheets SIGNALTYPES xxx "xxx" = Project standard code. A Keyword header feedback B english Feedbac k ON C deutsch Ruckmeldun g EIN D Block C_DRV_1 D E parameter F ConvType G IOType ERM NO,NC,DB DI Keyword header = Signal function = Column from sheet OBJECTS or signal function from sheet SIGNALLIST english = description in English deutsch = description in German block = Block type PCS7 parameter = Block parameter = entry in IEA_OBJECTS ConvType = Signal conversion type from sheet SIGNALLIST IOType = IO Type from sheet SIGNALLIST Appendix B: Structure of the sheet IEA_Struc A ERM LOCAL VAL_HH IN_DEL B C_DRV_1D C_DRV_1D C_MEASUR C_ANNUNC C ERM ELOC VAL_HH IN_DEL D S| P| P| P| E SymbolName TextRef Value Value|S7_shortcut Column A = keyword from IEA_OBJECTS Column B = Block type Column C = Parameter for header in IEA file (header line 2) Column D = Indicator, weather signal or parameter or message in IEA file (header line 3) Column E = Indicator, weather value or Textual interconnection or symbol, etc. in IEA file (header line 4) 9 - 68 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Tools Appendix C: Structure of the sheet LIST_DATA A B ConvTyp IOType e AI 4-20mA AO 0-20mA C SignalTyp e 2w 4w D SignalLocatio n Field MCC E Languag e english deutsch F Functions feedback feedback1 DI 0-10V feedback2 DO DB NO NC limitpos1 limitpos2 available PT100 Puls overload local locstart locstart1 locstart2 locstop torque1 torque2 speedmon ON ON1 ON2 alarm operation protection shutdown autoprotectio n fault1 fault2 fault3 fault4 fault5 fault6 fault7 analogvalue actposition AO BIT OUT beltbreak limitpos puls Simocode_I Simocode_Q G blocks signal list AND C_ANNUN8 C_ANNUN C C_DAMPE R C_DRV_1D C_DRV_2D C_MEASU R C_VALVE CH_AO OUT C_SILOP SINA_GS C_PROFB H blocks lafarge signal list AND C_AAB C_AIB C_BPB C_DAB C_DABMAB C_DIB C_M2B C_SPEEDM CH_AO OUT C_SILOP SINA_GS Allowed values for the sheet SIGNALLIST. These data will be copied into the sheet SIGNALLIST to create Excel list fields for input. Copyright (c) Siemens AG. All Rights Reserved. 9 - 69 Engineering Tools Engineering Cemat V7.1 In the columns I to L are the keywords for the recognition of current, power and speed measurement. During the object detection the macro searches for the keywords in the signal description of analog values. If the macro finds one of the keywords, then the object function will be changed from a normal analogue value into a current or speed measurement. I J K L keyword keyword keyword keyword Geschwindigkei Strom current speed t deutsch english english deutsch curr speed strom geschw power leist In the columns M and N (Lafarge) are the allowed block types for the typicals (Process Tag Types). M blocks typical AND C_ANNUN8 C_ANNUNC C_DAMPER C_DRV_1D C_DRV_2D C_MEASUR C_VALVE CH_AO OUT C_GROUP C_ROUTE C_SELECT C_SILOP SINA_GS C_VAL_2D C_PROFB IEA_USER N blocks lafarge typical AND C_AAB C_AIB C_BPB C_DAB C_DABMAB C_DIB C_M2B C_SPEEDM CH_AO OUT C_SSB C_SSDB C_SELECT C_SILOP SINA_GS IEA_USER In the columns O / P (Lafarge) and Q (2. line) are the allowed keywords IEA_TYPICALS. (All entries, except object names and IEA section names from IEA_OBJECTS). O keywords IEA typical AND_8 9 - 70 P keywords IEA typical Lafarge AND_8 Q keywords 2 IEA typical Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Tools In the columns R (C_ROUTE), S (C_GROUP), U (Lafarge group C_SSB) and T (objects, except groups, routes and select modules) are the allowed keywords for the sheets IEA_OBJECTS. R IEA keywords ROUTE BLOCKNAME COMMENT | ONLY | EMPTY WEBW WABW WGWA G_LINK R_RUNNING R_STOPPED COMMENT_RUNNING COMMENT_STOPPE D R_DRIVES_HE R_DRIVES_HV COMMENT_HE COMMENT_HV S IEA keywords GROUP BLOCKNAME COMMENT | ONLY | EMPTY GLA GHA G_R_RUNNING G_R_STOPPED G_RUNNING G_STOPPED COMMENT_ROUTES_RUNNING COMMENT_ROUTES_STOPPE D COMMENT_RUNNING COMMENT_STOPPED R_GRAZ1 R_GRAZ2 R_GREZ1 R_GREZ2 R_HE1 R_HE2 R_HV1 R_HV2 G_DRIVES_HE G_DRIVES_HV COMMENT_HE COMMENT_HV G_LOCAL COMMENT_LOCAL T IEA keywords Objects | AEVG Blockname Blockname_AI Comment DESELECTED EBFA EBFE EBFE1 EBFEY EBFEX EMPTY Event GR_LINK1 GR_LINK2 IN_DEL LOCAL M_SIM WMOD SIM_VAL OKS only | PULS_IN QSTP GSTP REL_SSM REL_MVC SCB SCB_OUT U IEA keywords SSB BLOCKNAME COMMENT | ONLY | EMPTY SAV SSB_BF1 SSB_BF2 SSB_BF3 SSB_BF4 Comment_BF1 Comment_BF2 Comment_BF3 Comment_BF4 Comment_Sequence BF1_1 BF2_1 BF3_1 BF4_1 SSDB T1 .... .... .... SIG_TXT8 SIG_TXT9 SIG_TXT10 Blockname_USE R U_SIGNAL U_TYP Copyright (c) Siemens AG. All Rights Reserved. 9 - 71 Engineering Tools Engineering Cemat V7.1 In the columns V, W (Holcim) and X (Lafarge) are the allowed keywords for interlock blocks in the sheets IEA_OBJECTS. V IEA keywords Interlock ESVG ESVA EEVG EBVG EEVG1 EEVG2 EBVG1 EBVG2 KEV1 KBV1 KSV1 KEV2 KBV2 KSV2 VEVG VBVG VSVG ProtG ProtA 9 - 72 W IEA keywords Holcim Interlock PINT1 PINT2 Prot1 Prot2 X IEA keywords Lafarge Interlock HS PE1 PE2 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Tools Appendix D: Structure of the sheet BLOCKFUNCTIONS A C_DRV_1D main aux main_SC aux_SC I C_VAL_2 D main aux B C_BPB main aux D C_M2B Main Aux E C_DAMPER Main Aux main_SC aux_SC J K L C_DAB main aux C_ANNUNC alarm operation autoprotectio n protection C_DIB Alarm operation autoprotectio n protection shutdown main_SC aux_SC Q C_SPEEDM speedmon C C_DRV_2D main aux main_SC aux_SC R AND BIT S CH_AO AO T OUT OUT U SINA_GS drive_speed F C_DABMAB main aux G C_AAB main aux M N C_MEASU R C_AIB analogvalue analogvalue drive_curr drive_curr H C_VALVE main aux main_SC aux_SC O C_ANNUN 8 annun8 P C_SILOP silo drive_speed drive_speed V C_PROFB speedmon W C_SIMOS simocode X IEA_USER BIT Allowed object functions (block functions) for the sheet OBJECTS. These data will be copied into the sheet OBJECTS to create Excel list fields for the object function input. Copyright (c) Siemens AG. All Rights Reserved. 9 - 73 Engineering Tools Engineering Cemat V7.1 Appendix E: Structure of the sheet HEADER 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 A Header Sheet "OBJECTS" Chart B C D E F Object BlockText ... ... ... Header Sheet "CHARTS" CHART ORG_CHART TYPE ... ... ... Header Sheet "GROUPS" CHART Hierarchy Group 1 ... ... ... Header Sheet "ROUTES" CHART Hierarchy Group 1 ... ... ... Header Sheet "SELECT" CHART Hierarchy Group 1 ... ... ... Header Sheet "GR_LINK" CHART Hierarchy Group 1 ... ... ... Header lines: Line 2 = Header line sheet OBJECTS Line 6 = Header line sheet CHARTS Line 10 = Header line sheet GROUPS Line 14 = Header line sheet ROUTES Line 18 = Header line sheet SELECT Line 22 = Header line sheet GR_LINK 9 - 74 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Engineering Tools Appendix F: How to integrate a user function block in a Process Tag Type 1. Create your user function block In our example we use the block IEA_USER = FB1801. The block has two input parameter: U_SIGNAL - a signal from the signal list SIGNALLIST should be connected U_TYP - depending on an entry in the signal list SIGNALLIST, a value should be changed. 2. Create Process Tag Type Place the user block IEA_USER in a CFC and define the CFC as Process Tag Type. Select U_SIGNAL and UTYP as variable parameter in the Process Tag Type: 3. Add the signal type in the Cemat Engineering Tool Add in the sheet "SIGNALTYPES xxx" the following line: "xxx" = Project Standard Code. Keyword header BIT English User Signal deutsch User Signal block parameter ConvType IOType IEA_USER U_SIGNAL NO,NC,DB DI 4. Define IEA header lines Add in the sheet "IEA_Struc" the following line: U_SIGNAL U_TYP IEA_USER IEA_USER U_SIGNAL U_TYP S| P| SymbolName Value 5. Define name extensions If you like to add to the object name an extension, e. g. like "_AI" to each CH_AI for each measured value, then you have to add in sheet "IEA_Block_Names" the following line: Block IEA IEA_USER object IEA object object extension _EXT In this example, the name of the user block IEA_USER will be always extended by "_EXT". Copyright (c) Siemens AG. All Rights Reserved. 9 - 75 Engineering Tools Engineering Cemat V7.1 6. Add in sheet CEM_TYPICALS xxx the Process Tag Type data "xxx" = Project standard code for Holcim and Lafarge. Enter in the sheet the Process Tag Type name, the object name and the block type: No. found Of No. func found del. Of block block Obj. Obj. Name Obj1 USER_BLOC K U1 USER_BLOC K IEA_USER USER_BLOC K USER_BLOC K 7. Add in sheet IEA_TYPICALS xxx the Process Tag Type data "xxx" = Project standard code for Holcim and Lafarge. Enter in the sheet the Process Tag Type name, the IEA file name, the object name and the IEA section structure name in IEA_OBJECTS: A Typical Name B IEA file USER_BLOCK00.IE USER_BLOCK A USER_BLOCK00.IE USER_BLOCK A C use d D U1 USER1_ B 8. Add in sheet IEA_OBJECTS xxx the IEA section structure "xxx" = Project standard code. Enter in the sheet the IEA section structure for user block: A B C D E F USER1_B IEA_USER U_SIGNA Blockname_USE L | R | Comment U_TYP 9. Add in sheet "IEA keyword" the possibilities for a value parameter List all parameters, which value should be modified, depending on entries from the signal list. Enter the keyword from IEA_OBJECTS and all possible entries in the signal list and the reaction value for the parameter. Example: The parameter U_TYP should be changed depending from values from the signal list. The values from the signal list shall be taken from column 7 = "ConvType". If the "ConvType = "NC", then the U_TYP shall get the value "1". If the "ConvType" = "NO", then the U_TYP shall get the value "0". For all other "ConvType" values, U_TYP shall get the default value "0". keywor column object list defaul d (1. column = 0) t possibility 1 value 1 possibility 2 value 2 U_TYP 7 0 NC 1 NO 0 9 - 76 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Copyright (c) Siemens AG. All Rights Reserved. Engineering Tools 9 - 77 Engineering Cemat V7.1 Check list Check list Content Check list 1 General ...................................................................................................................2 Hardware definition .................................................................................................1 Project Settings (according to Engineering Manual Chapter 3) .............................4 AS Engineering .......................................................................................................7 OS Engineering.....................................................................................................13 Function Test ........................................................................................................14 Copyright (c) Siemens AG. Alle Rechte vorbehalten. Edition: 01/10 N:\Cemat\DOKU\V71_SP1\English\Engineering\10_Check_list_009.doc 10 - 1 Check list Engineering Cemat V7.1 General This document contains check lists for - Plant configuration - Project Settings - AS Engineering - OS Engineering - Function test If you follow these lists you can avoid general mistakes in each phase of the engineering. ! 10 - 2 We recommend to work through the check list before the FAT, in order to avoid deviciencies in advance. Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Check list Project Name: Location: Customer: PCS7 Version: Cemat Version: Project Standard: Engineering (Company): Location: responsible Engineer: inspected by: Date of inspection: Date of Report: Copyright (c) Siemens AG. All Rights Reserved. 10 - 3 Engineering Cemat V7.1 Check list Hardware definition PC Stations: Station Type Engineering Station 1 Engineering Station 2 Server1 Server1 (Standby) Server2 Server2 (Standby) CAS CAS (Standby) Web Server Open PCS7 Computer Name *) WORKGROUP Infobus TCP/IP Address Plant Bus MAC Address MS Login Password WinCC Project Name WinCC Login Password ENG01 ENG02 SERVER1A SERVER1B SERVER2A SERVER2B CAS01 CAS02 WEBSRV01 OPCSRV01 *) Only Letters and Numbers are allowed for Computer names (no special characters) Copyright (c) Siemens AG. All Rights Reserved. N:\Cemat\DOKU\V71_SP1\English\Engineering\10_Check_list_009.doc 10 - 1 Check list Station Type OS Client 1 OS Client 2 OS Client 3 OS Client 4 OS Client 5 OS Client 6 OS Client 7 OS Client 8 OS Client 9 OS Client 10 OS Client 11 OS Client 12 OS Client 13 OS Client 14 OS Client 15 OS Client 16 10 - 2 Engineering Cemat V7.1 Computer Name OSC01 OSC02 OSC03 OSC04 OSC05 OSC06 OSC07 OSC08 OSC09 OSC10 OSC11 OSC12 OSC13 OSC14 OSC15 OSC16 WORKGROUP Infobus TCP/IP Address Plant Bus MAC Address --- MS Login Password WinCC Project Name WinCC Login Password ------------------------------- Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Check list AS Stations: Station Name Function Plant Section (AREA) AS Number (for SYSPLCxx) CPU Type CP143 MAC Address S7 Program Name 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 Copyright (c) Siemens AG. All Rights Reserved. 10 - 3 Check list Engineering Cemat V7.1 Project Settings (according to Engineering Manual Chapter 3) Designations: Item Name of the Multiproject Name of the Project(s) Station Name of the AS AS Program Folder Station Name OS PC Station Name of the OS (as used in the PCS7 Project and in Station Configuration Editor) OS Project name Name of the System Chart 10 - 4 Remark Should discribe the complete Plant The project name for the OS (Servers) must not have an Underscore (because of Server Prefix) has to be unique in the complete MP e. g. AS01 has to be unique in the complete MP e. g. P_PLC01 Following the rules of the PCS7 Readme and the WinCC Help the Computer name should not contain any special Character. Unterscore is also not allowed for Servers!!! Caution: Once WinCC (and SQL Server) has been started, the modification of the station name requires a new installation of the Operating System, PCS7 ........ Should match with the real Station name. Status has to be unique in the complete MP Must be e. g. SYSPLC01 has to be unique in the complete Control System Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Check list Cemat Installation: Item Cemat Version Screen Resolution Windows Appearance Character Size Firewall Remark The actual version is Cemat V7.1 (+ Hotfix?) Possible settings: 1680x1050, 1280x1024, 1600x1200, 1920 x1080 or 1920x1200 must be Classic view (not XP) must be small (normal) characters On the Servers the CEMATRS.exe must be listet under "Exceptions". Status Remark Settings according to Installation Manual? Settings according to Installation Manual? Status Remark Settings according to Installation Manual? Status Remark The actual Version is Cemat V7.1 Hotfix required? Status Hardware Configuration: Item CPU Setting CP Setting Hardware Configuration: Item Network connections Blocks: Item Cemat Library Copyright (c) Siemens AG. All Rights Reserved. 10 - 5 Check list Engineering Cemat V7.1 CFC Settings: Item Settings for Chart compilation Remark Settings according to Installation Manual? Installed block per OB had to be changed to >=300 Status OS Configuration (WinCC Project): Item OS Project Editor Computer Settings Tag Management, internal Tags Alarm logging Tag logging User Archive Horn Configuration Time Synchronisaton 10 - 6 Remark Screen Resolution = 1920x1080? AE 1680x1050, 1280x1024, 1600x1200 or 1920x1200 require exchange of some Cemat standard pictures Settings for Message display and Runtime Window correct? How many area selection buttons? Areas sorted? Additional Application 'CEMATRS.exe' added. Cemat Variables must be created for Single Stations and Servers Redundancy Tags existing (Even if it is only a Single Station the Redundancy Tags are needed for Cemat.) Definition of the Text blocks? Color and Acknowledgement settings? Configuration of the message archive (default: 1 week) Archive variable must have the same name as the process variable. Acquisition time < Archiving/Display time? User Archives C_INFO and C_DRV and DriveList available? Data for C_INFO available? Has the Excel Macro been used? Hardware Information for Inputs and Outputs available? Sounds file defined for each used message class? Time Synchronisation is crucial. Normally: Server = Master; Clients and AS = Slaves Make sure that there is only 1 (redundant) time master. Status Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Check list AS Engineering AS Engineering: Item SYSPLC01 Message configuration Group link Single-Start Release Local Realease Start command Stop command Quick Stop Start-up-warnig Copyright (c) Siemens AG. All Rights Reserved. Remark Naming correct? Is the System chart assigned to a Hierarchy folder in the plant view? Are the blocks of the system chart inserted at the right position in runtime group? Check with the tool "CEMAT CHECK TOOL.XLS" Message texts complete for all blocks? The message text for block comment can be edited in the Process object view. Copy column "Block comment" to "Free Text 1" All objects (C_DRV_1D, C_DRV_2D, C_DAMPER, C_VALVE, C_ANNUNC, C_ANNUN8, C_MEASUR and C_ADAPT must be linked to the group or route via GR_LINK1 or GR_LINK2 (or using C_MUX) Check with the tool "CEMAT CHECK TOOL.XLS" If the Single-start-mode is enabled group-wise the output GES of the Group must be connected to all Signals xEIZ of the Drives If the local mode is enabled group-wise the output GLO of the Group must be connected to all Signals xLOC of the Drives No continuous Signal used for EBFE, KEB1, KEB2, VBFE. Only group/route commands (no EVS) From group or route. Make sure that the feeding drive has been stopped before Quick Stop is used? Connection of output GQS of the group to the QSTP of the drives? Butten in the group faceplate visible? Connect the GLA from the group and the HORN output of all drives belonging to this group to an OR-Gate. Connect the GHA from the group and the HORN output of all drives belonging to this group to an OR-Gate. Status 10 - 7 Check list Engineering Cemat V7.1 Item Group Feedback Annunciation blocks for Drive fault annunciations Annunciation blocks for group status call Annunciation blocks for Interlocking Signals Annunciation blocks, Message configuration Annunciation blocks, Event text for status call function Programming order Runtime sequence Stop delay for the drives Interlock blocks 10 - 8 Remark Connection of GREZ and GRAZ complete? In case of routes the inverted WRA has to be used for the GRAZ. For each signal which is used as protection interlock for a motor an annunciation module must exist. Alarm Activation is essential (MAAT)!!! Annunication blocks existing for the indication of interlocking conditions of groups and routes (in the status call). In the annunciation blocks for interlocking signal (as e. g. Silo Levels) the interface MMZS must be set to 1-Signal in order not to show the summarizing indication in the group display. For each annunciation block the 'Event text' (max. 16 characters) and the 'Free text 1' (max. 40 characters) must be configured. The text under IN_DEL Property "Identifier" will generate an internal variable in the Tag management of WinCC. This text (max. 16 characters) will be used for the status call function. Must be equal to Event Text in the Message System. Check (especially after updates) if OB_START and OB_END is at the correct position. Cemat blocks must be called in OB1. Controllers, Timers and other PCS7 blocks using SAMPLE_T must be called in a time interrupt OB. Check with the tool "CEMAT CHECK TOOL.XLS" "Previous drive stopped" included in EBFA? This makes the configuration of the stop delay easier. The operator only has to configure the delay between one and the next drive. In general the Interlock blocks can be used with any interface if the Cemat blocks. However the most useful application is together with Interlocking conditions (e. g. EEVG, EBVG, ESVG and ESVA). Status Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Item Structure Interlock blocks Treiberbausteine CPU_RT PID Controllers Annunciation Release Cycle time Copyright (c) Siemens AG. All Rights Reserved. Remark Interlock blocks Intlk02, Intlk04, Intlk08 or Intlk16 used for display of interlocking conditions (IntStart, IntOper, IntProtG, IntProtA) Simulation only enabled if necessary? Block C_SIMU_L connected for list of active simulations? The driver blocks are not necessary in Cemat (except for CH_AO) and are only an option. It has to be considered that the driver wizard creates a lot of blocks (expecially when using ET200S) which cost addigional resources (PBK). In order to disable Load Shedding, connect "0" to parameter MAX_RTRG The library PID_Expl contains some examples for PID functions. In case of loss of control power of e.g. Profibus fault we do not want to give alarms for the effected drives. Therefore the Annunciation Release Interface EMFR, KMFR, VMFR, MMFR, UMFR must be connected with a signal "Control Power ok". 0-Signal at xMFR will freeze the alarm generation for the Cemat blocks. Check the actual Cycle time Check list Status 10 - 9 Check list Engineering Cemat V7.1 With the Excel tool "CEMAT CHECK TOOL.XLS" you can check your Group links and your runtime sequence. E. g. you call a drive block before his related C_MUX or you call a drive block after his related C_GROUP block. The Excel tool will detect this engineering fault and show this kind of engineering faults in a list. Additionally you can check the settings in the hardware configuration of the CPU (e. g. the Clock Memory Byte = MB0, etc.). As option you can some important interconnections of the Cemat blocks (e. g. is something connected to the annunciation release or not?) Carry out the following Steps for each AS: 1. In the Process Object view, select the complete AS and actualize the data with F5. After this export the data as follows: Carry out the function Process Objects AE Export All IOs.... As file name choose e. g. AS1_PS.csv. ! Caution: If you carry out only the function Process Objects AE Export IOs... then it could be, that the diagnostic function is executed wrong! E.g if you have a migrated project (e. g. from Cemat V5) and the parameters GR_LINK1 to GR_LINK5, MUX_LINK, MUX_IN and G_LINK are not defined as parameters for the Process Object View and you can not see them in the Process Object View. Or, e. g. sometimes PCS7 exports the parameters of a block not in a sequence. In this case you have double objects in your list. Choose the view "Blocks" in the Process Object View. Carry out the function Process Objects AE Export Current View... As file name choose e. g. AS1_C_csv. Do not choose the function Process Objects AE Export Blocks...Otherwise you do not get the instance DB numbers! 2. Open the CFC editor by opening any chart. 3. Open with Options AE Chart Reference Data the reference data of your AS. Choose the view "Run Sequence". Carry out the function Reference Data AE Create Export File... Save the export in a CSV file e. g. AS1_SEQUENCE.CSV. 4. Open the hardware configuration of your CPU AE Station -> Export" and choose in the export menu the option ""Export default values". Save the export in a CFG file e. g. AS1.CFG. 5. For the next step you need the Excel tool "CEMAT CHECK TOOL.XLS" which you find in the directory D:\Cemat_CS\Tools. Copy the Excel tool into the same directory with the exported files AS1_PS.csv, AS1_C_csv, AS1_SEQUENCE.CSV, AS1.CFG. Open the file "CEMAT CHECK TOOL.XLS" and enter under "Presettings" the file names. Enter also the OB name for Cemat (e. g. OB1) and enter also the used list separator (e. g. ";"). If the OB100 (AS_RESTART), the OB1 (MAIN_TASK) and the OB35 (100MS_TASK) do not have the symbol name from the S7 library ILS_CEM, then enter the symbol names in the cells "G8" to "G18". Start the macro via the button " Check Route & Group Links Check runtime sequence". Wait until the macro is finished and in the status bar of Excel again is displayed "Ready". 10 - 10 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Check list 6. Open the sheet "General Faults". There you will find a list of common fault. Please check each individual case! 7. Fault list "General Faults": In the hardware configuration of the CPU is as startup after Power On not the Warm restart selected! In the hardware configuration of the CPU is the Clock Memory not switched on! In the hardware configuration of the CPU is the Clock Memory Byte not byte 0! In the hardware configuration of the CPU is as clock synchronization type not As slave selected! In the hardware configuration of the CP443 is the flag Forward time of day not selected! The Cemat System Chart is not in a hierarchy folder! The Cemat System Chart name does not start with SYSPLC! The Cemat System Chart name has not 8 characters! The Cemat System Chart number is not within the range of 1 to 50! Some of the Cemat System Chart blocks are not in the Cemat System Chart Hierarchy There is more than one Cemat System chart The system block xxxxx has a wrong name! The system block xxxxx is called more than once! The system block xxxxx is called in the wrong OB! The system chart is not complete. The block xxxxx is not called in the system chart! The runtime sequence in the system chart is wrong. The block xxxxx is called after the block yyyyy! Fault in the runtime sequence. The instance chart\block is called before the Cemat system chart (Runtime Group OB1_START)! Fault in the runtime sequence. The instance chart\block is called after the Cemat system chart (Runtime Group OB1_END)! 8. Open the sheets "Blocks", "C_MUX", "C_ROUTE", "C_SSDB" (Lafarge) and "C_GROUP". In these sheets you will find all Cemat blocks with group / route links, all C_MUX blocks, all C_ROUTE blocks, all C_SSDB blocks (Lafarge), all C_SDB blocks (Lafarge) and all C_GROUP blocks. The Lafarge SSB blocks are listet in sheet "C_GROUP". The lines with a block call and a problem are marked red. The lines with blocks and a missing interconnection (fault number 19 to 27), e. g. a missing annuncation release, are marked yellow. In the column "Fault" you will find a fault number. Please check each individual case! Regarding the interconnection check we recommend to select only one interconnection type (e. g. only the Annunciation Release xMFR) and start the macro. Check the sheet "Blocks" and column "fault". Afterwards select another interconnection type (e. g. GES single mode link or GLO local mode link) and start the macro again. Check again the sheet "Blocks". 9. The macro creates also a sheet of each route and group instance. In these sheets you will find a list of all related Cemat block instances. This list should be later displayed in the WinCC runtime if you choose in the group or route faceplate the function "Objects". Copyright (c) Siemens AG. All Rights Reserved. 10 - 11 Check list Engineering Cemat V7.1 10. Fault list column "Fault": fault 1 fault 2 fault 3 fault 4 fault 5 fault 6 fault 7 fault 8 fault 9 fault 10 fault 11 fault 12 fault 13 fault 14 fault 15 fault 16 fault 17 fault 18 fault 19 fault 20 fault 21 fault 22 fault 23 fault 24 fault 25 fault 26 fault 27 10 - 12 wrong MUX_IN interconnection wrong GR_LINK1 interconnection wrong GR_LINK2 interconnection wrong GR_LINK3 interconnection wrong GR_LINK4 interconnection wrong GR_LINK5 interconnection wrong OB C_MUX block is called after Cemat block C_ROUTE block is called before Cemat block C_GROUP block is called before Cemat block C_MUX call up sequence is wrong for cascaded C_MUX C_GROUP block is called before C_ROUTE If all Cemat blocks of a CFC chart have the same group / route assignment, then all Cemat blocks can use the same C_MUX instance. In this case, the interconnections of the three parameters GR_LINK1, GR_LINK2 and MUX_LINK have to be the same! If fault 13 is listed, then these blocks (connected to the same C_MUX) have different interconnections for GR_LINK1/2. In this case, the Group Status Call, the Group Object List will not properly work! Cemat block is not connected to any C_GROUP C_ROUTE block is not connected to any C_GROUP wrong SSD (Lafarge) interconnection C_SSDB block: SSD parameter is not connected (Lafarge) C_SSDB block is called before C_SDB block or previous C_SSDB block (Lafarge) No GES link No GLO link No GQS link No GAU/WAU link (Dyckerhoff) No ENLM/GVE link (Holcim/Alsen) No DILM/GVA link (Holcim/Alsen) No GR_STP link (Holcim) Annunciation Release is not linked No fault text in identifier on IN_DEL Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Check list OS Engineering OS Engineering: Item Simocode block icon User rights LoopInAlarm Copyright (c) Siemens AG. All Rights Reserved. Remark Has a block icon for the SIMOCODE Adapter been generated? (If the block icon is missing, the group display in the overview range will not be updated.) The block icon can be hidden behind the motor symbol as it is only needed for the group display function. User Groups and Users defined? The Entry of the Picture name in the User Archive C_INFO is not absolutely necessary. As a default, Cemat uses the Picture from Component List Editor. (The entry in C_INFO can still be used; e. g. if the object is in more than on picture and a specific picture should be opened). Status 10 - 13 Check list Engineering Cemat V7.1 Function Test General Functions: Item Help Functions Diagnosis Pictures Info Dialog Annunciation Release Remark Help files can be opened via Cemat Faceplates? Can, for Modules with Interlock function, the blue dots be seen in the diagnosis window? Can the interlock faceplate be opened? Object Information available? I/O information has been generated with Excel Macro? Can the operator comments be saved for the Objects? Additional button functions used, such as Sound, Manual, Video, Map? Can the additional files be opened? In case of a power supply failure, only one message must come! Status Remark Are the alarms in the alarm line displayed correctly (for the areas for which the operator has the permission)? Alarm picture is opened using loop-in-alarm button in message line? The faceplate of the object in the alarm line will open? Status Message System: Item Alarm line Alarm line, Loop in Alarm function Alarm line, Info function Alarm line, Acknowledge Cemat Alarm list Object Alarmwindow 10 - 14 With acknowledge button in the alarm, for the AS which produced the alarm all faults are acknowledged? Selections possible? Selections can be saved? Alarms and Operation annunciation are shown correctly in the Alarm window of the Cemat Objects. Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Check list Group (Route) Functions: Item Status Call Remark Status call function shows all existing faults within the group/route? The fault text is shown correctly, also for annunciation blocks and non-Cemat blocks? Instance List The group instance list shows all objects in the group (or route)? The status of the object is shown correctly (also for noncemat blocks)? With double-click on the object the faceplate will open? Sorting correct? AE Through a respective call-up order in the runtime-editor the objects automatically appear in a correct sequence and must not be sorted manually). Assigned group/route to the Object Instance list saved? AE The new function "show groups/routes for the selected object" only works if the Instance list has been saved before. Open assigned Gruppe/Weg Via button "G" in the route faceplate, the group which is connected via GR_LINK1 will be opened. Show related Objects Via button "O" in the route or group faceplate, all related objects in the process picture are marked. User Object Via button "A" the faceplate of a user object can be opened. Copyright (c) Siemens AG. All Rights Reserved. Status 10 - 15 Check list Engineering Cemat V7.1 Object Functions: 10 - 16 Item Open assigned group/route Remark For drives, measures and annunciation modules: via button "G" the faceplate of the group (or route), which is connected via GR_LINK1 will be opened. User Object For drives, measures and annunciation modules: Via button "A" the faceplate of a user object can be opened. Display of a measure (current or power) in % Measuer for motor current (or power) can be displayed in the drive faceplate (C_DRV_1D und C_DRV_2D). Percentage value correct? (High limit = 100%) Display of a measure Display of an additional measure in the drive faceplate (for C_DRV_1D, C_DRV_2D and C_DAMPER). Can the Measure faceplate be opened directly from the drive faceplate? Display of Archive possible? (See naming conventions for Measuring value archives and Archive variables in Engineering Manual Chapter 3). SIMOCODE The faceplate for Simocode Adapter can be called from drive faceplate (C_DRV_1D, C_DRV_2D, C_DAMPER or C_VALVE)? Does the group display also work for SIMOCODE faults (block icon for SIMOCODE adapter block exist)? SUBCONTROL The Subcontrol faceplate can be called from drive faceplate of C_DRV_1D? Button description ok? Setpoint input Setpoint input and display of the actual value directly from faceplate of C_DRV_1D. Status Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Project administration Project administration Content Project administration 1 Distributed Engineering...........................................................................................2 Saving the PCS 7 project........................................................................................2 Read back process values.........................................................................2 Archiving the project ..................................................................................2 Copyright (c) Siemens AG. All Rights Reserved. Edition: 01/10 N:\Cemat\DOKU\V71_SP1\English\Engineering\11_Project_Administration_009.doc 11 - 1 Project administration Engineering Cemat V7.1 Distributed Engineering A PCS 7 project can be edited by more than one user. Since PCS7 V7 it is even possible that more than one user can make modifications in the same S7-Program (z. B. in order to make modifications in different charts). However, some steps like the compilation of the AS or the OS can not be carried out simultaniously by more than one user. In this case the system blocks the function. Nevertheless, working with more than one user in the same AS requires a cirtain discipline. The WinCC Projects can only be opened on one station at a time. If the situation demands that a project is created at different times or at different locations, you can break down a master project (Multiproject) into subsections (partial projects). You can, for example, assign a station or a program to each person involved. The procedure is analogous for distributing work on several operator stations. See PCS 7 - Configuration Manual Engineering Station, Chapter 5, Basic Concepts of Engineering. Saving the PCS 7 project Read back process values Process values can be changed during operation through HMI. In this case the values are saved in the AS but not in the Offline CFC. As long as you only download for changed, the actual process values are not overwritten. But in case you have to carry out a complete download for any reason, the offline data will be loaded into the AS. For this reason it is important to read back the process parameters regularly - and especially before you take a backup of project. For each AS open a CFC and carry out the function Chart AE Read back... You have to read back "All parameters". Archiving the project Archiving of the Multiproject must be carried out on the Engineering Station via function "Archive..." of the SIMATIC Manager. Via this procedure the Multiproject is copressed with the Archiving program "PKZip", "WinZip" or "Arj", selected in the SIMATIC Manager. ! Never save the Multiproject directly under Windows. Always use Archive function of the SIMATIC Manager! All WinCC Projects must be closed before archiving. Make sure that the complete Multiproject with all partial projects and libraries is archived. The easiest way to insure this is to open the Multiproject and to select the upper most folder (the Multiproject itself) before selecting the Archive function. ! 11 - 2 Do not only save the Archive file on the Engineering Station. Copy the file additionally to a different location. Add the date (and time) to the file name and for security reason, keep the last few archives. Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Graphic Templates Graphic Templates Content Graphic Templates Copyright (c) Siemens AG. All Rights Reserved. Edition: 01/10 N:\Cemat\DOKU\V71_SP1\English\Engineering\13_Graphic_Templates_009.doc 1 13 - 1 Graphic Templates Engineering Cemat V7.1 With the Installation of Cemat V7.1 file Bitmaps.zip is copied to D:\CEMAT_CS\Bitmaps. This file contains a collection of bitmap samples from former projects, which you can your for the Generation of your process pictures. All Bitmaps which are used in the Cemat block icons and Faceplates are already copied into directory D:\CEMAT_CS\WinCC\GraCS. However from Cemat V7.1 only the symbols which are used in the template picture C_@PCS7Typicals_CemV7_1680_1920.PDL are copied to this directory. The symbols for the lower screen resolution (1280x1024) you find together with the template picture C_@PCS7Typicals_CemV7_1280.PDL on the Cemat Installation DVD in directory Cemat_AddOn\CEMAT_1280\CEMAT_CS\WinCC\GraCS. If needed, you must copy these bitmaps additionally into the GraCS folder of your OS Projects. On the following pages you find the illustration of frequently used bitmap samples from directory D:\CEMAT_CS\Bitmaps. 13 - 2 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Copyright (c) Siemens AG. All Rights Reserved. Graphic Templates 13 - 3 Graphic Templates 13 - 4 Engineering Cemat V7.1 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Copyright (c) Siemens AG. All Rights Reserved. Graphic Templates 13 - 5 Graphic Templates 13 - 6 Engineering Cemat V7.1 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Copyright (c) Siemens AG. All Rights Reserved. Graphic Templates 13 - 7 Graphic Templates 13 - 8 Engineering Cemat V7.1 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Tips&Tricks Tips&Tricks Table of Contents Tips&Tricks 1 Notes and Tips for the Use of WinCC / PCS7 V7.1................................................2 Time synchronization .................................................................................2 CEMAT Functions...................................................................................................3 CEMAT Message System..........................................................................3 Engineering of the Messages in CFC ........................................................4 Message System .......................................................................................4 Block Icons with Style Tag .........................................................................5 Process Value Archive...............................................................................5 Hardcopy to default printer ........................................................................6 Replace standard PCS7 INTERLOCK by CEMAT INTERLOCK ..............7 Detect and store the maximum runtime of the Cyclic Interrupt OBs .........8 Run CEMAT blocks in a cyclic interrupt OB ............................................11 Copyright (c) Siemens AG. All Rights Reserved. Edition: 01/10 N:\Cemat\DOKU\V71_SP1\English\Engineering\14_Tips_Tricks_009.doc 14 - 1 Tips&Tricks Engineering Cemat V7.1 Notes and Tips for the Use of WinCC / PCS7 V7.1 The following notes and tips for the use of WinCC/PCS7 V7.1 do not directly refer to CEMAT. This is just a collection of information, which may be useful for engineering and/or commissioning. Further Information can be found in the PCS7 V7.1 Manuals - PCS7 Readme - PCS7 PC Configuration and Authorization and in the FAQ. Time synchronization A time synchronization of the OS Servers and the connected AS components is necessary for a correct annunciation processing (archiving, display, redundancy balancing). Copyright (c) Siemens AG. All Rights Reserved. 14 - 2 Engineering Cemat V7.1 Tips&Tricks CEMAT Functions CEMAT Message System Display period In the CEMAT Message System as standard the annunciations of the last 24 hours are displayed. If this time is too short the value can be changed in the configuration file D:\CEMAT_CS\Config\C_Messages.cfg under [MsgProperty]. The default value MinusSec=86400 corresponds to 86400 seconds = 24 hours. [MsgProperty] ;MinusSec Valud is subtracted from actual date and time ;e. g.: 86400 = 1 day; 28800 = 8 hours; 3600 = 1 hour MinusSec=86400 Remember Filter options The CEMAT Message System provides multiple filter options. Closing the CEMAT Message Window stores the actual selected filter options and after a picture change (when opening the message window again) the previously defined settings are available. If the filter settings inthe CEMAT Message System shall not be remembered, this can be parameterized accordingly through a modification in the configuration file D:\CEMAT_CS\Config\C_Messages.cfg under [MsgInit]. With Parameter MsgReset = 1 the settings are not stored any more and when the CEMAT Message System is opened no filter is active. [MsgInit] ;0 = Save actual filter settings ;1 = Reset filter settings MsgReset=0 Changing Sorting Order The sorting order in the CEMAT Message System can be changed in the configuration file D:\CEMAT_CS\Config\C_Messages.cfg. One can decide whether one wants to see the oldest message above or below in the list. With Parameter MsgSort=1 the oldest message is shown at the bottom. [MsgInit] ;0 = Sortorder up -> default (oldest message at the top) ;1 = Sortorder down (oldest message at the bottom) MsgSort=0 Copyright (c) Siemens AG. All Rights Reserved. Edition: 01/10 N:\Cemat\DOKU\V71_SP1\English\Engineering\14_Tips_Tricks_009.doc 14 - 3 Tips&Tricks Engineering Cemat V7.1 Engineering of the Messages in CFC The Message class "Operating Message" is not available when in the column "with acknowledged" the box is selected. For example: When your project has been migrated to version 6 please check all messages of CEMAT Groups in the CFC. There is a new message "Quick Stop". Deselect in the column "With acknowledged" all boxes. After that in CFC, select Options AE Block Types. Select FB1010 and press 'New Version'. After that check the messages of one Group again. The messages must have the message class "Operating Messages - Standard". Message System System Message for Manual Login The WinCC System Message for Manual Login normally does not contain the User Name. In order to show the user name, the Event text of Message Number 1008003 has to be modified 14 - 4 from USERT:@100%s@:Manual Login to @100%s@:@102%s@:Manual Login Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Tips&Tricks Block Icons with Style Tag In some block icons, as e. g. for groups, routes, selections, drives, the display of the faceplate buttons can enabled/disabled by setting the appropriate code in Property 'Styles', Attribute 'StyleTag'. In order to make this attribute change available also in case of indirect faceplate calls (e. g. block jumps), for any code unequal to "0" the code is stored in D:\CEMAT_CS\config\ C_RuntimeSettings.cfg. The storing of the variable happens in the Runtime System, while opening the faceplate through click on the block icon. Caution: If the code under StyleTag is "0" no code is stored. If you change a StyleTag which was unequal to "0" back to "0", the old value remains stored in file at line `Tagname_ButtonStyle'. In order to go back to the default value you have to manually delete this line. Process Value Archive If the Archive Curve is called from the Faceplate of C_MEASUR the Archive name is determined as follows: Prio1: Checking the entry in the internal variable measure.PV_Out#Value#Shortcut Prio2: Checking the entry in the block icon under property Styles, Attribute ReturnPath. Prio3: Entry in Variable @TagArchiveName (if existing) Prio4: Default setting "ProcessValueArchive" In some projects it happened that a process value archive with name ProcessValueArchive existed already and after this through OS Compile the system has generated a second archive (e. g. with name SystemArchive. In this case the variable @TagArchiveName has been created which contains the name "SystemArchive". As a consequence, the old Archives located under ProcessValueArchive are not found any more. Neither the variable @TagArchiveName nor the SystemArchive itself can be deleted (WinCC refuses this persistently!) this step can not be revoked. There are two solutions to solve this problem: - Create all Archive Variables from the ProcessValueArchive in the SystemArchive again and after that delete the old ProcessValueArchive. But in this case all the historic values are lost. - By forcing the system to ignore the entry in Variable @TagArchiveName and to skip step "Prio3" in the Archive detection. For the second option proceed as follows: - Open file C_Config.cfg (under D:\Cemat_CS\Config). - There you find the lines: [CematSettings] ;Individual Settings for Cemat Objects (0=No, 1=Yes) ;C_MEASUR SkipTagArchiveName=0 - Change the last line into SkipTagArchiveName=1 (Step "Prio3" will be skipped) Copyright (c) Siemens AG. All Rights Reserved. Edition: 01/10 N:\Cemat\DOKU\V71_SP1\English\Engineering\14_Tips_Tricks_009.doc 14 - 5 Tips&Tricks Engineering Cemat V7.1 Hardcopy to default printer With Button "Print" the actual Faceplate can be printed at the standard printer. If no printer is configured, the print jobs go to the print queue as for example Microsoft Office Document Image Writer". From there they are never used if no printer is connected. In case a printer is configured for the station, the print function can be enabled under D:\CEMAT_CS\Config\C_CONFIG.cfg. Proceed as follows: - Open file C_Config.cfg (under D:\Cemat_CS\Config). - There you find the lines: [CematSettings] ..; ; ... ;No Hard copy of the actual faceplate to the default printer... ...HardCopyToDefaultPrinter=0 - Change the last line into HardCopyToDefaultPrinter=1 (Print button can be operated in Runtime) 14 - 6 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Tips&Tricks Replace standard PCS7 INTERLOCK by CEMAT INTERLOCK The Interlock block from the PCS7 standard library needs 33 OS variables. The number of OS variables are reduced to 11 variables, if the CEMAT Interlock block is used. If the Interlock block from the PCS7 standard library is used and this block should be replaced by the CEMAT Interlock and all existing CFC connections should remain, then follow the listed sequence. Attention! In this case the AS must be completely reloaded: 1. Delete FB 75 = INTERLOK from the PCS7 standard library from the block container. Don not delete the entry in the symbol list FB75 = INTERLOK. 2. Copy FB1075 = C_INTERL as FB75 (symbol = INTERLOK). 3. Copy @PG_C_INTERL.PDL as @PG_INTERLOK.PDL. Copy @PG_C_INTERL.PDL_OVERVIEW as @PG_INTERLOK_OVERVIEW.PDL. Copy @PG_C_INTERL.PDL_VIEWLIST as @PG_INTERLOK_VIEWLIST.PDL. Copy @PG_C_INTERL.PDL_STANDARD as @PG_INTERLOK_ STANDARD.PDL. 4. Change the properties of the objects in the copied file @PG_INTERLOK.PDL as follows. * Object @Faceplate -> Texts -> Firstview = @PG_INTERLOK_ STANDARD.PDL. * Object BlockType -> Output/Input -> Output Value = INTERLOK. * Object Viewlist -> Miscellaneous -> Picture Name = @PG_INTERLOK_VIEWLIST.PDL. 5. Invert all inverting bits for all connected inputs in the CFC. Please check the logic!!!!! Copyright (c) Siemens AG. All Rights Reserved. Edition: 01/10 N:\Cemat\DOKU\V71_SP1\English\Engineering\14_Tips_Tricks_009.doc 14 - 7 Tips&Tricks Engineering Cemat V7.1 Detect and store the maximum runtime of the Cyclic Interrupt OBs With the block C_MAX_CYC = FB1021 you can detect and store the maximum runtime of OB1 and of the Cyclic Interrupt Organization Blocks (OB30 to OB38). C_MAX_CYC must be called in OB1 (MAIN_TASK). The gross OB1 runtime is determined internally and provided at output OB1_MAXT. This time considers the cycle time stabilization as well as the interrupts through cyclic interrupt OBs. The net OB1 runtime and the runtime of the Cyclic Interrupt OBs (OB30 to OB38) have to be 'collected' via interconnection from the chart "@CPU_RT" from block "@CPU_RT" = FB128. Via 1-Signal at parameter "RESET", all maximum runtime values of the OBs are reset. The reset time and the moment of the occurrence of the maximum runtime of each OB are stored. Chart "@CPU_RT" with the block "@CPU_RT" is created during CFC compiling, if the option "Generate module drivers" is selected. Input interfaces: Reset BOOL Via 1-Signal at parameter "RESET", the present maximum values of the OBs will be reset. NET01CUR REAL Actual runtime of OB1. This parameter has to be interconnected with the parameter NET01CUR of FB @CPU_RT. NET30CUR to NET38CUR REAL Actual runtime of the Cyclic Interrupt OBxx. This parameter has to be interconnected with the parameter NETxxCUR from FB @CPU_RT. If you like to detect the maximum runtime of OB36 (50 ms), OB37 (20 ms) or OB38 (10 ms), then the OB1 runtime must be shorter than runtime of the cyclic interrupt OB, whose time you want to determine. If the runtime of OB1 is longer than the runtime of the cyclic interrupt OB, then you have to make sure that the maximum runtime of the cyclic interrupt OB is still available at parameter NETxxCUR of block MAX_CYCL, when this is called in OB1. In a small user program, you have to compare the actual detected Value from output NETxxCUR of @CPU_RT with the old maximum value and save the new maximum value until it is reset. The new maximum value must be connected to input NETxxCUR of MAX_CYCL. Of course the small user program has to run in the cyclic interrupt OB. 14 - 8 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Tips&Tricks Connection between @CPU_RT and MAX_CYCL Copyright (c) Siemens AG. All Rights Reserved. Edition: 01/10 N:\Cemat\DOKU\V71_SP1\English\Engineering\14_Tips_Tricks_009.doc 14 - 9 Tips&Tricks Engineering Cemat V7.1 Output interfaces: 14 - 10 RES_TIM1 RES_TIM2 DWORD DWORD Date of reset (year, month, day) Time of reset (hour, minute, second, millisecond) OB1_ACT INT OB1_MAXT inclusive INT Last actual runtime of OB1. The runtime is inclusive the time of the cyclic interrupt OB's, which has interrupted the OB1. The runtime is identified by the SFC 6 (RD_SINFO). Maximum OB1 runtime since last reset. The runtime is MAXT_T1 MAXT_T2 DWORD DWORD the time of the cyclic interrupt OB's, which has interrupted the OB1. The runtime is identified by the SFC 6 (RD_SINFO). Time of OB1_MAXT (year, month, day) Time of OB1_MAXT (hour, minute, second, millisecond) OB01_MAX REAL MAX01_T1 MAX01_T2 DWORD DWORD OB30_MAX REAL MAX30_T1 MAX30_T2 DWORD DWORD OB31_MAX REAL MAX31_T1 MAX31_T2 DWORD DWORD OB32_MAX REAL MAX32_T1 MAX32_T2 DWORD DWORD OB33_MAX REAL MAX33_T1 MAX33_T2 DWORD DWORD OB34_MAX REAL MAX34_T1 MAX34_T2 DWORD DWORD OB35_MAX REAL MAX35_T1 MAX35_T2 DWORD DWORD OB36_MAX REAL MAX36_T1 MAX36_T2 DWORD DWORD OB37_MAX REAL MAX37_T1 MAX37_T2 DWORD DWORD OB38_MAX REAL MAX38_T1 MAX38_T2 DWORD DWORD Maximum OB1 runtime since last reset. The actual runtime of the OB1 has to be connected to parameter NET01CUR. Time of OB01_MAX (year, month, day) Time of OB01_MAX (hour, minute, second, millisecond). Maximum OB30 runtime since last reset. The actual runtime of the OB30 has to be connected to parameter NET30CUR. Time of OB30_MAX (year, month, day) Time of OB30_MAX (hour, minute, second, millisecond). Maximum OB31 runtime since last reset. The actual runtime of the OB31 has to be connected to parameter NET31CUR. Time of OB31_MAX (year, month, day) Time of OB31_MAX (hour, minute, second, millisecond). Maximum OB32 runtime since last reset. The actual runtime of the OB32 has to be connected to parameter NET32CUR. Time of OB32_MAX (year, month, day) Time of OB32_MAX (hour, minute, second, millisecond). Maximum OB33 runtime since last reset. The actual runtime of the OB33 has to be connected to parameter NET33CUR. Time of OB33_MAX (year, month, day) Time of OB33_MAX (hour, minute, second, millisecond). Maximum OB34 runtime since last reset. The actual runtime of the OB34 has to be connected to parameter NET34CUR. Time of OB34_MAX (year, month, day) Time of OB34_MAX (hour, minute, second, millisecond). Maximum OB35 runtime since last reset. The actual runtime of the OB35 has to be connected to parameter NET35CUR. Time of OB35_MAX (year, month, day) Time of OB35_MAX (hour, minute, second, millisecond). Maximum OB36 runtime since last reset. The actual runtime of the OB36 has to be connected to parameter NET36CUR. Time of OB36_MAX (year, month, day) Time of OB36_MAX (hour, minute, second, millisecond). Maximum OB37 runtime since last reset. The actual runtime of the OB37 has to be connected to parameter NET37CUR. Time of OB37_MAX (year, month, day) Time of OB37_MAX (hour, minute, second, millisecond). Maximum OB38 runtime since last reset. The actual runtime of the OB38 has to be connected to parameter NET38CUR. Time of OB38_MAX (year, month, day) Time of OB38_MAX (hour, minute, second, millisecond). Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Tips&Tricks Run CEMAT blocks in a cyclic interrupt OB One of the programming rules for Cemat blocks is that they have to be called in OB1 = MAIN_TASK, between the two run time groups OB1_START and OB1_END. This has the following reasons: - OB1 processes the blocks as fast as possible. The program can "respire", which means if in case of process faults of a lot of operation demand the program needs a little more time for some OB cycles, this does not matter at all. - Certain functions like "Group status call", "Group instance list", "Show related Objects", "Show objects with Simulations", require the execution if the block within the same cycle. - Also the acknowledgement of the faults only works if the programming order is followed and if the complete user program is called in the same cycle. If you still want to call the Cemat Blocks in a cyclic interrupt OB (e.g. 100 ms task or 200 ms task), this only works properly if all Cemat blocks are called in the same cycle. ! If you split the call-up of the Cemat blocks into different cyclic interrupt OBs or OB1, then the above mentioned functions are no longer guarantied. ! When moving the user program to a cyclic interrupt OB you also have to move some parts from runtime group OB1_START and OB1_END to the beginning and to the end of this cyclic interrupt OB. ! You must make sure that the runtime of the User Program does not exceed the acquisition time of the cyclic interrupt OB, which means you have to insert it into the proper interrupt OB and to actualize the process image accordingly. We think that it is not required to move the Cemat User program into a cyclic interrupt OB. If you still want to do this, please consider the following pages. Copyright (c) Siemens AG. All Rights Reserved. Edition: 01/10 N:\Cemat\DOKU\V71_SP1\English\Engineering\14_Tips_Tricks_009.doc 14 - 11 Tips&Tricks Engineering Cemat V7.1 Runtime sequence if everything remains in OB1: When moving the program into a cyclic interrupt OB, please proceed as follows: The red marked program parts under OB1_START and OB1_END (left side) must be moved to the cyclic interrupt OB. The blocks OB1_CYC_Start and OB1_CYC_End are used for cycle time calculation and must remain in OB1. The runtime group "User Programm" stands for the runtime groups of the application program which must be moved to the same cyclic interrupt OB (between START and END). Follow always the Cemat Runtime Sequence: 1. possibly C_MUX blocks 2. Annunciations and Drives 3. Corresponding Routes 4. Corresponding Group 14 - 12 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Tips&Tricks Runtime sequence after moving to OB35 (100ms): The red marked program parts have been moved from OB1 into OB35. The blocks OB1_CYC_Start and OB1_CYC_End are used for cycle time calculation and must remain in OB1. The runtime group "User Programm" stands for the runtime groups of the application program which must now be inserted between OB35_START and OB35_END. Follow always the Cemat Runtime Sequence: 1. possibly C_MUX blocks 2. Annunciations and Drives 3. Corresponding Routes 4. Corresponding Group Copyright (c) Siemens AG. All Rights Reserved. Edition: 01/10 N:\Cemat\DOKU\V71_SP1\English\Engineering\14_Tips_Tricks_009.doc 14 - 13 Tips&Tricks Engineering Cemat V7.1 Runtime sequence after moving to OB34 (200ms): The red marked program parts have been moved from OB1 into OB34. The blocks OB1_CYC_Start and OB1_CYC_End are used for cycle time calculation and must remain in OB1. The runtime group "User Programm" stands for the runtime groups of the application program which must now be inserted between OB34_START and OB34_END. Follow always the Cemat Runtime Sequence: 1. possibly C_MUX blocks 2. Annunciations and Drives 3. Corresponding Routes 4. Corresponding Group 14 - 14 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Update Information Update Information Contents Update Information 1 Additional work for Update from CEMAT V5 ........................................................... 2 Modified/new functions ............................................................................... 2 Update of S7 Program ................................................................................ 2 Update of the WinCC Project...................................................................... 5 Additional work for Updates from CEMAT V6.0 ...................................................... 6 Modified/new functions ............................................................................... 6 Update of S7 Program ................................................................................ 6 Update of the WinCC Project...................................................................... 8 Update CEMAT V6.1 to CEMAT V7.1 SP1 ............................................................. 9 Requirements.............................................................................................. 9 Save Modifications...................................................................................... 9 Modified/new functions ............................................................................. 10 Remove CEMAT V6.................................................................................. 10 Installation of CEMAT V7.1 SP1 ............................................................... 11 Update of S7 Program .............................................................................. 12 Update of the OS-Projects ........................................................................ 17 Compile and Download............................................................................. 20 Update CEMAT V7.0 to CEMAT V7.1 SP1 ........................................................... 21 Requirements............................................................................................ 21 Save Modifications.................................................................................... 21 Modified/new functions ............................................................................. 22 Installation of CEMAT V7.1 SP1 ............................................................... 22 Update of S7 Program .............................................................................. 23 Update of the OS-Projects ........................................................................ 27 Compile and Download............................................................................. 30 Update CEMAT V7.1 to CEMAT V7.1 SP1 ........................................................... 31 Requirements............................................................................................ 31 Save Modifications.................................................................................... 31 Modified/new functions ............................................................................. 32 Installation of CEMAT V7.1 SP1 ............................................................... 32 Update of S7 Program .............................................................................. 33 Update of the OS-Projects ........................................................................ 36 Compile and Download............................................................................. 38 Copyright (c) Siemens AG. All Rights Reserved. Edition: 01/10 N:\Cemat\DOKU\V71_SP1\English\Engineering\15_Update_Information_009.doc 15 - 1 Update Information Engineering Cemat V7.1 Additional work for Update from CEMAT V5 If you want to update your project from Cemat V5 to Cemat V7.1 SP1 you don't have to carry out the same steps several times (updating first to Cemat V6.0, then to Cemat V6.1 etc.) But nevertheless some additional steps are required for the update of a Cemat V5 Project. ! Caution: For the migration of a PCS7 project V5.x you need an engineering station with PCS7 V6.0. Only in this version you have an OS migrator, which is able to convert the V5 Sybase database into a MS SQL database. Please check the PCS7 manual "Software Update from PCS 7 V5.x to V6.0". Modified/new functions The modified/new functions are listed in file readme_V71.pdf on the CEMAT DVD. At this point we would like to refer to the fact that since CEMAT V6 SP2 CEMAT does not contain the controller functions of the PTE library any more. They have been replaced by the standard controller functions of the PCS7 library. You may still use the PTE controllers for existing applications, if your project (and your PCs) already contains the controller functions because of the previous installation of CEMAT V6.0 SP1. Update of S7 Program Create a Multiproject In PCS7 V5 only Projects exist but PCS7 V7.1 works with Multiprojects. You have to convert your project into a Multiproject. The best is to create one partial project per AS, one partial project for each Engineering Station and one partial project for Servers and Clients. In Addition you have to create a Project Library (Master Data Library). If you are lucky you can copy the AS from your old Project into the new project structure. If this is not possible, you have to create new AS, then export the HW Configuration from the old AS and import it into the new AS. Then also copy the symbols, blocks and charts. Caution: Symbols with Attribute S7_m_c don't keep this information during the copy function. The Attribute must be set again. In the HW Configuration you may have to increase the range for local data because the new blocks need more local data memory. The OS-Projects must be created again. The migration of the old OS-Projects does not make sense. Message numbers and message texts If this is not yet done you have to change the message numbering definition to CPU-oriented unique message numbers. Customize -> Message numbers -> Select "Always assign CPU oriented unique message numbers". With the function "Project Save As" and the option "With reorganization (slow)" will all CPU programs are converted to CPU-oriented unique message numbers. The new Cemat blocks don't use abbreviations in the Message text any more, they use wording instead, e. g. "EBM" was changed into "Overload". If you have modified the message texts in your project you have to carry out these adaptations again after the update of the blocks. 15 - 2 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Update Information Create a project library The project library must contain all blocks which are used in several S7-Projects of your AS. These are the blocks from ILC_CEM + PRO_CEM as well as the blocks from other PCS7 Libraries which are used in your project. Replace the V5 blocks directly with the new blocks from V7.1. Some interconnections could get lost because of this exchange. Because of this, please save in any case the log file "Block types.txt". Check each individual case. Plant Hierarchy The picture hierarchy and the summarizing indications are derived from the plant hierarchy. For this reason the charts as well as the pictures must be assigned to the correct hierarchy folders, even if the block icons are not created automatically. In V5-Projects this was often not the case and must be checked and if necessary corrected. Symbol list Caution: There may be a conflict of FB501 CYC_MSS with the symbol TE_STWD and of FB596 CYC_MSE with the symbol TE_LIMHL. Please use the new symbols CYC_MSS and CYC_MSE. In addition some blocks have been moved: FC60 AE FC1060 and FC50 AE FC1050 CFC settings The FC-Area reserved for "Other applications" has been reduced and ends with FC1399, in order to gain more space for the FCs created from the CFC. Probably you have to move some of your User FCs. CFC Check With the version V7.1 SP1 you will get a new check tool = Excel-Tool "CEMAT CHECK TOOL.XLS". With the tool you can check the correct runtime sequence and the correct C_MUX interconnections. Details refer the CEMAT manual 10_Checkliste_009.pdf". Copyright (c) Siemens AG. All Rights Reserved. 15 - 3 Update Information Engineering Cemat V7.1 CEMAT blocks The following modifications must be carried out additionally. For each modification read the corresponding object description. ! 15 - 4 * C_DRV_1D, C_DRV_2D: Delete the block C_SPEEDM and connect the pulse input directly to the motor block. The PLC cycle must be set to 100 ms in the hardware configuration. * C_DRV_1D, C_DRV_2D: If there is a C_MEASUR connected for the motor current, then the parameter REL_MVC must be set to "1". * The blocks C_DRV_S2 and C_DAMP_S are not longer supported. Please use the blocks C_DRV_1D, C_DRV_2D, C_DAMPER and C_VALVE with the SIMOCODE adapter block C_SIMOS. * The block C_ANNUN8 is reduced to 7 alarms. The function / reaction of the block has also changed. Please check your interconnections. * C_SILOP: Delete the block C_ SPCNT and connect the pulse input directly to the motor block. The PLC cycle must be set to 100 ms in the hardware configuration. * C_MEASUR: Only for HZ or if you are using the service function. Configure the parameter BYPB_ACT. * All CEMAT blocks: If you have used block outputs, like REL_OS, INTFC_OS, MODFL_OS, PAR_OS, STATUS, etc. for interconnection, then you have to connect to the new status words. The old output parameters do not exist any more or the assignment has been changed. * For all C_ANNUNC blocks, copy the 'Message text' into Parameter IN_DEL under 'Identifier'. The text length is limited to a maximum of 16 characters. * In the C_MEASUR block we internally use ALARM8_P instead of ALARM8. This results in a loss of the block comment under 'Free Text 1'. You have to copy the block comment again (can be done in the process object view). * Replacement of the System chart: The system chart has been changed and you must replace the existing system chart by the new system chart. Therefore copy the system chart SYSPLC00 from the library ILS_CEM within the "Plant View" into the chart folder of your PLC. Carry out the necessary settings in the new system chart. After that delete the old system chart and rename the new chart (PLC no.). Refer the CEMAT manual 03_PCS7_Project.pdf". Please check the "Run Sequence"! If your project has the message number concept "project-related unique message numbers" you can not copy the system chart. In this case you have to modify your existing system chart like the model from the library ILS_CEM. Please check the "Run Sequence" Caution: The V7.1 Cemat System chart could only copied into your project, if for all AS the message numbering definition is changed to "CPU-oriented unique message numbers". Please check the runtime sequence. The runtime group OB1_START has to be shifted to the beginning of OB1 and the runtime group OB1_END has to be shifted to the end of OB1. Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Update Information Update of the WinCC Project CEMAT Update The old area selection method in the message line, which was used in Cemat V6.0 is no longer possible in Cemat V7.1 SP1. For the area selection it is now absolutely necessary to derive the picture tree from the plant view, which means the process pictures have to be assigned to the correct place in the plant view. The OS-Projects have to be created again and must be configured according to the rules described in the Engineering Manual Chapter 3. From the old process pictures you may use the background picture and the symbols, but the block icons must be created and positioned again. Eventually it is necessary to create a new template picture with block icons. If you have written your own scripts you have to convert these as well. The same applies to your own Faceplates. ! Note: Additionally to these steps you have to follow the description for "Update CEMAT V6.1 to CEMAT V7.1 SP1". Copyright (c) Siemens AG. All Rights Reserved. 15 - 5 Update Information Engineering Cemat V7.1 Additional work for Updates from CEMAT V6.0 If you want to update your project from Cemat V6.0 to Cemat V7.1 SP1 you don't have to carry out the same steps several times (updating first to Cemat V6.1) But nevertheless some additional steps are required for the update of a Cemat V6.0 Project. Modified/new functions The modified/new functions are listed in file readme_V71.pdf on the CEMAT DVD. At this point we would like to refer to the fact that since CEMAT V6 SP2 CEMAT does not contain the controller functions of the PTE library any more. They have been replaced by the standard controller functions of the PCS7 library. You may still use the PTE controllers for existing applications, if your project (and your PCs) already contains the controller functions because of the previous installation of CEMAT V6.0 SP1. Update of S7 Program Message numbers and message texts If this is not yet done you have to change the message numbering definition to CPU-oriented unique message numbers. Customize -> Message numbers -> Select "Always assign CPU oriented unique message numbers". With the function "Project Save As" and the option "With reorganization (slow)" will all CPU programs are converted to CPU-oriented unique message numbers. The new Cemat blocks don't use abbreviations in the Message text any more, they use wording instead, e. g. "EBM" was changed into "Overload". If you have modified the message texts in your project you have to carry out these adaptations again after the update of the blocks. Create a project library The project library must contain all blocks which are used in several S7-Projects of your AS. These are the blocks from ILC_CEM + PRO_CEM as well as the blocks from other PCS7 Libraries which are used in your project. Replace the V6 blocks directly with the new blocks from V7.1. Some interconnections could get lost because of this exchange. Because of this, please save in any case the log file "Block types.txt". Check each individual case. Symbol list Caution: There may be a conflict of FB501 CYC_MSS with the symbol TE_STWD and of FB596 CYC_MSE with the symbol TE_LIMHL. Please use the new symbols CYC_MSS and CYC_MSE. CFC Check With the version V7.1 SP1 you will get a new check tool = Excel-Tool "CEMAT CHECK TOOL.XLS". With the tool you can check the correct runtime sequence and the correct C_MUX interconnections. Details refer the CEMAT manual 10_Checkliste_009.pdf". 15 - 6 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Update Information CEMAT blocks The following modifications must be carried out additionally. For each modification read the corresponding object description. ! * C_DRV_1D, C_DRV_2D: Delete the block C_SPEEDM and connect the pulse input directly to the motor block. The PLC cycle must be set to 100 ms in the hardware configuration. * C_DRV_1D, C_DRV_2D: If there is a C_MEASUR connected for the motor current, then the parameter REL_MVC must be set to "1". * The blocks C_DRV_S2 and C_DAMP_S are not longer supported. Please use the blocks C_DRV_1D, C_DRV_2D, C_DAMPER and C_VALVE with the SIMOCODE adapter block C_SIMOS. * The block C_ANNUN8 is reduced to 7 alarms. The function / reaction of the block has also changed. Please check your interconnections. * C_SILOP: Delete the block C_ SPCNT and connect the pulse input directly to the motor block. The PLC cycle must be set to 100 ms in the hardware configuration. * C_MEASUR: Only for HZ or if you are using the service function. Configure the parameter BYPB_ACT. * All CEMAT blocks: If you have used block outputs, like REL_OS, INTFC_OS, MODFL_OS, PAR_OS, STATUS, etc. for interconnection, then you have to connect to the new status words. The old output parameters do not exist any more or the assignment has been changed. * Replacement of the System chart: The system chart has been changed and you must replace the existing system chart by the new system chart. Therefore copy the system chart SYSPLC00 from the library ILS_CEM within the "Plant View" into the chart folder of your PLC. Carry out the necessary settings in the new system chart. After that delete the old system chart and rename the new chart (PLC no.). Refer the CEMAT manual 03_PCS7_Project.pdf". Please check the "Run Sequence"! If your project has the message number concept "project-related unique message numbers" you can not copy the system chart. In this case you have to modify your existing system chart like the model from the library ILS_CEM. Please check the "Run Sequence" Caution: The V7.1 Cemat System chart could only copied into your project, if for all AS the message numbering definition is changed to "CPU-oriented unique message numbers". Please check the runtime sequence. The runtime group OB1_START has to be shifted to the beginning of OB1 and the runtime group OB1_END has to be shifted to the end of OB1. Copyright (c) Siemens AG. All Rights Reserved. 15 - 7 Update Information Engineering Cemat V7.1 Update of the WinCC Project CEMAT Update The old area selection method in the message line, which was used in Cemat V6.0 is no longer possible in Cemat V7.1 SP1. For the area selection it is now absolutely necessary to derive the picture tree from the plant view, which means the process pictures have to be assigned to the correct place in the plant view. Remark: We recommend creating the OS-Projects again. This is much easier than making all the necessary modifications in the existing OS-Projects. In this case you loose your archive data but at the end you have a proper project structure. If you still want to continue with your existing OS-Projects, you have to carry out these steps additionally to the steps which are explained in the following chapter: 1. Delete all CEMAT Standard Scripts from the PCS7-Project '\Library'. Keep only your own Scripts in PCS7-Project '\Library'. 2. The CEMAT Standard Global Scripts in PCS7-Projekt '\Pas' are no longer required and must be deleted. 3. The VBS Actions in PCS7-Project '\ ScriptAct' are no longer required and must be deleted. 4. Open the WinCC Explorer. We recommend going through the project settings described in the Engineering Manual chapter 3 and correct your OS-Projects accordingly. This is just a bullet point list and does not describe the details: - Change WinCC Design from 'Classic' to '3D' - Correct settings in the OS Project Editor according to the Engineering Manual, chapter 3 - Correct the computer settings - Add the internal variables. - Check the settings in the Tag Logging and correct them if necessary - Check the settings in the Alarm Logging and correct them if necessary - The User Archive C_INFO has got some new columns. Export the existing date of C_INFO. Add the additional columns, using the excel macro. Delete the old C_INFO and import the new structure. After this import the data with the additional columns. - Add new user rights and area specific rights. - Check the Horn configuration - If any Scripts or system-PDLs have been modified in your project, you have to carry out these modifications in the new Scripts or PDLs again after the update is finished. - The old template pictures @PCS7Typicals.pdl and @Template.pdl can not be used any more, because of the additional functions of the block icons. You have to create an new library based on the new template picture. ! 15 - 8 Note: Additionally to these steps you have to follow the description for "Update CEMAT V6.1 to CEMAT V7.1 SP1". Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Update Information Update CEMAT V6.1 to CEMAT V7.1 SP1 You have a CEMAT V6.1 project (based on PCS7 V6.1) and want to upgrade to CEMAT V7.1 SP1 (based on PCS7 V7.1 SP3). The following description explains the necessary steps. Requirements Before the installation of Cemat V7.1 SP1 you have to upgrade your PC to Win XP SP3 / Server 2003 with PCS7 V7.1 SP3. The installation of the operating system and PCS7 is explained in the PCS7 manuals and in the readme and therefore not part of this description. ! Caution: The update to CEMAT V7.1 SP1 requires a complete reloading of the PLC and consequently cannot be carried out while the plant is running. Follow the Manual "PCS7 Software Update with utilization of the new functions" from the PCS7 V7.1 Documentation, especially chapter 7.2 "General Adaptations". The following description refers to this manual. Please also pay attention to the hints for the OS-Migration in chapter 7.2.2. The Server Projects have to be migrated on the Server-PCs directly in order to maintain the runtime data (curves and messages). Install CEMAT V7.1 SP1 before you upgrade you project. If you have OS projects with migrated S5 PLC's (CEMAT V2, V3, V4), you have to install all parts for the S5 migration on your PC. Consider also the project rules from the CEMAT manual Installation of a PCS7 Project" = 03_PCS7_Project_009.pdf Save Modifications Save your project data. Beside the MultiProject this comprises all settings which you have carried out in the CEM_V6 Directory, as well as modifications in the block library ILS_CEM or PRO_CEM. ! - Archive the MultiProject with the SIMATIC Manager - Export the Data of the User Archive C_INFO if you want to continue to use it after the upgrade. The structure of the User Archive C_INFO has been changed. - You can copy the modifications under CEM_V6 (Config, Multimedia, Sounds) to a backup-directory. Caution: Never save directory CEM_V6/BIN"!!! The files from the BIN directory are entered in the registry and must never be moved or deleted. Copyright (c) Siemens AG. All Rights Reserved. 15 - 9 Update Information Engineering Cemat V7.1 Modified/new functions The modified/new functions are listed in file readme_V71.pdf on the CEMAT DVD. At this point we would like to refer to the fact that since CEMAT V6 SP2 CEMAT does not contain the controller functions of the PTE library any more. They have been replaced by the standard controller functions of the PCS7 library V7.1. You may still use the PTE controllers for existing applications, if your project (and your PCs) already contains the controller functions because of the previous installation of CEMAT V6.0 SP1. In Cemat V7.1 the Alarm Line Area Selection from Cemat V6.0 is not supported any more! Remove CEMAT V6 Before the installation of CEMAT V7 you have to de-install the old CEMAT Version. CEMAT V7 will be installed in directory D:\CEMAT_CS instead of D:\CEM_V6. In order to remove the software, go to Control Panel AE Add/ Remove Programs AE Change ore Remove Programs. After the de-installation, carry out a restart of the computer. Perhaps even after a successful de-installation you fill still find a "rest" of files in directory CEM_V6. If these are your own files you may save or delete it. The BIN directory should not contain any OCX or EXE files any more. If you find some, you have to un-register before their deletion (you will find a file 'Unreg.bat' for this purpose). The INI files C_GroupState.ini and C_TreeLog.ini can be deleted. You can keep the CEM_V6 directory as a backup until the Upgrade is completed (especially in case of S5 CEMAT Migration or if using PTE controller functions). After this the CEM_V6 directory is not needed any more. Registry Entries Not only with the installation of CEMAT V6, also during the Runtime, some files were registered. Those directories can not be completely removed during the de-installation of CEMAT. This required a special procedure which has to be carried out with concentration and attention: ! Caution: For the following action you have to be very careful. A wrong action can have serious consequences and perhaps destroy your complete installation. We recommend you to create an image of partition C: before you start. Open the Registry Editor and select 'My Computer'. Search for D:\CEM_V6 and change this string to D:\CEMAT_CS. (Unfortunately there is no "Search" and "Replace" function available.) After this you computer is ready fort he installation of CEMAT V7.1 SP1. 15 - 10 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Update Information Installation of CEMAT V7.1 SP1 Start the Setup program from the CD CEMAT V7.1 SP1 and follow the instructions. The Installation path is 'D:\CEMAT_CS'. This can not be changed! Keys for project standards 000 = CEMAT 004 = Holcim 006 = Dyckerhoff 007 = Heidelberg Cement 023 = Vigier 024 = Bushehr 025 = Caima 026 = Alsen 027 = Lafarge 028 = Rossi If you have OS projects with migrated S5 PLC's (CEMAT V2, V3, V4), you have to install all parts for the S5 migration on your PC. After the installation, for all PC stations (ES, OS SERVER and OS CLIENT) the following steps have to be carried out: 1. The config files contain the default settings, which means if you changed them for your project you have to make this adaptations again. (C_Config.cfg) Also consider the settings in file C_Messages.cfg. 2. Probably you also added for your project some files under 'Multimedia' , 'Sounds' .... After the CEMAT installation these files can be restored from the backup directories and copied into the new additional CEMAT_CS\MULTIMEDIA directories. 3. If you want to use the PTE-Controller Function, then you have to install the PTEController OS part (OCX files, PDLs, scripts, CFG files) before you migrate your PCS7 Project. Otherwise the standard PDLs (@PG_C_??????.PDL) will be wrong converted and can not be used any more. Copy all necessary files for the PTE-Controller function to D:\CEMAT_CS\ into the corresponding directories. Register the OCX files using the BAT file. Refer to the PTEController instructions. Copyright (c) Siemens AG. All Rights Reserved. 15 - 11 Update Information Engineering Cemat V7.1 Update of S7 Program Please refer to the chapter 7 of the manual "PCS 7 - Software Update with utilization of the new functions". New CEMAT Libraries With the installation of CEMAT V7.1 SP1 a new Version of the CMEAT Library ILS_CEM has been installed in directory C:\Program Files\SIEMENS\STEP7\S7libs. This library contains the current CEMAT symbol list, blocks and the system chart. In case of a project standard (project key other than "000") the library PRO_CEM is also transferred into C:\Program Files\SIEMENS\STEP7\S7libs directory. This library contains all blocks which differ from the normal CEMAT standard. The blocks of the CEMAT libraries must be used completely. The system chart has no modification since CEMAT V6.1. New PCS7 Libraries With the installation of PCS7 V7.1 SP3 also some new block libraries were installed. We recommend you to update in your project all blocks from the PCS7 libraries with the new blocks. Please consider that especially for the driver blocks you can not use blocks from different versions. For the update of your S7-Programs please carry out the following steps: Symbol list Open the CEMAT Library ILS_CEM in the SIMATIC Manager and export the symbols from the CEM_ALL S7 program. After that open in your project the symbol list of the project library and change the Address for C_PID3 from FB1008 to FB1018. Then import the actual standard symbols. Analyze the error list of the import editor and correct any errors (e.g. non-unique symbols). Repeat this step for the Symbol lists of each AS. 15 - 12 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Update Information Blocks Actualize the project library first: 1. Copy all blocks from the S7 program of the CEMAT ILS_CEM library into the block folder of your project library and each PLC (overwrite = yes). In case of a project standard copy after that also all blocks from PRO_CEM library into the block folder of your project library and each PLC (overwrite = yes). 2. Delete block FB128 (including the symbol). It is not needed any more and the same FBNumber is used by driver block of PCS7 V7. 3. The project library must not contain blocks with Author ES_MAP. If you find those blocks you have to delete them. 4. Double-check if there are other blocks in your block folder which have to be updated as well. These are e. g. the blocks with Author BAISIS71, TECHN71, DRIVER71, CHN71. Upgrade these blocks to the current version by copying the blocks from the new PCS7 libraries. ! Caution: In some projects AS300 blocks are wrongly used (Autor ELEM_300). Please use only blocks with ELEM_400. ELEM_300 blocks, used in an AS400, could cause sporadic faults. 5. If the system attributes or the message configuration has been changed in the standard blocks for your project, these modifications have to be carried out in the block folder after the upgrade again. Carry out the adaptations in the system attributes or in the message configuration already in the project library. 6. Open the CFC editor by opening any chart. 7. You must now use Options -> Block Types to update all blocks of the chart folder with "New Version". In this step convert the CFC to the format of PCS7 V7.1 SP3. Copyright (c) Siemens AG. All Rights Reserved. 15 - 13 Update Information Engineering Cemat V7.1 After actualizing the project library (master library) you have to upgrade your AS. ! Caution: In Cemat V7.1 SP1 some already existing block parameters have been changed to Structures. These are the group/route links, the actual value and the external setpoint of the damper positioner and the setpoint input and output function of C_DRV_1D. With PCS7 V7.1 SP3 these interconnections are converted into textual interconnections. Some of these interconnections should are rewired to the new structure outputs. The Excel tool C_MIG_V71_SP1.XLS does this rewiring to the new structures. Because of this, the process object view must be exported before the block update. The Excel tool C_MIG_V71_SP1.XLS change e. g. the existing interconnection to the measured value output MV to the new structure measured value output PV_Out. Carry out the following Steps for each AS: 1. In the Process Object view, select the complete AS and actualize the data with F5. Convert the CFCs at the same time into the format of PCS7 V7.1 SP3. After this export the data as follows: 2. Carry out the function Process Objects AE Export all IOs... As file name choose e. g. AS1_PS_V61.csv. 3. Carry out the function Process Objects AE Export Blocks ... As file name choose e. g. AS1_B_csv. 4. After this you can update your block folder. Copy all blocks from the project library into the program folder of your AS (overwrite = yes). After this all CEMAT blocks should be actualized. 5. Delete also in each AS the block FB128 (including the symbol) in order to avoid collision with the driver block from PCS7 V7 6. If your project library is maintained well, there should be no additional "old" blocks in the block folders of the AS. Check the block list, if all PCS7 blocks with family code BASISxx, TECHNxx, CHNxx and DRIVERxx have the actual version. 7. Open the CFC editor by opening any chart. 8. In order to update the chart folder use Options -> Block Types, select all blocks in the chart folder (right window) and press "New Version". Please check: Has been a interconnection deleted? With SP3 of PCS7 V7.1 during block update no interconnection should be deleted. All interconnections which parameter has been changed will be converted into a textual interconnection. In order to close the textual interconnections, carry out the function Options AE Close Textual interconnections. Please check for remaining textual connections, in case this happens, you have to double-check the program. The LOG file must be saved, e. g. with name AS1_Textual Interconnections.txt. 9. In the process object view, select the complete AS and actualize the data with F5. Again carry out the function Process Objects AE Export all IOs... As file name choose e. g. AS1_PS_V71.csv. 10. For the next step you need the Excel tool C_MIG_V71_SP1.XLS which you find in the directory D:\Cemat_CS\Tools. Copy the Excel tool into the same directory with the exported files AS1_PS_V61.csv, AS1_B_csv, AS1_Textual Interconnections.txt and AS1_PS_V71.csv. Open the file C_MIG_V71_SP1.XLS and enter under "Presettings" the file names and additionally the name for the import file. Start the Macro via button "Create PO Import List". 11. Open table "Log text refs". In this sheet are listed all textual interconnections from the LOG file e. g. AS1_Textual Interconnections.txt. The textual interconnections which could be completed get green color. The textual interconnections which could be completed, but a rewired interconnection is stored in the import file, get yellow color (E. g. rewiring from MV to PV_Out). The lines marked in red indicate that the textual interconnection 15 - 14 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Update Information could not be completed. These interconnections have to be restored manually. Check each individual case. 12. After completion of the macro you find in the same directory an import file for the process object view. Import this file in the process object view using the function Process Objects AE Import IOs... If you do not like to rewire all listed interconnections, please check all entires in the generated import file. If necessary, modify the import file manually. If you get during import the following message: "The I/O attributes could not be imported. --- The connection is not selected for the process object view." In this case, please set the corresponding I/O as "Parameter." Process Objects AE Select IOs.... Use the filter to find the corresponding I/O. 13. If you don't change the attribute "HigherProcesscontrolling" on the block icons, i.e. the the attribute has the value 24, then you can jump over this point (13.). The function blocks C_ANNUNC, C_ANNUN8, C_MEASUR und C_PROFB (Holcim ) got the new parameter "SimRight". With the parameter SimRight you can define the user right for simulation. Before the user right for simulation was defined by the block icon attribute "HigherProcesscontrolling". With the Excel tool C_SIM_RIGHT.XLS you can copy the user right defintions from the block icon attribute to the block parameter SimRight. Open a PDL file from GraCS and choose in the window "Dynamic Wizard" the tab "Picture Functions". Choose there the function "Export picture objects" (select all pictures) and store the result in a CSV file, e.g. PDL_Export.CSV. In the process object view, select the complete AS and actualize the data with F5. Carry out the function Process Objects AE Export IOs... As file name choose e. g. AS1_PS_V71.csv. Copy the Excel tool C_SIM_RIGHT.XLS into the same directory with the exported files AS1_PS_V71.csv and PDL_Export.CSV. Open the file C_SIM_RIGHT.XLS and enter under "Presettings" the file names and additionally the name for the import file. Start the Macro via button "Create PO Import List". Open the sheet "objects". In this sheet are listed all block icons of the block types C_ANNUNC, C_ANNUN8, C_MEASUR and C_PROFB (Holcim ), which have a user right value (HigherProcesscontrolling), which is different from the default value 24. If the macro could create an import entry for the process object view, then the complete line gets green color. If there is another line for further block icon connected to the same tag, then the complete line gets yellow. If the tag from the block icon was not found in the process object view, then the complete line gets red. After completion of the macro you find in the same directory an import file for the process object view. With this import file you could change all SimRight parameters to the values of the corresponding attributes HigherProcesscontrolling. Import this file in the process object view using the function Process Objects AE Import IOs... If you do not like to change all listed SimRight parameters, please check all entries from the import file. Edit if necessary the import file manually or edit the SimRight parameters manually! ! Caution: The function "Export picture objects" exports the data of all pictures, i.e. the data of all AS. The export of the Process Object View exports normally the data of only one AS. Either you create an Excel file for each AS. In this case, the line for the block icons of the other AS will be marked as "not found" = red color. Or you copy the export CSV files of the Process Object View together into one file. In this case you have only one Excel file. But the import file you have to import into the Process Object View for each AS. The entries for the other AS create error messages during import. 14. Through the change of the variable format (e. g. from REAL to STRUCT) it may happen that a parameter which was switched to visible before is invisible in the CFC after the upgrade. If an interconnection exists for an invisible parameter you can see this at the blue triangle in the header of the CFC block. If required you have to switch it to visible again. Copyright (c) Siemens AG. All Rights Reserved. 15 - 15 Update Information Engineering Cemat V7.1 15. In the new version the size has increased for some of the blocks. This may lead to overlapping in the CFC. Eventually it is necessary to move some of the blocks in the CFC. 16. Because of extended possibilities for the quality evaluation the rules for connecting Cemat Block and Driver Block have been changed. If you use module driver together with C_ANNUNC or C_MEASUR please check the connection between the blocks (see AS_Engineering.pdf). 17. If SIMOCODE is used, at the drive blocks C_DRV_1D, C_DRV_2D, C_DAMPER and C_VALVE on Parameter REL_SC the corresponding SIMOCODE Adapter block has to be entered (C_SIMO_A, C_SIMOS or C_SIM_AD). Default is C_SIMOS 18. Block C_FB_PLC of the System Chart has got additional parameters. If you keep the default settings the system behavior is same as before the Upgrade. Exception Holcim: In Holcim Projects the Parameter REL_WSTP must be changed to "0", otherwise the group start gets interrupted in case of a warning. 19. Only Holcim: Add a new OR gate with the dynamic faults (EST, KST, VST) of all drives which are involved in the material transport and connected it to FLT_MAT of the C_GROUP. The output N_EMPTY of the C_GROUP module is not longer working like before. Function until V7.1: All dynamic faults of the related objects set the output N_EMPTY. A normal stop reset the output N_EMPTY, even if there is still material on a belt. New function in V7.1 SP1: The new input FLT_MAT set the output N_EMPTY. A normal stop doesn't reset the output N_EMPTY. N_EMPTY must be reset by the Operator after the conveying line is cleared. To get this new function, you need an OR gate with the dynamic faults (EST, KST, VST) of all drives which are involved in the material transport. This new OR gate have to be connected to the new input FLT_MAT. 20. With the version V7.1 SP1 you will get a new check tool = Excel-Tool "CEMAT CHECK TOOL.XLS". With the tool you can check the correct runtime sequence and the correct C_MUX interconnections. Details refer the CEMAT manual 10_Checkliste_009.pdf". 21. Compile the CFC 22. After the actualization of the blocks a complete download to the AS is required. 15 - 16 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Update Information Update of the OS-Projects OS-Migration Again refer to the OS-Migration in the Manual "PCS 7 - Software Update with utilization of the new functions". You have to migrate all OS Projects in your MultiProject. This is carried out under:: Start AE SIMATIC AE WinCC AE Tools AE Project Migrator. CEMAT Update After the CEMAT installation, the D:\CEMAT_CS\WinCC directory contains the current version of the global scripts and the system pictures. These must be transferred to the WinCC project. We assume that in your project the picture tree was derived from the plant view and that the standard message selection of PCS7 is used, which is also used since V6.1 of CEMAT. If your picture tree was nevertheless generated manually you have change it to plant view. In all WinCC Projects carry out the following steps: 1. Open the WinCC Explorer. 2. Change the WinCC Design from 'Classic' to '3D': With right mouse click on the OS Project, select the Project Properties. Open Tag "User Interface and Design" and switch the Active Design from 'WinCC Classic' to WinCC '3D'. 3. Open the OS Project Editor. Check the settings according to the Engineering Manual Chapter 3 "Installation of a PCS7 Project". Close the OS Project Editor with "OK". All standard pictures (Overview, buttons, alarm line, etc.) are replaced by the new standard PDLs of PCS7 V7 SP3. 4. Close WinCC Explorer. 5. Delete all CEMAT standard scripts in your PCS7 project '\Library'. Keep your own scripts in PCS7 project '\Library'. Since V7.0 the Cemat scripts are located in subfolders and must be deleted from the main folder. 6. Also delete the VBS Action 'Cem_Tags.bac' from the PCS7-Project '\ScriptAct'. It is no longer required. 7. During the Cemat installation the Cemat WinCC files are copied into folder D:\CEMAT_CS\WinCC under GraCS, Libray, PRT and WScipts. These files must now be additionally copied to the equivalent folders of the OS Project. With the program 'CematProjectUpdate.exe', which you find under D:\CEMAT_CS, the update can be carried out automatically. Copyright (c) Siemens AG. All Rights Reserved. 15 - 17 Update Information Engineering Cemat V7.1 8. Start the application 'CematProjectUpdate.exe'. The Source must be D:\CEMAT_CS Under OS Project - Destination you have to enter destination (Directory of the OS Project) Default directory is the last closed WinCC project. Under OS Project Sub Directories you find the Subfolders which get copied during the update (cannot be modified). The Screen Resolution (1280x1024, 1680x1050, 1920x1080, 1920x1200 or 1600x1200) is only important for OS Projects with Operator Interface. Via an option, during the OS Project Update the Standard pictures @AlarmEmergency.pdl, @AlarmEmergencyOP.pdl, @AlarmOneLine.pdl, @C_AlarmListing.pdl, @Overview1.pdl, @TopAlarmNew.pdl are exchanged according to the screen resolution. Press button 'Update OS Project' and the files will be copied to the corresponding directories. 9. The template picture for the screen resolution 1280x1024 and the corresponding bitmaps are not automatically installed any more. They are available on the installation DVD in directory Cemat_AddOn\CEMAT_1280\CEMAT_CS\WinCC\GraCS. 10. Open the WinCC project. 11. Adapt the Computer settings under Startup for the "Additional Tasks/Applications" as follows: Change the entry D:\CEM_V6\BIN\Scan_CS.exe into D:\CEMAT_CS\BIN\CEMATRS.exe. Change the working directory from D:\CEM_V6\BIN to D:\CEMAT_CS\BIN. 15 - 18 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Update Information 12. In Cemat V7.1 SP1 in the Tag Management additional internal variables are required. Unfortunately the automatic generation of these variables during the activation of the runtime is not possible, because in this case the variables are created only on the destination station and this inhibits the download of changes. Open the Tag Management and add the internal variables for CEMAT. (see Tag Management in "03_PCS7_Project_009.pf") 13. Check the settings in the Alarm Logging and adapt it according to the settings in the Engineering Manual, Chapter 3. The user text block "Origin" can not be renamed into "Tag" any more because this name is already used internally. Please change the name into "Tagname". 14. Open 'Global Script' and regenerate the header. (Menu/Options/Regenerate Header) 15. During the update procedure the following GraCS files are overwritten by Cemat files. These are: @AlarmEmergency.pdl Extended Alarm line @AlarmEmergencyOP.pdl Extended Alarm line @AlarmOneLine.pdl Alarm line @Buttons11.pdl Button keys1 @Buttons12.pdl Button keys 2 @Language.pdl Language Selection @Logo.pdl Cemat Logo @Overview1.pdl Overview Range @TopAlarmNew.pdl Alarm lines @PG_Intlk02_Standard.pdl Interlock faceplate @PG_Intlk04_Standard.pdl Interlock faceplate @PG_Intlk08_Standard.pdl Interlock faceplate @PG_Intlk16_Screen2.pdl Interlock faceplate @PG_Intlk16_Standard.pdl Interlock faceplate For Single User Stations and for OS Clients this is correct. For OS Servers the OS Project Editor must be started again, because in this case the standard pictures delivered with PCS7 have to be used (the Server has no Visualization). Please select the above listed Pictures in order to be overwritten and confirm with OK. For all other Station types the files have to be deselected if you run the OS Project Editor again. Caution: The files @TopAlarmNew.pdl and @Overview1.pdl can not be deselected and must therefore be copied again after running the OS Project Editor. (Start the program D:\CEMAT_CS\CematProjectUpdate.exe; the button "Res" copies the CEMAT "resolutions" pictures to the destination again). 16. During the Update of the GraCS Directory the new template picture C_@PCS7Typicals_CemV7.pdl have been copied. The template picture is suitable for all CEMAT screen resolution. As all Block Icons have been extended by new functions, we recommend to use the new template pictures and to add the additionally created block icons. (After updating the template picture use Dynamic Wizard Picture AE Update of the Picture objects in order to update the block icons of your process pictures. Select your template picture name and config file @PCS7Typicals.cfg.) 17. If you have modified for your project system PDL's and scripts you have to do the modification again in the new system files. Refer to your backup. 18. Open the User Administrator. Add right 29 (Maintenance). 19. In the Horn configuration, in folder 2 the sound files from directory D:\CEM_V6\Sounds have been selected. Change the directory into D:\CEMAT_CS\Sounds. If you have used additional Sounds you must copy it to the CEMAT directory. Copyright (c) Siemens AG. All Rights Reserved. 15 - 19 Update Information Engineering Cemat V7.1 20. The Structure of the User Archive C_INFO has been changed. - If you did not save it before, save now the actual data. - Delete the User Archive C_INFO. - Import the new structure of C_INFO from directory D:\CEMAT_CS\ua - Convert your data to the new format (add additional columns). An Excel Macro is planned for the conversion and will be available soon. Caution: If you open the C_INFO data with Excel, the returns signs in column G_Infotext can lead to displacements. For this reason we recommend using Access instead of Excel. Procedure, if migrated S5 PLCs exists If you have OS projects with migrated S5 PLC's (CEMAT V2, V3, V4), you have to install all parts for the S5 migration on your PC. (Have a look to the that documentation) Procedure, if PTE Controllers are used Because of the early conversion of Process pictures by the OS migrator it can happen, that some PDL files are converted wrong. E. g. if OCX controls for PTE Objects are used in the Pictures and the OCX was not yet registered. The failure is: The OCX controls are not present. Workaround: After the migration described above you have to copy the process pictures from the backup in the V6.0 version again the GraCS directory. In the WinCC explorer start the conversion of the die PDL files again. After that the PTE-Controllers are integrated correctly. Compile and Download 1. For all PLCs: Compile CFC (complete program). 2. For all Single Stations and primary Servers: OS Compile (complete OS with memory reset). In the background the Server data (package) will be automatically created and loaded into the OS Client Project. Please double-check! 3. Load the complete program into the PLC. 4. Actualize the Server and OS Clients with Project Download. 15 - 20 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Update Information Update CEMAT V7.0 to CEMAT V7.1 SP1 You have a CEMAT V7.0 project (based on PCS7 V7.0) and want to upgrade to CEMAT V7.1 SP1 (based on PCS7 V7.1 SP3). The following description explains the necessary steps. Requirements Before the installation of Cemat V7.1 SP1, you have to upgrade your PC to Win XP SP3 / Server 2003 with PCS7 V7.1 SP3. The installation of the operating system and PCS7 is explained in the PCS7 manuals and in the readme and therefore not part of this description. ! Caution: The update to CEMAT V7.1 SP1 requires a complete reloading of the PLC and consequently cannot be carried out while the plant is running. Follow the Manual "PCS7 Software Update with utilization of the new functions" from the PCS7 V7.1 Documentation, especially chapter 7.2 "General Adaptations". The following description refers to this manual. Please also pay attention to the hints for the OS-Migration in chapter 7.2.2. The Server Projects have to be migrated on the Server-PCs directly in order to maintain the runtime data (curves and messages). Install CEMAT V7.1 SP1 before you upgrade you project. If you have OS projects with migrated S5 PLC's (CEMAT V2, V3, V4), you have to install all parts for the S5 migration on your PC. Consider also the project rules from the CEMAT manual Installation of a PCS7 Project" = 03_PCS7_Project_009.pdf Save Modifications Save your project data. Beside the MultiProject this comprises all settings which you have carried out in the CEMAT_CS Directory, as well as modifications in the block library ILS_CEM or PRO_CEM. ! - Archive the MultiProject with the SIMATIC Manager - Export the Data of the User Archive C_INFO if you want to continue to use it after the upgrade. - You can copy the modifications under CEMAT_CS (Config, Multimedia, Sounds) to a backup-directory. Caution: Never save directory CEMAT_CS/BIN"!!! The files from the BIN directory are entered in the registry and must never be moved or deleted. Copyright (c) Siemens AG. All Rights Reserved. 15 - 21 Update Information Engineering Cemat V7.1 Modified/new functions The modified/new functions are listed in file readme_V71.pdf on the CEMAT Installation DVD. At this point we would like to refer to the fact that since CEMAT V6 SP2 CEMAT does not contain the controller functions of the PTE library any more. They have been replaced by the standard controller functions of the PCS7 library V7.1 SP3. You may still use the PTE controllers for existing applications, if your project (and your PCs) already contains the controller functions because of the previous installation of CEMAT V6.0 SP1. In Cemat V7.1 the Alarm Line Area Selection from Cemat V6.0 is not supported any more! Installation of CEMAT V7.1 SP1 Start the Setup program from the DVD CEMAT V7.1 SP1 and follow the instructions. The Installation path is 'D:\CEMAT_CS'. This can not be changed! Keys for project standards 000 = CEMAT 004 = Holcim 006 = Dyckerhoff 007 = Heidelberger Cement 023 = Vigier 024 = Bushehr 025 = Caima 026 = Alsen 027 = Lafarge 028 = Rossi If you have OS projects with migrated S5 PLC's (CEMAT V2, V3, V4), you have to install all parts for the S5 migration on your PC. After the installation, for all PC stations (ES, OS SERVER and OS CLIENT) the following steps have to be carried out: 1. The config files contain the default settings, which means if you changed them for your project you have to make this adaptations again. (C_Config.cfg) Also consider the settings in file C_Messages.cfg. 2. Probably you also added for your project some files under 'Multimedia' , 'Sounds' .... After the CEMAT installation these files can be restored from the backup directories and copied into the new additional CEMAT_CS\MULTIMEDIA directories. 3. If you use the PTE-Controller Function in CEMAT V7.1 SP1 you can keep it as well. 15 - 22 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Update Information Update of S7 Program Please refer to the chapter 7 of the manual "PCS 7 - Software Update with utilization of the new functions". New CEMAT Libraries With the installation of CEMAT V7.1 SP1 a new Version of the CMEAT Library ILS_CEM has been installed in directory C:\Program Files\SIEMENS\STEP7\S7libs. This library contains the current CEMAT symbol list, blocks and the system chart. In case of a project standard (project key other than "000") the library PRO_CEM is also transferred into C:\Program Files\SIEMENS\STEP7\S7libs directory. This library contains all blocks which differ from the normal CEMAT standard. The blocks of the CEMAT libraries must be used completely. The system chart has not modification since CEMAT V7.0. New PCS7 Libraries With the installation of PCS7 V7.1 SP3 also some new block libraries were installed. We recommend you to update in your project all blocks from the PCS7 libraries with the new blocks. Please consider that especially for the driver blocks you can not use blocks from different versions. For the update of your S7-Programs please carry out the following steps: Symbol list Open the CEMAT Library ILS_CEM in the SIMATIC Manager and export the symbols from the CEM_ALL S7 program. After that open in your project the symbol list of the project library and import the actual standard symbols. Analyze the error list of the import editor and correct any errors (e.g. nonunique symbols). Repeat this step for the Symbol lists of each AS. Blocks Actualize the project library first: 1. Copy all blocks from the S7 program of the CEMAT ILS_CEM library into the block folder of your project library and each PLC (overwrite = yes). In case of a project standard copy after that also all blocks from PRO_CEM library into the block folder of your project library and each PLC (overwrite = yes). 2. The project library must not contain blocks with Author ES_MAP. If you find those blocks you have to delete them. 3. Double-check if there are other blocks in your block folder which have to be updated as well. These are e. g. the blocks with Author BAISIS71, TECHN71, DRIVER71, CHN71. Upgrade these blocks to the current version by copying the blocks from the new PCS7 libraries. ! Caution: In some projects AS300 blocks are wrongly used (Autor ELEM_300). Please use only blocks with ELEM_400. ELEM_300 blocks, used in an AS400, could cause sporadic faults. Copyright (c) Siemens AG. All Rights Reserved. 15 - 23 Update Information Engineering Cemat V7.1 4. If the system attributes or the message configuration has been changed in the standard blocks for your project, these modifications have to be carried out in the block folder after the upgrade again. Carry out the adaptations in the system attributes or in the message configuration already in the project library. 5. Open the CFC editor by opening any chart. 6. You must now use Options -> Block Types to update all blocks of the chart folder with "New Version". In this step convert the CFC to the format of PCS7 V7.1 SP3. After actualizing the project library (master library) you have to upgrade your AS. ! Caution: In Cemat V7.1 SP1 some already existing block parameters have been changed to Structures. These are the group/route links, the actual value and the external setpoint of the damper positioner and the setpoint input and output function of C_DRV_1D. With PCS7 V7.1 SP3 these interconnections are converted into textual interconnections. Some of these interconnections should are rewired to the new structure outputs. The Excel tool C_MIG_V71_SP1.XLS does this rewiring to the new structures. Because of this, the process object view must be exported before the block update. The Excel tool C_MIG_V71_SP1.XLS change e. g. the existing interconnection to the measured value output MV to the new structure measured value output PV_Out. Carry out the following Steps for each AS: 1. In the Process Object view, select the complete AS and actualize the data with F5. Convert the CFCs at the same time into the format of PCS7 V7.1 SP3. After this export the data as follows: 2. Carry out the function Process Objects AE Export all IOs... As file name choose e. g. AS1_PS_V70.csv. 3. Carry out the function Process Objects AE Export Blocks ... As file name choose e. g. AS1_B_csv. 4. After this you can update your block folder. Copy all blocks from the project library into the program folder of your AS (overwrite = yes). After this all CEMAT blocks should be actualized. 5. If your project library is maintained well, there should be no additional "old" blocks in the block folders of the AS. Check the block list, if all PCS7 blocks with family code BASISxx, TECHNxx, CHNxx and DRIVERxx have the actual version. 6. Open the CFC editor by opening any chart. 7. In order to update the chart folder use Options -> Block Types, select all blocks in the chart folder (right window) and press "New Version". Please check: Has been a interconnection deleted? With SP3 of PCS7 V7.1 during block update no interconnection should be deleted. All interconnections which parameter has been changed will be converted into a textual interconnection. In order to close the textual interconnections, carry out the function Options AE Close Textual interconnections. Please check for remaining textual connections, in case this happens, you have to double-check the program. The LOG file must be saved, e. g. with name AS1_Textual Interconnections.txt. 8. In the process object view, select the complete AS and actualize the data with F5. Again carry out the function Process Objects AE Export all IOs... As file name choose e. g. AS1_PS_V71.csv. 9. For the next step you need the Excel tool C_MIG_V71_SP1.XLS which you find in the directory D:\Cemat_CS\Tools. Copy the Excel tool into the same directory with the 15 - 24 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Update Information exported files AS1_PS_V70.csv, AS1_B_csv, AS1_Textual Interconnections.txt and AS1_PS_V71.csv. Open the file C_MIG_V71_SP1.XLS and enter under "Presettings" the file names and additionally the name for the import file. Start the Macro via button "Create PO Import List". 10. Open table "Log text refs". In this sheet are listed all textual interconnections from the LOG file e. g. AS1_Textual Interconnections.txt. The textual interconnections which could be completed get green color. The textual interconnections which could be completed, but a rewired interconnection is stored in the import file, get yellow color (E. g. rewiring from MV to PV_Out). The lines marked in red indicate that the textual interconnection could not be completed. These interconnections have to be restored manually. Check each individual case. 11. After completion of the macro you find in the same directory an import file for the process object view. Import this file in the process object view using the function Process Objects AE Import IOs... If you do not like to rewire all listed interconnections, please check all entires in the generated import file. If necessary, modify the import file manually. If you get during import the following message: "The I/O attributes could not be imported. --- The connection is not selected for the process object view." In this case, please set the corresponding I/O as "Parameter." Process Objects AE Select IOs.... Use the filter to find the corresponding I/O. 12. If you don't change the attribute "HigherProcesscontrolling" on the block icons, i.e. the the attribute has the value 24, then you can jump over this point (12.). The function blocks C_ANNUNC, C_ANNUN8, C_MEASUR und C_PROFB (Holcim ) got the new parameter "SimRight". With the parameter SimRight you can define the user right for simulation. Before the user right for simulation was defined by the block icon attribute "HigherProcesscontrolling". With the Excel tool C_SIM_RIGHT.XLS you can copy the user right defintions from the block icon attribute to the block parameter SimRight. Open a PDL file from GraCS and choose in the window "Dynamic Wizard" the tab "Picture Functions". Choose there the function "Export picture objects" (select all pictures) and store the result in a CSV file, e.g. PDL_Export.CSV. In the process object view, select the complete AS and actualize the data with F5. Carry out the function Process Objects AE Export IOs... As file name choose e. g. AS1_PS_V71.csv. Copy the Excel tool C_SIM_RIGHT.XLS into the same directory with the exported files AS1_PS_V71.csv and PDL_Export.CSV. Open the file C_SIM_RIGHT.XLS and enter under "Presettings" the file names and additionally the name for the import file. Start the Macro via button "Create PO Import List". Open the sheet "objects". In this sheet are listed all block icons of the block types C_ANNUNC, C_ANNUN8, C_MEASUR and C_PROFB (Holcim ), which have a user right value (HigherProcesscontrolling), which is different from the default value 24. If the macro could create an import entry for the process object view, then the complete line gets green color. If there is another line for further block icon connected to the same tag, then the complete line gets yellow. If the tag from the block icon was not found in the process object view, then the complete line gets red. After completion of the macro you find in the same directory an import file for the process object view. With this import file you could change all SimRight parameters to the values of the corresponding attributes HigherProcesscontrolling. Import this file in the process object view using the function Process Objects AE Import IOs... If you do not like to change all listed SimRight parameters, please check all entries from the import file. Edit if necessary the import file manually or edit the SimRight parameters manually! Copyright (c) Siemens AG. All Rights Reserved. 15 - 25 Update Information ! Engineering Cemat V7.1 Caution: The function "Export picture objects" exports the data of all pictures, i.e. the data of all AS. The export of the Process Object View exports normally the data of only one AS. Either you create an Excel file for each AS. In this case, the line for the block icons of the other AS will be marked as "not found" = red color. Or you copy the export CSV files of the Process Object View together into one file. In this case you have only one Excel file. But the import file you have to import into the Process Object View for each AS. The entries for the other AS create error messages during import. 13. Through the change of the variable format (e. g. from REAL to STRUCT) it may happen that a parameter which was switched to visible before is invisible in the CFC after the upgrade. If an interconnection exists for an invisible parameter you can see this at the blue triangle in the header of the CFC block. If required you have to switch it to visible again. 14. In the new version the size has increased for some of the blocks. This may lead to overlapping in the CFC. Eventually it is necessary to move some of the blocks in the CFC. 15. If the setpoint input is used for C_DRV_1D, please check the dimension if it was changed before to a value different from 'rpm'. After the upgrade the dimension is set to the default 'rpm'. 16. Because of extended possibilities for the quality evaluation the rules for connecting Cemat Block and Driver Block have been changed. If you use module driver together with C_ANNUNC or C_MEASUR please check the connection between the blocks (see AS_Engineering.pdf). 17. Block C_FB_PLC of the System Chart has got additional parameters. If you keep the default settings the system behavior is same as before the Upgrade. Exception Holcim: In Holcim Projects the Parameter REL_WSTP must be changed to "0", otherwise the group start gets interrupted in case of a warning. 18. Only Holcim: Add a new OR gate with the dynamic faults (EST, KST, VST) of all drives which are involved in the material transport and connected it to FLT_MAT of the C_GROUP. The output N_EMPTY of the C_GROUP module is not longer working like before. Function until V7.1: All dynamic faults of the related objects set the output N_EMPTY. A normal stop reset the output N_EMPTY, even if there is still material on a belt. New function in V7.1 SP1: The new input FLT_MAT set the output N_EMPTY. A normal stop doesn't reset the output N_EMPTY. N_EMPTY must be reset by the Operator after the conveying line is cleared. To get this new function, you need an OR gate with the dynamic faults (EST, KST, VST) of all drives which are involved in the material transport. This new OR gate have to be connected to the new input FLT_MAT. 19. With the version V7.1 SP1 you will get a new check tool = Excel-Tool "CEMAT CHECK TOOL.XLS". With the tool you can check the correct runtime sequence and the correct C_MUX interconnections. Details refer the CEMAT manual 10_Checkliste_009.pdf". 20. Compile the CFC 21. After the actualization of the blocks a complete download to the AS is required. 15 - 26 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Update Information Update of the OS-Projects OS-Migration Again refer to the OS-Migration in the Manual "PCS 7 - Software Update with utilization of the new functions". You have to migrate all OS Projects in your MultiProject. This is carried out under:: Start AE SIMATIC AE WinCC AE Tools AE Project Migrator. CEMAT Update After the CEMAT installation, the D:\CEMAT_CS\WinCC directory contains the current version of the global scripts and the system pictures. These must be transferred to the WinCC project. We assume that in your project the picture tree was derived from the plant view and that the standard message selection of PCS7 is used, which is also used since V6.1 of CEMAT. If your picture tree was nevertheless generated manually you have change it to plant view. In all WinCC Projects carry out the following steps: 1. Open the WinCC Explorer. 2. Change the WinCC Design from 'Classic' to '3D': With right mouse click on the OS Project, select the Project Properties. Open Tag "User Interface and Design" and switch the Active Design from 'WinCC Classic' to WinCC '3D'. 3. Open the OS Project Editor. Check the settings according to the Engineering Manual Chapter 3 "Installation of a PCS7 Project". Close the OS Project Editor with "OK". All standard pictures (Overview, buttons, alarm line, etc.) are replaced by the new standard PDLs of PCS7 V7.1 SP3. 4. Close WinCC Explorer. 5. During the Cemat installation the Cemat WinCC files are copied into folder D:\CEMAT_CS\WinCC under GraCS, Libray, PRT and WScipts. These files must now be additionally copied to the equivalent folders of the OS Project. With the program 'CematProjectUpdate.exe', which you find under D:\CEMAT_CS, the update can be carried out automatically. Copyright (c) Siemens AG. All Rights Reserved. 15 - 27 Update Information Engineering Cemat V7.1 6. Start the application 'CematProjectUpdate.exe'. The Source must be D:\CEMAT_CS Under OS Project - Destination you have to enter destination (Directory of the OS Project) Default directory is the last closed WinCC project. Under OS Project Sub Directories you find the Subfolders which get copied during the update (cannot be modified). The Screen Resolution (1280x1024, 1680x1050, 1920x1080, 1920x1200 or 1600x1200) is only important for OS Projects with Operator Interface. Via an option, during the OS Project Update the Standard pictures @AlarmEmergency.pdl, @AlarmEmergencyOP.pdl, @AlarmOneLine.pdl, @C_AlarmListing.pdl, @Overview1.pdl, @TopAlarmNew.pdl are exchanged according to the screen resolution. Press button 'Update OS Project' and the files will be copied to the corresponding directories. 7. The template picture for the screen resolution 1280x1024 and the corresponding bitmaps are not automatically installed any more. They are available on the installation DVD in directory Cemat_AddOn\CEMAT_1280\CEMAT_CS\WinCC\GraCS. 8. The template picture for the screen resolution 1280x1024 and the corresponding bitmaps are not automatically installed any more. They are available on the installation DVD in directory Cemat_AddOn\CEMAT_1280\CEMAT_CS\WinCC\GraCS. If you already use this screen resolution the template picture and the bitmaps are already available in your project. In any case copy the template picture C_@PCS7Typicals_CemV7_1280.pdl into the GraCS directory of your OS-Project because the symbols of group, measure and damper positioner must be changed. The old symbols don't fit any more. 15 - 28 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Update Information 9. Open the WinCC project. 10. Adapt the Computer settings under Startup for the "Additional Tasks/Applications" as follows: Change the entry D:\CEMAT_CS\BIN\Scan_CS.exe into D:\CEMAT_CS\BIN\CEMATRS.exe. The working directory remains D\CEMAT_CS\BIN. 11. In Cemat V7.1 SP1 in the Tag Management additional internal variables are required. Unfortunately the automatic generation of these variables during the activation of the runtime is not possible, because in this case the variables are created only on the destination station and this inhibits the download of changes. Open the Tag Management and add the internal variables for CEMAT. (see Tag Management in "03_PCS7_Project_009.pf") 12. Check the settings in the Alarm Logging and adapt it according to the settings in the Engineering Manual, Chapter 3. The user text block "Origin" can not be renamed into "Tag" any more because this name is already used internally. Please change the name into "Tagname". 13. Open 'Global Script' and regenerate the header. (Menu/Options/Regenerate Header) 14. During the update procedure the following GraCS files are overwritten by Cemat files. These are: @AlarmEmergency.pdl Extended Alarm line @AlarmEmergencyOP.pdl Extended Alarm line @AlarmOneLine.pdl Alarm line @Buttons11.pdl Button keys1 @Buttons12.pdl Button keys 2 @Language.pdl Language Selection @Logo.pdl Cemat Logo @Overview1.pdl Overview Range @TopAlarmNew.pdl Alarm lines @PG_Intlk02_Standard.pdl Interlock faceplate @PG_Intlk04_Standard.pdl Interlock faceplate @PG_Intlk08_Standard.pdl Interlock faceplate @PG_Intlk16_Screen2.pdl Interlock faceplate @PG_Intlk16_Standard.pdl Interlock faceplate For Single User Stations and for OS Clients this is correct. For OS Servers the OS Project Editor must be started again, because in this case the standard pictures delivered with PCS7 have to be used (the Server has no Visualization). Please select the above listed Pictures in order to be overwritten and confirm with OK. For all other Station types the files have to be deselected if you run the OS Project Editor again. Caution: The files @TopAlarmNew.pdl and @Overview1.pdl can not be deselected and must therefore be copied again after running the OS Project Editor. (Start the program D:\CEMAT_CS\CematProjectUpdate.exe; the button "Res" copies the CEMAT "resolutions" pictures to the destination again). 15. During the Update of the GraCS Directory the new template picture C_@PCS7Typicals_CemV7.pdl have been copied. The template picture is suitable for all CEMAT screen resolution. As all Block Icons have been extended by new functions, we recommend to use the new template pictures and to add the additionally created block icons. (After updating the template picture use Dynamic Wizard Picture AE Update of the Picture objects in order to update the block icons of your process pictures. Select your template picture name and config file @PCS7Typicals.cfg.) 16. If you have modified for your project system PDL's and scripts you have to do the modification again in the new system files. Refer to your backup. Copyright (c) Siemens AG. All Rights Reserved. 15 - 29 Update Information Engineering Cemat V7.1 Procedure, if migrated S5 PLCs exists If you have OS projects with migrated S5 PLC's (CEMAT V2, V3, V4), you have to install all parts for the S5 migration on your PC. (Have a look to the that documentation) Procedure, if PTE Controllers are used It is not necessary to install new files, because there is nothing changed. Compile and Download 1. For all PLCs: Compile CFC (complete program). 2. For all Single Stations and primary Servers: OS Compile (complete OS with memory reset). In the background the Server data (package) will be automatically created and loaded into the OS Client Project. Please double-check! 3. Load the complete program into the PLC. 4. Actualize the Server and OS Clients with Project Download. 15 - 30 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Update Information Update CEMAT V7.1 to CEMAT V7.1 SP1 You have a CEMAT V7.1 project (based on PCS7 V7.1 SP1 or SP2) and want to upgrade to CEMAT V7.1 SP1 (based on PCS7 V7.1 SP3). The following description explains the necessary steps. Requirements Before the installation of Cemat V7.1 SP1, please check the requirements for the operating system of your PC. The installation of the operating system and PCS7 is explained in the PCS7 manuals and in the readme and therefore not part of this description. ! Caution: The update to CEMAT V7.1 SP1 requires a complete reloading of the PLC and consequently cannot be carried out while the plant is running. Follow the Manual "PCS7 Software Update with utilization of the new functions" from the PCS7 V7.1 Documentation, especially chapter 7.2 "General Adaptations". The following description refers to this manual. Please also pay attention to the hints for the OS-Migration in chapter 7.2.2. The Server Projects have to be migrated on the Server-PCs directly in order to maintain the runtime data (curves and messages). Install CEMAT V7.1 SP1 before you upgrade you project. If you have OS projects with migrated S5 PLC's (CEMAT V2, V3, V4), you have to install all parts for the S5 migration on your PC. Consider also the project rules from the CEMAT manual "Installation of a PCS7 Project" = 03_PCS7_Project_009.pdf Save Modifications Save your project data. Beside the Multi Project this comprises all settings which you have carried out in the CEMAT_CS Directory, as well as modifications in the block library ILS_CEM or PRO_CEM. ! - Archive the Multi Project with the SIMATIC Manager - Export the Data of the User Archive C_INFO if you want to continue to use it after the upgrade. - You can copy the modifications under CEMAT_CS (Config, Multimedia, Sounds) to a backup-directory. Caution: Never save directory "CEMAT_CS/BIN"!!! The files from the BIN directory are entered in the registry and must never be moved or deleted. Copyright (c) Siemens AG. All Rights Reserved. 15 - 31 Update Information Engineering Cemat V7.1 Modified/new functions The modified/new functions are listed in file readme_V71.pdf on the CEMAT Installation DVD. Installation of CEMAT V7.1 SP1 Start the Setup program from the DVD CEMAT V7.1 SP1 and follow the instructions. The Installation path is 'D:\CEMAT_CS'. This can not be changed! Keys for project standards 000 = CEMAT 004 = Holcim 006 = Dyckerhoff 007 = Heidelberger Cement 023 = Vigier 024 = Busheher 025 = Caima 026 = Alsen 027 = Lafarge 028 = Rossi If you have OS projects with migrated S5 PLC's (CEMAT V2, V3, V4), you have to install all parts for the S5 migration on your PC. After the installation, for all PC stations (ES, OS SERVER and OS CLIENT) the following steps have to be carried out: 1. The config files contain the default settings, which means if you changed them for your project you have to make this adaptations again. (C_Config.cfg) Also consider the settings in file C_Messages.cfg. 2. Probably you also added for your project some files under 'Multimedia' , 'Sounds' .... After the CEMAT installation these files can be restored from the backup directories and copied into the new additional CEMAT_CS\MULTIMEDIA directories. 3. If you use the PTE-Controller Function in CEMAT V7.1 SP1 you can keep it as well. 15 - 32 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Update Information Update of S7 Program Please refer to the chapter 7 of the manual "PCS 7 - Software Update with utilization of the new functions". New CEMAT Libraries With the installation of CEMAT V7.1 SP1 a new Version of the CMEAT Library ILS_CEM has been installed in directory C:\Program Files\SIEMENS\STEP7\S7libs. This library contains the current CEMAT symbol list, blocks and the system chart. In case of a project standard (project key other than "000") the library PRO_CEM is also transferred into C:\Program Files\SIEMENS\STEP7\S7libs directory. This library contains all blocks which differ from the normal CEMAT standard. The blocks of the CEMAT libraries must be used completely. The system chart has not modification since CEMAT V7.1. New PCS7 Libraries With the installation of PCS7 V7.1 SP3 also some new block libraries were installed. We recommend you to update in your project all blocks from the PCS7 libraries with the new blocks. Please consider that especially for the driver blocks you can not use blocks from different versions. For the update of your S7-Programs please carry out the following steps: Symbol list Open the CEMAT Library ILS_CEM in the SIMATIC Manager and export the symbols from the CEM_ALL S7 program. After that open in your project the symbol list of the project library and import the actual standard symbols. Analyze the error list of the import editor and correct any errors (e.g. nonunique symbols). Repeat this step for the Symbol lists of each AS. Blocks Actualize the project library first: 1. Copy all blocks from the S7 program of the CEMAT ILS_CEM library into the block folder of your project library and each PLC (overwrite = yes). In case of a project standard copy after that also all blocks from PRO_CEM library into the block folder of your project library and each PLC (overwrite = yes). 2. The project library must not contain blocks with Author ES_MAP. If you find those blocks you have to delete them. 3. Double-check if there are other blocks in your block folder which have to be updated as well. These are e. g. the blocks with Author BAISIS71, TECHN71, DRIVER71, CHN71. Upgrade these blocks to the current version by copying the blocks from the new PCS7 libraries. ! Caution: In some projects AS300 blocks are wrongly used (Autor ELEM_300). Please use only blocks with ELEM_400. ELEM_300 blocks, used in an AS400, could cause sporadic faults. Copyright (c) Siemens AG. All Rights Reserved. 15 - 33 Update Information Engineering Cemat V7.1 4. If the system attributes or the message configuration has been changed in the standard blocks for your project, these modifications have to be carried out in the block folder after the upgrade again. Carry out the adaptations in the system attributes or in the message configuration already in the project library. 5. Open the CFC editor by opening any chart. 6. You must now use Options -> Block Types to update all blocks of the chart folder with "New Version". In this step convert the CFC to the format of PCS7 V7.1 SP3. After actualizing the project library (master library) you have to upgrade your AS. Carry out the following Steps for each AS: 1. After this you can update your block folder. Copy all blocks from the project library into the program folder of your AS (overwrite = yes). After this all CEMAT blocks should be actualized. 2. If your project library is maintained well, there should be no additional "old" blocks in the block folders of the AS. Check the block list, if all PCS7 blocks with family code BASISxx, TECHNxx, CHNxx and DRIVERxx have the actual version. 3. Open the CFC editor by opening any chart. 4. In order to update the chart folder use Options -> Block Types, select all blocks in the chart folder (right window) and press "New Version". 5. If the setpoint input is used for C_DRV_1D, please check the dimension if it was changed before to a value different from 'rpm'. After the upgrade the dimension is set to the default 'rpm'. 6. If you don't change the attribute "HigherProcesscontrolling" on the block icons, i.e. the the attribute has the value 24, then you can jump over this point (6.). The function blocks C_ANNUNC, C_ANNUN8, C_MEASUR und C_PROFB (Holcim ) got the new parameter "SimRight". With the parameter SimRight you can define the user right for simulation. Before the user right for simulation was defined by the block icon attribute "HigherProcesscontrolling". With the Excel tool C_SIM_RIGHT.XLS you can copy the user right defintions from the block icon attribute to the block parameter SimRight. Open a PDL file from GraCS and choose in the window "Dynamic Wizard" the tab "Picture Functions". Choose there the function "Export picture objects" (select all pictures) and store the result in a CSV file, e.g. PDL_Export.CSV. In the process object view, select the complete AS and actualize the data with F5. Carry out the function Process Objects AE Export IOs... As file name choose e. g. AS1_PS_V71.csv. Copy the Excel tool C_SIM_RIGHT.XLS into the same directory with the exported files AS1_PS_V71.csv and PDL_Export.CSV. Open the file C_SIM_RIGHT.XLS and enter under "Presettings" the file names and additionally the name for the import file. Start the Macro via button "Create PO Import List". Open the sheet "objects". In this sheet are listed all block icons of the block types C_ANNUNC, C_ANNUN8, C_MEASUR and C_PROFB (Holcim ), which have a user right value (HigherProcesscontrolling), which is different from the default value 24. If the macro could create an import entry for the process object view, then the complete line gets green color. If there is another line for further block icon connected to the same tag, then the complete line gets yellow. If the tag from the block icon was not found in the process object view, then the complete line gets red. After completion of the macro you find in the same directory an import file for the process object view. With this import file you could change all SimRight parameters to the values of the corresponding attributes HigherProcesscontrolling. Import this file in the process object view using the function Process Objects AE Import IOs... If you do not like to change all listed SimRight parameters, please check all entries from the import file. Edit if necessary the import file manually or edit the SimRight parameters manually! 15 - 34 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 ! Update Information Caution: The function "Export picture objects" exports the data of all pictures, i.e. the data of all AS. The export of the Process Object View exports normally the data of only one AS. Either you create an Excel file for each AS. In this case, the line for the block icons of the other AS will be marked as "not found" = red color. Or you copy the export CSV files of the Process Object View together into one file. In this case you have only one Excel file. But the import file you have to import into the Process Object View for each AS. The entries for the other AS create error messages during import. 7. Because of extended possibilities for the quality evaluation the rules for connecting Cemat Block and Driver Block have been changed. If you use module driver together with C_ANNUNC or C_MEASUR please check the connection between the blocks (see AS_Engineering.pdf). 8. Only Holcim: Add a new OR gate with the dynamic faults (EST, KST, VST) of all drives which are involved in the material transport and connected it to FLT_MAT of the C_GROUP. The output N_EMPTY of the C_GROUP module is not longer working like before. Function until V7.1: All dynamic faults of the related objects set the output N_EMPTY. A normal stop reset the output N_EMPTY, even if there is still material on a belt. New function in V7.1 SP1: The new input FLT_MAT set the output N_EMPTY. A normal stop doesn't reset the output N_EMPTY. N_EMPTY must be reset by the Operator after the conveying line is cleared. To get this new function, you need an OR gate with the dynamic faults (EST, KST, VST) of all drives which are involved in the material transport. This new OR gate have to be connected to the new input FLT_MAT. 9. With the version V7.1 SP1 you will get a new check tool = Excel-Tool "CEMAT CHECK TOOL.XLS". With the tool you can check the correct runtime sequence and the correct C_MUX interconnections. Details refer the CEMAT manual 10_Checkliste_009.pdf". 10. Compile the CFC 11. After the actualization of the blocks a complete download to the AS is required. Copyright (c) Siemens AG. All Rights Reserved. 15 - 35 Update Information Engineering Cemat V7.1 Update of the OS-Projects OS-Migration Again refer to the OS-Migration in the Manual "PCS 7 - Software Update with utilization of the new functions". Maybe you have to migrate all OS Projects in your MultiProject. This is carried out under:: Start AE SIMATIC AE WinCC AE Tools AE Project Migrator. CEMAT Update After the CEMAT installation, the D:\CEMAT_CS\WinCC directory contains the current version of the global scripts and the system pictures. These must be transferred to the WinCC project. We assume that in your project the picture tree was derived from the plant view and that the standard message selection of PCS7 is used, which is also used since V6.1 of CEMAT. If your picture tree was nevertheless generated manually you have change it to plant view. In all WinCC Projects carry out the following steps: 1. Open the WinCC Explorer. 2. Open the OS Project Editor. Check the settings according to the Engineering Manual Chapter 3 "Installation of a PCS7 Project". Close the OS Project Editor with "OK". All standard pictures (Overview, buttons, alarm line, etc.) are replaced by the new standard PDLs of PCS7 V7.1 SP3. 3. Close WinCC Explorer. 4. During the Cemat installation the Cemat WinCC files are copied into folder D:\CEMAT_CS\WinCC under GraCS, Libray, PRT and WScipts. These files must now be additionally copied to the equivalent folders of the OS Project. With the program 'CematProjectUpdate.exe', which you find under D:\CEMAT_CS, the update can be carried out automatically. 15 - 36 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Update Information 5.1 Start the application 'CematProjectUpdate.exe'. The Source must be D:\CEMAT_CS Under OS Project - Destination you have to enter destination (Directory of the OS Project). Default directory is the last closed WinCC project. Under OS Project Sub Directories you find the Subfolders which get copied during the update (cannot be modified). The Screen Resolution (1280x1024, 1680x1050, 1920x1050, 1920x1200 or 1600x1200) is only important for OS Projects with Operator Interface. Via an option, during the OS Project Update the Standard pictures @AlarmEmergency.pdl, @AlarmEmergencyOP.pdl, @AlarmOneLine.pdl, @C_AlarmListing.pdl, @Overview1.pdl, @TopAlarmNew.pdl are exchanged according to the screen resolution. Press button 'Update OS Project' and the files will be copied to the corresponding directories. 5. The template picture for the screen resolution 1280x1024 and the corresponding bitmaps are not automatically installed any more. They are available on the installation DVD in directory Cemat_AddOn\CEMAT_1280\CEMAT_CS\WinCC\GraCS. 6. Open the WinCC project. 7. In Cemat V7.1 SP1 in the Tag Management additional internal variables are required. Unfortunately the automatic generation of these variables during the activation of the runtime is not possible, because in this case the variables are created only on the destination station and this inhibits the download of changes. Open the Tag Management and add the internal variables for CEMAT. (see Tag Management in "03_PCS7_Project_009.pf") Copyright (c) Siemens AG. All Rights Reserved. 15 - 37 Update Information Engineering Cemat V7.1 8. Open 'Global Script' and regenerate the header. (Menu/Options/Regenerate Header) 9. During the update procedure the following GraCS files are overwritten by Cemat files. These are: @AlarmEmergency.pdl Extended Alarm line @AlarmEmergencyOP.pdl Extended Alarm line @AlarmOneLine.pdl Alarm line @Buttons11.pdl Button keys1 @Buttons12.pdl Button keys 2 @Language.pdl Language Selection @Logo.pdl Cemat Logo @Overview1.pdl Overview Range @TopAlarmNew.pdl Alarm lines @PG_Intlk02_Standard.pdl Interlock faceplate @PG_Intlk04_Standard.pdl Interlock faceplate @PG_Intlk08_Standard.pdl Interlock faceplate @PG_Intlk16_Screen2.pdl Interlock faceplate @PG_Intlk16_Standard.pdl Interlock faceplate For Single User Stations and for OS Clients this is correct. For OS Servers the OS Project Editor must be started again, because in this case the standard pictures delivered with PCS7 have to be used (the Server has no Visualization). Please select the above listed Pictures in order to be overwritten and confirm with OK. For all other Station types the files have to be deselected if you run the OS Project Editor again. Caution: The files @TopAlarmNew.pdl and @Overview1.pdl can not be deselected and must therefore be copied again after running the OS Project Editor. (Start the program D:\CEMAT_CS\CematProjectUpdate.exe; the button "Res" copies the CEMAT "resolutions" pictures to the destination again). 10. During the Update of the GraCS Directory the new template picture C_@PCS7Typicals_CemV7.pdl have been copied. The template picture is suitable for all CEMAT screen resolution. As all Block Icons have been extended by new functions, we recommend to use the new template pictures and to add the additionally created block icons. (After updating the template picture use Dynamic Wizard Picture AE Update of the Picture objects in order to update the block icons of your process pictures. Select your template picture name and config file @PCS7Typicals.cfg.) 11. If you have modified for your project system PDL's and scripts you have to do the modification again in the new system files. Refer to your backup. Procedure, if migrated S5 PLCs exists It is not necessary to install new files, because there is nothing changed. Procedure, if PTE Controllers are used It is not necessary to install new files, because there is nothing changed. Compile and Download 1. For all PLCs: Compile CFC (complete program). 2. For all Single Stations and primary Servers: OS Compile (complete OS with memory reset). In the background the Server data (package) will be automatically created and loaded into the OS Client Project. Please double-check! 15 - 38 Copyright (c) Siemens AG. All Rights Reserved. Engineering Cemat V7.1 Update Information 3. Load the complete program into the PLC. 4. Actualize the Server and OS Clients with Project Download. Copyright (c) Siemens AG. All Rights Reserved. 15 - 39 CEMAT WEB OS Engineering CEMAT WEB Content CEMAT WEB 1 General .................................................................................................................... 2 Installation ................................................................................................................ 2 Deinstallation ........................................................................................................... 2 Engineering .............................................................................................................. 2 Product Information.................................................................................................. 3 Publish from WinCC to process pictures .................................................... 3 Restrictions of the CEMAT OS WEB Client................................................ 3 Copyright (c) Siemens AG. Alle Rechte vorbehalten. Ausgabe : 16.03.2011 N:\Cemat\DOKU\V71_SP1\English\Engineering\CEMAT WEB V7_009.doc 1 OS Engineering CEMAT WEB General In addition to manual PCS 7 - OS Web Option this file contains information about the CEMAT WEB options. Installation Copy the directory CEMAT_CS to your hard disk of the OS WEB navigator Client. Afterwards start the program RegCtrlsWEB.bat , to register the OCX. CEMAT WEB can be used on the WEB Clients without additional installation. Only the note in the Info dialog cannot be displayed. Deinstallation Before you delete the directory on the WEB navigator Client, start File UnRegCtrlWEB.bat to unregister the OCX. Engineering In order to enable opening the interlock faceplates on the CEMAT WEB Clients, you have to add the following tags in the tag management of all os web servers. Open the Tag Management and add the internal variables for CEMAT_WEB: Add new Group "CEMAT_WEB" Within this group add the following variables: C_< COMPUTERNAME >_WEBInfo1 - Text tag 8-bit character set - Computer-local C_< COMPUTERNAME >_WEBInfo2 - Text tag 8-bit character set - Computer-local C_< COMPUTERNAME >_WEBInfo3 - Text tag 8-bit character set - Computer-local Replace < COMPUTERNAME > by the WEB station name, e. g. C_EF34930C_WEBInfo1. (COMPUTERNAME in capital letters) 2 Copyright (c) SIEMENS AG. All Rights Reserved. CEMAT WEB OS Engineering Product Information Publish from WinCC to process pictures Library - function CematUserAdmin\C_EnumUsersCallback.fct may not be published. Callback functions cannot be published. Restrictions of the CEMAT OS WEB Client The following functions are not supported by the CEMAT OS WEB Client: Close, Help The close keys and help keys in all Faceplates are locked. Status The group state call is not supported. Objects Group instance list is not supported. Object Browser The object list is not supported. Alarm line info The Info - button isn't available. Alarm line LoopInAlarm The LoopInAlarm - button isn't available. CEMAT Reporting system The CEMAT reporting system isn't available. Maintenance The operation in the maintenance picture is disabled. Print Faceplate The function Print Faceplate is disabled. Quick View The function Quick View of measured values is disabled. The following functionality is limited: The individual faceplate positioning is switched off. Info The operation in the info picture is limited. Copyright (c) SIEMENS AG. All Rights Reserved. 3