Prévia do material em texto
APPLICATION EXAMPLE
Cell Voltage
Measurement for
Hydrogen Industry
CFL & MTP Creator / 3.0 and 4.0
Siemens
Industry
Online
Support
Entry ID: 109973668 | V1.1 | 11/2024 © Siemens 2024 | 2
Legal information
Use of application examples
Application examples illustrate the solution of automation tasks through an interaction of several components in the form of text,
graphics and/or software modules. The application examples are a free service by Siemens AG and/or a subsidiary of Siemens AG
("Siemens"). They are non-binding and make no claim to completeness or functionality regarding configuration and equipment. The
application examples merely offer help with typical tasks; they do not constitute customer-specific solutions. The application examples
are not subject to standard tests and quality inspections of a chargeable product and may contain functional and performance
defects or other faults and security vulnerabilities. You are responsible for the proper and safe operation of the products in
accordance with all applicable regulations, including checking and customizing the application example for your system, and
ensuring that only trained personnel use it in a way that prevents property damage or injury to persons. You are solely
responsible for any productive use.
Siemens grants you the non-exclusive, non-sublicensable and non-transferable right to have the application examples used by technically
trained personnel. Any change to the application examples is your responsibility. Sharing the application examples with third parties or
copying the application examples or excerpts thereof is permitted only in combination with your own products. Any further use of the
application examples is explicitly not permitted and further rights are not granted. You are not allowed to use application examples in
any other way, including, without limitation, for any direct or indirect training or enhancements of AI models.
Disclaimer of liability
Siemens shall not assume any liability, for any legal reason whatsoever, including, without limitation, liability for the usability,
availability, completeness and freedom from defects of the application examples as well as for related information, configuration and
performance data and any damage caused thereby. This shall not apply in cases of mandatory liability, for example under the German
Product Liability Act, or in cases of intent, gross negligence, or culpable loss of life, bodily injury or damage to health, non-compliance
with a guarantee, fraudulent non-disclosure of a defect, or culpable breach of material contractual obligations. Claims for damages
arising from a breach of material contractual obligations shall however be limited to the foreseeable damage typical of the type of
agreement, unless liability arises from intent or gross negligence or is based on loss of life, bodily injury or damage to health. The
foregoing provisions do not imply any change in the burden of proof to your detriment. You shall indemnify Siemens against existing or
future claims of third parties in this connection except where Siemens is mandatorily liable.
By using the application examples you acknowledge that Siemens cannot be held liable for any damage beyond the liability provisions
described.
Other information
Siemens reserves the right to make changes to the application examples at any time without notice and to terminate your use of the
application examples at any time. In case of discrepancies between the suggestions in the application examples and other Siemens
publications such as catalogs, the content of the other documentation shall have precedence.
The Siemens terms of use (https://www.siemens.com/global/en/general/terms-of-use.html) shall also apply.
Cybersecurity information
Siemens provides products and solutions with industrial cybersecurity 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 cybersecurity concept. Siemens’ products and solutions constitute one element of such a
concept.
Customers are responsible for preventing unauthorized access to their plants, systems, machines and networks. Such systems, machines
and components should only be connected to an enterprise network or the internet if and to the extent such a connection is necessary
and only when appropriate security measures (e.g. firewalls and/or network segmentation) are in place.
For additional information on industrial cybersecurity measures that may be implemented, please visit www.siemens.com/cybersecurity-
industry.
Siemens’ products and solutions undergo continuous development to make them more secure. Siemens strongly recommends that
product updates are applied as soon as they are available and that the latest product versions are used. Use of product versions that are
no longer supported, and failure to apply the latest updates may increase customer’s exposure to cyber threats.
To stay informed about product updates, subscribe to the Siemens Industrial Cybersecurity RSS Feed under
https://www.siemens.com/cert.
https://www.siemens.com/global/en/general/terms-of-use.html
http://www.siemens.com/cybersecurity-industry
http://www.siemens.com/cybersecurity-industry
https://www.siemens.com/cert
Table of contents
Entry ID: 109973668 | V1.1 | 11/2024 © Siemens 2024 | 3
Table of contents
1. Introduction ...................................................................................................................................4
1.1. Overview ..................................................................................................................................................... 4
1.2. Components used ........................................................................................................................................ 5
2. Description .....................................................................................................................................6
2.1. Hardware ..................................................................................................................................................... 6
2.2. Control Modules ........................................................................................................................................... 7
2.3. PLC Program structure .................................................................................................................................. 7
2.3.1. 01_CVM ....................................................................................................................................................... 8
2.3.2. 10_Simulation .............................................................................................................................................. 8
2.3.3. 15_ProDiag .................................................................................................................................................. 8
2.3.4. 20_MTP ....................................................................................................................................................... 8
2.3.5. 21_LCFL ....................................................................................................................................................... 9
2.4. WinCC Unified HMI ....................................................................................................................................... 9
2.4.1. Screens ........................................................................................................................................................ 9
3. Initiating project runtime .............................................................................................................103.1. PLC simulation ............................................................................................................................................ 10
3.1.1. PLCSIM Advanced ....................................................................................................................................... 10
3.1.2. TIA Portal ................................................................................................................................................... 10
3.2. WinCC Unified RT ........................................................................................................................................ 11
3.2.1. TIA portal ................................................................................................................................................... 11
3.2.2. Web browser .............................................................................................................................................. 12
3.3. Frequent issues .......................................................................................................................................... 13
3.3.1. IP Address .................................................................................................................................................. 13
3.3.2. PG/PC interface ........................................................................................................................................... 13
4. MTP Integration ...........................................................................................................................14
4.1. MTP File ..................................................................................................................................................... 14
4.2. MTP Integrator for WinCC Unified ................................................................................................................ 14
4.3. MTP Integrator for PCS ................................................................................................................................ 14
5. Appendix .....................................................................................................................................14
5.1. Service and support .................................................................................................................................... 15
5.2. Links and literature ..................................................................................................................................... 16
5.3. Change documentation .............................................................................................................................. 16
Introduction
Entry ID: 109973668 | V1.1 | 11/2024 © Siemens 2024 | 4
1. Introduction
1.1. Overview
Module Type Package (MTP) according to standard series VDI/VDE/NAMUR 2658 provides a solution for modular
production and effortless commissioning of new modules into process lines. Siemens provides several solutions to make
your machine/equipment MTP compliant. The SIMATIC Control Function Library (CFL) is a library for the automation and
visualization level of a process unit based on Module Type Package (MTP). They enable modularized automation solutions
for numerous branches of industry.
You can download the libraries in the following article:
• SIMATIC Control Function Library V3.0: https://support.industry.siemens.com/cs/ww/en/view/109826988
• SIMATIC Process Function Library V4.0: https://support.industry.siemens.com/cs/ww/en/view/109971764
• SIMATIC MTP Creator V4.0: https://support.industry.siemens.com/cs/ww/en/view/109925636
The application example shows based on typical Electrolyzer Package Units the usage of SIMATIC CFL and PFL as a solution
in the Hydrogen Industry. Part of the example is the simulation of process values based on the states of the control blocks
directly within a PLC program. Afterwards with just one click you can generate a MTP file that can be imported into a Process
Orchestration Layer (POL) such as WinCC OA, SIMATIC PCS neo, SIMATIC PCS 7 or SIMATIC MTP Integrator for WinCC Unified.
According to the standard Package Units are called Process Equipment Assembly (PEA).
There are four package units (PEA) created, which are parts of a possible Electrolyzer solution with necessary Balance of
Plant (BoP) and will be gradually expanded in the future. This generic solution consists of a rectifier, Water Treatment, Cell
voltage Measurement (for the stack) and a compressor. They are not connected with each other. The simplified overall
structure of the plant can be seen in the following figure.
https://support.industry.siemens.com/cs/ww/en/view/109826988
https://support.industry.siemens.com/cs/ww/en/view/109971764
https://support.industry.siemens.com/cs/ww/en/view/109925636
https://support.industry.siemens.com/cs/us/en/view/109827132
Introduction
Entry ID: 109973668 | V1.1 | 11/2024 © Siemens 2024 | 5
1.2. Components used
This application example has been created with the following software components:
Component Number Article Number Note
STEP 7 Professional V19 Update 2 1 6ES7810-5CE16-0YB5 Engineering software in TIA Portal
WinCC Unified PC V19 Update 2 1 6AV2153-2FB02-3LA5 HMI Engineering tool (10k PT)
WinCC Unified RT PC V19 Update 2 1 6AV2154-2MB02-3AA0 HMI RT (2500 PT)
S7-PLCSIM Advanced V6.0 1 6ES7823-1FE05-0YA7 PLC-Simulation Software
MTP Creator V4.0 1 6AV2156-0EM02-3LA0 Library for PLC Engineering and MTP file
creation.
CFL RT V3.0 1 6AV2156-0PM02-3LB0 Runtime for automation system
CFL HMI RT V3.0 1 6AV2156-0HM02-3LB0 Runtime for HMI system
And the following hardware automation components are used but simulated:
Component Number Article Number Note
S7-15xx PLC 1 6ES75xx-xxxxx-xxxx Any S7-15xx PLC can be used
ET 200MP Analog Input Module AI
24xCVM HF
4 6ES7531-7LK00-0AB0 HSP0452 (72341852) need to be installed
You can purchase these components from the Siemens Industry Mall.
This application example consists of the following components:
Component File name Note
Documentation 109973668_CFL_CVM_DOC_V1_1_en.pdf
TIA Portal Project 109973668_ CFL_ CVM_PROJ_V1_1.zip
https://support.industry.siemens.com/cs/ww/en/view/72341852
https://mall.industry.siemens.com/
Description
Entry ID: 109973668 | V1.1 | 11/2024 © Siemens 2024 | 6
2. Description
In this project the Cell Voltage Measurement Modules for an electrolyzer solution are configured. This new 24-channel
analog input modules (109972039) are used to measure the cell voltage on electrolyzers or fuel cells. Depending on the
type of electrolyzer different operating voltages might apply (here 2.5 VDC). These voltages can detect anomalies and
result in a necessary switch off as well as offering valuable insights into operational performance.
The process is simulated in the PLC, so SIMIT is not needed. Two operators are configured. The User can just monitor
the values and gets indications, if a value is exceeding or falling below a tolerance, warning or alarming level. The
administrator can easily configure these limits and configure the scale and the units.
2.1. Hardware
The project implements S7-1500 PLC (PLC_CVM_CFL), 4 AI cards for Cell Voltage Measurement (6ES7 531-7LK00-0AB0)
and WinCC Unified PC RT (HMI_RT) with an HMI created according to the WinCC Unified Template Suite. The PLC serves as
controller for all CFL blocks and as the monitored values simulator.
Device name Device Type Default Project IP Address
PLC_1 SIMATIC CPU 1515-2 PN 192.168.0.1
HMI_RT_1 SIMATIC WinCC Unified PC 192.168.0.2
Between both devices the PROFINET connection PN/IE_1 is established.
The 4 AI cards are implemented accordingly:
The inputs are configured to be represented as REAL data type:
https://support.industry.siemens.com/cs/ww/en/view/109972039Description
Entry ID: 109973668 | V1.1 | 11/2024 © Siemens 2024 | 7
2.2. Control Modules
The Cell Voltage Measurement consists of MTP adapted control modules listed in the following table:
Tag name Technological type Description
CELL1 .. CELL24 AnaMon Cell Voltage Measurement Value for each Cell
2.3. PLC Program structure
The PLC program is divided into different groups. Group 00 contain central functions like MTP Parameter DB and OBs,
Group 01 contain the Control Modules processing, group 10 simulates the process values; groups 15, 20 and 21 store
standard FB and DBs
The “Main” OB [OB1] calls CVM_24Ch_AnaMon [FB1] several times; such function block receives 24 inputs that then are
processed as an Analog Monitoring Control Module.
CyclicInterrupt [OB30] has an interruption cycle of 1 second, in this block CVM_Simulation [FC9] is called. This function
generates an array of 24 elements of data type Real.
EMConfigurationDB [DB8] is for the central parametrization of the CFL Instances in order to set names, scales, the units
and limits. This also can be done in the interface of the FB or the used Instance DB.
Description
Entry ID: 109973668 | V1.1 | 11/2024 © Siemens 2024 | 8
2.3.1. 01_CVM
The function block emCallEquipment [FB1] calls all the necessary functions to process all control modules and the
simulation of the process values. Each network calls a different group accordingly.
For this application example 96 cells are processed. In this group the DBs containing the control modules for the 96 cells
are stored, also a user created data block CVM_AnaMonCfgDB [DB5] that is used as an input from the HMI to overwrite the
alarm, warning and tolerance limits to the control modules. CVM_24Ch_AnaMon [FB1] is the created function, each call
receives 24 inputs from the cells, an enable bit and the configuration for the limits.
2.3.2. 10_Simulation
In this group the data block SimulatedCells [DB6] that contains an array of 24 Real elements is stored. To do so,
CVM_Simulation [FC9] calls LGF_Random_Real [FC10077] from the Library of General Functions; such function generates
a random value from 0 to 1, then the obtained value is escalated to have a value of -0.25 to 0.25 and added to the Base
Value which is an input from the function call. This process is repeated 24 times to fill up the array.
2.3.3. 15_ProDiag
Standard blocks for a functionality integrated into the TIA Portal that is used for monitoring and diagnosing errors in
machines and plants. With these blocks linked to the Control Modules of the CFL, the alarms will be automatically displayed
in the HMI.
2.3.4. 20_MTP
This group contains the necessary Data Blocks to export the MTP file. ModuleTypePackageRevisionDB [DB11], this block
contains a “string” for declaring the version of the MTP-file; PEAInformationLabelDB [DB10] this block has a list of product
and instance specific information, this data will be exported in the MTP file.
https://support.industry.siemens.com/cs/ww/en/view/109479728
Description
Entry ID: 109973668 | V1.1 | 11/2024 © Siemens 2024 | 9
2.3.5. 21_LCFL
This group contains the used function blocks to process CFL Control Modules.
2.4. WinCC Unified HMI
The demo for WinCC Unified uses the WinCC Unified Template Suite structure. It’s divided into 3 groups: 00 - Screen layout,
01_Overview and 02_Settings.
2.4.1. Screens
Complete monitoring is implemented on one screen called "10_Application" in the group “01_Overview”. This screen
contains all 96 cells. The CFL function blocks in the PLC program are connected to the symbolic faceplates according to
table in Chapter 2.1 Control Modules.
All connections to CFL block instances are defined in the HMI Tag table "MTP".
Additional screens located in “01 - Screenlayout” are for Navigation and Layout and ”02_Settings” for changing the display
brightness. They are partially implemented of the WinCC Unified Template Suite style guide.
Initiating project runtime
Entry ID: 109973668 | V1.1 | 11/2024 © Siemens 2024 | 10
3. Initiating project runtime
3.1. PLC simulation
This application example can run on a simulated PLCSIM Advanced instance. It is also possible to use real SIMATIC S7-
1500 PLC for running the project.
3.1.1. PLCSIM Advanced
1. Open PLCSIM Advanced
2. Configure the instance and start it.
3.1.2. TIA Portal
1. Open TIA Portal.
2. Unpack the downloaded file 109973668_CFL_CVM_PROJ_V1_1.zip and then browse for the file
CFL_CVM_V19_V1_1.ap19.
3. Select PLC_1 and click on download to device.
Initiating project runtime
Entry ID: 109973668 | V1.1 | 11/2024 © Siemens 2024 | 11
3.2. WinCC Unified RT
3.2.1. TIA portal
1. At the recently opened project in TIA portal select the PC system device and click on the download icon.
2. At the pop-up window, select Use device name and type “localhost”, click on connect and then click on load.
3. On the next screen select “Full download”, “Start Runtime” and uncheck the box for “Keep current user
administration in runtime”. Once all selections are done press Load.
Initiating project runtime
Entry ID: 109973668 | V1.1 | 11/2024 © Siemens 2024 | 12
4. Open the program SIMATIC Runtime Manager.
5. Check if the project is running. If the project is not listed, press the refresh button. If the project’s traffic light is
red, then press the play button to start it.
3.2.2. Web browser
1. Start your web browser and open the website https://hostname (replace hostname for your PC name)
2. Click on WinCC Unified RT
3. Enter the credentials:
https://hostname/
Initiating project runtime
Entry ID: 109973668 | V1.1 | 11/2024 © Siemens 2024 | 13
User Password
Admin Siemens123
Operator Siemens1
4. If you have successfully downloaded the project, you should visualize the Cell Voltage Measurement Screen.
3.3. Frequent issues
3.3.1. IP Address
Make sure that your PC has the same IP range in which the PLC is running at 10.11.80.xx
3.3.2. PG/PC interface
In the control panel verify that the communication interface is routed through the correct network card in case your PC
has several networks.
MTP Integration
Entry ID: 109973668 | V1.1 | 11/2024 © Siemens 2024 | 14
4. MTP Integration
4.1. MTP File
1. Start the MTP Creator Add-in by opening and activating the interface on the right side of the TIA Portal program.
2. To generate the MTP file of the project you need to right click on the PLC device, select the MTP menu and click
on the export MTP file option.
3. A website with the result log will open, you can locate the MTP file path on the header of it.
4.2. MTP Integrator for WinCC Unified
The SIMATIC MTP Integrator for WinCC Unified offers you the option of importing MTP files from machine configurations
from different manufacturers into your SCADA system and visualizing them uniformly.
Application Example: WinCC Unified as Process Orchestration Layer
4.3. MTP Integrator for PCS
The MTP file can be integrated in SIMATIC PCS 7 and SIMATIC PCS neo as a POL System.
Application Examples:
• Accessibility of Services in connected MTP Units from PCS 7
• PCS neo as POL - The MTP engineering workflow
https://support.industry.siemens.com/cs/ww/en/view/109827132
https://support.industry.siemens.com/cs/ww/en/view/109974069
https://support.industry.siemens.com/cs/ww/en/view/109808849
https://support.industry.siemens.com/cs/ww/en/view/109974069
https://support.industry.siemens.com/cs/ww/en/view/109955053
https://support.industry.siemens.com/cs/ww/en/view/109820537
Appendix
Entry ID: 109973668 | V1.1 | 11/2024 © Siemens 2024 | 15
5. Appendix
5.1. Service and support
SiePortal
The integrated platform for product selection, purchasing and support - and connection of Industry Mall and Online
support.The SiePortal home page replaces the previous home pages of the Industry Mall and the Online Support Portal
(SIOS) and combines them.
• Products & Services
In Products & Services, you can find all our offerings as previously available in Mall Catalog.
• Support
In Support, you can find all information helpful for resolving technical issues with our products.
• mySieportal
mySiePortal collects all your personal data and processes, from your account to current orders, service requests and
more. You can only see the full range of functions here after you have logged in.
You can access SiePortal via this address: sieportal.siemens.com
Technical Support
The Technical Support of Siemens Industry provides you fast and competent support regarding all technical queries with
numerous tailor-made offers – ranging from basic support to individual support contracts.
Please send queries to Technical Support via Web form: support.industry.siemens.com/cs/my/src
SITRAIN – Digital Industry Academy
We support you with our globally available training courses for industry with practical experience, innovative learning
methods and a concept that’s tailored to the customer’s specific needs.
For more information on our offered trainings and courses, as well as their locations and dates, refer to our web page:
siemens.com/sitrain
Industry Online Support app
You will receive optimum support wherever you are with the "Industry Online Support" app. The app is available for iOS
and Android:
https://sieportal.siemens.com/en-ww/home
https://support.industry.siemens.com/cs/my/src?lc=en-WW
https://www.siemens.com/sitrain
https://apps.apple.com/us/app/siemens-industry-online-support/id478868966
https://apps.apple.com/us/app/siemens-industry-online-support/id478868966
https://play.google.com/store/apps/details?id=com.siemens.industry.onlinesupport&hl=en
https://play.google.com/store/apps/details?id=com.siemens.industry.onlinesupport&hl=en
Appendix
Entry ID: 109973668 | V1.1 | 11/2024 © Siemens 2024 | 16
5.2. Links and literature
No. Topic
\1\ Siemens Industry Online Support
https://support.industry.siemens.com
\2\ Link to this entry page of this application example
https://support.industry.siemens.com/cs/ww/en/view/109973668
5.3. Change documentation
Version Date Modification
V1.0 08/2024 First version
V1.1 11/2024 Bugfixes, documentation of additional Package Units
https://support.industry.siemens.com/
https://support.industry.siemens.com/cs/ww/en/view/109973668
Cell Voltage Measurement for Hydrogen Industry
1. Introduction
1.1. Overview
1.2. Components used
2. Description
2.1. Hardware
2.2. Control Modules
2.3. PLC Program structure
2.3.1. 01_CVM
2.3.2. 10_Simulation
2.3.3. 15_ProDiag
2.3.4. 20_MTP
2.3.5. 21_LCFL
2.4. WinCC Unified HMI
2.4.1. Screens
3. Initiating project runtime
3.1. PLC simulation
3.1.1. PLCSIM Advanced
3.1.2. TIA Portal
3.2. WinCC Unified RT
3.2.1. TIA portal
3.2.2. Web browser
3.3. Frequent issues
3.3.1. IP Address
3.3.2. PG/PC interface
4. MTP Integration
4.1. MTP File
4.2. MTP Integrator for WinCC Unified
4.3. MTP Integrator for PCS
5. Appendix
5.1. Service and support
5.2. Links and literature
5.3. Change documentation