Automatic Visualization of the Sample Blocks in WinCC Advanced

Similar documents
SIMATIC Visualization Architect (SiVArc) Getting Started


Library Description 08/2015. HMI Templates. TIA Portal WinCC V13.

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

SIMATIC NET OPC Server Implementation

Configuration of an MRP Ring and a Topology with Two Projects

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


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

STEP 7 Professional V14 SP1, Energy Suite V14 SP1, SENTRON PAC Measuring Devices, Modbus TCP


Display of SINAMICS Error Messages in Runtime Professional

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

Application on Control Technology

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



Data Storage on Windows Server or NAS Hard Drives

X-Tools Loading Profile Files (LPF)



Visualizing Energy Data of a SITOP PSU8600

Position Control with SIMATIC S and SINAMICS V90 via IRT PROFINET SINAMICS V90 PROFINET. Application description 03/2016

Display of SINAMICS Fault Messages in WinCC V7.4

Multiuser Engineering in the TIA Portal

Application about Drive Technology


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

Key Panel Library / TIA Portal

Setting up time synchronization of Process Historian and Information Server

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


Improving the performance of the Process Historian

APF report templates based on data from the WinCC User Archive


User Login with RFID Card Reader



Generating the Parameters for the Modbus/TCP Communication

Windows firewall settings for X-Tools Server Pro. CMS X-Tools / V / CPU PN/DP. Application description 6/2016

Integration of Process Historian / Information Server in a Domain

Checking of STEP 7 Programs for the Migration of S7-318 to S CPU318 Migration Check. Application description 01/2015

Configuration of an MRP ring with SIMOCODE and SIMATIC S SIMOCODE pro V PN, SIMATIC S Siemens Industry Online Support

PNDriver V2.1 Quick Start Guide for IOT2040 SIMATIC IOT


Exchange of large data volumes between S control system and WinCC



Acyclic communication between S and V90PN via PROFINET. Application example 12/

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

Migration of a Process Historian database

S Data Transfer with SEND/RECEIVE Interface


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

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

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

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

RAID systems within Industry

Production feedback via WinCC Data Transfer with XML file



House Control with Touch Panel

Topology Reporter Tool Description April 2012 Applications & Tools Answers for industry.

Transmitting HMI data to an external monitor


Moving a Process Historian/ Information Server from Workgroup A to Workgroup B

Integral calculation in PCS 7 with "Integral" FB or "TotalL" FB

Cover. WinAC Command. User documentation. V1.5 November Applikationen & Tools. Answers for industry.

Networking a SINUMERIK 828D

SIMOTION and HMI configuration

STEP 7 function block to control a MICROMASTER 4 or SINAMICS G120/G120D via PROFIBUS DP

Applications & Tools. Individual Access to Stored PDF- and HTML-Documents via Comfort Panel. WinCC Comfort V11. Application Description May 2012

WinCC Runtime Professional S7-Graph Overview and PLC Code Viewer

Drive System Application


Sample Blocks for WinCC V7 and STEP 7 (TIA Portal)


Simplified Operation with SIMATIC HMI Panels


Time Synchronization with an HMI Operator Panel and a SIMATIC PLC


Customizing of WinCC Controls. TIA Portal WinCC Runtime Professional. Application Description July Applications & Tools. Answers for industry.


X-Tools configuration to connect with OPC servers and clients

Integration of SIMATIC PCS 7 Asset Management into existing projects

Application for Process Automation

PCS 7 Process Visualization on Mobile Devices with RDP

Calculating the expected PH storage requirements of SIMATIC BATCH batches


SINAMICS V: Speed Control of a V20 with S (TIA Portal) via MODBUS RTU, with HMI

SIMATIC PCS 7 Minimal Configuration

SIMATIC PDM - Central access to MODBUS RTU devices

Setting up a secure VPN connection between two SCALANCE S Modules Using a static IP Address

Configuration Instruction

Engineering of the Configuration Control for IO Systems

Applications & Tools. Time-of-Day Synchronization between WinCC Runtime Professional and S7 Controllers. WinCC Runtime Professional

Application for Process Automation

Application for Process Automation

Applications & Tools. Service Concept: Auto Backup for the Comfort Panels. WinCC (TIA Portal) V12. Application Description May 2013


Transcription:

Application Example 11/2016 Automatic Visualization of the Sample Blocks in WinCC Advanced SiVArc, WinCC Advanced https://support.industry.siemens.com/cs/ww/de/view/66839614

Warranty and Liability Warranty and Liability Note Security information The Application Examples are not binding and do not claim to be complete regarding the circuits shown, equipping and any eventuality. The Application Examples do not represent customer-specific solutions. They are only intended to provide support for typical applications. You are responsible for ensuring that the described products are correctly used. These Application Examples do not relieve you of the responsibility of safely and professionally using, installing, operating and servicing equipment. When using these Application Examples, you recognize that we cannot be made liable for any damage/claims beyond the liability clause described. We reserve the right to make changes to these Application Examples at any time without prior notice. If there are any deviations between the recommendations provided in this Application Example and other Siemens publications e.g. Catalogs the contents of the other documents have priority. We do not accept any liability for the information contained in this document. Any claims against us based on whatever legal reason resulting from the use of the examples, information, programs, engineering and performance data etc., described in this Application Example shall be excluded. Such an exclusion shall not apply in the case of mandatory liability, e.g. under the German Product Liability Act ( Produkthaftungsgesetz ), in case of intent, gross negligence, or injury of life, body or health, guarantee for the quality of a product, fraudulent concealment of a deficiency or breach of a condition which goes to the root of the contract ( wesentliche Vertragspflichten ). However, claims arising from a breach of a condition which goes to the root of the contract shall be limited to the foreseeable damage which is intrinsic to the contract, unless caused by intent or gross negligence or based on mandatory liability for injury of life, body or health. The above provisions do not imply a change of the burden of proof to your detriment. It is not permissible to transfer or copy these Application Examples or excerpts of them without first having prior authorization from Siemens AG in writing. Siemens provides products and solutions with industrial security functions that support the secure operation of plants, systems, machines and networks. 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. Products and solutions from Siemens are only one part of such a concept. The customer is responsible for preventing unauthorized access to the customer s plants, systems, machines and networks. Systems, machines and components should be connected to the company network or the Internet only if and to the extent necessary and if appropriate protective action (e.g., use of firewalls and network segmentation) was taken. In addition, Siemens recommendations regarding appropriate protective action should be followed. For more information about industrial security, visit http://www.siemens.com/industrialsecurity. Siemens products and solutions undergo continuous development to make them even more secure. Siemens strongly recommends to perform updates as they become available and use only the latest product versions. Using versions that are out of date or no longer supported can increase the risk of cyber threats. To stay informed about product updates as they occur, subscribe to the Siemens Industrial Security RSS feed at http://www.siemens.com/industrialsecurity. Entry ID: 66839614, V1.0, 11/2016 2

Table of Contents Table of Contents Warranty and Liability... 2 1 Description... 4... 5 2.1 Creating the control project... 5 2.2 Generating the visualization... 9 3 Links & Literature... 15 4 History... 15 Entry ID: 66839614, V1.0, 11/2016 3

1 Description 1 Description TIA Portal V14 or higher provides the SIMATIC Visualization Architect (SiVArc) option package. Using the control program, SiVArc automatically generates your visualization. For more information about SiVArc, please refer to this application example: \3\ SiVArc Getting Started https://support.industry.siemens.com/cs/ww/en/view/109740350 The sample blocks in this application example are prepared for generation by SiVArc. In order to use the sample blocks in your project, the only thing you have to do is apply the control blocks. Then SiVArc will automatically visualize the project. Note This application example contains a guide that shows you how to integrate the sample blocks into your project using SiVArc. For a detailed guide on the principle of operation and use of the sample blocks, please refer to the entry page, \2\, of this application example: https://support.industry.siemens.com/cs/ww/en/view/66839614 Note To correctly display the pop-up screens, go to the TIA Portal settings, Visualization > Resize screen, and select the None radio button. Entry ID: 66839614, V1.0, 11/2016 4

2.1 Creating the control project 2.1 Creating the control project Table 2-1 1. Download the LSIVWCA.zip library from the entry page, \2\, of the application example: https://support.industry.siemens.com/cs/ww/en/view/66839614 2. Use TIA Portal V14 to open the library as read only. 3. In Master copies, open the 01_PLCBlocks folder. 4. Copy the LSIVWCA_HmiData data block to your controller. 5. Copy the function blocks (FBs) and instance data blocks (DBs) that you want to use in your project to your controller. 6. Open the Types folder of the library. Use drag and drop to move the data types to the PLC data types folder of your controller. Entry ID: 66839614, V1.0, 11/2016 5

2.1 Creating the control project 7. Create a technology object of the PID_Compact type for the PID block. 8. Call the FBs in a Main OB and connect the hmidata parameter to the appropriate instance of the type in the LSIVWCA_HmiData DB. 9. If you want to use only one instance, you can compile the control project now. You can skip 10-13. If you want to use multiple instances of a block, continue with 10. Entry ID: 66839614, V1.0, 11/2016 6

2.1 Creating the control project 10. Open the LSIVWCA_HmiData DB. Add a new tag, valve02, of the typevalve data type. Do the same for the other data types. 11. Open the Main OB. Use drag and drop to move the LSIVWCA_Valve block to a new network. In Name, enter LSIVWCA_instValve02 as the instance. Entry ID: 66839614, V1.0, 11/2016 7

2.1 Creating the control project 12. Connect the HmiData input to the valve02 tag in the LSIVWCA_HmiData DB. 13. Compile the control project. Entry ID: 66839614, V1.0, 11/2016 8

2.2 Generating the visualization 2.2 Generating the visualization Table 2-2 1. Open the Master copies > 03_SiVArc_Rules folder of the LSIVWCA global library. 2. In the project tree, open Common data > SiVArc > Screen rules. 3. Use drag and drop to move the screen rules (Analog, Digital, Motor, PID or Valve) of the blocks you are using from the library to the editor. 4. Use drag and drop to move the CopyrulesExampleblocks copy rule to the Copy rules SiVArc editor. Entry ID: 66839614, V1.0, 11/2016 9

2.2 Generating the visualization 5. Use drag and drop to move the TagrulesExampleBlocks tag rules to the Tag rules SiVArc editor. 6. Insert an operator panel (Comfort Panel size 12 or larger or WinCC Runtime Advanced) into the project and create an HMI connection between the controller and the operator panel. 7. Right-click the operator panel and select Generate the visualization (SiVArc). 8. Open the Master copies > 04_Messages folder of the library. 9. Open the HMI alarms editor of the operator panel. Use drag and drop to move the alarms of the blocks you are using to the editor. Entry ID: 66839614, V1.0, 11/2016 10

2.2 Generating the visualization 10. As the trigger tag, select the qwalarm tag of the associated UDT. 11. Apply the trigger tag to all alarms. Entry ID: 66839614, V1.0, 11/2016 11

2.2 Generating the visualization 12. If you are using multiple instances of a faceplate, select the Rename and paste objects option when pasting alarms. In TIA Portal, open the Tasks task card. To customize the alarm text, use the Find and replace function. 13. If you are not using the Analog and PID sample blocks, you can now compile your controller and then start Generate the visualization (SiVArc). If you are using one of the two blocks, continue with 14. Entry ID: 66839614, V1.0, 11/2016 12

2.2 Generating the visualization 14. For the Analog and PID sample blocks, open the PopUpAnalog01 or PopUpPID01 pop-up screen. Open the Layout task card and at Layer 3, select the fpgraphsanalog01 or fpgraphspid01 faceplate instance. 15. In the workspace, Properties, open the Interface tab. In the Trend property, click the... button. Entry ID: 66839614, V1.0, 11/2016 13

2.2 Generating the visualization 16. Analog sample block: Insert trends for the following tags of the LSIVWCA_HmiData_analog01 type: qout, oplimula, oplimlla, oplimulw and oplimllw PID sample block: Insert trends for the following tags of the LSIVWCA_HmiData_pid01 type: qsetpoint, scaledinput and output 17. Repeat steps 14 through 16 for each other instance of the Analog or PID sample block. Entry ID: 66839614, V1.0, 11/2016 14

3 Links & Literature 3 Links & Literature Table 3-1 Topic \1\ Siemens Industry Online Support https://support.industry.siemens.com \2\ Download page of the entry https://support.industry.siemens.com/cs/ww/en/view/66839614 \3\ SiVArc Getting Started https://support.industry.siemens.com/cs/ww/en/view/109740350 4 History Table 4-1 Version Date Modifications V1.0 11/2016 First version Entry ID: 66839614, V1.0, 11/2016 15