Similar documents


Creating User-defined Block Icons with SIMATIC PCS 7



How to use a project file with an out of date firmware with actual firmware version





How do you access an SQL database in WinCC Runtime Advanced using a script?

SIMATIC. Process Control System PCS 7 SFC Visualization (V9.0 SP2) Security information 1. What's new in SFV? 2. SFC Visualization (SFV) 3

Firewall Settings for SIMATIC B.Data


SIMATIC. Process Control System PCS 7 Advanced Process Functions Operator Manual. Preface. Security information 1. Overview 2. Material management 3

SINAMICS G/S: Integrating Warning and Error Messages into STEP 7 V5.x or WinCC flexible

Industrial Controls. SIMOCODE pro SIMOCODE pro PCS 7 Library. Preface. Security information. Product specific security. information.


How do you establish MODBUS-RTU communication?

SIMATIC NET OPC Server Implementation


APF report templates based on data from the WinCC User Archive

Siemens Drives & PLCs


SINAMICS G/S: Tool for transforming Warning and Error Messages in CSV format

SIMATIC. Process control system PCS 7 Operator Station (V9.0 SP1) Security information 1. Preface 2

Data Storage on Windows Server or NAS Hard Drives

Multiuser Engineering in the TIA Portal


Single Message Report for the Information Server. SIMATIC PCS 7, SIMATIC Information Server Siemens Industry Online Support






SIMATIC. TIA-Portal SIMATIC Visualization Architect. Security information 1. Basics 2. Installation 3. Elements and basic settings 4



Automatic Visualization of the Sample Blocks in WinCC Advanced

Configuration of an MRP Ring and a Topology with Two Projects

Message Cycle Report for the Information Server. SIMATIC PCS 7, SIMATIC Information Server Siemens Industry Online Support


Integration of SIMATIC PCS 7 Asset Management into existing projects

SIMATIC. Process Control System PCS 7 CFC Readme V9.0 (online) Security information 1. Overview 2. Notes on Installation 3. Notes on usage 4.

Plant Security Services Protecting productivity in the digital era October

SINETPLAN Siemens Network Planner

SIMATIC. PCS 7 Process Control System SIMATIC Logon Readme V1.6 (Online) Security information 1. Overview 2. Notes on installation 3.

SIMATIC. SIMATIC Energy Manager V1.0 App for ios and Android. Preface. SIMATIC Energy Manager app. Establish connection to SIMATIC Energy Manager PRO

Tabular SIMATIC BATCH report for the Information Server. SIMATIC PCS 7 / SIMATIC Information Server 2014 / Customized Reporting

SIMATIC Visualization Architect (SiVArc) Getting Started


Determination of suitable hardware for the Process Historian 2014 with the PH-HWAdvisor tool

SIMATIC. SIMATIC Logon V1.6. Security information 1. Conditions for secure operation of SIMATIC Logon 2. User management and electronic signatures 3

Application example 02/2017. SIMATIC IOT2000 Connection to IBM Watson IoT Platform SIMATIC IOT2040



Setting up 01/2017. Setting up the SIMATIC IOT2000 SIMATIC IOT2020, SIMATIC IOT2040

Application example 12/2016. SIMATIC IOT2000 OPC UA Client SIMATIC IOT2020, SIMATIC IOT2040

View the most recent product information online

SIMATIC. PCS 7 Licenses and configuration limits (V9.0) Security information 1. Preface 2. Selecting the correct license keys 3


SIMATIC. Process Control System PCS 7 Configuration McAfee Endpoint Security Security information 1. Preface 2.


Project planning of the NTP time synchronization of a Process Historian and Information Server. SIMATIC PCS 7, SIMATIC Information Server 2014

Communication between HMI and Frequency Converter. Basic Panel, Comfort Panel, Runtime Advanced, SINAMICS G120. Application Example 04/2016



Visualizing Energy Data of a SITOP PSU8600


SIMATIC. Process Control System PCS 7 Compendium Part D - Operation and Maintenance (V8.2) Security information 1. Preface 2

Check List for Programming Styleguide for S7-1200/S7-1500

SIMATIC Energy Suite Visualization example of the "*.csv"-energy Data Files



Plant Automation Accelerator 2.0

House Control with Touch Panel

This section provides an overview of the features available within the Standard, Align, and Text Toolbars.

Industrial Security Co-Sourcing: Shifting from CapEx to OpEx Presented by Vinicius Strey Manufacturing in America 03/22-23/2017

SIMATIC PDM - Central access to MODBUS RTU devices

Display of SINAMICS Fault Messages in WinCC V7.4


SIMATIC NET. Industrial Ethernet / PROFINET Primary Setup Tool (PST) Preface. Functions 1. Software installation 2. Operation. Configuration Manual

SIMATIC Visualization Architect


Plant Data Interface for the Food & Beverage Industry in SIMATIC PCS 7. Interface description based on Weihenstephan Standards

Setting up 08/2017. Setting up the SIMATIC IOT2000 SIMATIC IOT2020, SIMATIC IOT2040


Migration of a Process Historian database


SIMATIC. Process Control System PCS 7 Configuration Symantec Endpoint Protection V14. Security information 1. Preface 2.

Production feedback via WinCC Data Transfer with XML file


WinCC V4. Manual Part 2/3 C79000-G8276-C107-01

Siemens Industrial SIMATIC. Process Control System PCS 7 Configuration Trend Micro OfficeScan Server XG. Security information 1.

Encoder Configuration for the Positioning Axis Technology Function

WinCC Tagcollector for SIPAT

SIMATIC. Industrial PC Microsoft Windows 7 (USB stick) Safety instructions 1. Initial startup: Commissioning the operating system



1. The PowerPoint Window

Transcription:

Creating User-defined Block Icons with SIMATIC PCS 7 SIMATIC PCS 7 V8.0 / V8.1 / V8.2 / V9.0 https://support.industry.siemens.com/cs/ww/en/view/16514590 Siemens Industry Online Support

This entry is from the Siemens Industry Online Support. The general terms of use (http://www.siemens.com/terms_of_use) apply. Security information Siemens provides products and solutions with industrial security functions that support the secure operation of plants, systems, machines and networks. In order to protect plants, systems, machines and networks against cyber threats, it is necessary to implement and continuously maintain a holistic, state-of-the-art industrial security concept. Siemens products and solutions only form one element of such a concept. Customer is responsible to prevent unauthorized access to its plants, systems, machines and networks. Systems, machines and components should only be connected to the enterprise network or the internet if and to the extent necessary and with appropriate security measures (e.g. use of firewalls and network segmentation) in place. Additionally, Siemens guidance on appropriate security measures should be taken into account. For more information about industrial security, please visit http://www.siemens.com/industrialsecurity. Siemens products and solutions undergo continuous development to make them more secure. Siemens strongly recommends to apply product updates as soon as available and to always use the latest product versions. Use of product versions that are no longer supported, and failure to apply latest updates may increase customer s exposure to cyber threats. To stay informed about product updates, subscribe to the Siemens Industrial Security RSS Feed under http://www.siemens.com/industrialsecurity. Table of content 1 Creating Graphic Icons... 3 1.1 Creating a Pump Icon... 3 1.2 Creating Status Displays... 6 1.3 Exporting the Status Displays... 11... 12 2.1 Creating a Template File... 12 2.2 Copying a Standard Block Icon... 14 2.3 Changing Block Properties... 16 2.4 Changing the Block Display... 18 3 Creating/Updating Block Icons... 29 3.1 Assigning Block Icons in the CFC Chart... 29 3.2 Creating/Updating Block Icons... 31 4 History... 33 Validity This document is valid for SIMATIC PCS 7 V8.0 / V8.1 and WinCC V7.2 / V7.3 Creating Graphic Icons Entry-ID: 16514590, V 1.1, 12/2017 2

1 Creating Graphic Icons 1 Creating Graphic Icons In this document we take the example of a motor block to describe how to configure your own block icons in your PCS 7 project. For this you create your own icon for pump in the Graphics Designer and export it in a file format which you can use later for editing. 1.1 Creating a Pump Icon Requirements The WinCC Explorer and the WinCC project are open. Procedure 1. Open the Graphics Designer in the WinCC Explorer. In the Graphics Designer a new picture is created by default if no other picture has yet been opened. If not, create a new picture via "File > New". 2. In the "Standard" toolbar you select the circle from the "Standard Objects" folder and create a circle. Entry-ID: 16514590, V 1.1, 12/2017 3

1 Creating Graphic Icons 3. If the object properties are not displayed when you mark the circle, select the menu command "View > Toolbars > Object Properties". Enter the following parameters for the circle: Property Attribute Parameter 'Static' column Geometry Position X 50 Position Y 50 Width 110 Styles Draw Border Inside No Effects Global Color Scheme No 4. From the standard objects you select the rectangle and create a rectangle. Enter the following parameters: Property Attribute Parameter 'Static' column Geometry Position X 105 Position Y 50 Width 75 Height 40 Styles Draw Border Inside No Effects Global Color Scheme No 5. Create a circle with the following parameters: Property Attribute Parameter 'Static' column Geometry Position X 52 Position Y 50 Width 107 Styles Line Weight 0 Effects Global Color Scheme No 6. Create a circle with the following parameters: Property Attribute Parameter 'Static' column Geometry Position X 62 Position Y 62 Width 86 Entry-ID: 16514590, V 1.1, 12/2017 4

1 Creating Graphic Icons 7. Create a circle with the following parameters: Property Attribute Parameter 'Static' column Geometry Position X 95 Position Y 95 Width 20 Effects Global Color Scheme No 8. The icon for the pump should now look like this: Entry-ID: 16514590, V 1.1, 12/2017 5

1 Creating Graphic Icons 1.2 Creating Status Displays Requirements The icon created stands for a switched-off pump (gray). In this step we create the icons for the statuses of a switched-on pump (green) and a defective pump (red). The icon for the switched-off pump has already been created. Procedure 1. Mark all the objects of the created pump icon, right-click and then select "Copy". Entry-ID: 16514590, V 1.1, 12/2017 6

1 Creating Graphic Icons 2. Click in the drawing area, right-click and select "Paste". 3. Position the inserted pump icon and repeat the last step so that you now have three identical pump icons. Entry-ID: 16514590, V 1.1, 12/2017 7

1 Creating Graphic Icons 4. Mark the light circle of the left pump icon and assign the color gray under "Properties > Colors > Background Color". Confirm the change with the "OK" button. 5. Change the parameter of the circle under "Properties > Effects > Global Color Scheme" by double-clicking "No". The circle is now displayed gray (darker). Entry-ID: 16514590, V 1.1, 12/2017 8

1 Creating Graphic Icons 6. Mark the light circle of the middle pump icon and assign the color green under "Properties > Colors > Background Color". Confirm the change with the "OK" button. Note The color of the circle will not yet change after this action. This happens in the next step. 7. Change the parameter of the circle under "Properties > Effects > Global Color Scheme" by double-clicking "No". The circle is now displayed green. Entry-ID: 16514590, V 1.1, 12/2017 9

1 Creating Graphic Icons 8. Mark the light circle of the right pump icon and assign the color red under "Properties > Colors > Background Color". Confirm the change with the "OK" button. Note The color of the circle will not yet change after this action. This happens in the next step. 9. Change the parameter of the circle under "Properties > Effects > Global Color Scheme" by double-clicking "No". The circle is now displayed red. Entry-ID: 16514590, V 1.1, 12/2017 10

1 Creating Graphic Icons 1.3 Exporting the Status Displays Requirements In this step the created status displays are exported in a usable file format so that they can be utilized as block icons. The status displays of the pump have been created. Procedure 1. Mark all the objects of the icon of the switched-off pump (gray) and click "File > Export...". 2. Enter "pump_off" in the input field and click the "Save" button. Note Make sure that "Enhanced Metafiles (*.emf)" is selected as file type. 3. Repeat Steps 1 to 2 with the middle pump (green) and enter the name "pump_on". 4. Repeat Steps 1 to 2 with the right pump (red) and enter the name "pump_error". 5. Save the picture file under "File > Save" and close the Graphics Designer. Entry-ID: 16514590, V 1.1, 12/2017 11

2.1 Creating a Template File Standard block icons The standard block icons are stored in the file "@PCS7TypicalsAPLV8.PDL" which is installed automatically with the installation of PCS 7. Block icons already include many functions. Starting from a block icon you can, in Process mode, for example, open the associated faceplates which give you extensive information about the measuring point. Some block icons already have an integrated group display or a status display, for example. The essential feature of standard block icons is that they are assigned to specific blocks in the CFC charts so that they are generated automatically. Naming convention for template files You should not change the name of the file "@PCS7TypicalsAPLV8.PDL". With this name PCS 7 knows automatically from which file the block icons are to be taken when executing the function "Create/Update Block Icons...". If you want to use modified block icons in your project, you can store them in the corresponding template files. You can use up to 10 different template files. When naming a file you must make sure that the file name consists of the fixed name component "@PCS7Typicals" plus additional variable name components. The fixed name component is always at the beginning of the file name and it is necessary for PCS 7 to recognize in which files other block icons are stored. You can assign the variable name component as you wish to suit your requirements. Procedure 1. Open the Graphics Designer in the WinCC Explorer. In the Graphics Designer a new picture is created by default if no other picture has yet been opened. If not, create a new picture via "File > New". Entry-ID: 16514590, V 1.1, 12/2017 12

2. Click "File > Save". 3. Enter a name in compliance with the naming convention given above ("@PCS7Typicals_my_icon_blocks.PDL") and click the "Save" button. Entry-ID: 16514590, V 1.1, 12/2017 13

2.2 Copying a Standard Block Icon Requirements Procedure The WinCC project and the WinCC Explorer are open. 1. Open the template file you created in the previous step (here "@PCS7Typicals_my_symbols.PDL"). 2. Open the file "@PCS7TypicalsAPLV8.PDL" in the Graphics Designer. This is the file in which the standard block icons are stored. 3. In the file "@PCS7TypicalsAPLV8.PDL", in the "MotL" line you mark the block icon with the object name "MotL1", right-click and select "Copy". Entry-ID: 16514590, V 1.1, 12/2017 14

Note The object name of a block icon can be found in the object properties of the block icon under "APL_BLOCK_ICON > Object name". 4. Switch to the file you created (here "@PCS7Typicals_my_symbols.PDL"), right-click and select "Paste". 5. Close the file "@PCS7TypicalsAPLV8.PDL". Entry-ID: 16514590, V 1.1, 12/2017 15

2.3 Changing Block Properties Requirements The template file you created is open (here "PCS7Typicals_my_symbols.PDL"). Procedure 1. Mark the motor icon, right-click and select "Properties". 2. Mark the property "APL_BLOCK_ICON" and enter the value "PUMP" for the "Object Name" under "Attribute". Entry-ID: 16514590, V 1.1, 12/2017 16

3. Mark the property "System" and double-click the attribute "Type". 4. Enter "@MotL/pump" and click the "OK" button. Entry-ID: 16514590, V 1.1, 12/2017 17

2.4 Changing the Block Display Requirements Procedure The file "@PCS7Typcials_my_symbols.PDL" is open. 1. Mark the motor block icon and in the pop-up menu you select "Customized Object > Edit...". In this way you split the block icon created as so-called user object into single elements. You can edit these separately. Note Never select the menu command "Resolve". This resolves the user object and deletes the complete configuration of the block icon. Entry-ID: 16514590, V 1.1, 12/2017 18

2. Mark the circle and select "Delete" in the pop-up menu. Note Several objects are on top of each other in the block icon. In this step we remove the topmost object. 3. From the palette of standard objects you insert two static texts labeled "Symbol 1" and "Symbol 2" next to the block icon. Entry-ID: 16514590, V 1.1, 12/2017 19

4. Mark the circle. In the drop-down list box of the toolbar you see which object is currently selected ("Symbol 2"). 5. Move this object under the static text "Symbol 2". 6. Mark the circle again. In the drop-down list box of the toolbar you see that "Symbol 1" is selected. Entry-ID: 16514590, V 1.1, 12/2017 20

7. Move this object under the static text "Symbol 1". 8. Mark the "Symbol 2" object, right-click and select "Configuration Dialog...". Entry-ID: 16514590, V 1.1, 12/2017 21

9. Switch to the "Assign Pictures" tab and make sure that the option "*.wmf, *.emf" is enabled. 10. Mark the second line "Index 1" and in the list with the pictures you double-click the file "pump_error.emf". Then click the "OK" button. In the preview and in the list you see that the original motor display in the basic picture has been replaced by the pump display. Entry-ID: 16514590, V 1.1, 12/2017 22

11. Mark the "Symbol 1" object, right-click and select "Configuration Dialog...". 12. Switch to the "Assign Pictures" tab and mark the second line "Index 1". 13. In the list with the pictures you double-click the file "pump_off.emf" while the second line "Index 1" is marked. Entry-ID: 16514590, V 1.1, 12/2017 23

14. Repeat this procedure for the following lines. Index Old basic picture New basic picture 2 apl_bi_motl_off.emf pump_off.emf 4 apl_bi_motl_onm.emf pump_on.emf 8 apl_bi_motl_onm.emf pump_on.emf Then click the "OK" button. 15. Mark the circle (object "SymbolOos"), right-click and select "Configuration Dialog...". 16. Select the "Assign Pictures" tab. Entry-ID: 16514590, V 1.1, 12/2017 24

17. Mark the first line "Index 0" and in the list with the pictures you double-click the file "pump_off.emf" while the first line "Index 0" is marked. 18. Mark the second line "Index 1", double-click the file "pump_off.emf" and then click the "OK" button. 19. In the Graphics Designer you now see the pump icon (gray). Change the size of the icon to fit the frame. Entry-ID: 16514590, V 1.1, 12/2017 25

20. Mark the three objects "SymbolOos", "Symbol1" and "Symbol2" with "Shift + left-click" and select the command "Same Width and Height" from the toolbar. Shift + Shift + Shift + The objects are now all the same size. 21. Mark the three objects "SymbolOos", "Symbol1" and "Symbol2" with "Shift + left-click" and select the command "Align Left" from the toolbar. Shift + Shift + Shift + Entry-ID: 16514590, V 1.1, 12/2017 26

22. You execute this step according to the situation. If the objects "Symbol2" and "Symbol1" are graphically under the object "SymbolOos", then you mark the three objects and select the command "Align Top". If the objects "Symbol2" and "Symbol1" are graphically over the object "SymbolOos", then you mark the three objects and select the command "Align Bottom". Entry-ID: 16514590, V 1.1, 12/2017 27

23. Mark all the objects of the pump block icon, right-click and select "Customized object > Finish editing". 24. Click "File > Save" and close the Graphics Designer. Entry-ID: 16514590, V 1.1, 12/2017 28

3 Creating/Updating Block Icons 3 Creating/Updating Block Icons 3.1 Assigning Block Icons in the CFC Chart Procedure Once you have created the pump block icon, you have to assign it to the properties of the desired block in the CFC chart. 1. Open the CFC chart in which the motor block is located. 2. Open the Properties of the motor block by double-clicking the block or by rightclicking the block and selecting "Object Properties...". Entry-ID: 16514590, V 1.1, 12/2017 29

3 Creating/Updating Block Icons 3. In the "Create block icon" input field you enter the "Type" of the pump block icon which you defined in section 2.3 Step 4 and click the "OK" button. Here only the part with the prefix "@MotL/" is relevant. 4. Do a changes-only download and then close the CFC chart. Entry-ID: 16514590, V 1.1, 12/2017 30

3 Creating/Updating Block Icons 3.2 Creating/Updating Block Icons Requirements Procedure The Plant View of the project is open. 1. Mark the Plant folder, right-click and select "Plant Hierarchy" and then "Create/Update Block Icons...". 2. Select the process pictures affected by the block icon changes (if in doubt select them all). Entry-ID: 16514590, V 1.1, 12/2017 31

3 Creating/Updating Block Icons 3. After completing automatic generation of the block icons, the objects are incorporated in the configured WinCC picture and connected with the measuring point. Entry-ID: 16514590, V 1.1, 12/2017 32

4 History 4 History Version Date Modifications V1.0 10/2012 First version V1.1 12/2017 Update to PCS 7 V9.0 Entry-ID: 16514590, V 1.1, 12/2017 33